Session management methods, devices, electronic devices and storage media
By displaying the link entry information of chat sessions and obtaining condition information in instant messaging applications, the system automatically detects the admission conditions of session members, solves the problem of inaccurate session time, and achieves efficient session management and enhances the sense of time.
Patent Information
- Application Number
- CN202011143418.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-23
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2040-10-23
AI Technical Summary
In existing instant messaging applications, inaccurate timing of conversations makes it difficult to start and continue, affecting the efficiency of video or conferences.
By displaying the link entry information of the target chat session, the conditions for joining the target chat session are obtained, including the initial session conditions and session admission conditions. Session members who do not meet the initial conditions are prohibited from joining, and information interaction is triggered until the session admission conditions are met and they are allowed to join.
It enables unified management of sessions, improves session efficiency, enhances time management, and ensures that sessions proceed smoothly as planned.
Smart Images

Figure CN114513493B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically to a session management method, apparatus, electronic device, and storage medium. Background Technology
[0002] Instant messaging (IM) applications are software that uses instant messaging technology to enable online chat and communication. Users can interact with other users through instant messaging applications, and realize chat sessions, video sessions, or video conferences, etc.
[0003] Current chat sessions, video calls, meetings, or live streams typically involve multiple people agreeing on a time to start the conversation. However, punctuality is a frequent issue, severely impacting the start and continuation of video calls or meetings. Summary of the Invention
[0004] This application provides a session management method, apparatus, electronic device, and storage medium, which can effectively improve session efficiency and enhance time awareness.
[0005] This application provides a session management method, including:
[0006] Displays the entry point information for the target chat session;
[0007] In response to a target session member’s trigger operation on the link entry information, obtain the condition information for joining the target chat session, the condition information including initial session conditions and session admission conditions;
[0008] When the target session member does not meet the initial session conditions, the target session member is prohibited from joining the target chat session, triggering information interaction with the target session member for session admission.
[0009] When the information interaction result meets the session admission conditions, the target session member is allowed to join the target chat session.
[0010] Accordingly, embodiments of this application also provide a session management device, including:
[0011] The display unit is used to display the link entry information of the target chat session;
[0012] The acquisition unit is used to acquire condition information for joining the target chat session in response to a trigger operation by a target session member on the link entry information. The condition information includes initial session conditions and session admission conditions.
[0013] The triggering unit is used to prevent the target session member from joining the target chat session and to trigger information interaction with the target session member for session admission when the target session member does not meet the initial session conditions.
[0014] An access unit is configured to allow the target session member to join the target chat session when the information interaction result meets the session admission conditions.
[0015] Optionally, in some embodiments, the initial session conditions include a chat session admission time, and the triggering unit may include a blocking subunit and a triggering subunit, as follows:
[0016] The blocking subunit is used to block the target session member from joining the target chat session when the triggering operation of the target session member is detected to exceed the chat session admission time.
[0017] The triggering subunit is used to send the session admission conditions to the target session member and trigger information interaction for session admission with the target session member.
[0018] Optionally, in some embodiments, the session admission conditions include virtual item distribution rules. The triggering subunit can be specifically used to send the virtual item distribution rules to the target session member, so that the target session member distributes virtual items based on the virtual item distribution rules; when the virtual items distributed by the target session member are detected, the information exchange for session admission is completed.
[0019] Specifically, the access unit can be used to allow the target session member to join the target chat session when the information interaction result meets the virtual item distribution rules.
[0020] Optionally, in some embodiments, the virtual item distribution rule includes a preset virtual item distribution limit. Specifically, the access unit can be used to detect whether the virtual items distributed by the target session member meet the preset virtual item distribution limit when the information interaction result meets the virtual item distribution rule; if the virtual items distributed by the target session member meet the preset virtual item distribution limit, then the target session member is allowed to join the target chat session.
[0021] Optionally, in some embodiments, the initial session conditions include chat session admission members, and the triggering unit may include a blocking subunit and a triggering subunit, as follows:
[0022] The blocking subunit is used to prevent the target session member from joining the target chat session when it is detected that the target session member is not a chat session admission member;
[0023] The triggering subunit is used to send the session admission conditions to the target session member and trigger information interaction for session admission with the target session member.
[0024] Optionally, in some embodiments, the session admission conditions include session admission application rules, and the triggering subunit can be specifically used to send the session admission application rules to the target session member, so that the target session member can apply for session admission based on the session admission application rules; when the target session member completes the session admission application, the information interaction for session admission is completed.
[0025] Specifically, the access unit can be used to allow the target session member to join the target chat session when the information interaction result meets the session admission application rules.
[0026] Optionally, in some embodiments, the initial session conditions include a chat session reminder time, and the session management device may further include a reminder unit, as follows:
[0027] Specifically, the reminder unit can be used to detect whether the chat session admission member has entered the target chat session when a preset chat session reminder time is reached. If the chat session admission member has not entered the target chat session, a session reminder is sent to the chat session admission member. The session reminder includes the session admission conditions.
[0028] Optionally, in some embodiments, the session management device may further include a generation unit, which may include a display subunit and a generation subunit, as follows:
[0029] The display subunit is used to receive a target chat session generation instruction and display a chat session management page based on the generation instruction. The chat session management page includes chat session generation controls.
[0030] The generation subunit is used to generate a target chat session and corresponding link entry information when a confirmation operation for the chat session generation control is detected.
[0031] Optionally, in some embodiments, the generation subunit may be specifically used to display a chat session settings page, which includes a settings confirmation control, when a trigger operation for the chat session settings control is detected; generate condition information for the target chat session and display a chat session management page when a confirmation operation for the settings confirmation control is detected; and generate the target chat session and corresponding link entry information when a confirmation operation for the chat session generation control is detected.
[0032] Optionally, in some embodiments, the generating subunit can also be used to synchronize the condition information of the target chat session with the server;
[0033] Specifically, the acquisition unit can be used to obtain the condition information for joining the target chat session from the server in response to the trigger operation of the target session member on the link entry information.
[0034] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute steps in any of the session management methods provided in embodiments of this application.
[0035] Furthermore, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in any of the session management methods provided in embodiments of this application.
[0036] According to one aspect of this application, a computer program product or computer program is provided, the computer product or computer program including computer instructions stored in a computer-readable storage medium, a processor of a computer device reading the computer instructions from the computer-readable storage medium, the processor executing the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations of the above-described session management aspect.
[0037] This embodiment can display the link entry information of the target chat session. Then, in response to a trigger operation by a target session member on the link entry information, it obtains the condition information for joining the target chat session. The condition information includes initial session conditions and session admission conditions. Next, when the target session member does not meet the initial session admission conditions, the target session member is prohibited from joining the target chat session, triggering information interaction with the target session member for session admission. Then, when the information interaction result meets the session admission conditions, the target session member is allowed to join the target chat session. This scheme can effectively improve the efficiency of the session and enhance time management. Attached Figure Description
[0038] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0039] Figure 1aThis is a schematic diagram of a scenario for the session management method provided in an embodiment of this application;
[0040] Figure 1b This is a first flowchart of the session management method provided in the embodiments of this application;
[0041] Figure 2a This is a second flowchart of the session management method provided in the embodiments of this application;
[0042] Figure 2b This is a first schematic diagram of the chat session management page provided in the embodiments of this application;
[0043] Figure 2c This is a second schematic diagram of the chat session management page provided in the embodiments of this application;
[0044] Figure 2d This is a schematic diagram of a single chat session provided in an embodiment of this application;
[0045] Figure 2e This is a first schematic diagram of displaying electronic red envelope messages provided in an embodiment of this application;
[0046] Figure 2f This is a second schematic diagram showing an electronic red envelope message provided in an embodiment of this application;
[0047] Figure 2g This is a first schematic diagram illustrating the rules for distributing virtual items, provided in an embodiment of this application.
[0048] Figure 2h This is a second schematic diagram illustrating the rules for distributing virtual items, provided in an embodiment of this application.
[0049] Figure 3 This is a schematic diagram of the structure of the session management device provided in the embodiments of this application;
[0050] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0052] The principles of this application are illustrated by way of example implementation in a suitable computing environment. In the following description, specific embodiments of this application will be described with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to several times as being performed by a computer, and computer execution as referred to herein includes operations by a computer processing unit representing electronic signals of data in a structured format. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location in memory, which has specific characteristics defined by the data format. However, the principles of this application are described in the foregoing text, which is not intended to be limiting, and those skilled in the art will understand that many of the following steps and operations can also be implemented in hardware.
[0053] The term "unit" as used herein can be considered as a software object executing on the computing system. The different components, units, engines, and services described herein can be considered as implementation objects on the computing system. The apparatus and method described herein can be implemented in software or hardware, both of which are within the scope of this application.
[0054] The terms "first," "second," and "third," etc., used in this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but some embodiments may also include steps or units not listed, or some embodiments may include other steps or units inherent to these processes, methods, products, or apparatuses.
[0055] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0056] This application provides a session management method, apparatus, electronic device, and storage medium. The session management apparatus can be integrated into an electronic device, which may be a server or a terminal, etc.
[0057] For example, such as Figure 1aAs shown, firstly, the electronic device integrating a session management system can display the link entry information of the target chat session. Then, in response to a trigger operation by a target session member regarding the link entry information, it obtains the condition information for joining the target chat session. This condition information includes initial session conditions and session admission conditions. Next, when the target session member does not meet the initial session admission conditions, joining the target chat session is prohibited, triggering information interaction for session admission with the target session member. Then, when the information interaction result meets the session admission conditions, joining the target chat session is allowed. Because this solution automatically detects whether a target session member meets the initial session admission conditions based on the condition information for joining the target chat session, and automatically triggers information interaction for session admission with the target session member when the initial session admission conditions are not met (e.g., sending a red envelope), compared to sending red envelopes through chat communication within a chat session, which can affect the start of a video or meeting, this solution effectively achieves unified session management, improves session efficiency, and enhances time management.
[0058] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0059] This embodiment will be described from the perspective of a session management device, which can be integrated into an electronic device, such as a server or a terminal; wherein the terminal can include mobile phones, tablets, laptops, and personal computers (PCs).
[0060] A session management method includes: displaying link entry information of a target chat session; then, in response to a triggering operation by a target session member on the link entry information, obtaining condition information for joining the target chat session, the condition information including initial session conditions and session admission conditions; then, when the target session member does not meet the initial session admission conditions, prohibiting the target session member from joining the target chat session, triggering information interaction with the target session member for session admission; and then, when the information interaction result meets the session admission conditions, allowing the target session member to join the target chat session.
[0061] like Figure 1b As shown, the specific process of this session management method can be as follows:
[0062] 101. Display the link entry information of the target chat session.
[0063] The link to the target chat session can be displayed in the chat interface, such as in one-on-one chats or group chats, or it can be displayed on the search page of an electronic device through user search.
[0064] For example, before displaying the link entry information of the target chat session, a command to generate the target chat session can be received. Based on the command, a chat session management page is displayed. The chat session management page includes a chat session generation control. When a confirmation operation is detected for the chat session generation control, the target chat session and its corresponding link entry information are generated. The control can take many forms, such as icons, input boxes, or buttons.
[0065] For example, it can receive a command to generate a target chat session on the user's operation page on the client, and display a chat session management page according to the command. To facilitate triggering the command to generate the target chat session, an interface for this command can be set on the user's operation page on the client. This interface can take various forms, such as a selection box, a button, or an input box. In this embodiment, a chat session button can be set on the user's operation page; clicking the chat session button will trigger the command to generate the target chat session.
[0066] The client can include chat session clients, such as instant messaging clients.
[0067] The chat session management page may include chat session settings controls. For example, when a confirmation operation is detected for the chat session generation control, the target chat session and corresponding link entry information are generated, which may include:
[0068] When a trigger operation is detected for the chat session settings control, the chat session settings page is displayed, which includes a settings confirmation control; when a confirmation operation is detected for the settings confirmation control, the condition information of the target chat session is generated, and the chat session management page is displayed; when a confirmation operation is detected for the chat session generation control, the target chat session and the corresponding link entry information are generated.
[0069] In order to facilitate data acquisition by the client or other clients, ensure that the normal operation of the chat session is not affected when the client's data is lost, and facilitate timely data retrieval, the client can synchronize the condition information of the target chat session with the server after setting up the chat session and generating the condition information of the target chat session, so that the server can store the condition information of the target chat session.
[0070] 102. In response to the target session member's trigger operation on the link entry information, obtain the condition information for joining the target chat session.
[0071] For example, in response to a target session member's triggering action regarding the link entry information, conditional information for joining the target chat session can be obtained from the server. This conditional information may include initial session conditions and session admission conditions.
[0072] The initial session conditions refer to the basic information of the target chat session and the basic conditions for entering the target chat session. For example, the initial session conditions may include the chat session access time, the members allowed to enter the chat session, the chat session reminder time, etc. The chat session access time can be set to the start time of the chat session, or it can be earlier or later than the start time of the chat session. It can be flexibly set according to the needs.
[0073] Among them, session admission conditions refer to the conditions that need to be met when the initial session conditions are not met but still want to enter the chat session. For example, session admission conditions may include virtual item distribution rules, session admission application rules, etc.
[0074] Virtual items are items that cannot be touched in the real world and are not real; they are a product of the virtual world, including equipment and currency in online games, as well as membership icons and electronic red envelopes in communication software.
[0075] 103. When the target session member does not meet the initial session conditions, the target session member is prohibited from joining the target chat session, and information interaction for session admission with the target session member is triggered.
[0076] In one embodiment, the initial session conditions may include a chat session admission time. Specifically, when it is detected that the triggering operation of the target session member exceeds the chat session admission time, the target session member is prohibited from joining the target chat session, the session admission conditions are sent to the target session member, and information interaction for session admission with the target session member is triggered.
[0077] The session access conditions may include virtual item distribution rules. Sending the session access conditions to the target session member triggers information interaction for session access with the target session member. Specifically, the virtual item distribution rules may be sent to the target session member so that the target session member can distribute virtual items based on the virtual item distribution rules. When the virtual items distributed by the target session member are detected, the information interaction for session access is completed.
[0078] For example, when the virtual item is an electronic red envelope, the specific rule for distributing the virtual item can be that no one can enter the chat session without sending a red envelope. The rule for distributing the virtual item can be sent to the target chat member and can be displayed in the form of a pop-up (toast) on the chat session page or the chat page corresponding to the target chat member to prompt the target chat member. When it is detected that the target chat member has sent an electronic red envelope, the information interaction for session access with the target chat member is completed.
[0079] In one embodiment, the initial session conditions include chat session admission members. Specifically, when it is detected that the target session member is not a chat session admission member, the target session member is prohibited from joining the target chat session, the session admission conditions are sent to the target session member, and information interaction for session admission with the target session member is triggered.
[0080] The session admission conditions may include session admission application rules. Sending the session admission conditions to the target session member triggers information interaction for session admission with the target session member. Specifically, the session admission application rules may be sent to the target session member so that the target session member can apply for session admission based on the session admission application rules. When the target session member completes the session admission application, the information interaction for session admission is completed.
[0081] For example, when setting up a chat session, you can set the participants and the reminder time. When the reminder time is reached, it checks whether all eligible participants have entered the target chat session. If any participants are still not in the target chat session, a reminder is triggered, sending the access conditions to those not in the target chat session. For instance, the initial session conditions could include the reminder time. Specifically, when the preset reminder time is reached, it checks whether eligible participants have entered the target chat session. If they haven't, a reminder can be sent to them, which may include the access conditions, or the access conditions can be sent directly to them.
[0082] 104. When the information interaction result meets the session admission conditions, the target session member is allowed to join the target chat session.
[0083] In one embodiment, the session admission criteria may include virtual item distribution rules. When the information interaction result meets the session admission criteria, the target session member is allowed to join the target chat session. Specifically, when the information interaction result meets the virtual item distribution rules, the target session member is allowed to join the target chat session.
[0084] The virtual item distribution rules include a preset virtual item distribution limit. For example, when the virtual item is an electronic red envelope, the preset virtual item distribution limit can be set to a minimum of 5 yuan. For instance, when the information interaction result meets the virtual item distribution rules, allowing the target session member to join the target chat session can specifically involve detecting whether the virtual item distributed by the target session member meets the preset virtual item distribution limit; if the virtual item distributed by the target session member meets the preset virtual item distribution limit, then allowing the target session member to join the target chat session.
[0085] In one embodiment, the session admission conditions may include session admission application rules, wherein when the information interaction result meets the session admission conditions, the target session member is allowed to join the target chat session. Specifically, when the information interaction result meets the session admission application rules, the target session member is allowed to join the target chat session.
[0086] As can be seen from the above, this embodiment can display the link entry information of the target chat session. Then, in response to the triggering operation of the target chat member on the link entry information, it obtains the condition information for joining the target chat session. The condition information includes initial session conditions and session admission conditions. Next, when the target chat member does not meet the initial session admission conditions, the target chat member is prohibited from joining the target chat session, and information interaction for session admission with the target chat member is triggered. Then, when the information interaction result meets the session admission conditions, the target chat member is allowed to join the target chat session. Because this solution automatically detects whether the target chat member meets the initial session admission conditions based on the condition information for joining the target chat session, and automatically triggers information interaction for session admission with the target chat member when the initial session admission conditions are not met, such as sending a red envelope, compared to sending red envelopes through chat communication in the chat session, which affects the start of the main video or meeting, it can effectively achieve unified management of the session, improve the efficiency of the session, and enhance the sense of time in multi-person scenarios.
[0087] Based on the method described in the previous embodiment, the following will provide further detailed examples.
[0088] In this embodiment, the example will be that the session management device is specifically integrated into an electronic device, the target chat session is a live video broadcast, and the virtual item is an electronic red envelope.
[0089] like Figure 2a As shown, a session management method can be described in the following steps:
[0090] 201. The electronic device displays the chat session management page.
[0091] For example, the electronic device can specifically receive a command to generate a target chat session on a user operation page of a client, and display a chat session management page based on the command. The client can include a chat session client, such as an instant messaging client.
[0092] To facilitate triggering the command to generate a target chat session, an interface for this command can be set on the user interface of the client. This command interface can take various forms, such as a selection box, a button, or an input box. In this embodiment, a chat session button can be set on the user interface; clicking the chat session button will trigger the command to generate the target chat session.
[0093] The chat session management page may include chat session generation controls. These controls can take many forms, such as icons, input boxes, and buttons. For example, ... Figure 2b The "Schedule Live Stream" button is shown.
[0094] 202. When the electronic device detects a confirmation operation for the chat session generation control, it generates the target chat session and the corresponding link entry information.
[0095] The chat session management page may include chat session settings controls. For example, when an electronic device detects a trigger operation on the chat session settings control, the chat session settings page is displayed. The chat session settings page includes a settings confirmation control. When a confirmation operation on the settings confirmation control is detected, the condition information of the target chat session is generated, and the chat session management page is displayed. When the electronic device detects a confirmation operation on the chat session generation control, the target chat session and the corresponding link entry information are generated.
[0096] The target chat session's conditional information can include initial session conditions and session access conditions. Initial session conditions can include chat session access time, accessible members, chat session reminder time, etc. Session access conditions can include virtual item distribution rules, session access application rules, etc. For example, ... Figure 2bAs shown, users can click the settings button in the "Start" dialog box on the chat session management page to set the start time of the live video stream, click the settings button in the "Duration" dialog box to set the live stream duration, click the settings button in the "Invite Members" dialog box to select the members allowed to join the live video stream, click the settings button in the "Remind Me" dialog box to select how long before the live stream starts to display a reminder on the client, and click the settings button in the "Check-in Red Packet" dialog box to display the "Set Check-in Red Packet" page. Figure 2c As shown, on the "Set Check-in Red Packet" page, you can set the "Trigger Time," "Minimum Amount," whether to "send before entering the live stream," and "Method for reminding members to send red packets," etc. The trigger time refers to the time when the check-in red packet reminder is triggered, which is also the chat session access time. Once the trigger time arrives, the check-in red packet reminder will be triggered, and the target session member entering the video live stream after the trigger time will need to send a check-in red packet.
[0097] The chat session management page and chat session settings page can be displayed on the same screen in the client, such as setting "start" and "duration" for video live streaming on the same screen, or they can be displayed on different screens in the client, such as setting "trigger time" and "minimum amount" for check-in red envelopes on different screens. There are no restrictions here, and you can flexibly set them according to your experience.
[0098] 203. The electronic device synchronizes the condition information of the target chat session with the server.
[0099] In order to facilitate data acquisition by the client or other clients, and to ensure that the normal operation of the chat session is not affected when the client's data is lost, and to facilitate timely data retrieval, for example, after the chat session is set up and the condition information of the target chat session is generated, such as after clicking "Schedule Live Stream", the condition information of the video live stream can be synchronized with the server so that the server can store the condition information of the video live stream.
[0100] For example, the server can store data as shown in Table 1 below. The late arrival time can be earlier, later, or exactly at the start time. For instance, if someone is 5 minutes late (e.g., arriving 5 minutes before the start time), a red envelope (cash gift) should be sent.
[0101] Table 1
[0102] RoomID for video or meeting 1 Set the meeting start time (StartRoomTime) 2 PM on June 12, 2020 LateTime setting 2:05 PM on June 12, 2020 RedPay red envelope amount for check-in 5 yuan red envelope Sending a red envelope is required to access and continue watching the video. OpenStatus You can only watch the video after giving a red envelope.
[0103] 204. The electronic device displays the link entry information of the target chat session.
[0104] The link to the target chat session can be displayed in the chat interface, such as in one-on-one chats or group chats, or it can be displayed through user search. For example, ... Figure 2d As shown, the link to the live video stream can be displayed in the one-on-one chat interface with Teacher XXX.
[0105] 205. In response to a target session member's triggering operation on the link entry information, the electronic device obtains condition information for joining the target chat session from the server.
[0106] For example, an electronic device can respond to a triggering operation by a target session member regarding the link entry information and obtain condition information from the server for joining the target chat session. This condition information may include initial session conditions and session admission conditions. Specifically, the electronic device can obtain the video livestreaming condition information that was set in step 202 and synchronized to the server in step 203 from the server.
[0107] 206. When the target session member does not meet the initial session conditions, the electronic device prohibits the target session member from joining the target chat session and triggers information interaction with the target session member for session access.
[0108] For example, the electronic device can detect whether the target session member meets the initial session conditions based on the triggering operation of the target session member, such as whether the target session member is a chat session admission member. When the target session member is detected as a chat session admission member, it can detect whether the triggering operation of the target session member exceeds the chat session admission time. If the triggering operation of the target session member exceeds the chat session admission time, the target session member is prohibited from joining the target chat session, and the session admission conditions are sent to the target session member, triggering information interaction for session admission with the target session member.
[0109] For example, the electronic device can send the virtual item distribution rules to the target session member, so that the target session member can distribute virtual items based on the virtual item distribution rules; when the virtual item distributed by the target session member is detected, the information exchange for session access is completed.
[0110] For example, when the virtual item is an electronic red envelope, the specific rule for distributing the virtual item could be that no one can enter the chat session without receiving a red envelope. This rule could be sent to the target chat member. For instance, if the target member enters the chat by clicking a link to a live video stream displayed in the private chat interface, this rule could be displayed as a pop-up (toast) in their corresponding private chat interface. Figure 2g As shown. For example, if a target session member enters the live video stream through a search link, it can be displayed as a pop-up (toast) on the live video stream interface, such as... Figure 2h As shown, this is to inform the target session member of the access conditions for the live video stream. Once it is detected that the target session member has sent an electronic red envelope, the information exchange for session access with the target session member is completed.
[0111] When it is detected that the target session member is not a chat session admission member, the target session member is prohibited from joining the target chat session. The session admission application rules are sent to the target session member so that the target session member can apply for session admission based on the session admission application rules. When it is detected that the target session member has completed the session admission application, the session admission information exchange is completed.
[0112] When the video live stream reminder time, i.e., the trigger time, is reached, it is checked whether all members eligible for video live stream access have entered the live stream. If no eligible members have entered the live stream, a chat session reminder is triggered, sending the session access conditions to those who have not entered the live stream. For example, specifically, when a preset trigger time is reached, the electronic device checks whether the chat session eligible members have entered the live stream. If the chat session eligible members have not entered the live stream, a session reminder can be sent to them. The session reminder may include the session access conditions, i.e., reminding latecomers to send a red envelope (a digital gift).
[0113] The scenario of receiving virtual items such as electronic red envelopes sent by target session members includes, but is not limited to, one-on-one chat sessions, group chat sessions, or live streaming interfaces. For example, Figure 2e As shown, the electronic red envelope message can be displayed in the live video interface, or it can be displayed in the one-on-one chat interface with Teacher XXX. Figure 2f As shown in the image, the red envelope will appear in private chats and live video streams after it is issued, and can be claimed anywhere.
[0114] 207. When the information interaction result meets the session admission conditions, the electronic device allows the target session member to join the target chat session.
[0115] For example, an electronic device may allow the target chat member to join the target chat session when the information interaction result meets the virtual item distribution rules. For instance, when receiving a check-in red envelope from a target chat member, the target chat member may be allowed to enter the live video stream.
[0116] The virtual item distribution rules include preset virtual item distribution limits. For example, when the virtual item is an electronic red envelope, the preset virtual item distribution limit can be set to a minimum of 5 yuan. Specifically, when the information interaction result meets the virtual item distribution rules, the electronic device checks whether the amount of the electronic red envelope sent by the target session member is greater than or equal to 5 yuan. If the amount is greater than or equal to 5 yuan, the target session member is allowed to join the target chat session. If the amount is less than 5 yuan, subsequent video live streaming is blocked, and the target session member is not allowed to enter the video live stream. After the video live stream ends, it can be set that the target session member can watch the replay without sending a red envelope, or it can be set that the target session member must send a red envelope before watching the replay.
[0117] For example, when the electronic device detects that the target session member has completed the session access request, it can detect whether the session access request meets the session access request rules. If the session access request meets the session access request rules, the target session member is allowed to join the target chat session.
[0118] As can be seen from the above, this embodiment can display the link entry information of the target chat session. Then, in response to the triggering operation of the target chat member on the link entry information, it obtains the condition information for joining the target chat session. The condition information includes initial session conditions and session admission conditions. Next, when the target chat member does not meet the initial session admission conditions, the target chat member is prohibited from joining the target chat session, and information interaction for session admission with the target chat member is triggered. Then, when the information interaction result meets the session admission conditions, the target chat member is allowed to join the target chat session. Because this solution automatically detects whether the target chat member meets the initial session admission conditions based on the condition information for joining the target chat session, and automatically triggers information interaction for session admission with the target chat member when the initial session admission conditions are not met, such as sending a red envelope, compared to sending red envelopes through chat communication in the chat session, which affects the start of the main video or meeting, it can effectively achieve unified management of the session, improve the efficiency of the session, and enhance the sense of time in multi-person scenarios.
[0119] To better implement the above methods, this application also provides a session management device, which can be integrated into an electronic device, such as a server or a terminal.
[0120] For example, such as Figure 3As shown, the session management device may include a display unit 301, an acquisition unit 302, a triggering unit 303, and an access unit 304, as follows:
[0121] Display unit 301 is used to display the link entry information of the target chat session;
[0122] The acquisition unit 302 is used to acquire condition information for joining the target chat session in response to a trigger operation by a target session member on the link entry information. The condition information includes initial session conditions and session admission conditions.
[0123] Triggering unit 303 is used to prevent the target session member from joining the target chat session when the target session member does not meet the initial session conditions, and to trigger information interaction with the target session member for session admission.
[0124] Access unit 304 is used to allow the target session member to join the target chat session when the information interaction result meets the session admission conditions.
[0125] Optionally, in some embodiments, the initial session conditions include a chat session admission time, and the triggering unit 303 may include a blocking subunit and a triggering subunit, as follows:
[0126] The blocking subunit is used to block the target session member from joining the target chat session when the triggering operation of the target session member is detected to exceed the chat session admission time.
[0127] The triggering subunit is used to send the session admission conditions to the target session member and trigger information interaction for session admission with the target session member.
[0128] Optionally, in some embodiments, the session admission conditions include virtual item distribution rules. The triggering subunit can be specifically used to send the virtual item distribution rules to the target session member, so that the target session member distributes virtual items based on the virtual item distribution rules; when the virtual items distributed by the target session member are detected, the information exchange for session admission is completed.
[0129] The access unit 304 can be specifically used to allow the target session member to join the target chat session when the information interaction result meets the virtual item distribution rules.
[0130] Optionally, in some embodiments, the virtual item distribution rule includes a preset virtual item distribution limit. The access unit 304 can be specifically used to detect whether the virtual items distributed by the target session member meet the preset virtual item distribution limit when the information interaction result meets the virtual item distribution rule; if the virtual items distributed by the target session member meet the preset virtual item distribution limit, then the target session member is allowed to join the target chat session.
[0131] Optionally, in some embodiments, the initial session conditions include chat session admission members, and the triggering unit 303 may include a blocking subunit and a triggering subunit, as follows:
[0132] The blocking subunit is used to prevent the target session member from joining the target chat session when it is detected that the target session member is not a chat session admission member;
[0133] The triggering subunit is used to send the session admission conditions to the target session member and trigger information interaction for session admission with the target session member.
[0134] Optionally, in some embodiments, the session admission conditions include session admission application rules, and the triggering subunit can be specifically used to send the session admission application rules to the target session member, so that the target session member can apply for session admission based on the session admission application rules; when the target session member completes the session admission application, the information interaction for session admission is completed.
[0135] The access unit 304 can be specifically used to allow the target session member to join the target chat session when the information interaction result meets the session admission application rules.
[0136] Optionally, in some embodiments, the initial session conditions include a chat session reminder time, and the session management device may further include a reminder unit 305, as follows:
[0137] The reminder unit 305 can be specifically used to detect whether the chat session admission member has entered the target chat session when a preset chat session reminder time is reached. If the chat session admission member has not entered the target chat session, a session reminder is sent to the chat session admission member. The session reminder includes the session admission conditions.
[0138] Optionally, in some embodiments, the session management device may further include a generation unit 306, which may include a display subunit and a generation subunit, as follows:
[0139] The display subunit is used to receive a target chat session generation instruction and display a chat session management page based on the generation instruction. The chat session management page includes chat session generation controls.
[0140] The generation subunit is used to generate a target chat session and corresponding link entry information when a confirmation operation for the chat session generation control is detected.
[0141] Optionally, in some embodiments, the generation subunit may be specifically used to display a chat session settings page, which includes a settings confirmation control, when a trigger operation for the chat session settings control is detected; generate condition information for the target chat session and display a chat session management page when a confirmation operation for the settings confirmation control is detected; and generate the target chat session and corresponding link entry information when a confirmation operation for the chat session generation control is detected.
[0142] Optionally, in some embodiments, the generating subunit can also be used to synchronize the condition information of the target chat session with the server;
[0143] The acquisition unit 302 can be specifically used to obtain the condition information for joining the target chat session from the server in response to the trigger operation of the target session member on the link entry information.
[0144] In practice, each of the above units can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.
[0145] As can be seen from the above, in this embodiment, the display unit 301 can display the link entry information of the target chat session. Then, the acquisition unit 302, in response to the triggering operation of the target session member on the link entry information, acquires the condition information for joining the target chat session. The condition information includes the initial session condition and the session admission condition. Next, when the target session member does not meet the initial session admission condition, the triggering unit 303 prohibits the target session member from joining the target chat session and triggers information interaction with the target session member for session admission. Then, when the information interaction result meets the session admission condition, the access unit 304 allows the target session member to join the target chat session. Because this solution incorporates conditional information into the target chat session, it automatically detects whether the target session member meets the initial session admission conditions based on this information. If the initial session admission conditions are not met, it automatically triggers information interaction with the target session member for session admission, such as sending a red envelope. Compared to sending red envelopes through chat communication in a chat session, which affects the start of the main video or meeting, this solution can effectively achieve unified session management, improve session efficiency, and enhance the sense of time in multi-person scenarios.
[0146] Furthermore, embodiments of this application also provide an electronic device, such as... Figure 4 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:
[0147] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that... Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0148] The processor 401 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and by calling data stored in the memory 402, it performs various functions and processes data, thereby performing overall detection of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 401.
[0149] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0150] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0151] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0152] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402 to realize various functions, as follows:
[0153] The system displays the link entry information of the target chat session. Then, in response to the triggering operation of the target chat member on the link entry information, it obtains the condition information for joining the target chat session. The condition information includes initial session conditions and session admission conditions. Next, when the target chat member does not meet the initial session admission conditions, the target chat member is prohibited from joining the target chat session, and information interaction for session admission with the target chat member is triggered. Then, when the information interaction result meets the session admission conditions, the target chat member is allowed to join the target chat session.
[0154] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0155] As can be seen from the above, this embodiment can display the link entry information of the target chat session. Then, in response to the triggering operation of the target chat member on the link entry information, it obtains the condition information for joining the target chat session. The condition information includes initial session conditions and session admission conditions. Next, when the target chat member does not meet the initial session admission conditions, the target chat member is prohibited from joining the target chat session, and information interaction for session admission with the target chat member is triggered. Then, when the information interaction result meets the session admission conditions, the target chat member is allowed to join the target chat session. Because this solution automatically detects whether the target chat member meets the initial session admission conditions based on the condition information for joining the target chat session, and automatically triggers information interaction for session admission with the target chat member when the initial session admission conditions are not met, such as sending a red envelope, compared to sending red envelopes through chat communication in the chat session, which affects the start of the main video or meeting, it can effectively achieve unified management of the session, improve the efficiency of the session, and enhance the sense of time in multi-person scenarios.
[0156] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0157] Therefore, embodiments of this application also provide a storage medium storing a plurality of instructions that can be loaded by a processor to execute steps in any of the session management methods provided in embodiments of this application. For example, the instructions can execute the following steps:
[0158] The system displays the link entry information of the target chat session. Then, in response to the triggering operation of the target chat member on the link entry information, it obtains the condition information for joining the target chat session. The condition information includes initial session conditions and session admission conditions. Next, when the target chat member does not meet the initial session admission conditions, the target chat member is prohibited from joining the target chat session, and information interaction for session admission with the target chat member is triggered. Then, when the information interaction result meets the session admission conditions, the target chat member is allowed to join the target chat session.
[0159] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0160] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0161] Since the instructions stored in the storage medium can execute the steps of any of the session management methods provided in the embodiments of this application, the beneficial effects that any of the session management methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0162] The foregoing has provided a detailed description of a session management method, apparatus, electronic device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A session management method, characterized in that, include: Displays the link to the live video stream; In response to a target session member's trigger operation on the link entry information, the condition information for entering the video live stream is obtained. The condition information includes initial session conditions and session admission conditions. The initial session conditions include chat session admission time, which is the time during which the target session member is allowed to enter the video live stream. The session admission conditions refer to the conditions that need to be met when the chat session admission time has expired and the member still wants to enter the video live stream. The session admission conditions include virtual item distribution rules. When the triggering operation is detected to exceed the chat session access time, the target session member is prohibited from entering the video live stream; The rules for distributing virtual items are displayed to prompt the target session members to distribute virtual items in order to enter the live video stream; When it is detected that the virtual items distributed by the target session member meet the virtual item distribution rules, the target session member is allowed to enter the video live stream; After the target session member distributes the virtual item, a red envelope message is displayed on the live streaming interface of the video live stream, which is used to prompt the recipient to claim the virtual item.
2. The method according to claim 1, characterized in that, The virtual item distribution rules include a preset virtual item distribution limit. When it is detected that a virtual item distributed by a target session member meets the virtual item distribution rules, allowing the target session member to enter the live video stream includes: If it is detected that the virtual items distributed by the target session member meet the preset virtual item distribution limit, then the target session member is allowed to enter the live video stream.
3. The method according to claim 1, characterized in that, The initial session conditions also include chat session admission members, and the method further includes: When it is detected that the target session member is not an admitted member of the chat session, the target session member is prohibited from entering the live video stream.
4. The method according to claim 3, characterized in that, The session admission conditions include session admission application rules. After prohibiting the target session member from entering the video live stream when it is detected that the target session member is not an admitted member of the chat session, the following further applies: The session admission request rules are displayed to prompt the target session member to apply for session admission based on the session admission request rules; When it is detected that the session admission request completed by the target session member meets the session admission request rules, the target session member is allowed to enter the live video stream.
5. The method according to claim 3, characterized in that, The initial session conditions include a chat session reminder time, and the method further includes: When the preset chat session reminder time is reached, it is detected whether the chat session admission members have entered the video live stream; If the chat session admission member does not enter the live video stream, a session reminder is sent to the chat session admission member, and the session reminder includes the session admission conditions.
6. The method according to any one of claims 1 to 5, characterized in that, Before displaying the link to the live video stream, the following is also included: Receive the video live stream generation instruction; Based on the generation instruction, a chat session management page is displayed, which includes a chat session generation control; When a confirmation operation is detected for the chat session generation control, the live video stream and the corresponding link entry information are generated.
7. The method according to claim 6, characterized in that, The chat session management page includes chat session settings controls. When a confirmation operation is detected for the chat session generation control, the live video stream and corresponding link entry information are generated, including: When a trigger operation is detected for the chat session settings control, the chat session settings page is displayed, which includes a settings confirmation control; When a confirmation operation is detected for the setting confirmation control, the condition information for the live video broadcast is generated, and the chat session management page is displayed; When a confirmation operation is detected for the chat session generation control, the live video stream and the corresponding link entry information are generated.
8. The method according to claim 7, characterized in that, After generating the condition information for the live video broadcast when a confirmation operation is detected for the setting confirmation control, the method further includes: Synchronize the condition information of the live video broadcast to the server; The step of obtaining the condition information for entering the live video stream in response to a trigger operation by a target session member regarding the link entry information includes: In response to a target session member's trigger operation on the link entry information, the conditions for entering the live video stream are obtained from the server.
9. A session management device, characterized in that, include: The display unit is used to display the link entry information for the live video stream; The acquisition unit is used to acquire the condition information for entering the video live stream in response to the trigger operation of the target session member on the link entry information. The condition information includes initial session conditions and session admission conditions. The initial session conditions include chat session admission time, which is the time during which the target session member is allowed to enter the video live stream. The session admission conditions refer to the conditions that need to be met when the chat session admission time has expired and the member still wants to enter the video live stream. The session admission conditions include virtual item distribution rules. A triggering unit is used to prevent the target session member from entering the live video stream when the triggering operation is detected to exceed the chat session access time. The display unit is also used to display the virtual item distribution rules to prompt the target session member to distribute virtual items in order to enter the live video stream; An access unit is configured to allow the target session member to enter the live video stream when it is detected that the virtual item issued by the target session member meets the virtual item issuance rules; The display unit is also configured to display a red envelope message on the live streaming interface of the video live stream after the target session member distributes the virtual item, and the red envelope message is used to prompt the recipient to claim the virtual item.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions which are executed by a processor to implement the session management method of any one of claims 1-8.
11. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being executed by the processor to implement the session management method as described in any one of claims 1-8.
12. A computer program product, characterized in that, The computer program product includes computer instructions that are executed by a processor to implement the session management method as described in any one of claims 1-8.
Citation Information
Patent Citations
Communication method and system thereof
CN105763417A