WO2022016978A1 - 群组管理方法、装置、计算机设备及存储介质 - Google Patents

群组管理方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2022016978A1
WO2022016978A1 PCT/CN2021/095267 CN2021095267W WO2022016978A1 WO 2022016978 A1 WO2022016978 A1 WO 2022016978A1 CN 2021095267 W CN2021095267 W CN 2021095267W WO 2022016978 A1 WO2022016978 A1 WO 2022016978A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
members
upper limit
target group
target
Prior art date
Application number
PCT/CN2021/095267
Other languages
English (en)
French (fr)
Inventor
黄思静
冯艳珊
杨俊强
Original Assignee
百果园技术(新加坡)有限公司
黄思静
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 百果园技术(新加坡)有限公司, 黄思静 filed Critical 百果园技术(新加坡)有限公司
Publication of WO2022016978A1 publication Critical patent/WO2022016978A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present application relates to the technical field of Internet applications, and in particular, to a group management method, apparatus, computer equipment and storage medium.
  • IM Instant Messaging
  • a group in an IM application program is usually set with an upper limit of the number of members. As long as the current number of members of the group does not reach the upper limit of the number of members, the group can add new members.
  • service providers of IM applications usually set a higher maximum number of members for the group, such as 500 members.
  • the information exchange in the group is usually relayed by the server.
  • the server needs to reserve server resources for each group, such as processing resources and storage resources, and the group
  • server resources such as processing resources and storage resources
  • the embodiments of the present application provide a group management method, device, computer equipment, and storage medium, which can be used to improve the utilization efficiency of resources reserved by a server for a group.
  • the technical solution is as follows:
  • a group management method is provided, the method is performed by a computer device, and the method includes:
  • group quality information is used to indicate the usage of the target group by group members in the target group
  • the upper limit of the number of members of the target group is adjusted according to the upper limit adjustment policy of the number of members.
  • a group management apparatus is provided, the apparatus is used for computer equipment, and the apparatus includes:
  • an information acquisition module configured to acquire group quality information of a target group, where the group quality information is used to indicate the usage of the target group by group members in the target group;
  • a score obtaining module configured to obtain the score value of the target group according to the group quality information
  • a strategy obtaining module used for obtaining the upper limit adjustment strategy of the number of members of the target group according to the score value of the target group;
  • An adjustment module configured to adjust the upper limit of the number of members of the target group according to the upper limit adjustment policy of the number of members.
  • a computer device comprising a processor and a memory, the memory stores at least one instruction, at least a piece of program, a code set or an instruction set, the at least one instruction, the at least one A piece of program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned group management method.
  • a computer-readable storage medium stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program, the code
  • the set or instruction set is loaded and executed by the processor to implement the group management method described above.
  • a computer program product comprising computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned group management method.
  • FIG. 1 is a schematic diagram of an instant messaging system according to an exemplary embodiment
  • FIG. 2 is a schematic flowchart of a group management method according to an exemplary embodiment
  • FIG. 3 is a schematic flowchart of a group management method according to an exemplary embodiment
  • FIG. 4 is a schematic diagram showing a group notification message according to the embodiment shown in FIG. 3;
  • Fig. 5 is a schematic diagram showing the upper limit of the number of members involved in the embodiment shown in Fig. 3;
  • Fig. 6 is the frame diagram of the upper limit adjustment process of the number of members involved in the embodiment shown in Fig. 3;
  • FIG. 7 is a block diagram showing the structure of a group management apparatus according to an exemplary embodiment
  • Fig. 8 is a schematic structural diagram of a computer device according to an exemplary embodiment.
  • FIG. 1 is a schematic diagram of an instant messaging system according to an exemplary embodiment.
  • the instant messaging system includes a server 110 , a user terminal 120 and a database 130 .
  • the server 110 is a server that is arranged on the network side and provides background support for instant messaging applications.
  • the server 110 may be one server, or may be a server cluster composed of several servers, or may include one or more virtualization platforms, or may be a cloud computing service center.
  • An instant messaging application program is installed in the user terminal 120 .
  • the above instant messaging applications may be independently running applications.
  • the above-mentioned instant messaging applications may also be program components that are attached to other types of applications/web pages.
  • the above-mentioned instant messaging applications may be attached to shopping, social platforms, short video platforms, or forums Classes and other instant messaging components that applications run on.
  • the user can open the instant messaging application program corresponding to the login server 110 on the user terminal 120 .
  • the user can join the group through the instant messaging application and communicate with other members in the group through instant messaging.
  • the database 130 stores user data and business data related to the above-mentioned instant messaging applications, including user accounts, account information corresponding to the user accounts (including account levels, permissions, settings, etc.), application accounts in each group, groups messages sent in the log and so on.
  • the server 110 has a function of managing the upper limit of the number of members of each group according to the situation of each group.
  • Fig. 2 is a schematic flowchart of a group management method according to an exemplary embodiment.
  • the group management method may be performed by a computer device.
  • the above-mentioned computer device may be the server 110 in the above-mentioned system shown in FIG. 1 .
  • the group management method may include the following steps:
  • step 201 group quality information of the target group is obtained, where the group quality information is used to indicate the usage of the target group by the group members in the target group.
  • the group quality information includes information used to indicate the use records of the target group by the group members.
  • users of IM applications may be referred to by user accounts; correspondingly, the above-mentioned group members may refer to users corresponding to user accounts joining the target group.
  • the use of the group by members of the group can usually reflect the quality of the group.
  • high-quality groups are usually groups where group messages are followed or popular by members.
  • group members usually use the group more actively, for example, group members often open the group to view messages, or group members often send messages in the group, and so on.
  • group members' use of the group is usually sluggish. For example, group members usually ignore the group, seldom open the group to view group messages, or seldom log in to the group. Send messages in groups and more.
  • the usage of the group by the above-mentioned group members can usually be represented by direct or indirect quantification of usage records of the group.
  • the above group quality information includes at least one of the following four types of information:
  • the group open rate of the target group where the group open rate is the ratio of the number of members who have opened the corresponding group to the number of members of the corresponding group.
  • the above-mentioned number of members who have opened the corresponding group refers to the number of group members who have opened the corresponding group.
  • the number of members of the above-mentioned group which may also be referred to as the total number of people in the group, refers to the number of group members who join the group.
  • the group open rate refers to the ratio between the number of people who have opened the group and the total number of people in the group. For example, if the total number of people in the group is 100, and the number of people who have opened the group is 20, then The group open rate is 20%.
  • the higher the group open rate the more likely the group is a high-quality group, or in other words, the higher the group open rate, the higher the quality of the group; accordingly, if The lower the group open rate, the more likely the group is a low-quality group, or in other words, the lower the group open rate, the lower the quality of the group.
  • the length of time that a group member stays in the group refers to the length of time that the group member opens the group. For example, when a group member opens the conversation page of the group in an IM application And the length of time that the dialog page is not closed.
  • the duration of the group member's stay in the group is the time that the group member opens and keeps the group inactive. The sum of the duration of the shutdown.
  • the average length of time that group members in the target group stay in the target group refers to the average duration obtained by dividing the sum of the durations of each group member in the target group who have opened the target group to stay in the target group by the number of group members who have opened the target group.
  • the longer the average time group members stay in the group the more the members in the group pay attention to the messages in the group, and the more likely the group is a high-quality group ;
  • the average duration of group members staying in the group is shorter, it means that the members in the group pay less attention to the messages in the group, and the group is more likely to be a low-quality group.
  • the above message refers to a group message sent by a member of the group in the group, and the message type includes text, audio, video, picture, link, and the like.
  • the number of messages sent by group members in the group can indicate the quality of the group to a certain extent. For example, the more messages sent by group members in the group, the more active the communication in the group, the more likely the group is a high-quality group; correspondingly, the group members send messages in the group The fewer messages in the group, the less active the communication in the group, and the more likely the group is a low-quality group.
  • the type of the message includes at least one of a carrier type of the content of the message and a content type of the message.
  • the carrier type of the content of the message includes text, video, audio, picture, link, and the like.
  • the content type of the message includes advertising content, non-advertising content, and the like.
  • the specified type message refers to a message in which at least one of the carrier type of the content and the content type is specified.
  • the specified type of message is a text message that is not advertising content.
  • step 202 the score value of the target group is obtained according to the group quality information.
  • the server After obtaining the above-mentioned group quality information that can indicate the group quality, the server can use the group quality information to score the target group according to the scoring rules, and obtain the scoring value.
  • the above scoring rule is a rule preset in the server by a developer or a maintainer, and the scoring rule is set corresponding to the information type of the above group quality information.
  • step 203 an adjustment policy for the upper limit of the number of members of the target group is obtained according to the score value of the target group.
  • the upper limit of the number of members of the group is also called the group container, which is the maximum number of members that can be accommodated in the group. That is to say, when the number of members in the group is lower than the maximum number of members, new members can be added to the group, and when the number of members in the group reaches the maximum number of members, no new members can be added to the group. member.
  • step 204 the upper limit of the number of members of the target group is adjusted according to the upper limit adjustment policy of the number of members.
  • the above-mentioned adjustment strategy for the upper limit of the number of members includes increasing, decreasing or maintaining the upper limit of the number of members, and so on.
  • the adjustment strategy for the upper limit of the number of members is different. For example, for a high-quality group with a higher score value, the adjustment strategy is to increase the upper limit of the number of members of the group.
  • the adjustment strategy is to reduce the upper limit of the number of members of the group; for the same group, the adjustment strategy at different time points can also be different.
  • the adjustment strategy is to increase the upper limit of the number of members of the group. As the group develops and the topic of the group becomes outdated, at the second point in time, the quality of the score of group A decreases, and the adjustment strategy may be changed to reduce the number of members of the group The maximum number of members for the group.
  • the target group is rated for quality according to the usage of the target group by the group members in the target group, and the target group is rated according to the quality score of the target group.
  • the upper limit of the number of members of the group is automatically adjusted, so as to realize the adaptive and dynamic adjustment of the upper limit of the number of members of the group based on the usage of the group.
  • the upper limit of the number of members so that it is not necessary to set a higher upper limit of the number of members for all groups, so as to meet the user's demand for the upper limit of the number of group members, reduce the meaningless resource reservation on the server side, thereby improving the server The utilization efficiency of the resources reserved by the group.
  • Fig. 3 is a schematic flowchart of a group management method according to an exemplary embodiment.
  • the group management method may be performed by a computer device.
  • the above-mentioned computer device may be the server 110 in the above-mentioned system shown in FIG. 1 .
  • the group management method may include the following steps:
  • step 301 in response to satisfying the trigger condition, group quality information of the target group is acquired.
  • the group quality information is used to indicate the usage of the target group by the group members in the target group.
  • the obtaining of the group quality information of the target group refers to obtaining the group quality information of the target group within a specified length of time before the current time.
  • the server obtains the group quality information of the target group, the acquisition takes the current time as the end point, and the duration is the above-specified value. Group quality information for a time period of length.
  • the server obtains the group quality information of the target group from the creation time to the current time.
  • the server obtains the group A's group A within one week before the current time
  • the group quality information is obtained, and the group quality information of the group owner B from the creation time to the current time (that is, within 3 days before the current time) is obtained.
  • the trigger condition includes at least one of the following conditions:
  • the server of the IM application program triggers the process of detecting and adjusting the upper limit of the number of members of each group at a preset specified time point.
  • the server sets the same designated time point for all groups, that is, when the designated time point arrives, the server executes the acquisition of group quality information for all groups uniformly, for example, The server uniformly obtains the group quality information of all groups at 8:00 am every day.
  • the server sets different specified time points for different groups. For example, the server groups groups, and sets a specified time point for each group. When a specified time point corresponding to a group arrives, the server performs group quality information acquisition for the groups in the group. For example, group A and group B respectively contain 100 groups, the specified time point of group A is 8:00 am, and the specified time point of group B is 9:00 am, then the server obtains the data in group A at 8:00 am group quality information of each of the 100 groups; and, at 9:00 am, the server obtains the group quality information of each of the 100 groups in group B.
  • the server may set the minimum time interval (ie, the above-mentioned time length threshold) for obtaining the group quality information of the target group twice, that is to say , after adjusting the upper limit of the number of members of the target group at a certain time, the server will obtain the group quality information of the target group again after the time length corresponding to the above-mentioned time length threshold.
  • the minimum time interval ie, the above-mentioned time length threshold
  • the server After the server adjusts the upper limit of the number of members of the target group at a certain time, it will not obtain the group quality information of the target group again immediately, but will wait for 7 days before re-obtaining it again. Get the group quality information of the target group.
  • the above two trigger conditions can be used alone or in combination.
  • the specified time point is 8:00 am every day
  • the duration threshold is 7 days.
  • group quality information and based on the obtained group quality information, determine whether to adjust the upper limit of the number of members of the target group. If the adjustment is determined, the group quality information of the target group is obtained again after 7 days; If it is determined not to adjust, then the group quality information of the target group is obtained at 8:00 am every subsequent day until it is determined to adjust the upper limit of the number of members of the target group.
  • the above trigger conditions may include, but are not limited to, the above two.
  • the trigger condition further includes: the duration between the current time and the creation time of the target group reaches the duration threshold.
  • the group quality information includes at least one of the following sub-information:
  • the group open rate of the target group is the ratio of the number of members who have opened the corresponding group to the number of members of the corresponding group; the average rate of group members in the target group staying in the target group duration; the number of messages sent in the target group in the group quality information; and the number of messages of the specified type sent in the target group in the group quality information.
  • step 302 in the numerical value correspondence, query the sub-values of the scores corresponding to each item of sub-information in the group quality information.
  • a numerical value correspondence relationship is preset in the server, and the numerical value correspondence relationship includes a corresponding relationship between each item of sub-information and the score sub-value.
  • the correspondence between each item of sub-information contained in the above-mentioned numerical correspondence and the score sub-value may be various possible values/value ranges of each item of sub-information in the sub-information, and the corresponding relationship between each item of sub-information in the sub-information. Correspondence between values.
  • the above-mentioned numerical correspondence is implemented as a correspondence table between scoring sub-values and sub-information, or the above-mentioned numerical correspondence is implemented as a conversion formula between sub-information and scoring sub-values.
  • Table 1 shows the sub-values of the scores corresponding to the group open rate and the average staying time of each interval
  • Table 2 shows the sub-values of the scores corresponding to the number of messages in each interval and the number of messages of a specified type.
  • the server before obtaining the score value of the target group according to the group quality information, the server also determines the value correspondence according to the member information of the target group; wherein the member information includes members , and at least one of the current membership limit.
  • some groups Due to the large difference in the number of members/the upper limit of the number of members of each group in the system, some groups have a larger number of members/the upper limit of the number of members, such as the employee group of a large company, the fan group of a certain star, etc., while other groups
  • the number of members in a group / the upper limit of the number of members is small, such as family groups, friend groups, girlfriend groups, etc., groups of different sizes, in some cases, it is not suitable to use a unified scoring standard, especially when sub-information involves When it comes to the number of messages, there will be a big gap in the number of messages for groups of different sizes.
  • the server sets the numerical correspondences corresponding to various member information.
  • the member information of the group select the appropriate numerical value correspondence, and then query the corresponding scoring sub-values from the selected numerical value correspondence according to the sub-information.
  • Table 3 shows a correspondence table of the corresponding relationship between the range of the number of members and the numerical value.
  • the server obtains the group quality information of group A and group B respectively, and also obtains the number of members of group A and group B, wherein the number of members of group A is 8, and the number of members of group A is 8, The number of members of group B is 156, then the server in accordance with the above table 3, in the corresponding relationship 1 inquires the sub-values of the sub-items of the sub-information of the group A, and inquires the sub-information of the sub-information of the group B from the corresponding relationship 3. Scoring sub-values.
  • step 303 the score value of the target group is obtained according to the score sub-values corresponding to the sub-information respectively.
  • the server may obtain the score value of the target group according to the score sub-values corresponding to each item of sub-information in the above-mentioned group quality information.
  • the server may obtain the score value of the target group according to the score sub-values corresponding to each item of sub-information in the group quality information in any one of the following manners.
  • the server may directly use the scoring sub-value corresponding to this item of scoring sub-information as the scoring value of the target group.
  • the server performs a weighted sum of the score sub-values corresponding to the two or more than two items of score sub-information respectively.
  • the weights corresponding to the above-mentioned items of score sub-information are preset in the server by the developer or in the server.
  • each item of score sub-information includes the group open rate and the average stay duration as an example
  • the weight of the group open rate preset in the server is 1
  • the weight of the average stay time is 2
  • the score sub-value of the group open rate is 2.
  • the weights corresponding to the above items of scoring sub-information can also be directly represented by the foregoing numerical correspondences.
  • the numerical correspondence includes more sub-scoring values. grades, and each grade corresponds to a higher subscore numerical value.
  • the weights corresponding to all the sub-information of the score are 1, that is, the server directly sums the sub-values of the scores corresponding to the sub-information respectively, and uses the summation result as the score value of the target group.
  • the server may also average the score sub-values corresponding to the two or more than two items of score sub-information respectively.
  • the sum of the weights of the above two or more items of score sub-information is 1.
  • each item of score sub-information includes the group open rate and the average stay duration as an example
  • the weight of the group open rate preset in the server is 0.4
  • the weight of the average stay time is 0.6
  • the score sub-value of the group open rate is 2.
  • step 304 a policy for adjusting the upper limit of the number of members of the target group is obtained according to the score value of the target group.
  • the adjustment strategy for obtaining the upper limit of the number of members of the target group according to the score value of the target group includes:
  • the server determines that the adjustment policy for the upper limit of the number of members is: increase the upper limit of the number of members by a first amount;
  • the server determines that the adjustment policy for the upper limit of the number of members is: reducing the upper limit of the number of members by a second amount;
  • the first numerical threshold is greater than the second numerical threshold.
  • two numerical thresholds are set in the server.
  • the score value of the target group is greater than the first numerical threshold, it indicates that the quality of the target group is relatively high.
  • the upper limit of the number of members of the target group can be increased. For example, when the score value is greater than 4 (the first numerical threshold), it is determined that the adjustment strategy is to automatically increase by 100 (that is, the above-mentioned first number) To ensure that new members are added to the target group smoothly, to maintain the active demand of the group and improve the service effect of the group.
  • the score value of the target group is less than the second value threshold, it means that the quality of the target group is low, and the group members rarely use the group.
  • the upper limit of the number of members of the target group can be reduced. For example, when the score value is less than 1 (the second value threshold), it is determined that the adjustment strategy is to automatically reduce the upper limit of group members by 100 (that is, the above-mentioned second number), so as to avoid the server meaninglessly reserving too much for the target group. more resources, and improve the utilization efficiency of the reserved resources of the server.
  • the server determines that the adjustment policy for the upper limit of the number of members is: keep the upper limit of the number of members unchanged.
  • the server determines that the adjustment strategy is to keep the upper limit of group members unchanged.
  • the server further disbands the target group in response to the score value being less than a third value threshold, wherein the third value threshold is less than the second value threshold.
  • the server may dissolve the target group if the score value is very low.
  • the server disbands the target group.
  • step 305 the upper limit of the number of members of the target group is adjusted according to the upper limit adjustment policy of the number of members.
  • the server after determining the upper limit adjustment policy for the number of members, the server directly adjusts the upper limit for the number of members of the target group according to the upper limit adjustment policy for the number of members.
  • the server determines whether and how to adjust the upper limit of the number of members of the target group in combination with the current number of members of the target group.
  • the server may adjust the upper limit of the number of members of the target group according to the upper limit adjustment policy of the number of members in combination with the current number of members of the target group in the following manner.
  • the server also needs to increase the resources reserved for the target group, and the number of members of the target group may not reach the current upper limit of the number of members before the subsequent adjustment of the upper limit of the number of members is detected. This will lead to a waste of resources reserved by the server for the group during this period.
  • the server detects the target Whether the ratio of the current maximum number of members of the group is greater than the first threshold (such as 90%), if so, it means that the target group needs to expand the upper limit of the number of members, then increase the upper limit of the number of members; otherwise, it means that the target group has no The requirement to expand the upper limit of the number of members, at this time, keep the upper limit of the number of members unchanged.
  • the first threshold such as 90%
  • the first proportional threshold is greater than the second proportional threshold.
  • the upper limit of the number of members needs to be reduced, if the ratio of the current number of members of the target group to the current upper limit of the number of members is large, it means that there is little room for the reduction of the current upper limit of the number of members of the target group. Adjusting the upper limit of the number of members may cause the target group to no longer be able to add new members, or only a few more members may be added, or even the lower upper limit of the number of members may be lower than the current number of members, thus affecting the group members Normal use of groups.
  • the server detects whether the ratio of the current upper limit of the number of members of the target group is smaller than the second threshold (for example, 20% ), if yes, it means that the target group has room to lower the upper limit of the number of members, then lower the upper limit of the number of members; otherwise, it means that the target group has no room to lower the upper limit of the number of members temporarily, and the upper limit of the number of members remains unchanged at this time.
  • the second threshold for example, 20%
  • the server when the policy is adjusted according to the upper limit of the number of members and the upper limit of the number of members of the target group is adjusted, the server performs the following steps:
  • the upper limit of the number of members of the target group is adjusted to the upper limit of the target number of members.
  • the server adjusts the upper limit of the number of members of the target group to the number of members of the target group to avoid affecting the number of members of the target group.
  • the server reduces the upper limit of the number of members of the target group according to the adjustment policy.
  • a group notification message is sent to the terminal opening the target group, where the group notification message is a message used to indicate that the upper limit of the number of members of the target group has been adjusted.
  • the terminal that opens the target group may refer to the terminal of the group member who opens the target group.
  • the server after adjusting the upper limit of the number of members of the target group, the server sends a notification message to the terminal that opens the target group to notify the members in the group that the upper limit of the number of members of the group has been be adjusted.
  • the above group notification message may be displayed in the group by the terminal.
  • FIG. 4 shows a schematic diagram of displaying a group notification message involved in an embodiment of the present application.
  • the server increases the upper limit of the number of members of the group, it publishes a group notification message in the group, and the terminal that opens the group can display the notification message 42 in the group interface 41 .
  • the display situation of the notification message in which the upper limit of the number of members of the group is lowered is similar to the display situation of the notification message in which the upper limit of the number of members of the group is increased in FIG. 4 , and will not be repeated here.
  • the server when the server disbands the target group, the server sends a disbandment notification message to the terminal corresponding to the group member, and the disbandment notification message is displayed in the form of a notification message of the application program corresponding to the group, That is, it is displayed in a form independent of the group message, for example, an application notification is displayed in the notification bar of the terminal, and the user clicks to enter the notification page to display the dissolution notification message; or, the dissolution notification message is displayed in the group.
  • the server also sends the adjusted upper limit of the number of members to the terminal that opens the target group, so that the terminal displays the adjusted upper limit of the number of members in the member list of the target group.
  • the adjusted upper limit of the number of members can be sent through an independent message.
  • the application where the group is located requests the server for the adjusted upper limit of the number of members of the group.
  • the server will adjust The adjusted upper limit of the number of members is sent to the terminal that opens the application; alternatively, the adjusted upper limit of the number of members can be sent through the above-mentioned group notification message, that is, the terminal directly extracts the adjusted upper limit of the number of members from the group notification message.
  • FIG. 5 shows a schematic diagram showing the upper limit of the number of members involved in an embodiment of the present application.
  • the upper limit of the number of members of a group as 500 before adjustment and 600 after adjustment as an example, as shown in part (a) of FIG. 5 , in the member list 51 of the group before adjustment, the maximum number of members displayed in The value is 500; as shown in part (b) of FIG. 5 , in the adjusted member list 52 of the group, the value of the upper limit of the number of members displayed 52 a is 600.
  • FIG. 6 shows a framework diagram of a process of adjusting the upper limit of the number of members involved in the embodiment of the present application.
  • the server adjusts the upper limit of the number of members of the target group as follows:
  • S63 Calculate the score value of the group according to the group quality information.
  • S65 Increase the upper limit of the number of members of the target group by a specified value, and send a message of increasing the upper limit to the group.
  • S66 determine that the score value is less than or equal to the second value threshold and greater than or equal to the third value threshold.
  • S69 Decrease the upper limit of the number of members of the target group by a specified value, and send a message of lowering the upper limit to the group.
  • the group container of a group is fixed, for example, to 500 people, when the group container is full, the owner of the group will choose to create another group to let more people people join.
  • This approach is not only expensive to operate, but also difficult to manage multiple groups at the same time. Not only that, the content between groups is independent and closed. When the group is gradually inactive, the owner of the group will usually let it go, allowing the group to sink with the information and gradually fade out of the user's field of vision.
  • a larger group container is obtained by recharging the membership or upgrading the level, instead of expanding the group container based on the situation in the group, the disadvantage is that some group containers may be very large, but there is no high-quality content or members inflow. , this kind of group is not good for the development of the group ecology; or, some high-quality groups do not get the space for development due to money or time factors, and miss the opportunity for development.
  • the target group is rated for quality according to the usage of the target group by the group members in the target group, and the target group is rated according to the quality score of the target group.
  • the upper limit of the number of members of the group is automatically adjusted, so as to realize the adaptive and dynamic adjustment of the upper limit of the number of members of the group based on the usage of the group.
  • the upper limit of the number of members so that it is not necessary to set a higher upper limit of the number of members for all groups, so as to meet the user's demand for the upper limit of the number of group members, reduce the meaningless resource reservation on the server side, thereby improving the server The utilization efficiency of the resources reserved by the group.
  • Fig. 7 is a block diagram showing the structure of a group management apparatus according to an exemplary embodiment.
  • the group management apparatus may execute all or part of the steps of the method shown in the corresponding embodiment of FIG. 2 or FIG. 3 .
  • the apparatus can be used in computer equipment.
  • the group management device may include:
  • an information acquisition module 701 configured to acquire group quality information of a target group, where the group quality information is used to indicate the usage of the target group by group members in the target group;
  • a score obtaining module 702 configured to obtain the score value of the target group according to the group quality information
  • a strategy obtaining module 703, configured to obtain the upper limit adjustment strategy of the number of members of the target group according to the score value of the target group;
  • the adjustment module 704 is configured to adjust the upper limit of the number of members of the target group according to the upper limit adjustment policy of the number of members.
  • the group quality information includes at least one of the following sub-information:
  • the group open rate of the target group is the ratio of the number of group members who have opened the corresponding group to the number of members of the corresponding group;
  • the score obtaining module 702 is configured to:
  • the numerical correspondence includes the correspondence between the various items of sub-information and the scoring sub-values relation;
  • the score value of the target group is obtained according to the score sub-values corresponding to each item of sub-information in the group quality information.
  • the score obtaining module 702 is configured to:
  • the weighted average of the sub-values of the scores corresponding to the respective items of sub-information in the group quality information is taken as the score value of the target group.
  • the apparatus further includes:
  • a relationship determining module configured to determine the numerical correspondence according to the member information of the target group before the score obtaining module 702 obtains the score value of the target group according to the group quality information;
  • the member information includes at least one of the number of members and the current upper limit of the number of members.
  • the policy obtaining module 703 is configured to, in response to the score value being greater than a first numerical threshold, determine that the adjustment policy for the upper limit of the number of members is: increasing the upper limit of the number of members by a first amount;
  • determining that the upper limit of the number of members adjustment strategy is: reducing the upper limit of the number of members by a second amount
  • the first numerical threshold is greater than the second numerical threshold.
  • the apparatus further includes:
  • a group disbanding module configured to disband the target group in response to the score value being less than a third numerical threshold
  • the third numerical threshold is smaller than the second numerical threshold.
  • the adjustment module 704 is configured to:
  • the first proportional threshold is greater than the second proportional threshold.
  • the adjustment module 704 is configured to:
  • the upper limit of the number of target members is obtained after the current upper limit of the number of members of the target group is reduced by the second number;
  • the upper limit of the number of members of the target group is adjusted to the upper limit of the target number of members.
  • the information acquisition module 701 is configured to perform the step of acquiring the group quality information of the target group in response to satisfying a trigger condition
  • the trigger condition includes at least one of the following conditions:
  • the current time reaches the specified time point
  • the time duration between the current time and the latest adjustment time point reaches the duration threshold, and the latest adjustment time point is the time point at which the upper limit of the number of members of the target group was last adjusted.
  • the apparatus further includes:
  • a notification message sending module configured to send a group notification message to the terminal opening the target group, where the group notification message is a message used to indicate that the upper limit of the number of members of the target group has been adjusted.
  • the apparatus further includes:
  • a quantity upper limit sending module configured to send the adjusted upper limit of the number of members to the terminal that opens the target group, so that the terminal displays the adjusted upper limit of the number of members in the member list of the target group.
  • the target group is rated for quality according to the usage of the target group by the group members in the target group, and the target group is rated according to the quality score of the target group.
  • the upper limit of the number of members of the group is automatically adjusted, so as to realize the adaptive and dynamic adjustment of the upper limit of the number of members of the group based on the usage of the group.
  • the upper limit of the number of members so that it is not necessary to set a higher upper limit of the number of members for all groups, so as to meet the user's demand for the upper limit of the number of group members, reduce the meaningless resource reservation on the server side, thereby improving the server The utilization efficiency of the resources reserved by the group.
  • Fig. 8 is a schematic structural diagram of a computer device according to an exemplary embodiment.
  • the computer device 800 includes a central processing unit (Central Processing Unit, CPU) 801, a system memory 804 including a random access memory (Random Access Memory, RAM) 802 and a read-only memory (Read-Only Memory, ROM) 803, and A system bus 805 that connects the system memory 804 and the central processing unit 801 .
  • the computer device 800 also includes a basic input/output system (Input/Output, I/O system) 806 that facilitates the transfer of information between various devices within the computer device, and is used to store an operating system 808, application programs 809 and other programs Mass storage device 807 of module 810.
  • I/O system Basic input/output system
  • the memory also includes one or more programs, one or more programs are stored in the memory, and the central processing unit 801 implements all or part of the steps of the method shown in FIG. 2 or FIG. 3 by executing the one or more programs.
  • a non-transitory computer-readable storage medium including instructions, such as a memory including at least one instruction, at least one segment of program, code set or instruction set, the above at least one instruction, at least one segment
  • the program, code set or instruction set can be executed by the processor to complete all or part of the steps of the method shown in the above-mentioned embodiment corresponding to FIG. 2 or FIG. 3 .
  • a computer program product comprising computer instructions stored in a computer readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes all or part of the steps of the method shown in the corresponding embodiment of FIG. 2 or FIG. 3 .

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computational Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Business, Economics & Management (AREA)
  • Mathematical Physics (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Operations Research (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Algebra (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种群组管理方法、装置、计算机设备及存储介质,包括:获取目标群组的群组质量信息(201),根据所述群组质量信息获取所述目标群组的评分数值(202);根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略(203);根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整(204)。实现了基于群组的使用情况自适应的动态调整群组的成员数量上限,比如,对于高质量的群组增加成员数量上限,对于低质量群组降低成员数量上限,从而不需要为所有群组都设置较高的成员数量上限,从而在满足用户对群组成员数量上限的需求的情况下,降低服务器侧无意义的资源预留,从而提高服务器为群组预留的资源的利用效率。

Description

群组管理方法、装置、计算机设备及存储介质
本申请要求于2020年07月23日提交的申请号为202010719306.8、发明名称为“群组管理方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网应用技术领域,特别涉及一种群组管理方法、装置、计算机设备及存储介质。
背景技术
随着互联网的不断发展,即时通讯(Instant Messaging,IM)类应用程序逐渐成为互联网中最受欢迎的通讯工具,而群组则是IM类应用程序为用户提供多人即时交互功能的重要手段。
在相关技术中,IM类应用程序中的群组通常设置有成员数量上限,只要群组当前的成员数量未达到该成员数量上限,该群组即可以增加新的成员。为了满足大量用户(比如大型公司员工群)交流的需求,IM类应用程序的服务商通常会为群组设置一个较高的成员数量上限,比如500人。
群组中的信息交互通常以服务器为中转,相应的,为了对群组中的用户提供高质量的服务,服务器需要为每个群组预留服务器资源,比如处理资源和存储资源,并且,群组的成员数量上限越高,需要预留的资源越多,而群组数量上限设置的较大,无疑会造成预留的资源的浪费,影响服务器资源的利用效率。
发明内容
本申请实施例提供了一种群组管理方法、装置、计算机设备及存储介质,可以用于提高服务器为群组预留的资源的利用效率,该技术方案如下:
一方面,提供了一种群组管理方法,所述方法由计算机设备执行,所述方法包括:
获取目标群组的群组质量信息,所述群组质量信息用于指示所述目标群组中的群组成员对所述目标群组的使用情况;
根据所述群组质量信息获取所述目标群组的评分数值;
根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略;
根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整。
另一方面,提供了一种群组管理装置,所述装置用于计算机设备,所述装置包括:
信息获取模块,用于获取目标群组的群组质量信息,所述群组质量信息用于指示所述目标群组中的群组成员对所述目标群组的使用情况;
评分获取模块,用于根据所述群组质量信息获取所述目标群组的评分数值;
策略获取模块,用于根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略;
调整模块,用于根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整。
再一方面,提供了一种计算机设备,所述计算机设备包含处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述的群组管理方法。
又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现上述群组管理方法。
又一方面,提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述的群组管理方法。
本申请提供的技术方案可以包括以下有益效果:
通过根据目标群组中的群组成员对该目标群组的使用情况对目标群组进行质量评分,并根据目标群组的质量评分,对目标群组的成员数量上限进行自动调整,从而实现了基于群组的使用情况自适应的动态调整群组的成员数量上限,比如,对于高质量的群组增加成员数量上限,对于低质量群组降低成员数量上限,从而不需要为所有群组都设置较高的成员数量上限,从而在满足用户对群组成员数量上限的需求的情况下,降低服务器侧无意义的资源预留,从而提高服务器为群组预留的资源的利用效率。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
图1是根据一示例性实施例示出的一种即时通讯系统的示意图;
图2是根据一示例性实施例示出的一种群组管理方法的流程示意图;
图3是根据一示例性实施例示出的一种群组管理方法的流程示意图;
图4是图3所示实施例涉及的一种群组通知消息展示示意图;
图5是图3所示实施例涉及的一种成员数量上限展示示意图;
图6是图3所示实施例涉及的成员数量上限调整流程的框架图;
图7是根据一示例性实施例示出的群组管理装置的结构方框图;
图8是根据一示例性实施例示出的一种计算机设备的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种即时通讯系统的示意图。该即时通讯系统中包括服务器110、用户终端120以及数据库130。
服务器110是设置在网络侧,为即时通讯类应用程序提供后台支持的服务器。
服务器110可以是一台服务器,或者可以是由若干台服务器构成的服务器集群,或者可以包含一个或多个虚拟化平台,或者也可以是一个云计算服务中心。
用户终端120中安装有即时通讯类应用程序。
其中,上述即时通讯类应用程序可以是独立运行的应用程序。或者,上述即时通讯类应用程序也可以是依附于其它类型应用程序/网页运行的程序组件,比如,上述即时通讯类应用程序可以是依附于购物类、社交平台类、短视频平台类、或者论坛类等应用程序运行的即时通讯组件。
用户可以在用户终端120上打开和登录服务器110对应的即时通讯类应用程序。用户可以通过该即时通讯类应用程序加入群组,并与群组中的其它成员进行即时通讯交流。
数据库130中存储有上述即时通讯类应用程序相关的用户数据和业务数据,包括用户账号、用户账号对应的账号信息(包括账号等级、权限、设置等)、各个群组中的应用账号、群组中发送的消息记录等等。
在本申请实施例中,服务器110具有根据各个群组的情况,对各个群组的成员数量上限进行管理的功能。
图2是根据一示例性实施例示出的一种群组管理方法的流程示意图。该群组管理方法可以由计算机设备执行。其中,上述计算机设备可以是上述图1所示系统中的服务器110。如图2所示,该群组管理方法可以包括以下步骤:
在步骤201中,获取目标群组的群组质量信息,该群组质量信息用于指示该目标群组中的群组成员对该目标群组的使用情况。
在一种可能的实现方式中,群组质量信息包括用于指示群组成员对目标群组的使用记录的信息。
在服务器中,IM类应用程序的用户可以通过用户账号进行指代;相应的,上述群组成员可以是指加入目标群组的用户账号对应的用户。
在即时通讯类应用程序中,群组中的成员使用群组的情况,通常能够体现出该群组的质量情况。
例如,高质量的群组通常是群组消息受到成员关注或者欢迎的群组。在高质量的群组中,群组成员对群组的使用通常较为活跃,例如,群组成员经常打开该群组查看消息,或者,群组成员经常在该群组中发送消息等等。而在低质 量的群组中,群组成员对群组的使用通常较为低迷,例如,群组成员通常忽略该群组,很少打开该群组查看群组消息,或者,很少在该群组中发送消息等等。
其中,上述群组成员对群组的使用情况,通常可以通过对群组的使用记录的直接或者间接的量化来表示。
比如,上述群组质量信息包括以下4种信息中的至少一项:
1)该目标群组的群打开率,该群打开率是打开过对应群组的成员数量与对应群组的成员数量的比值。
其中,上述打开过对应群组的成员数量,是指打开过对应群组的群组成员的数量。上述群组的成员数量,也可以称为群组中的总人数,是指加入该群组的群组成员的数量。
其中,群打开率是指群组中打开过群组的人数与群组中的总人数之间的比例,比如,群组中总人数为100人,打开过群组的人数为20人,则群打开率为20%。
对于一个群组来说,群打开率越高,该群组越有可能是一个高质量的群组,或者说,群组打开率越高,该群组的质量也越高;相应的,如果群打开率越低,则该群组越有可能是一个低质量的群组,或者说,群组打开率越低,该群组的质量也越低。
2)该目标群组中的群组成员在该目标群组中停留的平均时长。
在一种可能的实现方式中,群组成员在群组中停留的时长,是指群组成员打开群组的时长,例如,群组成员在IM类应用程序中打开该群组的对话页面,且保持该对话页面不关闭的时长。
在一种示例性的方案中,当一个群组成员多次打开同一个群组时,该群组成员在该群组中停留的时长,是该群组成员每次打开并保持该群组不关闭的时长的总和。
在一种示例性的方案中,目标群组中的群组成员在该目标群组中停留的平均时长。是指该目标群组中各个打开过该目标群组的群组成员在该目标群组中停留的时长之和,除以打开过该目标群组的群组成员的数量后得到的平均时长。
对于一个群组来说,群组成员在群组中停留的平均时长越长,说明该群组中的成员越关注该群组中的消息,该群组越有可能是一个高质量的群组;相应的,如果群组成员在群组中停留的平均时长越短,说明该群组中的成员越不关注该群组中的消息,该群组越有可能是一个低质量的群组。
3)目标群组中的群组成员在该目标群组中发送的消息的数量。
其中,上述消息是指群组中的成员在群组中发送的群组消息,消息类型包括文本、音频、视频、图片、链接等等。
对于一个群组来说,群组成员在群组中发送的消息的多寡,能够在一定程度上指示该群组的质量。比如,群组成员在群组中发送的消息越多,说明该群组中的交流越活跃,该群组越有可能是一个高质量的群组;相应的,群组成员在群组中发送的消息越少,说明该群组中的交流越不活跃,该群组越有可能是一个低质量的群组。
4)目标群组中的群组成员在该目标群组中发送的指定类型消息的数量。
在一种可能的实现方式中,消息的类型包括消息的内容的载体类型,以及消息的内容类型中的至少一项。
在一种示例性的方案中,消息的内容的载体类型包括文本、视频、音频、图片以及链接等等。
在一种示例性的方案中,消息的内容类型包括广告内容、非广告内容等。
在本申请实施例中,指定类型消息是指内容的载体类型以及内容类型中的至少一项被指定的消息。例如,指定类型消息是非广告内容的文本消息。
在步骤202中,根据该群组质量信息获取该目标群组的评分数值。
在获取到能够指示群组质量的上述群组质量信息后,服务器即可以通过群组质量信息,按照评分规则对目标群组进行评分,得到评分数值。
在一种可能的实现方式中,上述评分规则是开发人员或者维护人员预先设置在服务器中的规则,且该评分规则是对应上述群组质量信息的信息类型进行设置的。
在步骤203中,根据该目标群组的评分数值获取该目标群组的成员数量上限调整策略。
其中,群组的成员数量上限又称为群容器,是群组中最多能够容纳的成员的数量。也就是说,当群组中的成员数量低于成员数量上限时,群组中可以增加新的成员,而当群组中的成员数量达到成员数量上限时,群组中将不能再增加新的成员。
在步骤204中,根据该成员数量上限调整策略,对该目标群组的成员数量上限进行调整。
其中,上述成员数量上限调整策略包括对成员数量上限进行增加、降低或 者保持不变等等。对于不同质量的群组,成员数量上限调整策略不同,比如,对于评分数值较高的高质量群组,调整策略为增加该群组的成员数量上限,对于评分数值较低的低质量群组,调整策略为降低该群组的成员数量上限;对于同一个群组来说,不同时间点上的调整策略也可以不同,比如,在第一时间点,群组A的评分质量较高,此时,调整策略为增加该群组的成员数量上限,后续随着群组的发展,群组话题的过时,在第二时间点,群组A的评分质量降低,调整策略可能会变化为降低该群组的成员数量上限。
综上所述,本申请实施例所示的方案,根据目标群组中的群组成员对该目标群组的使用情况对目标群组进行质量评分,并根据目标群组的质量评分,对目标群组的成员数量上限进行自动调整,从而实现了基于群组的使用情况自适应的动态调整群组的成员数量上限,比如,对于高质量的群组增加成员数量上限,对于低质量群组降低成员数量上限,从而不需要为所有群组都设置较高的成员数量上限,从而在满足用户对群组成员数量上限的需求的情况下,降低服务器侧无意义的资源预留,从而提高服务器为群组预留的资源的利用效率。
图3是根据一示例性实施例示出的一种群组管理方法的流程示意图。该群组管理方法可以由计算机设备执行。其中,上述计算机设备可以是上述图1所示系统中的服务器110。如图3所示,该群组管理方法可以包括以下步骤:
在步骤301中,响应于满足触发条件,获取目标群组的群组质量信息。
其中,该群组质量信息用于指示该目标群组中的群组成员对该目标群组的使用情况。
在一种可能的实现方式中,上述获取目标群组的群组质量信息,是指获取目标群组在当前时间之前的指定长度时间段内的群组质量信息。
在IM类应用程序中,群组创建之后,随着时间的推移,群组成员对于群组的使用情况会发生改变,且时间推移越久,群组成员对于群组的使用情况相比于群组初始建立时的变化也越大,为了保证后续评分的准确性,在本申请实施例中,服务器在获取目标群组的群组质量信息时,获取以当前时间为结束点,且时长为上述指定长度的时间段内的群组质量信息。
其中,若目标群组的创建时间到当前时间的长度,小于上述指定长度,则服务器获取目标群组从创建时间到当前时间之间的群组质量信息。
例如,以指定长度是一周为例,假设群组A是两周之前创建的群组,而群 组B是3天之前创建的群组,则服务器获取群组A在当前时间之前一周内的群组质量信息,并获取群主B从创建时间到当前时间(即当前时间之前3天内)的群组质量信息。
其中,该触发条件包括以下条件中的至少一项:
1)当前时间到达指定时间点。
在一种可能的实现方案中,IM类应用程序的服务器在预先设置的指定时间点上触发对各个群组的成员数量上限的检测和调整过程。
以IM类应用程序的服务器以天为单位周期性触发对各个群组的成员数量上限的检测和调整为例,服务器每天上午8点触发获取目标群组的群组质量信息,并执行后续成员数量上限调整的检测和执行过程。
在一示例性的方案中,服务器针对所有的群组,设置相同的指定时间点,也就是说,当指定时间点到达时,服务器统一对所有的群组执行群组质量信息的获取,比如,服务器统一在每天上午8点获取所有的群组的群组质量信息。
在另一示例性的方案中,为了平衡服务器的资源利用率,服务器针对不同的群组,设置不同的指定时间点。比如,服务器对群组进行分组,并对每个分组设置一个指定时间点,在某一分组对应的指定时间点到达时,服务器对该分组内的群组执行群组质量信息的获取。例如,分组A和分组B中分别包含100的群组,分组A的指定时间点是上午8点,分组B的指定时间点是上午9点,则服务器在上午8点时,获取分组A中的100个群组各自的群组质量信息;并且,服务器在上午9点时,获取分组B中的100个群组各自的群组质量信息。
2)当前时间距离最近调整时间点之间的时长达到时长阈值,该最近调整时间点是上一次调整该目标群组的成员数量上限的时间点。
在本申请实施例中,为了避免频繁的对同一群组的成员数量上限进行调整,服务器可以设置两次获取目标群组的群组质量信息的最小时间间隔(即上述时长阈值),也就是说,在某一次对目标群组的成员数量上限进行调整后,经过上述时长阈值对应的时间长度,服务器将再一次获取目标群组的群组质量信息。
例如,以时长阈值是7天为例,服务器在某一次调整目标群组的成员数量上限之后,并不会立刻再次获取目标群组的群组质量信息,而是等待7天之后,才再一次获取目标群组的群组质量信息。
其中,上述两点触发条件可以单独使用,也可以结合使用。比如,以上述两点触发条件结合使用为例,指定时间点是每天上午8点,时长阈值是7天为 例,自目标群组开始的第7天的上午8点,服务器获取目标群组的群组质量信息,并基于获取到的群组质量信息,确定是否对目标群组的成员数量上限进行调整,如果确定调整,则再过7天后,再次获取目标群组的群组质量信息;如果确定不调整,则后续每天上午8点都获取目标群组的群组质量信息,直至确定对目标群组的成员数量上限进行调整。
其中,上述触发条件可以包含,但不仅限于以上两种。比如,在一种可能的实现方式中,如果该目标群组自建立以来,尚未发生过成员数量上限的调整,则触发条件还包括:当前时间距离目标群组的创建时间之间的时长达到时长阈值。
在一种可能的实现方式中,该群组质量信息包括以下子信息中的至少一项:
该目标群组的群打开率,该群打开率是打开过对应群组的成员数量与对应群组的成员数量的比值;该目标群组中的群组成员在该目标群组中停留的平均时长;群组质量信息中的在该目标群组中发送的消息的数量;以及,群组质量信息中的在该目标群组中发送的指定类型消息的数量。
其中,上述各项子信息的介绍可以参考上述图2所示实施例中的描述,此处不再赘述。
在步骤302中,在数值对应关系中,查询该群组质量信息中的各项子信息分别对应的评分子数值。
在一种可能的实现方式中,服务器中预先设置有数值对应关系,该数值对应关系中包含各项子信息与评分子数值之间的对应关系。
其中,上述数值对应关系中包含的各项子信息与评分子数值之间的对应关系,可以是各项子信息中每一项子信息的各种可能的取值/取值范围,与评分子数值之间的对应关系。
在一示例性的方案,上述数值对应关系实现为评分子数值与子信息的对应关系表,或者,上述数值对应关系实现为子信息到评分子数值之间的换算公式。
例如,以数值对应关系实现为评分子数值与子信息的对应关系表为例,一种数值对应关系如下述表1和表2所示。
表1
Figure PCTCN2021095267-appb-000001
Figure PCTCN2021095267-appb-000002
表2
消息数量 指定类型消息数量 评分子数值
消息数量≤10 消息数量≤5 0
10<消息数量≤50 5<消息数量≤20 1
50<消息数量≤200 20<消息数量≤100 2
200<消息数量≤500 100<消息数量≤200 3
消息数量>500 消息数量>200 4
上述表1示出了各区间的群打开率和平均停留时长分别对应的评分子数值,表2示出了各区间的消息数量以及指定类型消息数量分别对应的评分子数值。通过查询上述表1和表2,服务器可以得到群组质量信息中的各种子信息对应的评分子数值。
在一种可能的实现方式中,在根据该群组质量信息获取该目标群组的评分数值之前,服务器还根据该目标群组的成员信息,确定该数值对应关系;其中,该成员信息包括成员数量,以及当前的成员数量上限中的至少一项。
由于系统中各个群组的成员数量/成员数量上限的差别很大,有些群组中成员数量/成员数量上限较大,比如大型公司的员工群、某明星的粉丝群等等,而另外一些群组中成员数量/成员数量上限较小,比如家庭群、好友群、闺蜜群等等,不同的规模的群组,在某些情况下并不适合使用统一的评分标准,尤其是在子信息涉及到消息数量的情况下,不同规模的群组,消息数量也会存在很大的差距。
基于此,在本申请实施例的一种可能实现方案中,服务器中设置多种成员信息对应的数值对应关系,服务器在获取目标群组的各项子信息的评分子数值 时,首先根据目标群组的成员信息,选择合适的数值对应关系,然后根据各项子信息,从选择的数值对应关系中查询对应的评分子数值。
例如,以上述成员信息包括成员数量为例,请参考表3,其示出了一种成员数量范围与数值对应关系的对应表。
表3
成员数量 数值对应关系
0<成员数量≤20 对应关系1
20<成员数量≤100 对应关系2
100<成员数量≤300 对应关系3
成员数量>300 对应关系4
结合表3所示,假设服务器分别获取到群组A和群组B的群组质量信息,还获取了群组A和群组B的成员数量,其中,群组A的成员数量为8,群组B的成员数量为156,则服务器按照上述表3,在对应关系1中查询群组A的各项子信息的评分子数值,并从对应关系3中查询群组B的各项子信息的评分子数值。
在步骤303中,根据该各项子信息分别对应的评分子数值,获取该目标群组的评分数值。
其中,服务器可以根据上述群组质量信息中的各项子信息分别对应的评分子数值,获取该目标群组的评分数值。
在一种可能的实现方案中,服务器可以按照以下几种方式中的任意一种,来根据该群组质量信息中的各项子信息分别对应的评分子数值获取该目标群组的评分数值。
1)将该群组质量信息中的各项子信息分别对应的评分子数值的加权和,作为该目标群组的评分数值。
在一种可能的实现方式中,对于评分子信息只有一项的情况,服务器可以直接将此项评分子信息对应的评分子数值作为目标群组的评分数值。
在另一种可能的实现方式中,对于评分子信息包含两项或者两项以上的情况,服务器将两项或者两项以上的评分子信息分别对应的评分子数值进行加权求和。
在一种示例性的方案中,上述各项评分子信息对应的权重由开发人员或者预先设置在服务器中。
例如,假设各项评分子信息包括群打开率和平均停留时长为例,服务器中预先设置的群打开率的权重为1,平均停留时长的权重为2,并且,群打开率的评分子数值为2,平均停留时长的评分子数值为3,则该目标群组的评分数值为:1*2+2*3=8。
在另一种可能的实现方式中,上述各项评分子信息对应的权重也可以通过上述数值对应关系直接表示,比如,对于权重高的评分子信息,数值对应关系中包含更多的子评分数值等级,以及,每个等级对应更高的子评分数值。此时,相当于所有的各项评分子信息分别对应的权重均为1,即服务器直接对各项子信息分别对应的评分子数值求和,将求和结果作为目标群组的评分数值。
2)将该群组质量信息中的各项子信息分别对应的评分子数值的最大值,作为该目标群组的评分数值。
3)将该群组质量信息中的各项子信息分别对应的评分子数值的最小值,作为该目标群组的评分数值。
4)将该群组质量信息中的各项子信息分别对应的评分子数值的加权平均值,作为该目标群组的评分数值。
在另一种可能的实现方式中,对于评分子信息包含两项或者两项以上的情况,服务器也可以对两项或者两项以上的评分子信息分别对应的评分子数值进行平均。
在一种示例性的方案中,上述两项或者两项以上的评分子信息的权重之和为1。例如,假设各项评分子信息包括群打开率和平均停留时长为例,服务器中预先设置的群打开率的权重为0.4,平均停留时长的权重为0.6,并且,群打开率的评分子数值为2,平均停留时长的评分子数值为3,则该目标群组的评分数值为:0.4*2+0.6*3=2.6。
在步骤304中,根据该目标群组的评分数值获取该目标群组的成员数量上限调整策略。
在一种可能的实现方式中,该根据该目标群组的评分数值获取该目标群组的成员数量上限调整策略,包括:
服务器响应于该评分数值大于第一数值阈值,确定该成员数量上限调整策略为:将成员数量上限增加第一数量;
服务器响应于该评分数值小于第二数值阈值,确定该成员数量上限调整策略为:将成员数量上限降低第二数量;
其中,该第一数值阈值大于该第二数值阈值。
在本申请实施例中,服务器中设置两个数值阈值,当目标群组的评分数值大于第一数值阈值时,说明该目标群组的质量较高,比如,有较多的群组成员在正常使用该群组,此时,可以将目标群组的成员数量上限进行增加,例如,当评分数值>4(第一数值阈值)时,则确定调整策略为自动增加100(即上述第一数量)的群组成员上限,以保证该目标群组顺利添加新的成员,以保持群组的活跃的需求,提高群组的服务效果。
而当目标群组的评分数值小于第二数值阈值时,说明该目标群组的质量较低,群组成员很少使用该群组,此时,可以将目标群组的成员数量上限进行降低,例如,当评分数值小于1(第二数值阈值)时,则确定调整策略为自动降低100(即上述第二数量)的群组成员上限,以避免服务器无意义的为该目标群组预留太多的资源,提高服务器的预留资源的利用效率。
在一种可能的实现方式中,服务器响应于该评分数值大于等于第二数值阈值,且小于等于第一数值阈值,确定该成员数量上限调整策略为:保持成员数量上限不变。
比如,当1≤评分数值≤4时,服务器确定调整策略为保持群组成员上限不变。
在一种可能的实现方式中,服务器还响应于该评分数值小于第三数值阈值,解散该目标群组;其中,该第三数值阈值小于该第二数值阈值。
在本申请实施例中,如果评分数值很低,可能目标群组中的群组成员很少或者不使用该群组,此时,为了进一步节约服务器的预留资源,服务器可以解散该目标群组。
比如,以第三数值阈值为0.1为例,若评分数值为0,小于0.1,此时,服务器解散该目标群组。
在步骤305中,根据该成员数量上限调整策略,对该目标群组的成员数量上限进行调整。
在一种可能的实现方式中,服务器确定成员数量上限调整策略后,直接按照该成员数量上限调整策略,对标群组的成员数量上限进行调整。
在另一种可能的实现方式中,服务器确定成员数量上限调整策略后,结合目标群组当前的成员数量,确定是否对目标群组的成员数量上限进行调整,以及如何进行调整。
在一种示例性的方案中,服务器可以按照以下方式,结合目标群组当前的成员数量,根据该成员数量上限调整策略,对该目标群组的成员数量上限进行调整。
1)响应于该评分数值大于第一数值阈值,且该目标群组的成员数量与该目标群组当前的成员数量上限的比值大于第一比例阈值,执行根据该成员数量上限调整策略,对该目标群组的成员数量上限进行调整的步骤。
其中,对于需要增加成员数量上限的情况,如果目标群组当前的成员数量占当前的成员数量上限的比值较小,则说明目标群组当前距离满员还有很大的距离,此时,如果立刻调整了成员数量上限,则服务器也需要增加为目标群组预留的资源,而该目标群组在后续再一次进行成员数量上限调整检测之前,成员数量很可能达不到当前的成员数量上限,则就导致这段时间内服务器为群组预留的资源的浪费,因此,在本申请实施例中,当评分数值大于第一数值阈值,确定的调整策略是增加成员数量上限时,服务器检测目标群组当前的成员数量上限的比值是否大于第一阈值(比如90%),如果是,则说明目标群组有扩展成员数量上限的需求,则增加成员数量上限;否则,说明目标群组暂时没有扩展成员数量上限的需求,此时保持成员数量上限不变。
2)响应于该评分数值小于第二数值阈值,且该目标群组的成员数量与该目标群组当前的成员数量上限的比值小于第二比例阈值,执行根据该成员数量上限调整策略,对该目标群组的成员数量上限进行调整的步骤。
其中,该第一比例阈值大于该第二比例阈值。
其中,对于需要降低成员数量上限的情况,如果目标群组当前的成员数量占当前的成员数量上限的比值较大,则说明目标群组当前的成员数量上限降低的空间较小,此时,如果调整了成员数量上限,则可能导致目标群组不再能够新增成员,或者只能再增加很少的成员,甚至出现降低后的成员数量上限低于当前成员数量的情况,从而影响群组成员对群组的正常使用。因此,在本申请实施例中,当评分数值小于第二数值阈值,确定的调整策略是降低成员数量上限时,服务器检测目标群组当前的成员数量上限的比值是否小于第二阈值(比如20%),如果是,则说明目标群组有降低成员数量上限的空间,则降低成员数量上限;否则,说明目标群组暂时没有降低成员数量上限的空间,此时保持成员数量上限不变。
在一种可能的实现方式中,在根据该成员数量上限调整策略,对该目标群 组的成员数量上限进行调整时,服务器通过以下步骤来执行:
响应于该评分数值小于第二数值阈值,获取目标成员数量上限,该目标成员数量上限是该目标群组当前的成员数量上限降低该第二数量之后的得到的;
响应于该目标成员数量上限小于该目标群组的成员数量,将该目标群组的成员数量上限调整为该目标群组的成员数量;
响应于该目标成员数量上限不小于该目标群组的成员数量,将该目标群组的成员数量上限调整为该目标成员数量上限。
其中,上面提到对于需要降低成员数量上限的情况,如果目标群组当前的成员数量占当前的成员数量上限的比值较大,可能出现按照调整政策降低后的成员数量上限低于当前成员数量的情况,因此,在本申请实施例中,对于按照调整政策降低后的成员数量上限低于当前成员数量的情况,服务器将目标群组的成员数量上限调整为该目标群组的成员数量,避免影响群组成员对群组的正常使用;而对于降低后的成员数量上限不低于当前成员数量的情况,则服务器按照调整策略来降低目标群组的成员数量上限。
在步骤306中,向打开该目标群组的终端发送群组通知消息,该群组通知消息是用于指示该目标群组的成员数量上限已调整的消息。
其中,打开目标群组的终端,可以是指打开目标群组的群组成员的终端。
在本申请实施例这种,当服务器将目标群组的成员数量上限进行调整后,向打开该目标群组的终端发送通知消息,以通知群组中的成员,该群组的成员数量上限已经被调整。
其中,上述群组通知消息可以由终端在群组中进行展示。
比如,请参考图4,其示出了本申请实施例涉及的一种群组通知消息展示示意图。如图4所示,服务器增加了群组的成员数量上限之后,在群组内发布一条群组通知消息,打开该群组的终端可以在群组界面41中展示该通知消息42。
其中,降低群组的成员数量上限的通知消息展示情况,与图4中增加了群组的成员数量上限的通知消息展示情况类似,此处不再赘述。
在另一种可能的实现方式中,当服务器解散目标群组时,服务器向群组成员对应的终端发送解散通知消息,该解散通知消息以群组对应的应用程序的通知消息的形式进行展示,即按照独立于群组消息的形式进行展示,比如,在终端的通知栏中展示一条应用通知,用户点击后进入通知页面展示该解散通知消息;或者,该解散通知消息在群组中进行展示。
在一种可能的实现方式中,服务器还向打开该目标群组的终端发送调整后的成员数量上限,以便该终端在该目标群组的成员列表中展示该调整后的成员数量上限。
其中,该调整后的成员数量上限可以通过独立的消息进行发送,比如,用户打开群组时,群组所在的应用程序向服务器请求该群组调整后的成员数量上限,此时,服务器将调整后的成员数量上限发送给打开应用程序的终端;或者,该调整后的成员数量上限可以通过上述群组通知消息进行发送,即终端直接从群组通知消息中提取调整后的成员数量上限。
请参考图5,其示出了本申请实施例涉及的一种成员数量上限展示示意图。以群组的成员数量上限调整前为500,调整后为600为例,如图5中的(a)部分所示,在调整前的群组的成员列表51中,展示的成员数量上限51a的数值为500;如图5中的(b)部分所示,在调整后的群组的成员列表52中,展示的成员数量上限52a的数值为600。
请参考图6,其示出了本申请实施例涉及的成员数量上限调整流程的框架图。如图6所示,服务器对目标群组的成员数量上限的调整过程如下:
S61,检测到满足触发条件。
S62,获取目标群组的群组质量信息。
S63,根据群组质量信息计算群组的评分数值。
S64,确定评分数值大于第一数值阈值。
S65,将目标群组的成员数量上限增加指定数值,并向群组发送上限增加消息。
S66,确定评分数值小于等于第二数值阈值,且大于等于第三数值阈值。
S67,判断按照指定数值降低后的成员数量上限是否小于当前的成员数量;若是,进入S68,否则,进入S69。
S68,将目标群组的成员数量上限降低至当前的成员数量,并向群组发送上限降低消息。
S69,将目标群组的成员数量上限降低指定数值,并向群组发送上限降低消息。
S610,确定评分数值小于第三数值阈值。
S611,解散目标群组,并发送群组解散通知。
在IM类的应用程序中,若将群组的群容器固定,比如,固定为500人,则 当遇到群容器已满,群组的拥有者会选择通过再创建另一个群组让更多人加入。这样的做法不仅运营成本很大,并且很难同时管理好多个群组。不仅如此,群组之间的内容都是独立而封闭的,当群组逐渐不活跃时,群组的拥有者通常都会放任不管,让群组随着信息而下沉,逐渐淡出用户的视野。如果通过充值会员或升级等级,来获得更大的群容器,而不以群组内情况为判断标准而扩大群容器的弊端是,可能导致一些群容器极大,却没有优质的内容或成员流入,这种群组对群组生态的发展是没有好处的;或者是,一些优质群组因为金钱或时间因素,而得不到应有的发展空间,错失了发展的时机。
综上所述,本申请实施例所示的方案,根据目标群组中的群组成员对该目标群组的使用情况对目标群组进行质量评分,并根据目标群组的质量评分,对目标群组的成员数量上限进行自动调整,从而实现了基于群组的使用情况自适应的动态调整群组的成员数量上限,比如,对于高质量的群组增加成员数量上限,对于低质量群组降低成员数量上限,从而不需要为所有群组都设置较高的成员数量上限,从而在满足用户对群组成员数量上限的需求的情况下,降低服务器侧无意义的资源预留,从而提高服务器为群组预留的资源的利用效率。
图7是根据一示例性实施例示出的群组管理装置的结构方框图。该群组管理装置可以执行图2或图3对应实施例所示的方法的全部或部分步骤。该装置可以用于计算机设备。该群组管理装置可以包括:
信息获取模块701,用于获取目标群组的群组质量信息,所述群组质量信息用于指示所述目标群组中的群组成员对所述目标群组的使用情况;
评分获取模块702,用于根据所述群组质量信息获取所述目标群组的评分数值;
策略获取模块703,用于根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略;
调整模块704,用于根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整。
在一种可能的实现方式中,所述群组质量信息包括以下子信息中的至少一项:
所述目标群组的群打开率,所述群打开率是打开过对应群组的群组成员的数量,与对应群组的成员数量的比值;
所述目标群组中的群组成员在所述目标群组中停留的平均时长;
所述目标群组中的群组成员在所述目标群组中发送的消息的数量;
以及,所述目标群组中的群组成员在所述目标群组中发送的指定类型消息的数量。
在一种可能的实现方式中,所述评分获取模块702,用于,
在预先存储的数值对应关系中,查询所述群组质量信息中的各项子信息分别对应的评分子数值;所述数值对应关系中包含所述各项子信息与评分子数值之间的对应关系;
根据所述群组质量信息中的各项子信息分别对应的评分子数值,获取所述目标群组的评分数值。
在一种可能的实现方式中,所述评分获取模块702,用于,
将所述群组质量信息中的各项子信息分别对应的评分子数值的加权和,作为所述目标群组的评分数值;
或者,
将所述群组质量信息中的各项子信息分别对应的评分子数值的最大值,作为所述目标群组的评分数值;
或者,
将所述群组质量信息中的各项子信息分别对应的评分子数值的最小值,作为所述目标群组的评分数值;
或者,
将所述群组质量信息中的各项子信息分别对应的评分子数值的加权平均值,作为所述目标群组的评分数值。
在一种可能的实现方式中,所述装置还包括:
关系确定模块,用于在所述评分获取模块702根据所述群组质量信息获取所述目标群组的评分数值之前,根据所述目标群组的成员信息,确定所述数值对应关系;
其中,所述成员信息包括成员数量,以及当前的成员数量上限中的至少一项。
在一种可能的实现方式中,所述策略获取模块703,用于响应于所述评分数值大于第一数值阈值,确定所述成员数量上限调整策略为:将成员数量上限增加第一数量;
响应于所述评分数值小于第二数值阈值,确定所述成员数量上限调整策略为:将成员数量上限降低第二数量;
其中,所述第一数值阈值大于所述第二数值阈值。
在一种可能的实现方式中,所述装置还包括:
群组解散模块,用于响应于所述评分数值小于第三数值阈值,解散所述目标群组;
其中,所述第三数值阈值小于所述第二数值阈值。
在一种可能的实现方式中,所述调整模块704,用于,
响应于所述评分数值大于第一数值阈值,且所述目标群组的成员数量与所述目标群组当前的成员数量上限的比值大于第一比例阈值,执行根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整的步骤;
响应于所述评分数值小于第二数值阈值,且所述目标群组的成员数量与所述目标群组当前的成员数量上限的比值小于第二比例阈值,执行根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整的步骤;
其中,所述第一比例阈值大于所述第二比例阈值。
在一种可能的实现方式中,所述调整模块704,用于,
响应于所述评分数值小于第二数值阈值,获取目标成员数量上限,所述目标成员数量上限是所述目标群组当前的成员数量上限降低所述第二数量之后的得到的;
响应于所述目标成员数量上限小于所述目标群组的成员数量,将所述目标群组的成员数量上限调整为所述目标群组的成员数量;
响应于所述目标成员数量上限不小于所述目标群组的成员数量,将所述目标群组的成员数量上限调整为所述目标成员数量上限。
在一种可能的实现方式中,所述信息获取模块701,用于响应于满足触发条件,执行所述获取目标群组的群组质量信息的步骤;
其中,所述触发条件包括以下条件中的至少一项:
当前时间到达指定时间点;
当前时间距离最近调整时间点之间的时长达到时长阈值,所述最近调整时间点是上一次调整所述目标群组的成员数量上限的时间点。
在一种可能的实现方式中,所述装置还包括:
通知消息发送模块,用于向打开所述目标群组的终端发送群组通知消息, 所述群组通知消息是用于指示所述目标群组的成员数量上限已调整的消息。
在一种可能的实现方式中,所述装置还包括:
数量上限发送模块,用于向打开所述目标群组的终端发送调整后的成员数量上限,以便所述终端在所述目标群组的成员列表中展示所述调整后的成员数量上限。
综上所述,本申请实施例所示的方案,根据目标群组中的群组成员对该目标群组的使用情况对目标群组进行质量评分,并根据目标群组的质量评分,对目标群组的成员数量上限进行自动调整,从而实现了基于群组的使用情况自适应的动态调整群组的成员数量上限,比如,对于高质量的群组增加成员数量上限,对于低质量群组降低成员数量上限,从而不需要为所有群组都设置较高的成员数量上限,从而在满足用户对群组成员数量上限的需求的情况下,降低服务器侧无意义的资源预留,从而提高服务器为群组预留的资源的利用效率。
图8是根据一示例性实施例示出的一种计算机设备的结构示意图。所述计算机设备800包括中央处理单元(Central Processing Unit,CPU)801、包括随机存取存储器(Random Access Memory,RAM)802和只读存储器(Read-Only Memory,ROM)803的系统存储器804,以及连接系统存储器804和中央处理单元801的系统总线805。所述计算机设备800还包括帮助计算机设备内的各个器件之间传输信息的基本输入/输出系统(Input/Output,I/O系统)806,和用于存储操作系统808、应用程序809和其他程序模块810的大容量存储设备807。
存储器还包括一个或者一个以上的程序,一个或者一个以上程序存储于存储器中,中央处理单元801通过执行该一个或一个以上程序来实现图2或图3所示的方法的全部或者部分步骤。
在一示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括至少一条指令、至少一段程序、代码集或指令集的存储器,上述至少一条指令、至少一段程序、代码集或指令集可由处理器执行以完成上述图2或图3对应实施例所示的方法的全部或者部分步骤。
在一示例性实施例中,还提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的 处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述图2或图3对应实施例所示的方法的全部或者部分步骤。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。

Claims (15)

  1. 一种群组管理方法,其特征在于,所述方法由计算机设备执行,所述方法包括:
    获取目标群组的群组质量信息,所述群组质量信息用于指示所述目标群组中的群组成员对所述目标群组的使用情况;
    根据所述群组质量信息获取所述目标群组的评分数值;
    根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略;
    根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整。
  2. 根据权利要求1所述的方法,其特征在于,所述群组质量信息包括以下子信息中的至少一项:
    所述目标群组的群打开率,所述群打开率是打开过对应群组的群组成员的数量,与对应群组的成员数量的比值;
    所述目标群组中的群组成员在所述目标群组中停留的平均时长;
    所述目标群组中的群组成员在所述目标群组中发送的消息的数量;
    以及,所述目标群组中的群组成员在所述目标群组中发送的指定类型消息的数量。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述群组质量信息获取所述目标群组的评分数值,包括:
    在预先存储的数值对应关系中,查询所述群组质量信息中的各项子信息分别对应的评分子数值;所述数值对应关系中包含所述各项子信息与评分子数值之间的对应关系;
    根据所述群组质量信息中的各项子信息分别对应的评分子数值,获取所述目标群组的评分数值。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述群组质量信息中的各项子信息分别对应的评分子数值,获取所述目标群组的评分数值,包括:
    将所述群组质量信息中的各项子信息分别对应的评分子数值的加权和,作为所述目标群组的评分数值;
    或者,
    将所述群组质量信息中的各项子信息分别对应的评分子数值的最大值,作为所述目标群组的评分数值;
    或者,
    将所述群组质量信息中的各项子信息分别对应的评分子数值的最小值,作为所述目标群组的评分数值;
    或者,
    将所述群组质量信息中的各项子信息分别对应的评分子数值的加权平均值,作为所述目标群组的评分数值。
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述群组质量信息获取所述目标群组的评分数值之前,还包括:
    根据所述目标群组的成员信息,确定所述数值对应关系;
    其中,所述成员信息包括成员数量,以及当前的成员数量上限中的至少一项。
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略,包括:
    响应于所述评分数值大于第一数值阈值,确定所述成员数量上限调整策略为:将成员数量上限增加第一数量;
    响应于所述评分数值小于第二数值阈值,确定所述成员数量上限调整策略为:将成员数量上限降低第二数量;
    其中,所述第一数值阈值大于所述第二数值阈值。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    响应于所述评分数值小于第三数值阈值,解散所述目标群组;
    其中,所述第三数值阈值小于所述第二数值阈值。
  8. 根据权利要求6所述的方法,其特征在于,所述根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整,包括:
    响应于所述评分数值大于所述第一数值阈值,且所述目标群组的成员数量与所述目标群组当前的成员数量上限的比值大于第一比例阈值,执行根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整的步骤;
    响应于所述评分数值小于所述第二数值阈值,且所述目标群组的成员数量与所述目标群组当前的成员数量上限的比值小于第二比例阈值,执行根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整的步骤;
    其中,所述第一比例阈值大于所述第二比例阈值。
  9. 根据权利要求6所述的方法,其特征在于,所述根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整,包括:
    响应于所述评分数值小于所述第二数值阈值,获取目标成员数量上限,所述目标成员数量上限是所述目标群组当前的成员数量上限降低所述第二数量之后的得到的;
    响应于所述目标成员数量上限小于所述目标群组的成员数量,将所述目标群组的成员数量上限调整为所述目标群组的成员数量;
    响应于所述目标成员数量上限不小于所述目标群组的成员数量,将所述目标群组的成员数量上限调整为所述目标成员数量上限。
  10. 根据权利要求1所述的方法,其特征在于,所述获取目标群组的群组质量信息,包括:
    响应于满足触发条件,执行所述获取目标群组的群组质量信息的步骤;
    其中,所述触发条件包括以下条件中的至少一项:
    当前时间到达指定时间点;
    当前时间距离最近调整时间点之间的时长达到时长阈值,所述最近调整时间点是上一次调整所述目标群组的成员数量上限的时间点。
  11. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    向打开所述目标群组的终端发送群组通知消息,所述群组通知消息是用于 指示所述目标群组的成员数量上限已调整的消息。
  12. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    向打开所述目标群组的终端发送调整后的成员数量上限,以便所述终端在所述目标群组的成员列表中展示所述调整后的成员数量上限。
  13. 一种群组管理装置,其特征在于,所述装置用于计算机设备,所述装置包括:
    信息获取模块,用于获取目标群组的群组质量信息,所述群组质量信息用于指示所述目标群组中的群组成员对所述目标群组的使用情况;
    评分获取模块,用于根据所述群组质量信息获取所述目标群组的评分数值;
    策略获取模块,用于根据所述目标群组的评分数值获取所述目标群组的成员数量上限调整策略;
    调整模块,用于根据所述成员数量上限调整策略,对所述目标群组的成员数量上限进行调整。
  14. 一种计算机设备,其特征在于,所述计算机设备包含处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至12任一所述的群组管理方法。
  15. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如权利要求1至12任一所述的群组管理方法。
PCT/CN2021/095267 2020-07-23 2021-05-21 群组管理方法、装置、计算机设备及存储介质 WO2022016978A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010719306.8A CN112000924B (zh) 2020-07-23 2020-07-23 群组管理方法、装置、计算机设备及存储介质
CN202010719306.8 2020-07-23

Publications (1)

Publication Number Publication Date
WO2022016978A1 true WO2022016978A1 (zh) 2022-01-27

Family

ID=73466538

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095267 WO2022016978A1 (zh) 2020-07-23 2021-05-21 群组管理方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN112000924B (zh)
WO (1) WO2022016978A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000924B (zh) * 2020-07-23 2023-11-07 广州市百果园信息技术有限公司 群组管理方法、装置、计算机设备及存储介质
CN112967145B (zh) * 2021-01-18 2024-03-26 北京达佳互联信息技术有限公司 入群信息生成方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200036761A1 (en) * 2018-07-25 2020-01-30 Eduard Weinwurm Group Chat Application with Reputation Scoring
CN111062824A (zh) * 2019-12-04 2020-04-24 腾讯科技(深圳)有限公司 群组成员处理方法、装置、计算机设备及存储介质
CN111324259A (zh) * 2020-03-18 2020-06-23 腾讯科技(成都)有限公司 群组创建方法、装置和存储介质
CN112000924A (zh) * 2020-07-23 2020-11-27 广州市百果园信息技术有限公司 群组管理方法、装置、计算机设备及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347720A (zh) * 2018-09-26 2019-02-15 上海掌门科技有限公司 确定群组成员、发送加入群组的请求的方法和设备
CN111162923B (zh) * 2019-12-31 2022-11-15 广州市百果园信息技术有限公司 即时通讯群的排名方法、装置、设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200036761A1 (en) * 2018-07-25 2020-01-30 Eduard Weinwurm Group Chat Application with Reputation Scoring
CN111062824A (zh) * 2019-12-04 2020-04-24 腾讯科技(深圳)有限公司 群组成员处理方法、装置、计算机设备及存储介质
CN111324259A (zh) * 2020-03-18 2020-06-23 腾讯科技(成都)有限公司 群组创建方法、装置和存储介质
CN112000924A (zh) * 2020-07-23 2020-11-27 广州市百果园信息技术有限公司 群组管理方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN112000924A (zh) 2020-11-27
CN112000924B (zh) 2023-11-07

Similar Documents

Publication Publication Date Title
WO2022016978A1 (zh) 群组管理方法、装置、计算机设备及存储介质
CN110138732B (zh) 访问请求的响应方法、装置、设备及存储介质
CN110545246B (zh) 一种基于令牌桶的限流方法、装置和计算机可读介质
WO2018133306A1 (zh) 内容分发网络中的调度方法和设备
US8874671B2 (en) Electronic message metering and traffic management in a networked environment
WO2016188099A1 (zh) 基于账户活跃度的系统资源分配方法及装置
US8751582B1 (en) Managing presence subscriptions for messaging services
US20180032484A1 (en) Dynamic message display method, server, and terminal
CN102594675B (zh) 流量控制系统及方法
US8265607B2 (en) System and method for providing an interactive content portal on a mobile device
JP6518008B2 (ja) 情報をプッシュする方法、装置、およびシステム
CN112714029B (zh) 一种内容分发网络带宽调度的方法、装置及设备
CN105897550A (zh) 一种推送离线消息的方法及设备
US10506024B2 (en) System and method for equitable processing of asynchronous messages in a multi-tenant platform
US11630552B1 (en) Highlighting comments on online systems
WO2018161940A1 (zh) 媒体文件的推送方法及装置、存储介质以及电子装置
WO2021057500A1 (zh) 一种消息发送管理方法及装置
US20170289288A1 (en) Pushing news feed content to client devices
CN104199970B (zh) 网页数据更新处理方法及装置
CN102104631A (zh) 一种基于云端计算技术的知识系统中的服务质量保障方法
US20160092938A1 (en) Requesting advertisements inserted into a feed of content items based on advertising policies enforced by an online system
CN111753065A (zh) 请求响应方法、系统、计算机系统和可读存储介质
CN111340230A (zh) 一种服务提供方法、装置、服务器及计算机可读存储介质
US20050060360A1 (en) Method, system and program product for managing system resources
Vega-Redondo Network organizations

Legal Events

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

Ref document number: 21845640

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21845640

Country of ref document: EP

Kind code of ref document: A1