Chat group management method and device, storage medium and server
By automatically switching chat group status by preset timetables and group attribute information, the problems of group management complexity and resource waste in the existing technology are solved, efficient and flexible group management is achieved, and user burden is reduced.
Patent Information
- Application Number
- CN202411527267.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-03
AI Technical Summary
The existing chat group management functions lack the function of timed activation and deactivation, which causes groups to remain active during periods when communication is not required, occupying resources and may be illegally used, increasing the management complexity of users and waste of resources.
Determine the repetition period and timetable through the group attribute information of the preset chat group, automatically switch the group status, send notification messages to hide or display the group, prohibit or allow message delivery, and realize intelligent management.
It effectively meets the needs of periodic communication, reduces resource waste and illegal use, improves the flexibility and efficiency of group use, and reduces the burden of manual management of users.
Smart Images

Figure CN119254737A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile instant messaging, and in particular to a chat group management method, device, storage medium and server. Background Art
[0002] With the rapid development of mobile communication technology, group communication has become an important tool for people's daily communication and work collaboration. However, the existing group management functions are relatively basic, lacking customized solutions for periodic communication and lacking the function of timed activation and deactivation, resulting in groups remaining active during periods when communication is not required. This not only occupies users' communication resources, but may also be used illegally, affecting user experience. In addition, in order to meet the needs of periodic communication, users may repeatedly close / create groups or repeatedly pull members, which not only reduces the efficiency of group use, but also increases the complexity of management. Summary of the invention
[0003] The embodiments of the present application provide a chat group management method, device, storage medium and server, which can solve the problem of complicated chat group management in the prior art. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a chat group management method, the method comprising:
[0005] Determine the length of the repetition cycle, and the deactivation schedule and activation schedule set in the repetition cycle according to the preset group attribute information of the chat group, wherein the deactivation schedule includes at least one time interval, and the activation schedule includes at least one time interval;
[0006] When detecting that the current time enters the deactivation schedule, determining whether the current state of the chat group is an activated state, and if so, sending a deactivation notification message to each member in the chat group, the deactivation notification message is used to instruct the terminal device of each member to hide the chat group in the message list and the contact list, and prohibit each member from sending and receiving chat messages in the chat group;
[0007] When it is detected that the current time enters the activation schedule, it is determined whether the current state of the chat group is a disabled state. If so, an activation notification message is sent to each member in the chat group. The activation notification message is used to instruct each member's terminal device to display the chat group in the message list and contact list, and allow each member to send and receive chat messages in the chat group.
[0008] In a second aspect, an embodiment of the present application provides a chat group management device, the device comprising:
[0009] A determination unit, configured to determine the length of a repetition period, and a deactivation schedule and an activation schedule set in the repetition period according to group attribute information of a preset chat group, wherein the deactivation schedule includes at least one time interval, and the activation schedule includes at least one time interval;
[0010] a deactivation unit, configured to, when detecting that the current time enters the deactivation schedule, determine whether the current state of the chat group is an enabled state, and if so, send a deactivation notification message to each member in the chat group, wherein the deactivation notification message is used to instruct each member's terminal device to hide the chat group in a message list and a contact list, and prohibit each member from sending or receiving chat messages in the chat group;
[0011] An activation unit is used to determine whether the current state of the chat group is a disabled state when detecting that the current time enters the activation schedule. If so, an activation notification message is sent to each member in the chat group, and the activation notification message is used to instruct each member's terminal device to display the chat group in the message list and contact list, and allow each member to send and receive chat messages in the chat group.
[0012] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0013] In a fourth aspect, an embodiment of the present application provides a server, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0014] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0015] Through the preset chat group attribute information and schedule settings, the periodic automatic switching and intelligent management of the group status are realized, which effectively meets the users' periodic communication and interaction needs, enhances the flexibility and pertinence of group use, reduces illegal use and waste of resources, avoids repeated creation of groups and repeated pulling of members, ensures the efficient use of group resources, and reduces the manual management burden of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a schematic diagram of the network architecture provided by the embodiment of the present application;
[0018] Figure 2 It is a flowchart of a chat group management method provided in an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of a group setting interface provided in an embodiment of the present application;
[0020] Figure 4 It is a structural diagram of a chat group management device provided by the present application;
[0021] Figure 5 It is a structural diagram of a server provided by this application. DETAILED DESCRIPTION
[0022] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0023] Figure 1 An exemplary system architecture that can be applied to the chat group management method or chat group management device of the present application is shown.
[0024] like Figure 1 As shown, the system architecture may include: a terminal device 101, a terminal device 103 and a server 102. The terminal device 101, the terminal device 103 and the server 102 may communicate with each other through a network, and the network is used as a medium for providing a communication link between the above-mentioned units. The network may include various types of wired communication links or wireless communication links, for example: a wired communication link includes an optical fiber, a twisted pair or a coaxial cable, etc., and a wireless communication link includes a Bluetooth communication link, a wireless fidelity (WIreless-FIdelity, Wi-Fi) communication link or a microwave communication link, etc.
[0025] Among them, terminal device 101 and terminal device 103 correspond to members in the chat group. The members send and receive messages in the chat group through the terminal devices. Server 103 transfers the messages of the members in the chat group and manages the chat group.
[0026] It should be noted that the terminal device and the server 102 can be hardware or software. When the terminal device 101 and the server 102 are hardware, they can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the terminal device and the server 102 are software, they can be implemented as multiple software or software modules (for example, to provide distributed services), or as a single software or software module, which is not specifically limited here.
[0027] Various communication client applications can be installed on the terminal device of the present application, such as: video recording applications, video playback applications, voice interaction applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0028] The terminal device can be hardware or software. When the terminal device is hardware, it can be various terminal devices with a display screen, including but not limited to smart phones, tablet computers, laptops, and desktop computers. When the terminal device is software, it can be installed in the terminal devices listed above. It can be implemented as multiple software or software modules (for example: used to provide distributed services), or it can be implemented as a single software or software module, which is not specifically limited here.
[0029] When the terminal device is hardware, a display device and a camera may be installed thereon. The display device may be any device capable of realizing a display function, and the camera is used to collect video streams; for example, the display device may be a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user may use the display device on the terminal device to view displayed text, pictures, videos and other information.
[0030] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be used as required.
[0031] The following will be combined with the attached Figure 2 , the chat group management method provided by the embodiment of the present application is described in detail. Among them, the chat group management device in the embodiment of the present application can be Figure 1 The server shown.
[0032] See also Figure 2 , which is a flow chart of a chat group management method provided in an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps:
[0033] S201. Determine the length of a repetition cycle, and a deactivation schedule and an activation schedule set in the repetition cycle according to group attribute information of a preset chat group.
[0034] Among them, the server first accesses a database or memory structure storing information related to the chat group. Read the group attribute information of a specific chat group, which usually includes the length of the repetition period, the deactivation schedule, and the activation schedule. Extract the length of the repetition period from the group attribute information, which is usually in days, weeks, or months. The server calculates the start and end time range of each complete cycle based on the length of the repetition period. Extract the deactivation schedule information, which includes at least one deactivation time interval. Each deactivation time interval consists of a start time and an end time, indicating that the chat group should be deactivated during the time period. The server stores these deactivation time intervals in the memory structure to quickly query whether the current time falls within a certain deactivation time interval. Extract the activation schedule information, which includes at least one activation time interval. Each activation time interval also consists of a start time and an end time, indicating that the chat group should be activated during the time period. The server also stores these activation time intervals in the memory structure to quickly query whether the current time falls within a certain activation time interval. The server associates the deactivation schedule and the activation schedule with the repetition period. At the beginning of each recurrence period, the server determines the status of the chat group (enabled or disabled) based on the current date and time, as well as the preset recurrence period, deactivation schedule, and activation schedule.
[0035] To improve query efficiency, the server may adopt some optimization strategies, such as pre-calculating the activation and deactivation status in the future and caching this status information. When the current time is close to the boundary of a time interval, the server will update the status information in the cache to ensure the accuracy of the status query.
[0036] In some embodiments of the present application, it also includes:
[0037] Displaying a group setting interface on the user's terminal device;
[0038] Receive a user's instruction to set a field value of a group attribute on a group setting interface;
[0039] Determine whether the user has the setting permission;
[0040] If yes, the length of the repetition period is determined according to the field value of the group attribute set by the user, and a time selection interface is popped up, the time selection interface including a plurality of candidate basic unit times corresponding to the repetition period;
[0041] selecting at least one basic unit time from among a plurality of basic unit times as an activation schedule based on a selection instruction of a user, and using the remaining basic unit times as a deactivation schedule; or
[0042] At least one basic unit time is selected as a deactivation schedule among a plurality of basic unit times based on a selection instruction of a user, and the remaining basic unit times are selected as an activation schedule.
[0043] Among them, the chat group setting interface is displayed on the user's terminal device (such as a mobile phone, computer, etc.). The interface contains various fields of group attributes, such as group name, description, repetition period length, enable / disable schedule, etc. The terminal device receives the setting instructions of the group attribute field values entered by the user through the interface. These instructions may include modifying the group name, description, setting the repetition period length and enable / disable schedule, etc. The terminal device or server determines whether the user has the authority to modify the chat group attributes. If the user has the authority, continue to execute the subsequent steps; if the user does not have the authority, an error prompt is displayed and the setting process is terminated. The server extracts the length of the repetition period from the instructions set by the user, such as daily, weekly, monthly, etc.
[0044] The server pops up a time selection interface through the user's terminal device, which displays multiple candidate basic unit times corresponding to the repetition period (such as each hour of each day, each day of each week, etc.). The user selects at least one basic unit time as the activation schedule through the interface, and the remaining basic unit time is automatically used as the deactivation schedule. Alternatively, the user selects at least one basic unit time as the deactivation schedule, and the remaining basic unit time is automatically used as the activation schedule. The user's selection instruction is sent to the server through the terminal device. The server receives the user's selection instruction and updates the attribute information of the chat group according to the instruction. The updated group attribute information (including the length of the repetition period, activation / deactivation schedule, etc.) is stored in a database or memory structure.
[0045] Further, the start time and end time of the activation period are set on the time selection interface, as well as the content of the reminder information, the field value of the group attribute indicates weekly repetition, the length of the repetition period is one week, and the basic unit time of the multiple candidates is Monday to Sunday; or
[0046] The field value of the group attribute indicates monthly repetition, the length of the repetition period is one year, and the basic unit time of the multiple candidates is from January to December;
[0047] The field value of the group attribute indicates seasonal repetition, the length of the repetition period is one year, and the multiple candidate basic time units are spring, autumn, and winter;
[0048] The field value of the group attribute indicates that it is repeated yearly, the length of the repetition period is one year, and the basic time unit of multiple candidates is 1 year to 10 years;
[0049] The field value of the group attribute indicates repetition by date, the length of the repetition period is one month, and the basic time unit of the multiple candidates is 1 to 31 days.
[0050] The open period represents the selected basic time unit. The server extracts the type (weekly, monthly, quarterly, yearly, or date-based) and length of the repetition period from the instruction set by the user.
[0051] Repeat by week: The length of the repeating cycle is one week, and the candidate basic unit time is Monday to Sunday.
[0052] Repeat by month: The length of the repeating cycle can be one year (but selected by month), and the candidate basic unit time is January to December.
[0053] Repeating by seasons: The length of the repeating cycle is one year. The candidate basic time units are spring (March-May), summer (June-August), autumn (September-November), and winter (December-February, or February-April of the following year according to meteorology, but this is simplified here).
[0054] Repeat by year: The length of the repetition cycle is one year, but the candidate basic time unit can be extended to 1 to 10 years (if the user wants to repeat every year, select 1 year; if they want to repeat every two years, select 2 years, and so on). However, it should be noted that the "length" here refers to the total time span covered by the repetition cycle, and the actual selection unit (i.e. whether to enable / disable it every year) is still based on one year.
[0055] Repeat by date: The length of the recurrence period is one month (but selected by date), and the candidate basic time unit is 1 to 31 days (the actual selectable date range needs to be adjusted according to the month).
[0056] The server can also repeat according to custom settings, and users can flexibly choose the repetition method based on their needs.
[0057] For example, see Figure 3 The schematic diagram of the group setting interface shown in FIG. 1 includes the following fields: group name, group attribute, repetition attribute, enable period, and group status. The user sets the field value of each field on the group setting interface.
[0058] The server builds a permission control based on the identities of each member in the chat group: All group members can display the group settings interface. When a user who is a group owner displays the group settings interface, the field values of "Group Name", "Group Attributes", and "Group Status" can all be edited. When a user who is an administrator enters the group settings interface, the field values of "Group Name", "Group Attributes", and "Group Status" can be edited. When an ordinary user who is a group member displays the group settings interface, only the field value of "Group Name" can be edited; the field values of "Group Attributes" and "Group Status" are grayed out and cannot be edited.
[0059] Figure 3 A diagram showing the group settings interface. When the group owner or administrator enters the terminal device group settings interface, click Group Properties to enter the group settings interface. The default value of the group attribute field in the interface is "No Repeat", which means that the chat group is always enabled, and all group members can see the group at any time and enter the group for communication and interaction; users can set the field value of the group attribute to "Repeat by Week", "Repeat by Month", "Repeat by Season", "Repeat by Year", "Repeat by Date", "Repeat by Holiday", or "Custom". Figure 3 The field value of the group attribute is set to repeat by date. The pop-up time selection interface includes multiple candidate basic time units: "1st", "2nd", "3rd"... "31st". After the user selects a date, a check mark is added to the date, and then the enabled period and reminder information of the selected date are entered.
[0060] S202. When it is detected that the current time enters the deactivation schedule, determine whether the current state of the chat group is enabled. If yes, send a deactivation notification message to each member in the chat group. The deactivation notification message is used to instruct each member's terminal device to hide the chat group in the message list and contact list, and prohibit each member from sending and receiving chat messages in the chat group.
[0061] Among them, the server obtains the current system time periodically or in real time. Compare the current time with all time intervals in the deactivation schedule to determine whether the current time falls within a certain deactivation time interval. If the current time enters the deactivation schedule, the server further queries the current status of the chat group. If the group status is enabled (that is, members can send and receive messages, and the group is visible in the message list and contact list), proceed to the next step. The server generates a deactivation notification message, which contains necessary information such as the deactivation reason and deactivation time. Traverse all members in the chat group and send a deactivation notification message to each member's terminal device through the message push system. The notification message instructs the member's terminal device to hide the chat group in the message list and contact list. The server updates the status of the chat group to a deactivated state. During the deactivation period, the server refuses to process any message sending and receiving requests from the chat group.
[0062] S203. When it is detected that the current time enters the activation schedule, determine whether the current state of the chat group is disabled. If yes, send an activation notification message to each member in the chat group. The activation notification message is used to instruct each member's terminal device to display the chat group in the message list and contact list, and allow each member to send and receive chat messages in the chat group.
[0063] Among them, the server also obtains the current system time regularly or in real time. Compare the current time with all time intervals in the activation schedule to determine whether the current time falls within a certain activation time interval. If the current time enters the activation schedule, the server further queries the current status of the chat group. If the group status is disabled (that is, members cannot send and receive messages, and the group is not visible in the message list and contact list), proceed to the next step. The server generates an activation notification message, which contains necessary information such as the activation reason and activation time. Traverse all members in the chat group and send an activation notification message to each member's terminal device through the message push system. The notification message instructs the member's terminal device to display the chat group in the message list and contact list. The server updates the status of the chat group to the enabled state. During the activation period, the server allows processing of message sending and receiving requests from the chat group.
[0064] In an embodiment of the present application, a chat group in a deactivated state still supports the search of chat records. When the chat group is in a deactivated state, the server receives a chat record search instruction from any member of the chat group; the chat record search request carries a keyword; the corresponding chat record is searched in the historical chat record of the chat group according to the keyword, and the searched data is returned to the member.
[0065] Among them, when the chat group is in a disabled state, the server still receives chat record search instructions from any member of the chat group.
[0066] The search instruction contains the keyword that the user wants to search for, and is used to find messages containing the keyword in the historical chat records. The server verifies whether the member who initiated the search has the authority to search the historical chat records of the chat group. The judgment may be based on factors such as the group settings, the role or permission level of the member. If the member has the search permission, the server searches the historical chat records of the chat group based on the provided keyword. The search process may involve querying the chat record database to find message records containing the specified keyword. The server organizes the queried chat records, which may include key information such as the sender, receiver, sending time, and message content of the message. As needed, the server can also sort, paginate, or filter the query results to improve the availability and readability of the results. The server returns the organized query results to the member who initiated the search through the terminal device, and the member views the search results on the terminal device.
[0067] In an embodiment of the present application, the server supports users to manually switch the status of a chat group. The server receives a user's request to switch the status of the chat group; determines whether the user has switching authority, and if so, switches the current status of the chat group, and sends a status notification message to each member in the chat group.
[0068] Among them, the server receives a status switching request for the chat group from the user. The request may be initiated by a group administrator or a member with specific permissions to manually change the current status of the group (such as switching from an enabled state to a disabled state, or from a disabled state to an enabled state). The server verifies whether the user who initiated the status switching request has the authority to perform the operation. It is usually judged based on the user's role, permission level, or group settings. If the user has the switching permission, the server switches the current status of the chat group according to the request. This may involve updating group status information, adjusting group settings, or triggering related events and notifications. The server sends a status notification message to each member in the chat group to inform them that the group status has changed. The notification message may contain key information such as the time, reason, and new status of the status switch. Members can receive and view these notification messages on their terminal devices to learn about the latest changes in the group status.
[0069] In an embodiment of the present application, the server collects the active data of the chat group regularly or in real time, including key indicators such as the amount of messages sent, the frequency of member interactions, and the number of online users. The data can be obtained by analyzing data sources such as chat records and member behavior logs. The server analyzes and evaluates the activity level of the chat group based on the collected active data, for example, using statistical analysis, machine learning and other methods to identify the peak period, trough period and periodic changes of group activities. Based on the analysis results of the activity level, the server generates a recommended deactivation schedule. The schedule is intended to recommend deactivating the group during a period of low group activity to reduce unnecessary resource consumption and interruptions, while maintaining the activity of the group and the interest of members. The server sends the generated recommended deactivation schedule to designated users, usually group administrators or members with relevant permissions. These users can view the recommended schedule on the terminal device and decide whether to adopt it based on the actual situation.
[0070] The embodiments of the present application specifically include the following beneficial effects:
[0071] By setting recurring cycles and specific schedules, this solution can accurately match the periodic communication and interaction needs of chat groups, such as regular meetings, seasonal events, etc., ensuring that the group is active when needed and silent when not needed.
[0072] Users can flexibly set activation and deactivation schedules based on the characteristics of the group and the needs of members, making the use of the group more targeted and efficient.
[0073] Hiding groups during inactive periods effectively prevents groups from being misused or abused, reduces unnecessary message interference and waste of resources. At the same time, this also optimizes the user's message list space resources and keeps the message list neat and orderly.
[0074] By periodically enabling and disabling groups, we can avoid the frequent creation of new groups and repeated pulling of members due to temporary needs, reduce management costs, and improve the utilization of group resources.
[0075] This solution ensures that the group can quickly become active when needed and remain silent when not needed, thereby better serving specific communication purposes and improving the efficiency of group resource utilization.
[0076] Through intelligent reminders and automatic status switching functions, this solution greatly reduces the burden of manual group management for users and improves user satisfaction and convenience. Users can achieve automatic group management without frequently manually adjusting group status or sending notification messages.
[0077] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0078] See also Figure 4 , which shows a schematic diagram of the structure of a chat group management device provided by an exemplary embodiment of the present application, hereinafter referred to as device 4. The device 4 can be implemented as all or part of the server through software, hardware or a combination of both. The device 4 includes: a determination unit 401, a deactivation unit 402, and an activation unit 403.
[0079] A determination unit 401 is used to determine the length of the repetition period, and the deactivation schedule and activation schedule set in the repetition period according to the preset group attribute information of the chat group, wherein the deactivation schedule includes at least one time interval, and the activation schedule includes at least one time interval;
[0080] A deactivation unit 402 is used to determine whether the current state of the chat group is an enabled state when detecting that the current time enters the deactivation schedule, and if so, to send a deactivation notification message to each member in the chat group, wherein the deactivation notification message is used to instruct each member's terminal device to hide the chat group in the message list and contact list, and prohibit each member from sending and receiving chat messages in the chat group;
[0081] The enabling unit 403 is used to determine whether the current state of the chat group is a disabled state when detecting that the current time enters the enabling schedule. If so, an enabling notification message is sent to each member in the chat group. The enabling notification message is used to instruct each member's terminal device to display the chat group in the message list and contact list, and allow each member to send and receive chat messages in the chat group.
[0082] In one or more possible embodiments, the system further includes: a setting unit configured to:
[0083] Displaying a group setting interface on the user's terminal device;
[0084] receiving a setting instruction of the user on the group setting interface for the field value of the group attribute;
[0085] Determine whether the user has setting authority;
[0086] If yes, the length of the repetition period is determined according to the field value of the group attribute set by the user, and a time selection interface is popped up, wherein the time selection interface includes a plurality of candidate basic unit times corresponding to the repetition period;
[0087] selecting at least one basic unit time from a plurality of basic unit times as an activation schedule based on a selection instruction of the user, and using the remaining basic unit times as a deactivation schedule; or
[0088] At least one basic unit time is selected from a plurality of basic unit times as a deactivation schedule based on the selection instruction of the user, and the remaining basic unit times are selected as an activation schedule.
[0089] In one or more possible embodiments, the start time and the end time of the activation period are set on the time selection interface, and the content of the reminder information is set;
[0090] The field value of the group attribute indicates that it is repeated on a weekly basis, the length of the repetition period is one week, and the basic unit time of the multiple candidates is from Monday to Sunday; or
[0091] The field value of the group attribute indicates monthly repetition, the length of the repetition period is one year, and the basic unit time of the plurality of candidates is from January to December;
[0092] The field value of the group attribute indicates that it repeats in seasons, the length of the repetition period is one year, and the multiple candidate basic time units are spring, autumn, and winter;
[0093] The field value of the group attribute indicates that it is repeated yearly, the length of the repetition period is one year, and the multiple candidate basic time units are 1 to 10 years;
[0094] The field value of the group attribute indicates repetition by date, the length of the repetition period is one month, and the multiple candidate basic time units are from 1 to 31 days.
[0095] In one or more possible embodiments, the user with setting authority is an administrator or a group owner in the chat group.
[0096] In one or more possible embodiments, it further includes:
[0097] A search unit, configured to receive a chat record search instruction from any member of the chat group when the chat group is in an inactive state; the chat record search request carries a keyword;
[0098] According to the keyword, the corresponding chat record is searched in the historical chat record of the chat group, and the searched data is returned to the member.
[0099] In one or more possible embodiments, it further includes:
[0100] A switching unit, configured to receive a user's request for switching the status of the chat group;
[0101] Determine whether the user has the switching authority, and if so, switch the current state of the chat group, and send a status notification message to each member in the chat group.
[0102] In one or more possible embodiments, it further includes:
[0103] A generating unit is used to generate a recommended inactivity time period within the repetition cycle according to the activity level of the chat group, and send the recommended inactivity time period to a designated user.
[0104] It should be noted that the device 4 provided in the above embodiment only uses the division of the above functional modules as an example when executing the chat group management method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above functions. In addition, the chat group management device provided in the above embodiment and the chat group management method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
[0105] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0106] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 2 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 2 The specific description of the illustrated embodiment will not be repeated here.
[0107] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the chat group management method described in the above embodiments.
[0108] See also Figure 5 , which is a schematic diagram of the structure of a server provided in the embodiment of the present application. Figure 5 As shown, the server 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .
[0109] The communication bus 502 is used to realize the connection and communication between these components.
[0110] The user interface 503 may include input units such as a keyboard and a touch screen.
[0111] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0112] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts within the entire server 500, and executes various functions and processes data of the server 500 by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 501 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.
[0113] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be optionally at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program.
[0114] exist Figure 5In the server 500 shown in FIG. 1 , the user interface 503 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 501 can be used to call the application stored in the memory 505 and specifically execute the following steps: Figure 2 The specific process can be referred to Figure 2 As shown, no further description is given here.
[0115] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0116] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A chat group management method, characterized in that: include: Determine the length of the repetition cycle, and the deactivation schedule and activation schedule set in the repetition cycle according to the preset group attribute information of the chat group, wherein the deactivation schedule includes at least one time interval, and the activation schedule includes at least one time interval; When detecting that the current time enters the deactivation schedule, determining whether the current state of the chat group is an activated state, and if so, sending a deactivation notification message to each member in the chat group, the deactivation notification message is used to instruct the terminal device of each member to hide the chat group in the message list and the contact list, and prohibit each member from sending and receiving chat messages in the chat group; When it is detected that the current time enters the activation schedule, it is determined whether the current state of the chat group is a disabled state. If so, an activation notification message is sent to each member in the chat group. The activation notification message is used to instruct each member's terminal device to display the chat group in the message list and contact list, and allow each member to send and receive chat messages in the chat group.
2. The method according to claim 1, characterized in that: Also includes: Displaying a group setting interface on the user's terminal device; receiving a setting instruction of the user on the group setting interface for the field value of the group attribute; Determine whether the user has setting authority; If yes, the length of the repetition period is determined according to the field value of the group attribute set by the user, and a time selection interface is popped up, wherein the time selection interface includes a plurality of candidate basic unit times corresponding to the repetition period; selecting at least one basic unit time from a plurality of basic unit times as an activation schedule based on a selection instruction of the user, and using the remaining basic unit times as a deactivation schedule; or At least one basic unit time is selected from a plurality of basic unit times as a deactivation schedule based on the selection instruction of the user, and the remaining basic unit times are selected as an activation schedule.
3. The method according to claim 2, characterized in that Setting the start time and end time of the activation period and the content of the reminder information on the time selection interface; The field value of the group attribute indicates that it is repeated on a weekly basis, the length of the repetition period is one week, and the basic unit time of the multiple candidates is from Monday to Sunday; or The field value of the group attribute indicates monthly repetition, the length of the repetition period is one year, and the basic unit time of the plurality of candidates is from January to December; The field value of the group attribute indicates that it repeats in seasons, the length of the repetition period is one year, and the multiple candidate basic time units are spring, autumn, and winter; The field value of the group attribute indicates that it is repeated yearly, the length of the repetition period is one year, and the multiple candidate basic time units are 1 to 10 years; The field value of the group attribute indicates repetition by date, the length of the repetition period is one month, and the multiple candidate basic time units are from 1 to 31 days.
4. The method according to claim 2 or 3, characterized in that: The user with setting authority is the administrator or group owner of the chat group.
5. The method according to claim 4, characterized in that Also includes: When the chat group is in an inactive state, receiving a chat record search instruction from any member of the chat group; The chat record search request carries keywords; According to the keyword, the corresponding chat record is searched in the historical chat record of the chat group, and the searched data is returned to the member.
6. The method according to claim 2, 3 or 5, characterized in that: Also includes: Receiving a status switching request from a user for the chat group; Determine whether the user has the switching authority, and if so, switch the current state of the chat group, and send a status notification message to each member in the chat group.
7. The method according to claim 6, characterized in that Also includes: A suggested inactivity time period within the repetition cycle is generated according to the activity level of the chat group, and the suggested inactivity time period is sent to a designated user.
8. A chat group management device, characterized in that: include: A determination unit, configured to determine the length of a repetition period, and a deactivation schedule and an activation schedule set in the repetition period according to group attribute information of a preset chat group, wherein the deactivation schedule includes at least one time interval, and the activation schedule includes at least one time interval; a deactivation unit, configured to, when detecting that the current time enters the deactivation schedule, determine whether the current state of the chat group is an enabled state, and if so, send a deactivation notification message to each member in the chat group, wherein the deactivation notification message is used to instruct each member's terminal device to hide the chat group in a message list and a contact list, and prohibit each member from sending or receiving chat messages in the chat group; An activation unit is used to determine whether the current state of the chat group is a disabled state when detecting that the current time enters the activation schedule. If so, an activation notification message is sent to each member in the chat group, and the activation notification message is used to instruct each member's terminal device to display the chat group in the message list and contact list, and allow each member to send and receive chat messages in the chat group.
9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 7.
10. A server, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 7.
