CN106375795B - Information sending method, device and system - Google Patents
Information sending method, device and system Download PDFInfo
- Publication number
- CN106375795B CN106375795B CN201510437105.8A CN201510437105A CN106375795B CN 106375795 B CN106375795 B CN 106375795B CN 201510437105 A CN201510437105 A CN 201510437105A CN 106375795 B CN106375795 B CN 106375795B
- Authority
- CN
- China
- Prior art keywords
- information
- group chat
- account
- intelligent television
- television account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
- H04N21/25841—Management of client data involving the geographical location of the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25875—Management of end-user data involving end-user authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an information sending method, device and system, and belongs to the field of internet. The method comprises the following steps: receiving group chat topic information and a geographical broadcast range issued by an intelligent television account; acquiring a geographic position of a publisher corresponding to the intelligent television account; the geographic position of the publisher is taken as a center, and the group chat topic information is broadcasted to a target intelligent television account belonging to the geographic broadcasting range; receiving group chat reply information of the target smart television account to the group chat topic information; automatically adding the target smart television account into a conversation group corresponding to the group chat topic information; and sending the group chat reply information to each intelligent television account in the conversation group. The invention solves the problem that users belonging to the same cell can not join the group of the same cell for communication when the users are not in friend relationship or can not obtain the group identification; the effect that users belonging to the same area can automatically form a conversation group for communication based on the group chat topic information is achieved.
Description
Technical Field
The present invention relates to the field of internet, and in particular, to an information sending method, device, and system.
Background
There is a need for intercommunication between users co-located in a cell.
A user may create a group based on the presence of various instant messaging applications. Other users belonging to the same cell can join as members of the group, and then the users belonging to the same cell can communicate with each other in the group. For example, the individual users may initiate activities in the group such as going out together, shopping together, dinner together, and the like.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems: users belonging to the same cell need to join the same group to realize mutual communication. The necessary condition for joining the group is that the other users and the user creating the group are in a friend relationship in the instant messaging application, or the other users can acquire the group identifier of the group in the instant messaging application.
Disclosure of Invention
In order to solve the problem that users belonging to the same cell cannot join the same cell for instant messaging when a non-friend relationship or a group identifier cannot be obtained, embodiments of the present invention provide an information sending method, an information sending device, and an information sending system. The technical scheme is as follows:
in a first aspect, an information sending method is provided, where the method includes:
receiving group chat topic information and a geographical broadcast range issued by an intelligent television account;
acquiring a geographic position of a publisher corresponding to the intelligent television account;
the geographic position of the publisher is taken as a center, and the group chat topic information is broadcasted to a target intelligent television account belonging to the geographic broadcasting range;
receiving group chat reply information of the target smart television account to the group chat topic information;
automatically adding the target smart television account into a conversation group corresponding to the group chat topic information;
and sending the group chat reply information to each intelligent television account in the conversation group.
In a second aspect, an information sending method is provided, and is applied to a smart television with a smart television account logged in, where the method includes:
publishing group chat topic information and a geographical broadcast range to a server;
receiving group chat reply information to the group chat topic information; the target intelligent television account is an account which is selected by the server and belongs to the geographic broadcast range by taking the geographic position of the publisher corresponding to the intelligent television account as a center; and after the target intelligent television account is sent to the server, the server automatically adds the target intelligent television account to a session group corresponding to the group chat topic information and forwards the group chat reply information.
In a third aspect, an information sending method is provided, which is applied to a smart television with a target smart television account logged in, and the method includes:
receiving group chat topic information sent by a server; the group chat topic information is information sent to the server by the intelligent television account;
sending group chat reply information to the group chat topic information to the server;
the target intelligent television account is an account which is selected by the server and belongs to a geographic broadcast range by taking the geographic position of a publisher corresponding to the intelligent television account as a center;
the geographical broadcast range is the range of the smart television account sent to the server.
In a fourth aspect, there is provided an information transmitting apparatus, the apparatus including:
the receiving module is used for receiving group chat topic information and a geographical broadcast range issued by the intelligent television account;
the acquisition module is used for acquiring the geographic position of the publisher corresponding to the intelligent television account;
the broadcasting module is used for broadcasting the group chat topic information to a target intelligent television account belonging to the geographic broadcasting range by taking the geographic position of the publisher as a center;
the receiving module is used for receiving group chat reply information of the target smart television account to the group chat topic information;
the joining module is used for automatically joining the target smart television account into a conversation group corresponding to the group chat topic information;
and the sending module is used for sending the group chat reply information to each intelligent television account in the conversation group.
In a fifth aspect, an information sending apparatus is provided, which is applied to a smart tv logged in with a smart tv account, and the apparatus includes:
the group chat publishing module is used for publishing the group chat topic information and the geographic broadcast range to the server;
a response receiving module for receiving group chat reply information to the group chat topic information; the target intelligent television account is an account which is selected by the server and belongs to the geographic broadcast range by taking the geographic position of the publisher corresponding to the intelligent television account as a center; and after the target intelligent television account is sent to the server, the server automatically adds the target intelligent television account to a session group corresponding to the group chat topic information and forwards the group chat reply information.
In a sixth aspect, an information sending apparatus is provided, which is applied in a smart tv logged in with a target smart tv account, and the apparatus includes:
the group chat receiving module is used for receiving the group chat topic information sent by the server; the group chat topic information is information sent to the server by the intelligent television account;
a response sending module, configured to send group chat reply information to the server for the group chat topic information;
the target intelligent television account is an account which is selected by the server and belongs to a geographic broadcast range by taking the geographic position of a publisher corresponding to the intelligent television account as a center;
the geographical broadcast range is the range of the smart television account sent to the server.
In a seventh aspect, an information transmission system is provided, the system including: the intelligent television comprises a first intelligent television logged with an intelligent television account, a server and a second intelligent television logged with a target intelligent television account; the first intelligent television is connected with the server through a wireless network or a wired network, and the second intelligent television is connected with the server through a wireless network or a wired network;
the publisher terminal comprises the information sending device provided by the fifth aspect;
the server including the information transmitting apparatus as provided in the fourth aspect above;
the target terminal comprises the information sending device provided in the sixth aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
searching a target intelligent television account according to the geographic position and the geographic broadcast range of a publisher, sending group chat topic information to the target intelligent television account, and automatically adding the target intelligent television account which sends out the group chat reply information into a conversation group corresponding to the group chat topic information; the problem that users belonging to the same cell cannot join a group of the same cell to communicate when the users are not in a friend relationship or cannot acquire the group identification is solved; even if the two users are not in a friend relationship, as long as the smart televisions of the two users belong to the same area, the group chat can be directly initiated, and the effect of automatically forming a conversation group for communication is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic block diagram of an implementation environment in accordance with an embodiment of the present invention;
fig. 2 is a flowchart of a method for sending information according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for sending information according to another embodiment of the present invention;
fig. 4 is a flowchart of a method for sending information according to another embodiment of the present invention;
fig. 5 is a flowchart of a method for sending information according to another embodiment of the present invention;
fig. 6 is a schematic interface diagram of an information sending method implemented according to an embodiment of the present invention;
fig. 7 is a schematic interface diagram of an information sending method implemented according to an embodiment of the present invention;
fig. 8 is a flowchart of a method of transmitting information according to an embodiment of the present invention;
fig. 9 is a block diagram showing the structure of an information transmitting apparatus according to an embodiment of the present invention;
fig. 10 is a block diagram showing the structure of an information transmitting apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram showing the configuration of an information transmitting apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram showing the structure of an information transmitting apparatus according to an embodiment of the present invention;
fig. 13 is a block diagram showing the structure of an information transmitting apparatus according to an embodiment of the present invention;
fig. 14 is a block diagram showing the structure of an information transmission system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic structural diagram of an implementation environment according to an embodiment of the present invention is shown. The implementation environment includes at least two smart tvs 120 and a background server cluster 140.
The smart tv 120 is a tv with application installation capability and location capability. The smart tv 120 may be installed with a communication class client for group chat with a cell/with a region. Since the smart tv 120 is not typically mobile and is located in the user's home address, the geographic location of the smart tv 120 is substantially representative of the user's home address. Different smart televisions 120 may correspond to different users. Of course, in other embodiments, the smart tv 120 may also be other intelligent appliances, communication terminals, and other terminals.
The smart tv 120 may be connected to the background server cluster 140 through a wireless network or a wired network.
Background server cluster 140 includes at least one server. In the present embodiment, the background server cluster 140 includes a registration server 142, a location server 144, a broadcast server 146, and a group chat server 148.
Among other things, registration server 142 provides smart television account registration services. Each user may register an intelligent tv account using the intelligent tv 120.
Location server 144 provides a geographic location recording service. The user may be located to the geographic location of the smart tv 120 when registering or logging into the smart tv account using the smart tv 120. And provides the geographic location and smart tv account to location server 140 for storage.
The broadcast server 146 provides an information broadcast service; the group chat server provides a group chat function between the intelligent television accounts in the same group.
For simplicity of description, the background server cluster 140 is described as a whole below.
Referring to fig. 2, a flowchart of a method for sending information according to an embodiment of the present invention is shown. The embodiment is exemplified by applying the information sending method to the background server cluster shown in fig. 1. The method comprises the following steps:
the group chat topic information is information issued by the smart television account to other peripheral smart television accounts, and the other smart television accounts are not necessarily in friend relationship with the smart television account and only need the geographic location to accord with the geographic broadcast range.
Such as: the group chat topic information is "is a badminton hall opened nearby and someone playing a ball together? For long-term ball friends, the geographical broadcast range is 'within 300 meters'.
and step 206, sending the group chat reply information to each intelligent television account in the conversation group.
In summary, in the information sending method provided in this embodiment, the target smart television account is searched for by using the geographic location and the geographic broadcast range of the publisher, the group chat topic information is sent to the target smart television account, and the target smart television account sending the group chat response information is automatically added to the session group corresponding to the group chat topic information; the problem that users belonging to the same cell cannot join a group of the same cell to communicate when the users are not in a friend relationship or cannot acquire the group identification is solved; even if the two users are not in a friend relationship, as long as the smart televisions of the two users belong to the same area, the group chat can be directly initiated, and the effect of automatically forming a conversation group for communication is achieved.
Referring to fig. 3, a flowchart of a method for sending information according to an embodiment of the present invention is shown. The present embodiment exemplifies that the information sending method is applied to the smart television shown in fig. 1, and the smart television is registered with a smart television account. The method comprises the following steps:
In summary, in the information sending method provided in this embodiment, the target smart television account is searched for by using the geographic location and the geographic broadcast range of the publisher, the group chat topic information is sent to the target smart television account, and the target smart television account sending the group chat response information is automatically added to the session group corresponding to the group chat topic information; the problem that users belonging to the same cell cannot join a group of the same cell to communicate when the users are not in a friend relationship or cannot acquire the group identification is solved; even if the two users are not in a friend relationship, as long as the smart televisions of the two users belong to the same area, the group chat can be directly initiated, and the effect of automatically forming a conversation group for communication is achieved.
Referring to fig. 4, a flowchart of a method for sending information according to an embodiment of the present invention is shown. The embodiment exemplifies that the information sending method is applied to the smart television shown in fig. 1, and the smart television is registered with a target smart television account. The method comprises the following steps:
the target intelligent television account is an account which is selected by the server and belongs to the geographic broadcast range by taking the geographic position of the publisher corresponding to the intelligent television account as a center;
the geographical broadcast range is the range in which the smart tv account is sent to the server.
In summary, in the information sending method provided in this embodiment, the target smart television account is searched for by using the geographic location and the geographic broadcast range of the publisher, the group chat topic information is sent to the target smart television account, and the target smart television account sending the group chat response information is automatically added to the session group corresponding to the group chat topic information; the problem that users belonging to the same cell cannot join a group of the same cell to communicate when the users are not in a friend relationship or cannot acquire the group identification is solved; even if the two users are not in a friend relationship, as long as the smart televisions of the two users belong to the same area, the group chat can be directly initiated, and the effect of automatically forming a conversation group for communication is achieved.
Referring to fig. 5, a flowchart of a method for sending information according to another embodiment of the present invention is shown. The present embodiment is exemplified by applying the information transmission method to the implementation environment shown in fig. 1. In this embodiment, the "background server cluster" is also referred to as a "server" for short. The method comprises the following steps:
step 501, when an intelligent television account is registered, or when the intelligent television account is logged in, or at an appointed time, a server acquires the geographic position of the intelligent television and stores the geographic position in association with the intelligent television account;
the smart television provides the geographical location of the smart television to the server when registering with the smart television account or when logging into the smart television account or at the appointed moment. Namely:
the smart television needs to register a smart television account in the server. The "registration process" includes: the intelligent television sends a registration request to the server, wherein the registration request at least carries the geographical position of the intelligent television; and the server distributes an intelligent television account to the intelligent television and stores the corresponding relation between the intelligent television account and the geographic position.
Optionally, the smart tv sends the current geographical location to the server each time the smart tv logs in to the smart tv account. The 'login process' comprises the following steps: and the intelligent television sends a login request to the server, wherein the login request at least carries the intelligent television account and the geographic position. And when the login is successful, the server updates the corresponding relation between the intelligent television account and the geographic position.
Optionally, the smart television sends the current geographical location to the server at the appointed moment. The appointment time may be 1 day 12:00 full per month.
Step 502, the intelligent television logged with the family account issues group chat topic information and a geographical broadcast range to a server;
for any one smart television, the group chat topic information and the geographic broadcast range can be published to the server. The group chat topic information is new group chat information which is not published by the smart television based on other existing information.
For example, referring to fig. 6, the group chat topic information is "is a badminton hall nearby and a person playing a ball together? For long-term ball friends, the geographical broadcast range is 'within 300 meters'.
Step 503, the server receives group chat topic information and a geographical broadcast range issued by an intelligent television account;
step 504, the server obtains the geographic position of the publisher corresponding to the smart television account;
and the server queries the corresponding geographic position according to the intelligent television account and takes the geographic position as the geographic position of the publisher corresponding to the intelligent television account.
But as other possible implementations, the publisher geographic location may be specified by the user. For example, when the smart tv does not have a positioning function or the user has not moved to a new house, the user inputs a geographic location as the geographic location of the publisher when publishing the group chat topic information through the smart tv.
Step 505, the server automatically generates a conversation group according to the group chat topic information;
and when receiving a new piece of group chat topic information, the server automatically generates a session group corresponding to the group chat topic information.
Optionally, the identification of the session group is the same as the identification of the group chat topic information. The name of the conversation group is the whole content or partial content of the group chat topic information.
It should be noted that the execution order of step 504 and step 505 is not limited.
Step 506, the server broadcasts the group chat topic information to the target intelligent television account belonging to the geographic broadcast range by taking the geographic position of the publisher as a center;
and the server takes the geographic position of the publisher as a center, and finds out other intelligent television accounts belonging to the geographic broadcast range as target intelligent television accounts.
The server then broadcasts the group chat topic information to the target smart television account.
It should be noted that the target smart tv account is usually multiple, and it is not a necessary condition whether the target smart tv account and the publisher smart tv account are in a friend relationship.
Optionally, the server may also send the number of smart television accounts, the number of information, and the geographic broadcast range in the session group corresponding to the group chat topic information to the target smart television account.
Step 507, logging in the group chat topic information sent by the smart television receiving server with the target smart television account;
and the target intelligent television account receives and displays the group chat topic information sent by the server. If the server also sends the number of the smart television accounts, the number of the information and the geographic broadcast range in the conversation group corresponding to the group chat topic information to the target smart television account, the target smart television account can display the information together.
For example, referring to fig. 7 in combination, the smart tv logged in with the target smart tv account receives a plurality of pieces of group chat topic information. 4 pieces of information about the subject of group chat are displayed on the display screen, namely' a badminton hall is opened nearby and someone plays the ball together? Seeking a long-term football friend, being boring today and being killed in three countries when someone comes to play together? "too much overhead sound of our cells strongly requires developers and governments to install sound-proof enclosures on the overhead", "do one need cleaning and seam beautifying services? ".
Step 508, the smart television logged in with the target smart television account sends group chat reply information to a server;
and if the target smart television account is interested in the group chat topic information, replying the group chat reply information.
For example, if the target smart tv account is interested in "the sound insulation cover is installed on the overhead of our cell, and developers and governments are strongly required to be interested in" the sound insulation cover is installed on the overhead ", the group chat response message" yes, i.e., i am at the 13 th, and is also particularly noisy "can be replied.
Step 509, the server receives the group chat reply information of the target smart television account to the group chat topic information;
correspondingly, the server receives the group chat reply message.
If the target smart television account is the first time to send the group chat reply information aiming at the group chat topic information, entering step 510;
if the target smart television account sends the group chat reply information aiming at the group chat topic information for the nth time, and n is larger than or equal to 2, skipping step 510 and directly entering step 511.
Step 510, the server automatically adds the target smart television account into a conversation group corresponding to the group chat topic information;
and if the target intelligent television account sends the group chat reply information for the first time, the server automatically joins the target intelligent television account into a conversation group corresponding to the group chat topic information to become a member of the conversation group.
Step 511, the server sends the group chat reply information to each smart television account in the session group;
meanwhile, the server also sends the group chat reply information to each intelligent television account in the conversation group.
As a possible implementation, the respective smart tv account is not always in the login state. The server pushes the information ID of the group chat reply information to the message queue of each intelligent television account in the conversation group; and when the intelligent television account is in a login state, the intelligent television account sends an information acquisition request to the server according to the information ID in the message queue. The method comprises the steps that a server receives an information acquisition request sent by an intelligent television account in a session group, wherein the information acquisition request carries an information ID; and the server feeds back the group chat reply information to the smart television account according to the information acquisition request.
And step 512, logging in the smart television receiving group chat response information of the smart television accounts belonging to the conversation group.
In summary, in the information sending method provided in this embodiment, the target smart television account is searched for by using the geographic location and the geographic broadcast range of the publisher, the group chat topic information is sent to the target smart television account, and the target smart television account sending the group chat response information is automatically added to the session group corresponding to the group chat topic information; the problem that users belonging to the same cell cannot join a group of the same cell to communicate when the users are not in a friend relationship or cannot acquire the group identification is solved; even if the two users are not in a friend relationship, as long as the smart televisions of the two users belong to the same area, the group chat can be directly initiated, and the effect of automatically forming a conversation group for communication is achieved.
Since the number of target smart tv accounts may be very large, step 506 requires a very large computational effort from the server. For this reason, the embodiment of the present invention further provides a possible implementation manner of step 506, as shown in fig. 8:
the geographical broadcast range may set a distance threshold d, such as 300 meters.
The server calculates the maximum longitude value and the minimum longitude value which are separated from the longitude of the geographic position of the publisher by a distance threshold d with the latitude of the geographic position of the publisher unchanged;
the server calculates a maximum latitude value and a minimum latitude value which are separated from the latitude of the geographic position of the publisher by a distance threshold d with the longitude of the geographic position of the publisher unchanged.
The geographic position A (y, x) of the publisher, the distance threshold value d, and the calculation formula is as follows:
d=2*asin(sqrt(pow(sin((y-latitude)/2),2)+cos(latitude2)*cos(latitude2)*pow(sin((x-longitude)/2),2)))*R。
wherein, asin, sin and cos are trigonometric function operators. Sqrt is the square root operator and pow is the power operator.
When latitude is 0, solving the formula, and calculating two solutions of longtude into a maximum longitude value and a minimum longitude value.
When longitude is 0, the above formula is solved, and two solutions of latitude obtained by calculation are the maximum latitude value and the minimum latitude value.
and the server reads out the candidate intelligent television accounts and the candidate geographic positions from the database by using the conditions and the database language.
Examples of such database languages are: where latitude > minimum latitude value and latitude < maximum latitude value and longitude > minimum longitude value and longitude < maximum latitude value.
Thus, the server may first filter out a set of coarse results.
And then, the server selects a target intelligent television account belonging to the geographical broadcast range according to the distance between each candidate geographical position and the publisher geographical position. As shown in steps 506c through 506 g.
that is, the candidate geographic location is (longitude, latitude), and the publisher geographic location is (y, x). The server uses the formula order by abs (longitude-x) + abs (latitude-y) for distance sorting.
Where order by is the sort command and abs is the absolute operator. (longituude-x) is the absolute value of the longitude difference between the candidate geographic location and the publisher geographic location. (latitude-y) is the absolute value of the difference in latitude between the candidate geographic location and the publisher geographic location.
assuming that the candidate geographic position is (longitude, latitude), and the publisher geographic position is (y, x), the calculation formula of the distance S between these two points is as follows:
S=2*asin(sqrt(pow(sin((y-latitude)/2),2)+cos(latitude2)*cos(latitude2)*pow(sin((x-longitude)/2),2)))*R。
if the distance value is less than or equal to the distance threshold, go to step 506 f; if the distance value is greater than the distance threshold, step 506g is entered.
that is, the candidate smart tv account is added to the final result set.
And step 506h, broadcasting the group chat topic information to the target intelligent television account.
And broadcasting the group chat topic information to a plurality of target intelligent television accounts in the final result set by the server.
Obviously, the server screens the rough screening result set from the database by using the rough screening condition, and then screens the final target smart television account by using a sorting algorithm and an actual calculation distance value with only a small amount of calculation. That is, the server does not need to calculate the distance between every two intelligent television accounts, so that the calculation efficiency of the server in screening the target intelligent television accounts is improved.
The following are embodiments of the apparatus of the present invention, and for the content not described in detail in the embodiments of the apparatus, reference may be made to the above-mentioned one-to-one corresponding method embodiments.
Referring to fig. 9, a block diagram of an information transmitting apparatus according to an embodiment of the present invention is shown. The information sending device can be implemented by software, hardware or a combination of the two to become all or part of the background server cluster. The device includes:
a receiving module 910, configured to receive group chat topic information and a geographic broadcast range issued by an intelligent television account;
an obtaining module 920, configured to obtain a geographic location of a publisher corresponding to the smart television account;
a broadcasting module 930, configured to broadcast the group chat topic information to a target smart tv account belonging to the geographic broadcast range, with the geographic location of the publisher as a center;
the receiving module 910 is configured to receive group chat reply information of the target smart tv account to the group chat topic information;
a joining module 940, configured to automatically join the target smart tv account into a session group corresponding to the group chat topic information;
a sending module 950, configured to send the group chat reply information to each smart tv account in the session group.
In summary, the information sending apparatus provided in this embodiment sends the group chat topic information to the target smart tv account by searching the target smart tv account according to the geographic location and the geographic broadcast range of the publisher, and automatically adds the target smart tv account sending the group chat reply information to the session group corresponding to the group chat topic information; the problem that users belonging to the same cell cannot join a group of the same cell to communicate when the users are not in a friend relationship or cannot acquire the group identification is solved; even if the two users are not in a friend relationship, as long as the smart televisions of the two users belong to the same area, the group chat can be directly initiated, and the effect of automatically forming a conversation group for communication is achieved.
Referring to fig. 10, a block diagram of an information transmitting apparatus according to another embodiment of the present invention is shown. The information sending device can be implemented by software, hardware or a combination of the two to become all or part of the background server cluster. The device includes:
a receiving module 910, configured to receive group chat topic information and a geographic broadcast range issued by an intelligent television account;
an obtaining module 920, configured to obtain a geographic location of a publisher corresponding to the smart television account;
a broadcasting module 930, configured to broadcast the group chat topic information to a target smart tv account belonging to the geographic broadcast range, with the geographic location of the publisher as a center;
the receiving module 910 is configured to receive group chat reply information of the target smart tv account to the group chat topic information;
a joining module 940, configured to automatically join the target smart tv account into a session group corresponding to the group chat topic information;
a sending module 950, configured to send the group chat reply information to each smart tv account in the session group.
Optionally, each smart television account is an account registered through a smart television;
the device, still include:
the storage module 960 is configured to, when the smart tv account is registered, or when the smart tv account is logged in, or at a predetermined time, obtain the geographic location of the smart tv and store the geographic location in association with the smart tv account.
Optionally, the broadcasting module 930 includes:
a condition calculating unit 931, configured to calculate a coarse filtering condition according to a distance threshold set in the geographic broadcast range, with the geographic location of the publisher as a center, where the coarse filtering condition includes: a minimum longitude value, a maximum longitude value, a minimum latitude value and a maximum latitude value;
a condition screening unit 932, configured to read candidate smart tv accounts meeting the rough screening condition and a candidate geographic location corresponding to each candidate smart tv account from a database;
a distance calculating unit 933, configured to select a target smart tv account belonging to the geographic broadcast range according to a distance between each candidate geographic location and the publisher geographic location;
an information broadcasting unit 934, configured to broadcast the group chat topic information to the target smart tv account.
Alternatively, the condition calculation unit 931 includes:
a first subunit for calculating the maximum longitude value and the minimum longitude value that are the distance threshold from the longitude of the publisher geographic location at a constant latitude of the publisher geographic location;
a second subunit, configured to calculate, with the longitude of the geographic location of the publisher unchanged, the maximum latitude value and the minimum latitude value that are the distance threshold from the latitude of the geographic location of the publisher.
Optionally, the distance calculating unit 933 includes:
the sorting subunit is configured to rank, according to a sum of an absolute value of a longitude difference and an absolute value of a latitude difference between each candidate geographic position and the publisher geographic position, each candidate smart television account in an order from small to large in numerical value;
the calculating subunit is configured to calculate, in sequence according to the sorting result, a distance value between the candidate geographic position of each candidate smart television account and the geographic position of the publisher;
a detection subunit, configured to detect whether the distance value is less than or equal to the distance threshold;
and the selecting subunit is configured to select the candidate smart television account as the target smart television account if the distance value is less than or equal to the distance threshold.
Optionally, the apparatus further comprises:
a group generating module 970, configured to automatically generate the session group according to the group chat topic information.
Optionally, the sending module 950 includes
The identification sending unit is used for pushing the information identification ID of the group chat reply information to each intelligent television account in the conversation group;
a request receiving unit, configured to receive an information acquisition request sent by the smart television account in the session group, where the information acquisition request carries the information identifier ID;
and the information feedback unit is used for feeding back the group chat reply information to the smart television account according to the information acquisition request.
Referring to fig. 11, a block diagram of an information transmitting apparatus according to an embodiment of the present invention is shown. The device can be realized by software, hardware or a combination of the two to become all or part of the smart television logged with the smart television account, and comprises the following components:
a group chat publishing module 1120, configured to publish the group chat topic information and the geographic broadcast range to the server;
a response receiving module 1140 for receiving a group chat reply message to the group chat topic message; the target intelligent television account is an account which is selected by the server and belongs to the geographic broadcast range by taking the geographic position of the publisher corresponding to the intelligent television account as a center; and after the target intelligent television account is sent to the server, the server automatically adds the target intelligent television account to a session group corresponding to the group chat topic information and forwards the group chat reply information.
In an alternative embodiment, as shown in fig. 12, the terminal is the smart tv;
the device, still include:
a first providing module 1160, configured to provide the geographic location of the smart tv to the server when registering the smart tv account, or when logging in the smart tv account, or at an appointed time.
Referring to fig. 13, a block diagram of an information transmitting apparatus according to an embodiment of the present invention is shown. The device can be realized by software, hardware or a combination of the two to become all or part of the smart television logged with the target smart television account, and comprises the following components:
a group chat receiving module 1320, configured to receive group chat topic information sent by the server; the group chat topic information is information sent to the server by the intelligent television account;
a response transmitting module 1340 for transmitting a group chat reply message to the server for the group chat topic message;
the target intelligent television account is an account which is selected by the server and belongs to a geographic broadcast range by taking the geographic position of a publisher corresponding to the intelligent television account as a center;
the geographical broadcast range is the range of the smart television account sent to the server.
Optionally, the apparatus further comprises:
and the second providing module is used for providing the geographic position of the intelligent television to the server when the intelligent television account is registered or the intelligent television account is logged in or at an appointed time.
Referring to fig. 14, a block diagram of an information transmission system according to an embodiment of the present invention is shown. The system comprises: the intelligent television comprises a first intelligent television logged with an intelligent television account, a server and a second intelligent television logged with a target intelligent television account; the first intelligent television is connected with the server through a wireless network or a wired network, and the second intelligent television is connected with the server through a wireless network or a wired network;
the first smart tv 1420 includes an information transmitting apparatus as shown in fig. 11 or fig. 12.
The server 1440 includes an information transmission device as shown in fig. 9 or fig. 10.
The second smart television 1460 includes an information transmitting apparatus as shown in fig. 13.
It should be noted that: the information transmitting apparatus provided in the foregoing embodiment is exemplified by only the division of the above functional modules when transmitting group chat topic information or group chat response information, and in practical applications, the functions may be distributed to different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the information sending apparatus provided in the above embodiment and the information sending method embodiment belong to the same concept, and specific implementation processes thereof are described in the method embodiment, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (16)
1. An information sending method, characterized in that the method comprises:
receiving group chat topic information and a geographical broadcast range issued by an intelligent television account;
acquiring a geographic position of a publisher corresponding to the intelligent television account;
the geographic position of the publisher is taken as a center, and the group chat topic information is broadcasted to a target intelligent television account belonging to the geographic broadcasting range;
receiving group chat reply information of the target smart television account to the group chat topic information;
automatically adding the target smart television account into a conversation group corresponding to the group chat topic information;
and sending the group chat reply information to each intelligent television account in the conversation group.
2. The method of claim 1,
before the obtaining of the geographic location of the publisher of the smart television account, the method further includes:
when the intelligent television account is registered or when the intelligent television account is logged in or at the appointed time, acquiring the geographic position of the intelligent television and storing the geographic position in association with the intelligent television account.
3. The method of claim 1, wherein the broadcasting the group chat topic information to the target smart tv accounts belonging to the geographic broadcast range centered on the publisher geographic location comprises:
calculating rough screening conditions according to a distance threshold value set in the geographic broadcast range by taking the geographic position of the publisher as a center, wherein the rough screening conditions comprise: a minimum longitude value, a maximum longitude value, a minimum latitude value and a maximum latitude value;
reading candidate smart television accounts meeting the rough screening condition and candidate geographic positions corresponding to each candidate smart television account from a database;
selecting a target intelligent television account belonging to the geographic broadcast range according to the distance between each candidate geographic position and the geographic position of the publisher;
and broadcasting the group chat topic information to the target intelligent television account.
4. The method according to claim 3, wherein said calculating a coarse filtering condition according to a distance threshold set by the geographic broadcast range with the geographic location of the publisher as a center point comprises:
calculating the maximum longitude value and the minimum longitude value that are the distance threshold from the longitude of the publisher geographic location at a constant latitude of the publisher geographic location;
calculating the maximum latitude value and the minimum latitude value which are away from the latitude of the geographic position of the publisher by the distance threshold value with the longitude of the geographic position of the publisher unchanged.
5. The method according to claim 3, wherein selecting the target smart television account belonging to the geographic broadcast range according to the distance between each candidate geographic location and the publisher geographic location comprises:
ranking each candidate smart television account according to the sum of the absolute value of the longitude difference and the absolute value of the latitude difference between each candidate geographic position and the publisher geographic position in the order of the numerical values from small to large;
sequentially calculating a distance value between the candidate geographic position of each candidate smart television account and the geographic position of the publisher according to the sorting result;
detecting whether the distance value is less than or equal to the distance threshold;
and if the distance value is smaller than or equal to the distance threshold value, selecting the candidate smart television account as the target smart television account.
6. The method as claimed in any one of claims 2 to 5, wherein after receiving the group chat topic information and the broadcast scope issued by the smart tv account, the method further comprises:
and automatically generating the conversation group according to the group chat topic information.
7. The method as claimed in any one of claims 2 to 5, wherein the sending the group chat reply message to each smart tv account in the session group comprises:
pushing the information identification ID of the group chat reply information to each intelligent television account in the conversation group;
receiving an information acquisition request sent by the intelligent television account in the session group, wherein the information acquisition request carries the information identification ID;
and feeding back the group chat reply information to the smart television account according to the information acquisition request.
8. An information transmission apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving group chat topic information and a geographical broadcast range issued by the intelligent television account;
the acquisition module is used for acquiring the geographic position of the publisher corresponding to the intelligent television account;
the broadcasting module is used for broadcasting the group chat topic information to a target intelligent television account belonging to the geographic broadcasting range by taking the geographic position of the publisher as a center;
the receiving module is used for receiving group chat reply information of the target smart television account to the group chat topic information;
the joining module is used for automatically joining the target smart television account into a conversation group corresponding to the group chat topic information;
and the sending module is used for sending the group chat reply information to each intelligent television account in the conversation group.
9. The apparatus of claim 8, further comprising:
and the storage module is used for acquiring the geographic position of the intelligent television and storing the geographic position in association with the intelligent television account when the intelligent television account is registered or when the intelligent television account is logged in or at an appointed time.
10. The apparatus of claim 8, wherein the broadcasting module comprises:
a condition calculating unit, configured to calculate a rough filtering condition according to a distance threshold set in the geographic broadcast range with the geographic location of the publisher as a center, where the rough filtering condition includes: a minimum longitude value, a maximum longitude value, a minimum latitude value and a maximum latitude value;
the condition screening unit is used for reading candidate smart television accounts meeting the rough screening condition and candidate geographic positions corresponding to each candidate smart television account from a database;
the distance calculation unit is used for selecting a target intelligent television account belonging to the geographic broadcast range according to the distance between each candidate geographic position and the geographic position of the publisher;
and the information broadcasting unit is used for broadcasting the group chat topic information to the target intelligent television account.
11. The apparatus of claim 10, wherein the condition calculating unit comprises:
a first subunit for calculating the maximum longitude value and the minimum longitude value that are the distance threshold from the longitude of the publisher geographic location at a constant latitude of the publisher geographic location;
a second subunit, configured to calculate, with the longitude of the geographic location of the publisher unchanged, the maximum latitude value and the minimum latitude value that are the distance threshold from the latitude of the geographic location of the publisher.
12. The apparatus of claim 10, wherein the distance calculation unit comprises:
the sorting subunit is configured to rank, according to a sum of an absolute value of a longitude difference and an absolute value of a latitude difference between each candidate geographic position and the publisher geographic position, each candidate smart television account in an order from small to large in numerical value;
the calculating subunit is configured to calculate, in sequence according to the sorting result, a distance value between the candidate geographic position of each candidate smart television account and the geographic position of the publisher;
a detection subunit, configured to detect whether the distance value is less than or equal to the distance threshold;
and the selecting subunit is configured to select the candidate smart television account as the target smart television account if the distance value is less than or equal to the distance threshold.
13. The apparatus of any of claims 9 to 12, further comprising:
and the group generation module is used for automatically generating the conversation group according to the group chat topic information.
14. The apparatus according to any one of claims 9 to 12, wherein the sending module comprises:
the identification sending unit is used for pushing the information identification ID of the group chat reply information to each intelligent television account in the conversation group;
a request receiving unit, configured to receive an information acquisition request sent by the smart television account in the session group, where the information acquisition request carries the information identifier ID;
and the information feedback unit is used for feeding back the group chat reply information to the smart television account according to the information acquisition request.
15. An information transmission system, characterized in that the system comprises: the intelligent television comprises a first intelligent television logged with an intelligent television account, a server and a second intelligent television logged with a target intelligent television account; the first intelligent television is connected with the server through a wireless network or a wired network, and the second intelligent television is connected with the server through a wireless network or a wired network;
the first smart television comprises a group chat publishing module and a response receiving module;
the group chat publishing module is used for publishing group chat topic information and a geographical broadcast range to the server;
the response receiving module is used for receiving group chat reply information of the group chat topic information; the target intelligent television account is an account which is selected by the server and belongs to the geographic broadcast range by taking the geographic position of the publisher corresponding to the intelligent television account as a center; the group chat reply information is forwarded after the target intelligent television account is sent to the server and the server automatically adds the target intelligent television account to a session group corresponding to the group chat topic information;
the server comprising the information transmission apparatus according to any one of claims 8 to 14;
the second smart television comprises a group chat receiving module and a response sending module;
the group chat receiving module is used for receiving the group chat topic information sent by the server; the group chat topic information is information sent to the server by the intelligent television account;
the response sending module is configured to send the group chat reply information to the server for the group chat topic information; the target intelligent television account is an account which is selected by the server and belongs to the geographic broadcast range by taking the geographic position of the publisher corresponding to the intelligent television account as a center; the geographical broadcast range is the range of the smart television account sent to the server.
16. A computer-readable storage medium, characterized in that a program is stored in the computer-readable storage medium, which is executed by a processor to implement the information transmission method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510437105.8A CN106375795B (en) | 2015-07-23 | 2015-07-23 | Information sending method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510437105.8A CN106375795B (en) | 2015-07-23 | 2015-07-23 | Information sending method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375795A CN106375795A (en) | 2017-02-01 |
CN106375795B true CN106375795B (en) | 2020-04-21 |
Family
ID=57880502
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510437105.8A Active CN106375795B (en) | 2015-07-23 | 2015-07-23 | Information sending method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375795B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110677267B (en) * | 2019-10-09 | 2021-11-23 | 上海连尚网络科技有限公司 | Information processing method and device |
CN112688862B (en) * | 2021-02-02 | 2022-11-01 | 上海云鱼智能科技有限公司 | Event group chat creating method and device based on geographic position |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102884816A (en) * | 2011-12-30 | 2013-01-16 | 华为技术有限公司 | Help-seeking method, apparatus, and system based on location-based service |
CN103297858A (en) * | 2013-05-29 | 2013-09-11 | 深圳Tcl新技术有限公司 | Smart television user state displaying system and smart television user state displaying method |
CN103874022A (en) * | 2014-04-09 | 2014-06-18 | 王峥嵘 | Method for information communication based on positions, mobile terminal and service platform |
CN104468334A (en) * | 2014-12-11 | 2015-03-25 | 北京奇虎科技有限公司 | Communication method and device based on fixed position information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2223551A4 (en) * | 2007-12-14 | 2015-08-05 | Telecomm Systems Inc | Wireless application protocol (wap) application location based services (lbs) |
-
2015
- 2015-07-23 CN CN201510437105.8A patent/CN106375795B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102884816A (en) * | 2011-12-30 | 2013-01-16 | 华为技术有限公司 | Help-seeking method, apparatus, and system based on location-based service |
CN103297858A (en) * | 2013-05-29 | 2013-09-11 | 深圳Tcl新技术有限公司 | Smart television user state displaying system and smart television user state displaying method |
CN103874022A (en) * | 2014-04-09 | 2014-06-18 | 王峥嵘 | Method for information communication based on positions, mobile terminal and service platform |
CN104468334A (en) * | 2014-12-11 | 2015-03-25 | 北京奇虎科技有限公司 | Communication method and device based on fixed position information |
Also Published As
Publication number | Publication date |
---|---|
CN106375795A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10949931B2 (en) | Social networking system which provides location information of related users | |
KR101383447B1 (en) | Systems, methods, and machine-readable media providing location-enabled group management | |
AU2011215996B2 (en) | Identification of message recipients | |
KR102121361B1 (en) | Method and device for identifying the type of geographic location where the user is located | |
CN103841190B (en) | Information acquisition method, information sharing method, device and system | |
US20100315433A1 (en) | Mobile terminal, server device, community generation system, display control method, and program | |
US20070037574A1 (en) | Method and apparatus of a location-based network service for mutual social notification | |
CN103631888B (en) | Multi-data source data searching method and device based on positions | |
CN103379165A (en) | Method, terminal, server and system for displaying microblog topics | |
KR20150044087A (en) | System and method for arranging a meeting, service apparatus applied to the same and computer readable medium having computer program recorded therefor | |
CN106375795B (en) | Information sending method, device and system | |
CN110311855A (en) | User message processing method, device, electronic equipment and storage medium | |
US20130165156A1 (en) | Communication terminal and information transmission processing method therefor | |
CN104125535A (en) | Mobile message system based on geographic position | |
CN103312737B (en) | User profile supplying method and device | |
CN105120345B (en) | A kind of method for ordering television channels and system based on range statistics and switching times | |
CN107426082A (en) | A kind of public domain information sharing system and method | |
CN108234471B (en) | Group entry verification method, group entry verification device, computer device and computer-readable storage medium | |
CN111355653B (en) | Instant messaging relationship establishing method and device, storage medium and electronic equipment | |
US9316503B2 (en) | Method, server, and system for obtaining navigation information | |
KR101135199B1 (en) | Method and system for providing social network online education service with location information of mobile terminal | |
US20160080898A1 (en) | Proximity communication method | |
US20150242924A1 (en) | Systems and methods for using customer information to enable customer interaction | |
CN106656754A (en) | Information extraction method and device based on instant messaging software | |
US20180241580A1 (en) | Method and apparatus for spontaneously initiating real-time interactive groups on network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |