CN107222760B - Method and device for grouping watching users - Google Patents

Method and device for grouping watching users Download PDF

Info

Publication number
CN107222760B
CN107222760B CN201710403695.1A CN201710403695A CN107222760B CN 107222760 B CN107222760 B CN 107222760B CN 201710403695 A CN201710403695 A CN 201710403695A CN 107222760 B CN107222760 B CN 107222760B
Authority
CN
China
Prior art keywords
user
watching
lbs
live broadcast
viewing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710403695.1A
Other languages
Chinese (zh)
Other versions
CN107222760A (en
Inventor
姚金明
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710403695.1A priority Critical patent/CN107222760B/en
Publication of CN107222760A publication Critical patent/CN107222760A/en
Application granted granted Critical
Publication of CN107222760B publication Critical patent/CN107222760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client 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/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/258Client 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/25808Management of client data
    • H04N21/25841Management of client data involving the geographical location of the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a method and a device for grouping watching users, which are applied to the field of Internet, wherein the method comprises the following steps: acquiring a login ID of a watching user who logs in a live broadcast platform on the live broadcast platform and current position information of the watching user; dividing the watching users into LBS groups matched with the position information of the watching users in an LBS user cluster, wherein the LBS user cluster comprises M LBS groups, and the M LBS groups are distinguished by taking a geographical area with a preset level as a mark; the login ID of the viewing user is associated with a geographical area to which the LBS packet into which the viewing user is divided belongs. The invention solves the technical problems that the interaction mode between the watching users in the live broadcasting process is single and the platform is not beneficial to the management of the watching users. The method is beneficial to the management and statistics of the live broadcast platform on the watching users, and improves the interactivity between the watching users on the live broadcast platform.

Description

Method and device for grouping watching users
Technical Field
The present invention relates to the field of internet, and in particular, to a method and an apparatus for grouping viewing users.
Background
With the full rise of the live broadcast industry, the broadcast mode of the live broadcast is more and more popular. But with the continuous enlargement of the live broadcast, the audience of the live broadcast is more and more. The more people that accompany the live broadcast industry, how to establish interactions between anchor and anchor, anchor and viewing user, and viewing user. And is also a problem faced by live platforms. Due to the stateful form of the live platform. The interaction between the anchor and the viewing user is relatively good at present. On the contrary, due to the state form of the live platform, in the live process, the interaction mode between the watching user and the watching user is single, and the management of the live platform to the watching user is not facilitated.
Disclosure of Invention
The embodiment of the invention provides a method and a device for grouping watching users, and solves the technical problems that the interaction mode between the watching users and the watching users in the live broadcasting process is single, and the management of the live broadcasting platform to the watching users is not facilitated.
In a first aspect, an embodiment of the present invention provides a method for grouping viewing users, including:
acquiring a login ID of a watching user who logs in a live broadcast platform on the live broadcast platform and current position information of the watching user;
dividing the viewing user into LBS groups matched with the position information of the viewing user in an LBS user cluster, wherein the LBS user cluster comprises M LBS groups, M is a positive integer, and the M LBS groups are distinguished by taking a geographical area as a mark;
and associating the login ID of the viewing user with the geographic area to which the LBS group into which the viewing user is divided belongs.
Optionally, after associating the login ID of the viewing user with the geographic area to which the LBS group into which the viewing user is divided belongs, the method further includes:
monitoring whether the watching user enters a live broadcast room on the live broadcast platform;
and if the watching user enters any live broadcast room on the live broadcast platform, prompting the watching user of a mark of the LBS grouping to which the watching user is currently divided.
Optionally, the indication for prompting the viewing user of the LBS groups into which the viewing user is currently classified includes:
acquiring a barrage service ID of the watching user from the barrage service in the live broadcast room where the watching user is currently located;
matching the acquired bullet screen service ID associated with the viewing user with the login ID of the viewing user;
and if so, prompting the sign of the LBS grouping to which the watching user is currently divided to the watching user in the live broadcast room where the watching user is currently located.
Optionally, after the indication prompting the viewing user of the LBS group into which the viewing user is currently divided, the method further includes:
receiving a joining request from a client corresponding to the watching user;
responding the joining request to join the watching user into a communication group corresponding to the LBS group to which the watching user is currently divided.
Optionally, the obtaining the login ID of the viewing user who has logged in to the live broadcast platform on the live broadcast platform and the current location information of the viewing user includes:
acquiring user information of a watching user logged in a live broadcast platform according to a preset pull period, and updating the user information into a user information table;
and reading the position information of the watching user and the login ID of the watching user on the live broadcast platform from the updated user information table.
Optionally, if the location information is a network address, the geographic area is an administrative area, and the dividing the viewing user into LBS groups matched with the location information of the viewing user in an LBS user cluster includes:
analyzing the administrative region where the watching user is located from the network address of the watching user;
and dividing the watching users into LBS groups matched with the administrative regions where the watching users are located currently.
In a second aspect, an embodiment of the present invention provides an apparatus for grouping viewing users, including:
the system comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring the login ID of a watching user logged in a live broadcast platform on the live broadcast platform and the current position information of the watching user;
a grouping unit, configured to divide the viewing user into LBS groups that match with the location information of the viewing user in an LBS user cluster, where the LBS user cluster includes M LBS groups, where M is a positive integer, and the M LBS groups are distinguished by using a geographic area as a flag;
and the association unit is used for associating the login ID of the viewing user with the geographic area to which the LBS group into which the viewing user is divided belongs.
Optionally, the apparatus further comprises:
the monitoring unit is used for monitoring whether the watching user enters a live broadcast room on the live broadcast platform;
and the mark prompting unit is used for prompting the mark of the LBS group to which the watching user is currently divided to the watching user if the watching user enters any live broadcast room on the live broadcast platform.
Optionally, the mark prompting unit is specifically configured to:
acquiring a barrage service ID of the watching user from the barrage service in the live broadcast room where the watching user is currently located;
matching the acquired bullet screen service ID associated with the viewing user with the login ID of the viewing user;
and if so, prompting the sign of the LBS grouping to which the watching user is currently divided to the watching user in the live broadcast room where the watching user is currently located.
Optionally, the apparatus further comprises:
a receiving unit, configured to receive a join request from a client corresponding to the viewing user;
and the joining unit is used for responding to the joining request so as to join the watching user into the communication group corresponding to the LBS group to which the watching user is currently divided.
Optionally, the obtaining unit includes:
the user information pulling subunit is used for acquiring the user information of the watching user logged in the live broadcast platform according to a preset pulling period and updating the user information into a user information table;
and the reading subunit is used for reading the position information of the watching user and the login ID of the watching user on the live broadcast platform from the updated user information table.
Optionally, if the location information is a network address, the geographic area is an administrative area, and the dividing unit includes:
the analysis subunit is used for analyzing the administrative region where the watching user is currently located from the network address of the watching user;
and the dividing subunit is used for dividing the watching users into LBS groups matched with the administrative regions where the watching users are located currently.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the implementation manners provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides an apparatus for grouping viewing users, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of any one of the embodiments provided in the first aspect when executing the program.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
the watching users are divided into LBS groups matched with the position information of the watching users in the LBS user cluster, and each LBS group in the LBS user cluster is distinguished by taking a geographical area as a mark; the login ID of the watching user is associated with the geographical area to which the LBS group to which the watching user is divided belongs, so that all the watching users divided in the same LBS group belong to the same geographical area, the partition management and statistics of the watching users by the live broadcast platform are facilitated, the watching users are also grouped according to geography, the watching users in the same region can communicate with each other more effectively, more same topics can be found more conveniently, and the interactivity between the watching users on the live broadcast platform is improved.
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 are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a method for grouping viewing users according to an embodiment of the present invention;
FIG. 2 is a block diagram of an apparatus for grouping viewing users according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for grouping viewing users according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a device for grouping watching users, solves the technical problems that the interaction mode between the watching users and the watching users in the live broadcasting process is single and the management of a platform to the watching users is not facilitated, and has the following general idea:
acquiring a login ID of a watching user who logs in a live broadcast platform on the live broadcast platform and current position information of the watching user; dividing the watching users into LBS groups matched with the position information of the watching users in an LBS user cluster, wherein the LBS user cluster comprises M LBS groups, M is a positive integer, and the M LBS groups are distinguished by taking a geographical area as a mark; the login ID of the viewing user is associated with a geographical area to which the LBS packet into which the viewing user is divided belongs.
The viewing users are divided into LBS groups matched with the position information of the viewing users in the LBS user cluster through the technical scheme, and each LBS group in the LBS user cluster is distinguished by taking a geographical area as a mark; the login ID of the watching user is associated with the geographical area to which the LBS group to which the watching user is divided belongs, so that all the watching users divided in the same LBS group belong to the same geographical area, the partition management and statistics of the watching users by the live broadcast platform are facilitated, the watching users are also grouped according to geography, the watching users in the same region can communicate with each other more effectively, more same topics can be found more conveniently, and the interactivity between the watching users on the live broadcast platform is improved.
The method for grouping watching users provided by the embodiment of the invention is applied to a mobile terminal hand-broadcasting APP or PC terminal, and referring to fig. 1, the method provided by the embodiment of the invention comprises the following steps:
s101, obtaining a login ID of a watching user who logs in a live broadcast platform on the live broadcast platform and current position information of the watching user;
s102, dividing the watching user into LBS groups matched with the position information of the watching user in an LBS user cluster, wherein the LBS user cluster comprises M LBS groups, M is a positive integer, and the M LBS groups are distinguished by taking a geographical area as a mark;
s103, associating the login ID of the viewing user with the geographic area to which the LBS group into which the viewing user is divided belongs.
It should be noted that, in the embodiment of the present invention, the LBS (Location based service) acquires the Location Information (Geographic coordinates or geodetic coordinates) of the client through a radio communication network (such as a GSM network or a CDMA network) of a telecommunication mobile operator or an external positioning manner (such as GPS), and provides corresponding services for the user under the support of a Geographic Information System (GIS) platform. LBS user clusters are user clusters based on the geographic location of the users, grouping users by geographic location.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
S101, obtaining a login ID of a watching user logged in a live broadcast platform on the live broadcast platform and current position information of the watching user.
In one embodiment, S101 includes the following steps S1011 to S1012:
first, in S1011: and acquiring user information of the watching users logged in the live broadcast platform according to a preset pull period, and updating the user information into a user information table (Userinformation).
In the specific implementation process, user information of a watching user who logs in a live broadcast platform currently is acquired through a foreground service (WebReceptionserver), and the user information of the watching user is updated into a user information table through the foreground service.
For example, if the preset pull period is 15 minutes, the user information of the login user is pulled once every 15 minutes. After the user information of the watching users logged in the live broadcast platform is pulled, the user information of each watching user is determined. The time of the interval can be set according to actual requirements.
Specifically, LBS listening service (weblbs server) is added to the foreground service. And pulling the user information of the watching user according to a preset pulling period through the monitoring service, and synchronously updating the user information into a user information table.
In S1012: and reading the position information of the watching user and the login ID (Logid) of the watching user on the live platform from the updated user information table.
The LBS monitoring service specifically includes: by adding a timer (TimerFunction) function in the foreground service, the timer counts for 15 minutes, so that the user information of the watching user who logs in the live broadcast platform is pulled once every 15 minutes; meanwhile, the read user information is synchronously updated to the user information table every 15 minutes.
After S101, S102 is executed next: dividing the watching users into LBS groups matched with the position information of the watching users in an LBS user cluster, wherein the LBS user cluster comprises M LBS groups, M is a positive integer, and the M LBS groups are distinguished by taking a geographical area as a mark.
Specifically, the M LBS groups of the LBS user cluster may be distinguished by using an administrative area as an identifier, for example, a first-level administrative area, a second-level administrative area, a third-level administrative area, or a fourth-level administrative area as an identifier. The M LBS groups in the LBS user cluster are distinguished by taking a first-level administrative region as a mark, watching users in Beijing city are divided into the same LBS group, users in Sichuan province are divided into the same LBS group, watching users in Chongqing city are divided into the same LBS group, and the like.
Of course, in a specific implementation process, the geographic area may be divided into other forms, such as an adjacent geographic area with a specific radius and centered on a single viewing user.
And calling a user grouping method (grouping method) in a monitoring service (WebLBSSServer) to subdivide all viewing users existing in the updated user information table (UserInformation), or subdividing newly-added viewing users in the updated user information table (UserInformation) into LBS groups matched with the position information of the viewing users in the LBS user cluster.
Next, a specific embodiment is given to the implementation process of S102, including the following steps S1021 to S1022:
first, S1021 is executed: and analyzing the administrative region where the watching user is currently located from the network address of the watching user.
In a specific implementation process, the location information may be a network address (NetworkAddress), the network address of the viewing user is read from the user information table by accessing the user information table, information (Region) for dividing the administrative area is analyzed from the network address, and the administrative area where the viewing user is currently located is determined according to the information for dividing the administrative area.
And S1022, dividing the watching users into LBS groups matched with the administrative regions where the watching users are located currently.
Specifically, the administrative region where the watching user is currently located is subjected to peer matching with the administrative region of each LBS group in the LBS user cluster, and if the matching results are the same, the watching user is divided into the LBS groups with the same administrative region in the LBS user cluster. For example, according to the fact that the current first-level administrative region of the watching user is Beijing city, the watching user is divided into LBS groups of the Beijing city; and determining that the first-level administrative region is Sichuan province according to the current network address of the watching user, and dividing the watching user into LBS groups of Sichuan province.
After S102, S103 is then performed, associating the login ID of the viewing user with the geographical area to which the LBS group into which the viewing user is divided belongs.
Grouping by administrative region (UserGrouping). The administrative area where the viewing users are grouped is inversely associated with the viewing users' login id (logoid).
Further, the technical solution provided by the embodiment of the present invention further includes: after the login ID of the watching user is associated with the geographical area to which the LBS group divided by the watching user belongs, monitoring whether the watching user enters a live broadcast room on a live broadcast platform; and if the watching user enters any live broadcast room on the live broadcast platform, prompting the watching user of the LBS grouping to which the watching user is currently divided. The method is convenient for the watching user to quickly enter the LBS grouped chat group from the prompt message of the direct live broadcast room for chatting and communicating.
Furthermore, a joining request from a client corresponding to the watching user can be received; and responding to the joining request to join the watching user into a communication group corresponding to the LBS group to which the watching user is currently divided.
It should be noted that, the notification information for prompting the LBS packet into which the user is currently classified is directly added to the communication of the LBS packet. After the watching user successfully joins the LBS group, the user can speak in the communication group corresponding to the LBS group, and the user can directly communicate with the user in time and in information.
Specifically, after the watching user enters any live broadcast room on the live broadcast platform, a prompt that the watching user is currently divided into LBS groups is popped up in the live broadcast room where the watching user is currently located. After the watching user clicks the prompt, the client where the watching user is located sends an adding request, and when the server receives the adding request from the client where the watching user is located, the watching user is added into a communication group corresponding to the LBS group into which the watching user is currently divided, so that a plurality of watching users belonging to the same geographical area can communicate in the communication group corresponding to the same LBS group, and therefore interactivity is provided for direct communication among the users through the medium of position information, and information communication can be directly and effectively carried out among the users. And the method is favorable for the management of the watching user partition on the live broadcast platform. From
Specifically, the prompting of the LBS groups into which the viewing user is currently classified to the viewing user includes: acquiring a barrage service ID (BarLogid) associated with a watching user from a barrage service (WebBarrageServer) in a live broadcast room where the watching user is currently located; matching the bullet screen service ID of the watching user with the login ID of the watching user; and if the current LBS grouping is matched with the LBS grouping, prompting the watching user of the LBS grouping to which the watching user is currently divided in the live broadcast room in which the watching user is currently located, and otherwise, not prompting. Therefore, the watching users who can enter the LBS group are ensured to be connected with the barrage service, and malicious connection of the barrage service is prevented. The bullet screen service ID is an ID required by the viewing user to whom the bullet screen service is connected
It should be noted that, in the embodiment of the present invention, the services do not belong to different entity servers, but belong to the same entity server.
Further, after the viewing user is added to the LBS group into which the viewing user is currently classified, the LBS group in which the viewing user is located is recorded. When the watching user is switched from the current live broadcast room to the next live broadcast room, the watching user is kept in the communication group corresponding to the LBS group which is divided currently, so that the user information of the user can be always in the group of the LBS user cluster as long as the watching user does not quit the group.
After the watching user is added into the LBS group into which the watching user is currently divided, if a quitting request which represents quitting the LBS group and is from a client side where any watching user is located is received, the watching user quits from a communication group corresponding to the added LBS group.
Based on the same inventive concept, an embodiment of the present invention provides an apparatus for grouping viewing users, which is shown in fig. 2 and includes the following program modules:
an acquiring unit 201, configured to acquire a login ID of a viewing user who has logged in to a live broadcast platform on the live broadcast platform and current location information of the viewing user;
a grouping unit 202, configured to divide the viewing user into LBS groups that match the location information of the viewing user in an LBS user cluster, where the LBS user cluster includes M LBS groups, where M is a positive integer, and the M LBS groups are distinguished by using a geographic area as a flag;
the associating unit 203 associates the login ID of the viewing user with the geographical area to which the LBS group into which the viewing user is divided belongs.
Optionally, the apparatus further comprises:
the monitoring unit is used for monitoring whether the watching user enters a live broadcast room on the live broadcast platform;
and the mark prompting unit is used for prompting the mark of the LBS group to which the watching user is currently divided to the watching user if the watching user enters any live broadcast room on the live broadcast platform.
Optionally, the mark prompting unit is specifically configured to:
acquiring a barrage service ID of the watching user from the barrage service in the live broadcast room where the watching user is currently located;
matching the acquired bullet screen service ID associated with the viewing user with the login ID of the viewing user;
and if so, prompting the sign of the LBS grouping to which the watching user is currently divided to the watching user in the live broadcast room where the watching user is currently located.
Optionally, the apparatus further comprises:
a receiving unit, configured to receive a join request from a client corresponding to the viewing user;
and the joining unit is used for responding to the joining request so as to join the watching user into the communication group corresponding to the LBS group to which the watching user is currently divided.
Optionally, the obtaining unit 201 includes:
the user information pulling subunit is used for acquiring the user information of the watching user logged in the live broadcast platform according to a preset pulling period and updating the user information into a user information table;
and the reading subunit is used for reading the position information of the watching user and the login ID of the watching user on the live broadcast platform from the updated user information table.
Optionally, if the location information is a network address, the geographic area is an administrative area, and the dividing unit includes:
the analysis subunit is used for analyzing the administrative region where the watching user is currently located from the network address of the watching user;
and the dividing subunit is used for dividing the watching users into LBS groups matched with the administrative regions where the watching users are located currently.
The detailed implementation of the apparatus in the present embodiment and its various modifications can be understood by those skilled in the art, so that the detailed description of the method embodiment of grouping viewing users for how the apparatus implements the present invention is not provided herein. The scope of the present invention is intended to be covered by the claims so long as those skilled in the art can implement the apparatus used in the embodiment of the method for grouping viewing users in the present invention.
Based on the same inventive concept, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements any of the foregoing embodiments of the method of grouping viewing users. It is within the scope of the present invention to provide a computer-readable storage medium for storing a method for grouping viewing users according to the embodiments of the present invention.
Based on the same inventive concept, an embodiment of the present invention provides an apparatus for grouping viewing users, which, as shown in fig. 3, includes a memory 301, a processor 302, and a computer program stored on the memory 301 and executable on the processor 302, where the processor 302 executes the program to implement any one of the foregoing embodiments of the method for grouping viewing users. The scope of the present invention is intended to be covered by the claims so long as those skilled in the art can implement the method for grouping viewing users in the embodiments of the present invention.
The detailed implementation of the electronic device of the present embodiment and various modifications thereof can be understood by those skilled in the art, so that a detailed description of how the electronic device implements the method of the embodiments of the present invention is not provided here. The electronic device used by those skilled in the art to implement the method for processing information in the embodiments of the present invention is within the scope of the present invention.
The technical scheme in the embodiment of the invention at least has the following technical effects or advantages:
the watching users are divided into LBS groups matched with the position information of the watching users in the LBS user cluster, and each LBS group in the LBS user cluster is distinguished by taking a geographical area as a mark; the login ID of the watching user is associated with the geographical area to which the LBS group to which the watching user is divided belongs, so that all the watching users divided in the same LBS group belong to the same geographical area, the partition management and statistics of the watching users by the live broadcast platform are facilitated, the watching users are also grouped according to geography, the watching users in the same region can communicate with each other more effectively, more same topics can be found more conveniently, and the interactivity between the watching users on the live broadcast platform is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (7)

1. A method of grouping viewing users, comprising:
acquiring a login ID of a watching user who logs in a live broadcast platform on the live broadcast platform and current position information of the watching user;
dividing the viewing user into LBS groups matched with the position information of the viewing user in an LBS user cluster, wherein the LBS user cluster comprises M LBS groups, M is a positive integer, and the M LBS groups are distinguished by taking a geographical area as a mark;
associating the login ID of the viewing user with a geographical area to which the LBS group into which the viewing user is divided belongs;
monitoring whether the watching user enters a live broadcast room on the live broadcast platform;
if the watching user enters any live broadcast room on the live broadcast platform, acquiring a barrage service ID of the watching user from barrage services in the live broadcast room where the watching user is currently located;
and matching the acquired barrage service ID associated with the watching user with the login ID of the watching user, and if the acquired barrage service ID is matched with the login ID of the watching user, prompting the watching user of a mark of the LBS group to which the watching user is currently divided in a live broadcast room where the watching user is currently located.
2. The method of grouping viewing users of claim 1, wherein after said prompting the viewing user for a flag of LBS groups into which the viewing user is currently classified, the method further comprises:
receiving a joining request from a client corresponding to the watching user;
responding the joining request to join the watching user into a communication group corresponding to the LBS group to which the watching user is currently divided.
3. The method for grouping viewing users according to claim 1, wherein the obtaining of the login ID of the viewing user who has logged in to the live platform on the live platform and the current location information of the viewing user comprises:
acquiring user information of a watching user logged in a live broadcast platform according to a preset pull period, and updating the user information into a user information table;
and reading the position information of the watching user and the login ID of the watching user on the live broadcast platform from the updated user information table.
4. The method of grouping viewing users according to claim 3, wherein if the location information is a network address and the geographical area is an administrative area, the dividing the viewing users into LBS groups matching the location information of the viewing users in an LBS user cluster comprises:
analyzing the administrative region where the watching user is located from the network address of the watching user;
and dividing the watching users into LBS groups matched with the administrative regions where the watching users are located currently.
5. An apparatus for grouping viewing users, comprising:
the system comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring the login ID of a watching user logged in a live broadcast platform on the live broadcast platform and the current position information of the watching user;
a grouping unit, configured to divide the viewing user into LBS groups that match with the location information of the viewing user in an LBS user cluster, where the LBS user cluster includes M LBS groups, where M is a positive integer, and the M LBS groups are distinguished by using a geographic area as a flag;
the association unit is used for associating the login ID of the viewing user with the geographic area to which the LBS group divided by the viewing user belongs;
the monitoring unit is used for monitoring whether the watching user enters a live broadcast room on the live broadcast platform;
the mark prompting unit is used for acquiring a bullet screen service ID of the watching user from bullet screen services in a live broadcast room where the watching user is currently located if the watching user enters any live broadcast room on the live broadcast platform;
matching the acquired bullet screen service ID associated with the viewing user with the login ID of the viewing user; and if so, prompting the sign of the LBS grouping to which the watching user is currently divided to the watching user in the live broadcast room where the watching user is currently located.
6. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 4.
7. An apparatus for grouping viewing users, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1-4 when executing the program.
CN201710403695.1A 2017-06-01 2017-06-01 Method and device for grouping watching users Active CN107222760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710403695.1A CN107222760B (en) 2017-06-01 2017-06-01 Method and device for grouping watching users

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710403695.1A CN107222760B (en) 2017-06-01 2017-06-01 Method and device for grouping watching users

Publications (2)

Publication Number Publication Date
CN107222760A CN107222760A (en) 2017-09-29
CN107222760B true CN107222760B (en) 2020-02-07

Family

ID=59947158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710403695.1A Active CN107222760B (en) 2017-06-01 2017-06-01 Method and device for grouping watching users

Country Status (1)

Country Link
CN (1) CN107222760B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769149B (en) * 2018-05-14 2022-02-25 上海掌门科技有限公司 Application partition processing method and device and computer readable storage medium
CN110784748B (en) * 2018-07-11 2021-10-26 北京蓝色光标数据科技股份有限公司 Cross-screen interaction method and system, terminal equipment and back-end server
CN110475127A (en) * 2019-07-25 2019-11-19 天脉聚源(杭州)传媒科技有限公司 A kind of virtual auditorium generation method of 3D, system, device and storage medium
CN110856011B (en) * 2019-12-05 2022-06-10 咪咕视讯科技有限公司 Method for grouping live broadcast interaction, electronic equipment and storage medium
CN111246231B (en) * 2020-01-16 2022-02-11 广州酷狗计算机科技有限公司 Live broadcast management method and device, server and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686617A (en) * 2013-12-23 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for creating instant communication group
CN103873269A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Group joining method and system
CN104093125A (en) * 2014-07-04 2014-10-08 惠州Tcl移动通信有限公司 Method and system for using geographical position information for setting up groups
CN104363475A (en) * 2014-11-14 2015-02-18 广州华多网络科技有限公司 Audience grouping association method, device and system
CN105554528A (en) * 2015-12-16 2016-05-04 武汉斗鱼网络科技有限公司 Method and apparatus for grouping bullet screen users in live broadcasting room
CN105657475A (en) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 Method and device for grouping users in live broadcast website
CN105872620A (en) * 2016-03-30 2016-08-17 宁波元鼎电子科技有限公司 Authority and level distinguished display method and authority and level distinguished display system in network broadcasting process
CN106550278A (en) * 2016-11-11 2017-03-29 广州华多网络科技有限公司 The method and device of the packet interaction of live platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873269A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Group joining method and system
CN103686617A (en) * 2013-12-23 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for creating instant communication group
CN104093125A (en) * 2014-07-04 2014-10-08 惠州Tcl移动通信有限公司 Method and system for using geographical position information for setting up groups
CN104363475A (en) * 2014-11-14 2015-02-18 广州华多网络科技有限公司 Audience grouping association method, device and system
CN105554528A (en) * 2015-12-16 2016-05-04 武汉斗鱼网络科技有限公司 Method and apparatus for grouping bullet screen users in live broadcasting room
CN105657475A (en) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 Method and device for grouping users in live broadcast website
CN105872620A (en) * 2016-03-30 2016-08-17 宁波元鼎电子科技有限公司 Authority and level distinguished display method and authority and level distinguished display system in network broadcasting process
CN106550278A (en) * 2016-11-11 2017-03-29 广州华多网络科技有限公司 The method and device of the packet interaction of live platform

Also Published As

Publication number Publication date
CN107222760A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN107222760B (en) Method and device for grouping watching users
CN106028075B (en) Barrage display methods and device
CN111614748B (en) Apparatus and method for scalable peer-to-peer matching
CN107734350B (en) Live broadcasting system and live broadcasting method
US20140206399A1 (en) Location-based group generation method, apparatus and system
WO2014169688A1 (en) Method and system for identifying prank call, client, server, and storage medium
CN105120299A (en) Video pushing method and video pushing device
US9402172B2 (en) Message combination method and device
CN104144098A (en) Information pushing method and system and pushing server equipment
CN105959207A (en) Audio and video sharing method and device
JP2015524967A (en) Method, apparatus, and system for sharing software between terminals
CN111541684B (en) Signaling sending method and device of live broadcast room, server and storage medium
CN106231367A (en) U.S. face processing method and processing device
CN105872572A (en) Live broadcast video processing method and device
CN107332894B (en) Live broadcast method, device and system, server and storage medium
CN114064275A (en) Data processing method and device
US20140128108A1 (en) Session Initiation for Multimedia Services
CN112632124B (en) Multimedia information acquisition method, device, system, storage medium and electronic device
CN109040798B (en) Live broadcast data stream guiding method, storage medium, electronic device and system
CN110351577B (en) Live broadcast information processing method and device, storage medium and electronic equipment
CN106657116B (en) Method and device for remotely starting streaming data transmission
CN110839006A (en) Network scheduling method and device and electronic equipment
CN108616415B (en) Data association method and device
CN108668151B (en) Audio and video interaction method and device
CN107071038B (en) Method and device for transmitting multimedia data

Legal Events

Date Code Title Description
PB01 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