CN114268512A - Chat room recommendation method, chat room recommendation device, server, terminal, program and storage medium - Google Patents

Chat room recommendation method, chat room recommendation device, server, terminal, program and storage medium Download PDF

Info

Publication number
CN114268512A
CN114268512A CN202111314699.5A CN202111314699A CN114268512A CN 114268512 A CN114268512 A CN 114268512A CN 202111314699 A CN202111314699 A CN 202111314699A CN 114268512 A CN114268512 A CN 114268512A
Authority
CN
China
Prior art keywords
chat room
chat
target
type label
geographic area
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.)
Granted
Application number
CN202111314699.5A
Other languages
Chinese (zh)
Other versions
CN114268512B (en
Inventor
袁誉章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111314699.5A priority Critical patent/CN114268512B/en
Publication of CN114268512A publication Critical patent/CN114268512A/en
Application granted granted Critical
Publication of CN114268512B publication Critical patent/CN114268512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to a chat room recommendation method, apparatus, server, terminal, program, and storage medium, the method comprising: determining a target geographic area where the account is located; outputting at least one chat room type label corresponding to the target geographic area to the account, wherein the number of the chat rooms corresponding to the at least one chat room type label meets the set conditions; responding to the selection operation of the account on a target type label in at least one chat room type label, and determining a chat room recommendation list corresponding to the target type label; and outputting the chat rooms contained in the chat room recommendation list. The method provides diversified chat room selection modes for users by combining the geographic area and the chat room type, so that the mode of entering the chat room is more flexible.

Description

Chat room recommendation method, chat room recommendation device, server, terminal, program and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a chat room recommendation method, apparatus, server, terminal, program, and storage medium.
Background
With the development of science and technology, people have more and more abundant entertainment life, and one common entertainment life way is to communicate with other users in a chat room provided by a social platform in a way of characters, voice, video and the like. The chat themes of different chat rooms are different, the current user can enter the interface of the chat room and select to enter the chat room in which the user is interested from a plurality of chat rooms displayed on the interface. The chat room entering mode in the related art is single.
Disclosure of Invention
The present disclosure provides a chat room recommendation method, apparatus, server, terminal, program, and storage medium to at least solve the problem in the related art that the manner of entering a chat room is relatively single. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a chat room recommendation method, the method including:
determining a target geographic area where the account is located;
outputting at least one chat room type label corresponding to the target geographic area to the account, wherein the number of the chat rooms corresponding to the at least one chat room type label meets a set condition;
responding to the selection operation of the account on a target type label in the at least one chat room type label, and determining a chat room recommendation list corresponding to the target type label;
and outputting the chat rooms contained in the chat room recommendation list.
Optionally, the displaying at least one chat room type tag corresponding to the target geographic area includes:
and displaying the at least one chat room type label under the same card, wherein the card is an access entrance of the same regional chat room.
Optionally, before the displaying at least one chat room type tag corresponding to the target geographic area, the method further comprises:
identifying a chat room type tag of each chat room;
determining the geographical area where each chat room is located according to the position information of the anchor of each chat room;
and determining the number of the chat rooms corresponding to different chat room type labels in different geographic areas according to the chat room type labels of the chat rooms and the geographic areas in which the chat rooms are located.
Optionally, the outputting the chat rooms included in the chat room recommendation list includes:
for any chat room contained in the chat room recommendation list, checking whether a chat room type label corresponding to the chat room is changed;
if the chat room type label corresponding to any chat room is changed, deleting the chat room;
and if the chat room type label corresponding to any chat room is not changed, outputting the chat room.
Optionally, before outputting at least one chat room type tag corresponding to the target geographic area to the account, the method further comprises:
regularly generating a calculation task so as to regularly count chat rooms corresponding to different chat room type labels in different geographic areas based on the calculation task, wherein the calculation task comprises the geographic areas to be calculated and the chat rooms corresponding to the different chat room type labels in the different geographic areas to be calculated;
and storing the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated to a storage node.
Optionally, before determining the chat room recommendation list corresponding to the target type tag, the method further includes:
the storage nodes are inquired periodically to update the local cache of the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated;
the determining of the chat room recommendation list corresponding to the target type tag includes:
and determining a chat room recommendation list corresponding to the target type label according to the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated and stored in the local cache.
Optionally, the number of chat rooms corresponding to each of the at least one chat room type tags is greater than a preset threshold.
According to a second aspect of the embodiments of the present disclosure, there is provided a chat room recommendation method, the method including:
acquiring a target geographic area where an account is located, and sending the target geographic area to a server;
displaying at least one chat room type label corresponding to the target geographic area returned by the server in an interface, wherein the number of chat rooms corresponding to the at least one chat room type label meets a set condition;
responding to the selection operation of a target type label in the at least one chat room type label, and sending the target type label;
and displaying a first chat room contained in the chat room recommendation list corresponding to the target type label in the interface.
Optionally, after displaying, in the interface, a first chat room included in the chat room recommendation list corresponding to the target type tag, the method further includes:
and responding to the switching operation triggered by the first chat room, and displaying a second chat room contained in the chat room recommendation list in the interface.
Optionally, the number of chat rooms corresponding to each of the at least one chat room type tags is greater than a preset threshold.
According to a third aspect of the embodiments of the present disclosure, there is provided a chat room recommending apparatus, including:
a determination unit configured to perform determining a target geographic area in which the account is located;
the output unit is configured to output at least one chat room type label corresponding to the target geographic area to the account, and the number of chat rooms corresponding to the at least one chat room type label meets a set condition;
the determining unit is configured to execute a selection operation of the account on a target type label in the at least one chat room type label, and determine a chat room recommendation list corresponding to the target type label;
the output unit is configured to output the chat rooms contained in the chat room recommendation list.
Optionally, the output unit is configured to perform:
and displaying the at least one chat room type label under the same card, wherein the card is an access entrance of the same regional chat room.
Optionally, the apparatus further comprises a statistics unit;
the statistical unit is configured to perform:
identifying a chat room type tag of each chat room;
determining the geographical area where each chat room is located according to the position information of the anchor of each chat room;
and determining the number of the chat rooms corresponding to different chat room type labels in different geographic areas according to the chat room type labels of the chat rooms and the geographic areas in which the chat rooms are located.
Optionally, the output unit is configured to perform:
for any chat room contained in the chat room recommendation list, checking whether a chat room type label corresponding to the chat room is changed;
if the chat room type label corresponding to any chat room is changed, deleting the chat room;
and if the chat room type label corresponding to any chat room is not changed, outputting the chat room.
Optionally, the statistical unit is further configured to perform:
regularly generating a calculation task so as to regularly count chat rooms corresponding to different chat room type labels in different geographic areas based on the calculation task, wherein the calculation task comprises the geographic areas to be calculated and the chat rooms corresponding to the different chat room type labels in the different geographic areas to be calculated;
and storing the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated to a storage node.
Optionally, the determining unit is configured to perform:
the storage nodes are inquired periodically to update the local cache of the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated;
and determining a chat room recommendation list corresponding to the target type label according to the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated and stored in the local cache.
Optionally, the number of chat rooms corresponding to each of the at least one chat room type tags is greater than a preset threshold.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a chat room recommending apparatus, the apparatus including:
the acquisition unit is configured to execute acquisition of a target geographic area where the account is located and send the target geographic area to the server;
the display unit is configured to display at least one chat room type label corresponding to the target geographic area returned by the server in an interface, wherein the number of chat rooms corresponding to the at least one chat room type label meets a set condition;
a transmitting unit configured to perform a transmission of a target type tag among the at least one chat room type tag in response to a selection operation of the target type tag;
the display unit is configured to display a first chat room contained in the chat room recommendation list corresponding to the target type tag in the interface.
Optionally, the display unit is further configured to perform:
and responding to the switching operation triggered by the first chat room, and displaying a second chat room contained in the chat room recommendation list in the interface.
Optionally, the number of chat rooms corresponding to each of the at least one chat room type tags is greater than a preset threshold.
According to a fifth aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the chat room recommending method provided by the first aspect of the embodiment of the present disclosure.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the chat room recommending method provided by the second aspect of the embodiment of the present disclosure.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the chat room recommendation method provided by the first aspect of the embodiments of the present disclosure.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform the chat room recommendation method provided by the second aspect of the embodiments of the present disclosure.
According to a ninth aspect of the embodiments of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the chat room recommendation method provided by the first or second aspect of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
by adopting the method and the device, the chat room corresponding to at least one chat room type label set in the target geographic area can be recommended for the account according to the target geographic area where the account is located and the chat rooms corresponding to different chat room type labels in different geographic areas counted in advance, wherein each chat room type label corresponds to one type of the chat room. The user can select a target type label in the at least one chat room type label through the account, and then can output a chat room corresponding to the target type label to the account. In such a way, a scene entrance can be provided for the user with clear intention, and the entrance can enable the user with clear intention to find the interested chat rooms belonging to the target type tags and continuously consume the type of chat rooms, so that the conversion efficiency of the social traffic based on the distance can be improved. The method provides diversified chat room selection modes for users by combining the geographic area and the chat room type, so that the mode of entering the chat room is more flexible.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a chat room recommendation method in accordance with an illustrative embodiment;
FIG. 2 is a flow diagram illustrating a chat room statistics method in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a chat room entry in accordance with an illustrative embodiment;
FIG. 4 is a flow diagram illustrating another chat room recommendation system interaction, according to an illustrative embodiment;
FIG. 5 is a block diagram illustrating a chat room recommender, in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating another chat room recommender, in accordance with an illustrative embodiment;
FIG. 7 is a block diagram illustrating a server in accordance with an exemplary embodiment;
fig. 8 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure provides a chat room recommendation method, which can be cooperatively executed by a server and a terminal. Fig. 1 is a flow chart illustrating a chat room recommendation method according to an exemplary embodiment, as shown in fig. 1, including the following steps.
In step S11, the terminal acquires the target geographic area where the account is located, and sends the target geographic area to the server.
In step S12, the server determines the target geographic area in which the account is located.
In step S13, the server outputs at least one chat room type label corresponding to the target geographical area to the terminal corresponding to the account, and the number of chat rooms corresponding to each of the at least one chat room type labels meets the set condition.
In step S14, the terminal displays at least one chat room type label corresponding to the target geographic area returned by the server in the interface.
In step S15, the terminal transmits a target type tag to the server in response to a selection operation of the target type tag among the at least one chat room type tag.
In step S16, the server determines a chat room recommendation list corresponding to the target type tag.
In step S17, the server outputs the chat rooms included in the chat room recommendation list to the terminal.
In step S18, the terminal displays the first chat room included in the chat room recommendation list corresponding to the target type tag returned by the server in the interface.
In practical application, a terminal corresponding to an account can acquire a target geographic area where the account is located. Specifically, the user can actively input the target geographic area where the user is located in the terminal through the account, and the terminal can also automatically locate the target geographic area where the user is located through the locating function of the terminal. The geographic area may be, for example, a certain province, a certain city, a certain street, a certain community, and the like.
After the terminal collects the target geographic area where the account is located, the target geographic area can be sent to the server. The server can obtain different chat room type labels in different geographic areas in advance, and then determine at least one chat room type label corresponding to the target geographic area from the different chat room type labels in the different geographic areas. It should be noted that the different chat room type labels in different geographic areas are the result of counting all the chat room type labels corresponding to all the geographic areas.
Wherein the chat room type label is used to indicate the type of the chat room. The chat rooms may be classified into several types according to the chat topic, and may include, for example, a chat room of a chatting chat type, a chat room of a related type, a chat room of a KTV (Karaoke TV) type, a chat room of a movie show type, and the like.
The number of chat rooms corresponding to the at least one chat room type label is required to meet the set conditions. Optionally, the number of chat rooms corresponding to each of the at least one chat room type label needs to be greater than a preset threshold, or the chat room type labels may be sorted in descending order of the number of corresponding chat rooms, where the at least one chat room type label is a chat room type label sorted with a preset number of digits.
It should be noted that, the number of chat rooms corresponding to a certain chat room type tag in a certain geographic area may be very small, and when the number of chat rooms is smaller than a preset threshold, it may be difficult for a user to find a chat room in which the user is interested from among the few chat rooms. Therefore, if the number of the chat rooms corresponding to a certain chat room type label in the target geographic area is smaller than the preset threshold value, the chat room type label is excluded in advance when the chat rooms are recommended to the user in the following, and the chat room entrance corresponding to the chat room type label is not shown to the user.
For example, the number of chat rooms in the chat rooms of the movie exhibition type in the target geographical area is 3, and the movie programs respectively exhibited in the chat rooms of the 3 movie exhibition types may hardly arouse the interest of the user, so that the entries of the chat rooms of the movie exhibition type are not displayed to the user.
Alternatively, as shown in fig. 2, the process of counting all chat room type labels corresponding to all geographic areas can be implemented as:
in step S21, the chat room type label for each chat room is identified.
The server may collect chat room information for each chat room and determine chat room type labels for each chat room based on the chat room information. It should be noted that the chat room type tag may be actively input by the anchor of the chat room, or the server may also collect live audio of the chat room, and identify the chat room type tag of the chat room according to the live audio.
For example, when the anchor wants to open a chat room of the relative type, the anchor can input "relative chat room" in the control corresponding to the setting page of the chat room, and the chat room type label of the chat room can be determined as "relative type chat room" through the information input by the anchor. Alternatively, the server may capture live audio of the chat room, for example, "who wants to go to the mai and sing a song for everybody" below, and the chat room type tag of the chat room may be identified as a "KTV type chat room" through the live audio.
In step S22, the geographical area in which each chat room is located is determined based on the location information of the anchor of each chat room.
The server can also collect the position information of the anchor of each chat room, and the geographical area of each anchor can be used as the geographical area of the corresponding chat room.
Optionally, the anchor can actively input the location information of the anchor, or the server can automatically identify the location information of the anchor according to the longitude and latitude of the anchor when the anchor is broadcast.
In step S23, the number of chat rooms corresponding to different chat room type labels in different geographic areas is determined according to the chat room type label of each chat room and the geographic area in which each chat room is located.
After the chat room type labels of the chat rooms and the geographic areas to which the chat rooms belong are determined, the distribution conditions of the chat rooms of different types in different geographic areas can be counted, namely the chat rooms corresponding to the chat room type labels in different geographic areas and the specific number of the chat rooms.
For example, counting up N chat rooms corresponding to the chat room type label X in province a, wherein the chat rooms include chat room 1, chat room 2 and chat room 3 … …; chat rooms corresponding to the chat room type labels in the province X comprise chat room 1, chat room 2 and chat room 3 … … chat rooms M, and the total number of chat rooms is M; chat rooms corresponding to the Y chat room type label in province B comprise chat room 1, chat room 2 and chat room 3 … … chat rooms W, and the total number of chat rooms is W.
After counting the chat rooms corresponding to different chat room type labels in different geographic areas and the specific number, screening the statistical result, and only keeping the statistical result of the chat room type labels of which the corresponding chat room number meets the set conditions.
For example, as described above, it is specified that only the statistics of the chat room type labels with the number of corresponding chat rooms greater than 100 are retained. Assuming that N is 105, M is 60, and W is 203 in the above example, further the chat rooms corresponding to the X chat room type tags in B province can be removed from the statistical results, and only the chat rooms corresponding to the X chat room type tags in a province are reserved, including chat room 1, chat room 2, chat room 3 … … chat room 105, and the chat rooms corresponding to the Y chat room type tags in B province include chat room 1, chat room 2, chat room 3 … … chat room 203, and the total number is 203 statistical results.
It should be noted that the number of servers may be set according to actual requirements, so that all servers can collectively complete the statistical task. The single server can be responsible for counting the chat rooms corresponding to the different chat room type labels in the set geographic areas and the specific number, so that the counting results of all the servers are combined together, and the counting tasks of the chat rooms corresponding to the different chat room type labels in all the geographic areas and the specific number can be completed. In this way, the computational stress of a single server can be relieved, and the time consumption of statistics can be saved.
After completing the statistical task, the server may determine at least one chat room type tag corresponding to the target geographic area according to the statistical result, and then send the at least one chat room type tag corresponding to the target geographic area to the terminal. The terminal, after receiving the at least one chat room type tag corresponding to the target geographic area, may display the at least one chat room type tag corresponding to the target geographic area in an interface.
Alternatively, the process of displaying at least one chat room type label corresponding to the target geographic area can be implemented as: at least one chat room type label is displayed under the same card, and the card is an access entrance of the same regional chat room.
In practice, a user may enter a chat room from a city page. The city page displays various information corresponding to the target geographic area, such as multimedia information published by other users who are in the target geographic area with the user. The user traffic of the same city page is the traffic based on the biased distance, and the access entrance of the same region chat room can be arranged on the same city page. Therefore, under the flow of the same city page, a scene entrance is provided for users with definite intentions, the users with definite intentions can find the interesting chat rooms belonging to the target type labels through the entrance, and the chat rooms of the type are continuously consumed, so that the flow conversion efficiency of the users with the same city page can be improved.
For example, assuming that the account is in province a, the chat room type tags which determine that the number of chat rooms in province a meets the preset conditions include a chat type, a relative type and a KTV type according to the statistical result. As shown in fig. 3, cards 1 to 4 may be provided in a city page, and chat room type tags in the words "chat room of chatting type", "chat room of kindred type", and "chat room of KTV type" are displayed on the card 1.
After at least one chat room type label corresponding to the target geographic area is displayed for the user, the user can select an interested target type label from the at least one chat room type label, and the terminal can detect the selection operation of the target type label according to the selection of the user. After the terminal detects the selection operation of the target type tag, the target type tag may be transmitted to the server to request a chat room corresponding to the target type tag from the server. After receiving the target type tag, the server may determine a chat room recommendation list corresponding to the target type tag according to the target type tag and the statistical result introduced in the foregoing, and send the chat room recommendation list to the terminal. After receiving the chat room recommendation list, the terminal can display the first chat room contained in the chat room recommendation list in the interface.
Optionally, the user may perform a switching operation on the first chat room through a preset gesture to switch to a second chat room included in the chat room recommendation list for watching, and the specific process may be implemented as follows: and responding to the switching operation of the first chat room, and switching to a second chat room contained in the chat room recommendation list for displaying.
Wherein the second chat room can be a chat room adjacent to the first chat room arrangement in the chat room recommendation list. The preset gesture may be, for example, a swipe up and down gesture in some embodiments. Through the switching operation of the chat rooms contained in the chat room recommendation list, the user can continuously consume the chat rooms corresponding to the target type labels, so that the user experience can be improved, and the time for the user to watch the chat rooms can be prolonged.
Chat room type tags may change as the live content changes. For example, if the anchor holds KTV activities in the first 2 hours, the chat room type tag corresponding to the chat room is KTV type, and if the anchor holds kinship activities in the last 2 hours, the chat room type tag corresponding to the chat room is changed to kinship type. Based on this, optionally, the process of outputting the chat rooms included in the chat room recommendation list to the terminal may be implemented as: for any chat room contained in the chat room recommendation list, checking whether a chat room type label corresponding to the chat room is changed; if the chat room type label corresponding to any chat room is changed, deleting any chat room; and if the chat room type label corresponding to any chat room is not changed, outputting any chat room.
In practical application, because the chat room recommendation list output to the terminal is obtained by querying according to a statistical result counted in advance by the server, and the chat room type label may change, that is, the chat room type label of a certain chat room is a during statistics, but the chat room type label of the chat room is changed to B after a while, before the chat room recommendation list is actually output to the terminal, each chat room included in the chat room recommendation list can be filtered to filter out the chat room with the chat room type label changing. In this way it is ensured that the chat rooms output to the terminal do all correspond to the target type tags.
In addition, it is noted that the anchor can actively modify the chat room type tag in the control corresponding to the setting page of the chat room according to the live broadcast content. Or the server can also acquire live broadcast audio at regular time, identify the current chat room type label according to the live broadcast audio, compare the current chat room type label with the previously identified chat room type label, and determine whether the chat room type label is changed.
In some optional embodiments, the server may periodically generate a calculation task to periodically count chat rooms corresponding to different chat room type tags in different geographic areas based on the calculation task, where the calculation task includes a geographic area to be calculated and summarizes chat rooms corresponding to different chat room type tags in different geographic areas to be calculated; and storing the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated to the storage node.
In some alternative embodiments, there may be multiple servers, and the functions of different servers may be different. The server for counting the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated can be a counting server. The statistics server may include a central node and a plurality of compute nodes. In the process of implementing the method provided by the embodiment of the present disclosure, the server, the central node, the plurality of computing nodes and the storage node may cooperate to perform jointly.
The central node may be used to periodically generate and distribute computing tasks to a plurality of computing nodes. The calculation task comprises a geographical area to be calculated and chatting rooms corresponding to different chatting room type labels in different geographical areas to be calculated.
The plurality of computing nodes can be used for determining each chat room in the corresponding geographic area to be computed according to the position information of the anchor, identifying the chat room type label of each chat room, and determining the chat rooms corresponding to different chat room type labels in the corresponding geographic area to be computed.
The storage node may be configured to store chat rooms corresponding to different chat room type tags in different geographic areas to be computed.
The central node can play a role in overall planning, and can periodically generate and distribute computing tasks to a plurality of computing nodes. And the plurality of computing nodes respectively determine the chat rooms corresponding to different chat room type labels in the geographic area to be computed, which are respectively responsible for the computing tasks issued by the central node. It should be noted that the geographic areas to be calculated, which are responsible for different computing nodes, are different, specifically, a certain amount of geographic areas to be calculated may be averagely allocated to each computing node, and specifically, which geographic area to be calculated is responsible for statistics by which computing node is allocated by the central node. The statistical results counted by each computing node can be stored in the storage node. The storage node may be, for example, a Redis (data Structure Server) in some embodiments.
By the mode, even in the peak time period of chat room creation, the calculation tasks with excessive calculation amount can be decomposed to the calculation nodes to be executed respectively, so that the calculation pressure of the single calculation node can be reduced, and the calculation speed and the statistical efficiency can be improved.
Optionally, the server may also query the storage node periodically to update the locally cached chat rooms corresponding to different chat room type tags in different geographical areas to be calculated; and determining a chat room recommendation list corresponding to the target type label according to the chat rooms corresponding to different chat room type labels in different geographic areas to be calculated and stored in the local cache, and outputting the chat rooms contained in the chat room recommendation list to the terminal.
It should be noted that the terminal may request the server for the chat room recommendation list corresponding to the target type tag. In response to the request, the server may directly obtain chat rooms corresponding to different chat room type tags in different geographic areas to be computed from the local cache. Furthermore, a chat room recommendation list corresponding to the target type tag can be determined according to chat rooms corresponding to different chat room type tags in different geographic areas to be calculated and stored in the local cache, and the chat rooms contained in the chat room recommendation list can be output to the terminal.
The server does not need to acquire the chat rooms corresponding to the different chat room type labels in different geographical areas to be calculated from the storage node, but periodically updates the chat rooms corresponding to the different chat room type labels in the different geographical areas to be calculated, which are stored in the storage node, to a local cache. By adopting the method, the storage node can be prevented from being queried once every time a request is received, and the access pressure of the storage node can be further reduced. Meanwhile, the accuracy of the data stored in the local cache of the server can be ensured.
Optionally, the server in the embodiment of the present disclosure may be further divided into a chat room server and a city page server according to different services provided by the server. The same city page server may provide a same city tag (Tab) service. Their respective corresponding functions can be seen in particular in the overall interaction flow diagram of the statistical system shown in fig. 4. In fig. 4:
in step S601, the central node queries the storage node for identification information of all live chat rooms.
In step S602, the storage node successfully returns the identification information of all the live chat rooms.
In step S603, the central node issues a calculation task to the calculation node, where the calculation task includes identification information of chat rooms in the geographic area to be calculated, which is to be counted by the corresponding calculation node.
In step S604, the computing node queries, from the storage node, chat room information of chat rooms within the geographic area to be computed, based on the identification information of the chat rooms within the geographic area to be computed.
It should be noted that, because the number of the chat room information to be queried is large, the chat room information of the chat rooms in the geographic area to be computed can be queried from the storage node by using a batch request method, so that the time consumption for statistics can be reduced.
In step S605, the storage node successfully returns the chat room information of the chat rooms in the geographic area to be calculated.
In step S606, the computing node determines the geographic area to which the chat room belongs according to the longitude and latitude broadcast by the anchor.
In step S607, the computing node determines the chat room type tags of the chat rooms in the geographic area to be computed according to the chat room information.
In step S608, the computing node returns the counted identification information of the geographic area and the distribution of different types of chat rooms in the geographic area to the central node.
In step S609, the central node aggregates the statistics returned by each computing node.
In step S610, the central node writes the chat rooms and the specific number corresponding to the different chat room type tags in different geographic areas into the storage node.
In step S611, the storage node returns successful write information to the central node.
In step S612, the chat room server periodically queries the storage node for chat rooms and specific numbers corresponding to different chat room type tags in different geographic areas, and updates the local cache.
In step S613, the storage node successfully returns the chat rooms and the specific number corresponding to the different chat room type tags in different geographic areas.
In step S614, the same-city page server queries the chat room server for the chat rooms and the specific number corresponding to the different chat room type tags in the target geographic area.
The same-city page server may obtain chat rooms and specific quantities corresponding to different chat room type labels in the target geographic area by calling a Remote Procedure Call (RPC) interface of the chat room server.
Specifically, the same-city page server may send the identification information of the target geographic area to the chat room server, so that the chat room server may query, based on the identification information of the target geographic area, chat rooms and specific quantities corresponding to different chat room type tags in the target geographic area.
In step S615, the chat room server returns the chat rooms and the specific number corresponding to the different chat room type tags in the target geographic area stored in the local cache.
In step S616, if the number of chat rooms corresponding to any chat room type tag in the target geographic area is greater than the preset threshold, the same-city page server pushes at least one chat room type tag whose number of chat rooms is greater than the preset threshold to the user.
In step S617, if the user clicks a target type tag of the at least one chat room type tag, the city page server obtains a chat room recommendation list corresponding to the target type tag.
The same-city page server can obtain the chat room recommendation list corresponding to the target type label by calling the recommendation service. Among other things, the machine learning model in the recommendation service may also be used to recommend chat rooms with target type tags of possible interest to the user based on the user's preferences.
In step S618, the same-city page server sends the chat room recommendation list corresponding to the target type tag to the chat room server, and the chat room server eliminates the chat rooms in the chat room recommendation list that are not corresponding to the target type tag.
In step S619, the chat room server returns the culled chat room recommendation list to the same city page server.
In step S620, the same city page server distributes the culled chat room recommendation list to the terminal.
By adopting the method and the device, the chat room corresponding to at least one chat room type label set in the target geographic area can be recommended for the account according to the target geographic area where the account is located and the chat rooms corresponding to different chat room type labels in different geographic areas counted in advance, wherein each chat room type label corresponds to one type of the chat room. The user can select a target type label in the at least one chat room type label through the account, and then can output a chat room corresponding to the target type label to the account. In such a way, a scene entrance can be provided for the user with clear intention, and the entrance can enable the user with clear intention to find the interested chat rooms belonging to the target type tags and continuously consume the type of chat rooms, so that the conversion efficiency of the social traffic based on the distance can be improved. The method provides diversified chat room selection modes for users by combining the geographic area and the chat room type, so that the mode of entering the chat room is more flexible.
Fig. 5 is a block diagram illustrating a chat room recommender in accordance with an exemplary embodiment. Referring to fig. 5, the apparatus includes:
a determination unit 71 configured to perform determining a target geographical area where the account is located;
an output unit 72 configured to output at least one chat room type tag corresponding to the target geographic area to the account, where the number of chat rooms corresponding to each of the at least one chat room type tags meets a set condition;
the determining unit 71 is configured to perform a selection operation of a target type tag in the at least one chat room type tag in response to the account, and determine a chat room recommendation list corresponding to the target type tag;
the output unit 72 is configured to output the chat rooms included in the chat room recommendation list.
Optionally, the apparatus further comprises a statistics unit;
the statistical unit is configured to perform:
identifying a chat room type tag of each chat room;
determining the geographical area where each chat room is located according to the position information of the anchor of each chat room;
and determining the number of the chat rooms corresponding to different chat room type labels in different geographic areas according to the chat room type labels of the chat rooms and the geographic areas in which the chat rooms are located.
Optionally, the output unit 72 is configured to perform:
for any chat room contained in the chat room recommendation list, checking whether a chat room type label corresponding to the chat room is changed;
if the chat room type label corresponding to any chat room is changed, deleting the chat room;
and if the chat room type label corresponding to any chat room is not changed, outputting the chat room.
Optionally, the statistical unit is further configured to perform:
regularly generating a calculation task so as to regularly count chat rooms corresponding to different chat room type labels in different geographic areas based on the calculation task, wherein the calculation task comprises the geographic areas to be calculated and the chat rooms corresponding to the different chat room type labels in the different geographic areas to be calculated;
and storing the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated to a storage node.
Optionally, the determining unit 71 is configured to perform:
the storage nodes are inquired periodically to update the local cache of the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated;
and determining a chat room recommendation list corresponding to the target type label according to the chat rooms corresponding to different chat room type labels in different geographical areas to be calculated and stored in the local cache.
Optionally, the number of chat rooms corresponding to each of the at least one chat room type tags is greater than a preset threshold.
Fig. 6 is a block diagram illustrating a chat room recommender in accordance with an exemplary embodiment. Referring to fig. 6, the apparatus includes:
the acquiring unit 81 is configured to execute acquiring a target geographic area where an account is located, and send the target geographic area to a server;
a display unit 82 configured to display at least one chat room type tag corresponding to the target geographic area, where the chat room number corresponding to each of the at least one chat room type tag meets a set condition, where the chat room type tag is returned by the server;
a transmitting unit 83 configured to perform a selection operation of a target type tag among the at least one chat room type tag, and transmit the target type tag;
the display unit 82 is configured to execute displaying, in the interface, a first chat room included in the chat room recommendation list corresponding to the target type tag.
Optionally, the display unit 82 is further configured to perform:
and responding to the switching operation triggered by the first chat room, and displaying a second chat room contained in the chat room recommendation list in the interface.
Optionally, the number of chat rooms corresponding to each of the at least one chat room type tags is greater than a preset threshold.
Optionally, the display unit 82 is configured to perform:
and displaying the at least one chat room type label under the same card in the interface, wherein the card is an access entrance of the same regional chat room.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one possible design, the structure of the chat room recommending apparatus shown in fig. 5 may be implemented as a server, as shown in fig. 7, where the server may include: a processor 911 and a memory 912. Wherein the memory 912 has stored thereon executable code, which when executed by the processor 911, causes the processor 911 to implement at least the chat room recommendation method as provided in the embodiments of fig. 1 to 4.
Optionally, the electronic device may further include a communication interface 913 for communicating with other devices.
In one possible design, the structure of the chat room recommending apparatus shown in fig. 6 may be implemented as a terminal, as shown in fig. 8, where the terminal may include: processor 921, memory 922. Wherein the memory 922 stores executable code, and when the executable code is executed by the processor 921, the processor 921 is enabled to implement at least the chat room recommending method provided in the embodiments of fig. 1 to 4.
Optionally, the electronic device may further include a communication interface 923, configured to communicate with other devices.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as memory 912 or memory 922 comprising instructions, executable by processor 911 or processor 921 of an electronic device to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program/instructions which, when executed by the processor 911 or the processor 921, implements the chat room recommendation method provided in the aforementioned embodiments shown in fig. 1 to 4.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A chat room recommendation method, the method comprising:
determining a target geographic area where the account is located;
outputting at least one chat room type label corresponding to the target geographic area to the account, wherein the number of the chat rooms corresponding to the at least one chat room type label meets a set condition;
responding to the selection operation of the account on a target type label in the at least one chat room type label, and determining a chat room recommendation list corresponding to the target type label;
and outputting the chat rooms contained in the chat room recommendation list.
2. The method of claim 1, wherein prior to outputting at least one chat room type label corresponding to the target geographic area to the account, the method further comprises:
identifying a chat room type tag of each chat room;
determining the geographical area where each chat room is located according to the position information of the anchor of each chat room;
and determining the number of the chat rooms corresponding to different chat room type labels in different geographic areas according to the chat room type labels of the chat rooms and the geographic areas in which the chat rooms are located.
3. A chat room recommendation method, the method comprising:
acquiring a target geographic area where an account is located, and sending the target geographic area;
displaying at least one chat room type label corresponding to the target geographic area in an interface, wherein the number of chat rooms corresponding to the at least one chat room type label meets a set condition;
responding to the selection operation of a target type label in the at least one chat room type label, and sending the target type label;
and displaying a first chat room contained in the chat room recommendation list corresponding to the target type label in the interface.
4. A chat room recommender, comprising:
a determination unit configured to perform determining a target geographic area in which the account is located;
the output unit is configured to output at least one chat room type label corresponding to the target geographic area to the account, and the number of chat rooms corresponding to the at least one chat room type label meets a set condition;
the determining unit is configured to execute a selection operation of the account on a target type label in the at least one chat room type label, and determine a chat room recommendation list corresponding to the target type label;
the output unit is configured to output the chat rooms contained in the chat room recommendation list.
5. A chat room recommender, comprising:
the acquisition unit is configured to execute acquisition of a target geographic area where an account is located and send the target geographic area;
the display unit is configured to display at least one chat room type label corresponding to the target geographic area in an interface, and the number of chat rooms corresponding to the at least one chat room type label meets a set condition;
a transmitting unit configured to perform a transmission of a target type tag among the at least one chat room type tag in response to a selection operation of the target type tag;
the display unit is configured to display a first chat room contained in the chat room recommendation list corresponding to the target type tag in the interface.
6. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the chat room recommendation method of claim 1 or 2.
7. A terminal, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the chat room recommendation method of claim 3.
8. A computer readable storage medium, instructions in which, when executed by a processor of a server, enable the server to perform the chat room recommendation method of claim 1 or 2.
9. A computer-readable storage medium, wherein instructions, when executed by a processor of a terminal, enable the terminal to perform the chat room recommendation method of claim 3.
10. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the chat room recommendation method of any of claims 1-3.
CN202111314699.5A 2021-11-08 2021-11-08 Chat room recommendation method, chat room recommendation device, chat room recommendation server, chat room recommendation terminal, chat room recommendation program and chat room recommendation storage medium Active CN114268512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111314699.5A CN114268512B (en) 2021-11-08 2021-11-08 Chat room recommendation method, chat room recommendation device, chat room recommendation server, chat room recommendation terminal, chat room recommendation program and chat room recommendation storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111314699.5A CN114268512B (en) 2021-11-08 2021-11-08 Chat room recommendation method, chat room recommendation device, chat room recommendation server, chat room recommendation terminal, chat room recommendation program and chat room recommendation storage medium

Publications (2)

Publication Number Publication Date
CN114268512A true CN114268512A (en) 2022-04-01
CN114268512B CN114268512B (en) 2024-03-19

Family

ID=80824852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111314699.5A Active CN114268512B (en) 2021-11-08 2021-11-08 Chat room recommendation method, chat room recommendation device, chat room recommendation server, chat room recommendation terminal, chat room recommendation program and chat room recommendation storage medium

Country Status (1)

Country Link
CN (1) CN114268512B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412774A (en) * 2022-07-25 2022-11-29 北京达佳互联信息技术有限公司 Interactive processing method, device, electronic equipment, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172499A (en) * 2017-04-28 2017-09-15 北京潘达互娱科技有限公司 Direct broadcasting room display methods and device
JP2019164645A (en) * 2018-03-20 2019-09-26 学校法人 中央大学 Communication system and communication method
CN110913276A (en) * 2019-11-01 2020-03-24 北京达佳互联信息技术有限公司 Data processing method, device, server, terminal and storage medium
CN113099262A (en) * 2021-06-08 2021-07-09 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172499A (en) * 2017-04-28 2017-09-15 北京潘达互娱科技有限公司 Direct broadcasting room display methods and device
JP2019164645A (en) * 2018-03-20 2019-09-26 学校法人 中央大学 Communication system and communication method
CN110913276A (en) * 2019-11-01 2020-03-24 北京达佳互联信息技术有限公司 Data processing method, device, server, terminal and storage medium
CN113099262A (en) * 2021-06-08 2021-07-09 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412774A (en) * 2022-07-25 2022-11-29 北京达佳互联信息技术有限公司 Interactive processing method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN114268512B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN101690109B (en) User profile generation architecture for targeted content distribution using external processes
CN101690108B (en) Methods and systems for providing targeted information using identity masking in a wireless communications device
US8898689B2 (en) Method and arrangements for analysing multimedia content
ES2358219T3 (en) INFORMATION TRANSMISSION SYSTEM, MULTIMEDIA PUBLIC INFORMATION TRANSMISSION SYSTEM AND ITS TRANSMISSION METHOD.
CN101842771B (en) Method and apparatus for context-aware delivery of informational content on ambient displays
CN109241242B (en) Live broadcast room topic recommendation method and device, server and storage medium
US20210341299A1 (en) E-hailing service
CN110460881A (en) Management method, device, computer equipment and the storage medium of attribute tags
CN103824217A (en) System and method for realizing advertisement putting, effect optimization and statistics in smart phone
US20130246164A1 (en) System and method for predicting specific mobile user/specific set of localities for targeting advertisements.
CN110248203B (en) Interactive service processing method, device, equipment and storage medium
CN102932759B (en) Information sharing method and device
CN104767830A (en) Information issuing management method and device
WO2022247906A1 (en) Live-streaming processing method, live-streaming platform, and apparatus, system, medium and device
CN113170221A (en) Display method, device, terminal, server and storage medium of live broadcast interface
JP2012174211A (en) Advertisement distribution device and advertisement distribution system
CN112422592B (en) Information recommendation method and device, electronic equipment and storage medium
JP2008181334A (en) Advertisement distribution order determination method, advertisement distribution system, advertisement distribution order determination device and computer program
CN114268512B (en) Chat room recommendation method, chat room recommendation device, chat room recommendation server, chat room recommendation terminal, chat room recommendation program and chat room recommendation storage medium
CN111523035A (en) Recommendation method, device, server and medium for APP browsing content
CN112702618B (en) Attention degree processing method, attention degree processing device, attention degree processing equipment and readable storage medium
KR100465847B1 (en) System and method for gathering and analyzing advertisement exposure information to mobile phone
US20230056950A1 (en) Advertisement service system for determining priority for each advertisement by reference area and tags
CN108376340B (en) Information interactive forwarding method and system
KR20130056737A (en) Apparatus and method for providing digital signage service

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