Terminal withdrawal method, device, electronic device and storage medium

Through the MQTT message queue telemetry transmission protocol, the terminal device independently exits the conference during video conference, solving the long-term occupation problem caused by failure of the approval of the consortium server and improving the user experience.

CN115580700BActive Publication Date: 2024-11-15HAINAN SHILIAN COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211124871.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-15
Publication Date
2024-11-15
Estimated Expiration
2042-09-15

AI Technical Summary

Technical Problem

In video conferencing, when the terminal device exits the conference, it needs to manage the server's approval, resulting in that if the approval is not passed, the terminal device may be occupied for a long time, affecting the user experience.

Method used

By using the MQTT message queue telemetry transmission protocol, the terminal device can independently generate and send a withdrawal message to notify the server to exit the meeting. It does not require the server's approval and directly delete or update the terminal status from the meeting information.

Benefits of technology

It realizes the active exit of terminal devices, avoids the long-term occupation problem caused by failure of server approval, and improves the user's network experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115580700B_ABST
    Figure CN115580700B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a terminal withdrawal method, device, electronic device and storage medium. The method comprises: receiving a message queue telemetry transmission (MQTT) message for instructing the terminal to withdraw from the conference; obtaining the terminal and the video network conference corresponding to the MQTT message, and determining the terminal as the withdrawal terminal of the video network conference. The embodiments of the present application can avoid the problem of the terminal being occupied for a long time and improve the network experience of the terminal user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network technology, and in particular to a terminal withdrawal method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of network technology, video conferencing has become widely popular in users' lives, work, and study. Video conferencing refers to a meeting in which people in two or more locations have face-to-face conversations through communication equipment and the Internet. Depending on the number of participating locations, video conferencing can be divided into point-to-point conferencing and multi-point conferencing.

[0003] At present, when a video network terminal is in a video network conference, if the video network terminal wants to exit the conference, the video network terminal needs to obtain the consent of the conference management server before it can exit the conference. In this process, after the conference management server receives the exit message sent by the video network terminal, it is necessary to go through the approval process for the exit message. After the conference management server completes the approval process, the conference management server removes the video network terminal from the conference to complete the exit operation. In this process, since the conference management server needs to go through the approval process, if the conference management server fails to approve the exit message, the video network terminal cannot exit the conference. Then, the video network terminal will remain in the conference, causing the video network terminal to be occupied all the time. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application are proposed to provide a terminal exit method, device, electronic device and storage medium that overcome the above problems or at least partially solve the above problems.

[0005] In a first aspect, an embodiment of the present application provides a terminal withdrawal method, which is applied to a visual network server, and the method includes:

[0006] Receive an MQTT (Message Queuing Telemetry Transport) message for instructing the terminal to quit the session;

[0007] The terminal and the visual network conference corresponding to the MQTT message are obtained, and the terminal is determined as the exit terminal of the visual network conference.

[0008] Optionally, the MQTT message for instructing the terminal to withdraw from the membership includes a subscription cancellation message, and the method further includes:

[0009] Publishing the MQTT message corresponding to the video networking conference;

[0010] The receiving of an MQTT message for instructing the terminal to withdraw from the membership includes:

[0011] When a unsubscribe message for the MQTT message corresponding to the video network conference is received, it is determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

[0012] Optionally, the MQTT message for instructing the terminal to withdraw from a meeting includes a withdrawal message, and the method further includes:

[0013] Subscribe to the MQTT withdrawal message corresponding to the video networking conference published by the terminal;

[0014] The receiving of an MQTT message for instructing the terminal to withdraw from the membership includes:

[0015] When the MQTT withdrawal message corresponding to the video network conference is received, it is determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

[0016] Optionally, determining the terminal as a withdrawal terminal of the video network conference includes:

[0017] Deleting the terminal information of the withdrawing terminal from the participant information of the video network conference; or

[0018] The status of the withdrawn terminal in the participant information of the video network conference is updated to the withdrawn status.

[0019] In a second aspect, an embodiment of the present application provides a terminal withdrawal method, which is applied to a terminal, and the method includes:

[0020] When exiting a video network conference, an MQTT message is generated to instruct the terminal to exit the conference;

[0021] The MQTT message is sent to notify the visual network server that the terminal is the exit terminal of the visual network conference.

[0022] In a third aspect, an embodiment of the present application provides a terminal withdrawal device, the device comprising:

[0023] An MQTT message receiving module, used to receive an MQTT message for instructing a terminal to withdraw from a membership;

[0024] The withdrawal terminal determination module is used to obtain the terminal and the visual network conference corresponding to the MQTT message, and determine the terminal as the withdrawal terminal of the visual network conference.

[0025] Optionally, the MQTT message for instructing the terminal to withdraw from the membership includes a subscription cancellation message, and the apparatus further includes:

[0026] An MQTT message publishing module, used to publish the MQTT message corresponding to the video networking conference;

[0027] The MQTT message receiving module includes:

[0028] The first MQTT message determination unit is used to determine that an MQTT message for instructing the terminal to withdraw from the conference is received when a cancellation message for the MQTT message corresponding to the video network conference is received.

[0029] Optionally, the MQTT message for instructing the terminal to withdraw from a meeting includes a withdrawal message, and the device further includes:

[0030] MQTT withdrawal message subscription module, used to subscribe to the MQTT withdrawal message corresponding to the video network conference published by the terminal;

[0031] The MQTT message receiving module includes:

[0032] The second MQTT message determination unit is used to determine that an MQTT message for instructing the terminal to exit the conference is received when an MQTT exit message corresponding to the video network conference is received.

[0033] Optionally, the withdrawal terminal determination module includes:

[0034] A terminal information deleting unit, used to delete the terminal information of the withdrawn terminal from the participant information of the video network conference;

[0035] The withdrawal status updating unit is used to update the status of the withdrawal terminal in the participant information of the video network conference to the withdrawal status.

[0036] In a fourth aspect, an embodiment of the present application provides a terminal withdrawal device, the device comprising:

[0037] An MQTT message generation module, used to generate an MQTT message for instructing the terminal to exit the video network conference when exiting the video network conference;

[0038] The MQTT message sending module is used to send the MQTT message to notify the visual network server that the terminal is the exit terminal of the visual network conference.

[0039] In a fifth aspect, an embodiment of the present application provides an electronic device, including:

[0040] one or more processors; and

[0041] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to execute any of the above-mentioned terminal exit methods.

[0042] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein a computer program stored in the medium enables a processor to execute any of the above-mentioned terminal exit methods.

[0043] The embodiments of the present application include the following advantages:

[0044] The solution provided by the embodiment of the present application receives an MQTT message for instructing the terminal to withdraw from the meeting, obtains the terminal and the video network conference corresponding to the MQTT message, and determines the terminal as the withdrawal terminal of the video network conference. The embodiment of the present application can realize the active withdrawal of the terminal through MQTT, without the need for the meeting management server to go through the approval process, and thus there is no situation where the meeting management server fails to approve the withdrawal message, thus avoiding the problem of the terminal being occupied for a long time and improving the network experience of the terminal user. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0046] Figure 2 A flowchart of a method for withdrawing from a terminal provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of another system architecture provided for an embodiment of the present application;

[0048] Figure 4 A flowchart of a method for determining an MQTT message provided in an embodiment of the present application;

[0049] Figure 5 A flowchart of another MQTT message determination method provided in an embodiment of the present application;

[0050] Figure 6 A flowchart of a method for determining a withdrawal terminal provided in an embodiment of the present application;

[0051] Figure 7 A flowchart of another method for withdrawing from a terminal provided in an embodiment of the present application;

[0052] Figure 8 A schematic diagram of the structure of a terminal withdrawal device provided in an embodiment of the present application;

[0053] Fig. 9 A schematic diagram of the structure of another terminal exit device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0055] Reference Figure 1 , shows a schematic diagram of a system architecture provided by an embodiment of the present application. Figure 1As shown, the system may include: a countersignature server, an MQTT message server, a meeting management server and terminals (terminal A and terminal B are shown in the figure).

[0056] The corresponding client of MQTT can be installed on the terminal and the conference management server side. When the terminal exits the video network conference, an MQTT message for instructing the terminal to exit the conference can be generated and sent to the MQTT message server. At this time, the terminal can complete the exit. The MQTT message server can forward the received MQTT message to the conference management server to notify the conference management server that the terminal is the exit terminal of the video network conference. In this process, after the terminal sends the MQTT message to the MQTT message server to exit the video network conference, the terminal can exit the video network conference without the need for the conference management server to review and approve the exit message. In addition, there will be no situation where the conference management server fails to approve the exit message, which can effectively avoid the problem of the terminal being occupied for a long time.

[0057] like Figure 1 As shown, the system provided by this embodiment may also include: a co-signing server, in which a client corresponding to MQTT is also installed, and the co-signing server can be used to count the terminal information participating in the visual network conference, such as counting the time when the terminal participates in the visual network conference, the terminal identification, the terminal participation status and other information. In a specific implementation, the co-signing server can interact with the MQTT message server and the conference management server, and the MQTT message server can send the received MQTT message to the co-signing server, and the co-signing server can update the terminal status information of the terminal participating in the visual network conference according to the terminal corresponding to the MQTT message and the visual network conference. The conference management server can interact with the co-signing server to obtain the terminal status information of the terminal participating in the visual network conference, so that the conference management server can update the local terminal information participating in the visual network conference according to the information of the participating terminals counted by the co-signing server.

[0058] Next, the terminal withdrawal method provided in the embodiment of the present application is described in detail with reference to specific embodiments.

[0059] Reference Figure 2 , shows a flowchart of the steps of a terminal withdrawal method provided by an embodiment of the present application, and the terminal withdrawal method can be applied to a visual network server, such as Figure 2 As shown, the terminal withdrawal method may include: step 201 and step 202.

[0060] Step 201: Receive an MQTT message for instructing a terminal to withdraw from a membership.

[0061] This application can be applied to the visual network, which is a real-time high-speed transmission network based on Ethernet hardware, and is a dedicated network for transmitting high-definition video and dedicated protocols. Video conferencing in the visual network involves the following parts.

[0062] Cross-autonomous conference: Each autonomous server corresponds to a conference management server. When the terminals under multiple autonomous servers are pulled to hold a conference, a cross-autonomous conference is started. The principle is that the main conference management server of the main venue under the main autonomous server pulls the terminals of the autonomous server to hold a conference, and sends the terminal information of the branch autonomous server to the branch conference management server of the branch venue through IP cascading to pull the branch venue meeting. The venues share information through Socket to realize the cross-autonomous conference function.

[0063] Meeting management server: also known as the meeting management and scheduling system, responsible for meeting control logic processing. The system is divided into two parts: meeting management Web (front-end page) and meeting management scheduling (back-end program, also known as meeting management server). Meeting management Web is a Java program used to display the status of the current meeting, user management, appointment management and other functions; meeting management scheduling is a C++ program responsible for the control and management of the meeting, interacting with the autonomous server to control signaling, and realizing a series of meeting business operations such as starting / stopping meetings, speaker switching, and dynamically adding and deleting participants.

[0064] Autonomous server: A program that controls the core server of the visual network to perform conference operations such as organizing and controlling meetings through the visual network protocol.

[0065] Conference control software: Conference control management software based on video networking installed on the PC (Personal Computer). The operator uses the conference control software to click on a series of conference operations such as starting a meeting, stopping a meeting, switching speakers, etc. The conference control software sends the corresponding video networking instructions to the conference management and dispatcher.

[0066] The embodiment of the present application can be applied to a visual network server, that is, the execution subject is a visual network server. In this example, the visual network server can be a conference management server in the visual network.

[0067] This example introduces an MQTT message server into the visual network, and installs the corresponding MQTT client on the terminal side and the visual network server side. The terminal can choose whether to participate in the visual network conference by itself through the MQTT message used to instruct the terminal to withdraw from the conference. The specific implementation process is as follows:

[0068] The video network server can publish the conference message of the video network conference, such as Figure 3As shown, the conference management system (i.e., the visual network server in this example) can publish conference messages for visual network conferences. When the conference management system publishes conference messages, the conference management system can perform a legality check on the conference messages to be published. If the check passes, the conference message is published. For example, the format of the conference message is checked to see if it meets business requirements. If so, the conference message of the visual network conference is published.

[0069] After the conference management server publishes the conference message of the video network conference, the terminal can subscribe to the conference message and generate an MQTT message for instructing the terminal to subscribe to the video network conference. Figure 3 As shown, the terminal can subscribe to the conference (i.e., subscribe to the conference message of the visual network conference) to obtain the MQTT message used to instruct the terminal to subscribe to the visual network conference. Before the terminal publishes the MQTT message indicating the terminal to subscribe to the visual network conference, it is necessary to verify the legitimacy of the MQTT message indicating the terminal to subscribe to the visual network conference. If the verification passes, the MQTT message indicating the terminal to subscribe to the visual network conference is published. For example, it is verified whether the format of the MQTT message to be published indicating the terminal to subscribe to the visual network conference meets the business requirements. If it does, the MQTT message indicating the terminal to subscribe to the visual network conference is published.

[0070] The MQTT server can receive an MQTT message published by a terminal indicating that the terminal has subscribed to a video network conference, and send the MQTT message to the conference management system to notify the conference management system that the terminal is a participating terminal of the video network conference.

[0071] Of course, if the terminal user does not want to participate in the video network conference, there is no need to subscribe to the conference messages of the video network conference published by the conference management system. Compared with the solution in the prior art that the conference management system pulls the video network terminal to force it to join the conference, this embodiment introduces the MQTT message server and installs the MQTT corresponding client on the terminal side and the conference management server side. The terminal can independently choose whether to participate in the video network conference. The conference management system no longer needs to pull the participating terminals. For terminals that do not need to join the conference, there is no need to subscribe, and the terminals do not need to be forced to join the conference, which improves the user's network experience.

[0072] In this example, the MQTT message server can also exchange information with the countersignature server, and the countersignature server can perform record query of conference and terminal status, etc. Specifically, after the MQTT message server receives the MQTT message sent by the terminal to instruct the terminal to participate in the video network conference, the MQTT message server can also send the MQTT message to the countersignature server, so that the countersignature server can parse the MQTT message, obtain the terminal identification of the participating terminal, and record the terminal identification corresponding to the video network conference. Figure 3As shown, the co-signing system (i.e., the co-signing server in this example) can record the conference and terminal status, that is, the co-signing system can record the terminals participating in the video network conference for the conference management system to query the participating terminals, etc.

[0073] After the terminal joins the video network conference, if the terminal wants to exit the video network conference midway, the terminal can publish an MQTT exit message for the video network conference, or unsubscribe from the conference message of the video network conference published by the video network server to generate an MQTT message instructing the terminal to exit.

[0074] In this example, there are two ways to generate an MQTT message instructing the terminal to withdraw from the conference. One is for the terminal to publish an MQTT withdrawal message for the video network conference to generate an MQTT message instructing the terminal to withdraw from the conference. The other is to unsubscribe from the conference message of the video network conference to generate an MQTT message instructing the terminal to withdraw from the conference. Figure 4 and Figure 5 This is described in detail as follows.

[0075] Reference Figure 4 , shows a flowchart of the steps of a MQTT message determination method provided by an embodiment of the present application, such as Figure 4 As shown, the MQTT message determination method may include: step 401, step 402 and step 403.

[0076] Step 401: Publish the MQTT message corresponding to the video networking conference.

[0077] In this embodiment, the visual network server can publish the MQTT message corresponding to the visual network conference. In the specific implementation, the visual network server can generate the MQTT message corresponding to the visual network conference based on the meeting information of the visual network conference (such as meeting time, meeting duration, meeting topic, meeting content, etc.) and publish the MQTT message.

[0078] After the visual networking server publishes the MQTT message corresponding to the visual networking conference, step 402 is executed.

[0079] Step 402: upon receiving a subscription message for the MQTT message corresponding to the video network conference, determining the terminal as a participant terminal of the video network conference.

[0080] After the video network server publishes the MQTT message corresponding to the video network conference, the terminal can choose whether to participate in the video network conference according to needs.

[0081] If you do not participate in the video networking conference, the terminal does not need to subscribe to the MQTT message of the video networking conference.

[0082] If participating in a video networking conference, the terminal can subscribe to the MQTT message of the video networking conference to generate a subscription message for the MQTT message corresponding to the video networking conference. At this time, the terminal can participate in the video networking conference.

[0083] After generating a subscription message for the MQTT message corresponding to the visual network conference on the terminal side, the terminal can send the subscription message for the MQTT message corresponding to the visual network conference to the MQTT message server, and the MQTT message server can forward the subscription message for the MQTT message corresponding to the visual network conference to the visual network server to notify the visual network server that the terminal is a participating terminal for the visual network conference.

[0084] After the terminal is determined as a participant terminal of the video network conference upon receiving a subscription message for the MQTT message corresponding to the video network conference, step 403 is executed.

[0085] Step 403: When receiving a cancel subscription message for the MQTT message corresponding to the video network conference, it is determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

[0086] When the terminal wants to exit the video network conference, the terminal can cancel the subscription to the MQTT message corresponding to the video network conference, that is, the terminal side executes the operation of unsubscribing from the MQTT message corresponding to the video network conference to generate an unsubscribe message for the MQTT message corresponding to the video network conference.

[0087] After generating a cancellation message for the MQTT message corresponding to the video networking conference on the terminal side, the terminal may send the cancellation message for the MQTT message corresponding to the video networking conference to the MQTT message server.

[0088] The MQTT message server can forward the unsubscribe message of the MQTT message corresponding to the visual network conference to the visual network server.

[0089] When the video network server receives a unsubscribe message for the MQTT message corresponding to the video network conference, it can determine that it has received an MQTT message for instructing the terminal to withdraw from the conference.

[0090] In the embodiment of the present application, the visual network server publishes the MQTT message corresponding to the visual network conference. The terminal can unsubscribe from the MQTT message of the visual network conference to exit the visual network conference. There is no need for the visual network server to approve the withdrawal message, which can avoid the situation where the terminal is occupied for a long time.

[0091] Reference Figure 5 , shows a flowchart of the steps of another MQTT message determination method provided by an embodiment of the present application, such as Figure 5As shown, the MQTT message determination method may include: step 501 and step 502.

[0092] Step 501: Subscribe to the MQTT withdrawal message corresponding to the video network conference published by the terminal.

[0093] In this embodiment, when the terminal wants to exit the video network conference, the terminal can publish an MQTT exit message for the video network conference, that is, the terminal actively publishes the exit message for the video network conference.

[0094] After the terminal publishes the MQTT exit message for the visual network conference, the MQTT message server can receive the MQTT exit message published by the terminal for the visual network conference, and send the MQTT exit message to the visual network server, so that the visual network server can subscribe to the MQTT exit message corresponding to the visual network conference published by the terminal.

[0095] After the MQTT withdrawal message corresponding to the video network conference published by the subscription terminal is received, step 502 is executed.

[0096] Step 502: When the MQTT withdrawal message corresponding to the video network conference is received, it is determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

[0097] When an MQTT withdrawal message corresponding to the video network conference is received, it can be determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

[0098] In the embodiment of the present application, the terminal can autonomously publish an MQTT withdrawal message to exit the visual network conference, thereby realizing autonomous withdrawal of the terminal without the need for the terminal to send a withdrawal application to the visual network server. Therefore, the visual network server does not need to review and approve the withdrawal message, which can avoid the situation where the terminal is occupied for a long time.

[0099] The two terminal exit modes provided in the embodiment of the present application can be selected by the terminal independently to realize dynamic terminal exit, and the embodiment does not limit this.

[0100] After receiving the MQTT message for instructing the terminal to withdraw from the membership, step 202 is executed.

[0101] Step 202: Obtain the terminal and the video network conference corresponding to the MQTT message, and determine the terminal as the exit terminal of the video network conference.

[0102] After receiving the MQTT message for instructing the terminal to exit the conference, the MQTT message can be parsed to obtain the terminal and the video network conference corresponding to the MQTT message. Specifically, the MQTT message contains the terminal identifier of the terminal and the conference identifier of the video network conference. After parsing the MQTT message, the terminal identifier and the conference identifier can be obtained, so that the terminal and the video network conference corresponding to the MQTT message can be determined based on the terminal identifier and the conference identifier.

[0103] After obtaining the terminal and the video network conference corresponding to the MQTT message, the terminal can be determined as the exit terminal of the video network conference. Specifically, the terminal information of the exit terminal can be deleted from the video network conference, or the state of the exit terminal can be updated to the exit state. Figure 6 This is described in detail as follows.

[0104] Reference Figure 6 , which shows a flowchart of a method for determining a withdrawal terminal provided by an embodiment of the present application, such as Figure 6 As shown, the method for determining a withdrawal terminal may include: step 601 and / or step 602.

[0105] Step 601: Delete the terminal information of the withdrawing terminal from the participant information of the video network conference.

[0106] In this embodiment, after the terminal and the video network conference corresponding to the MQTT message are obtained, the terminal information of the withdrawn terminal can be deleted from the participant information of the video network conference. For example, the participant information of the video network conference can include information such as the terminal identification of the participating terminal. If the terminal and the video network conference corresponding to the MQTT message are obtained, the terminal identification of the terminal and other information are deleted from the participant information of the video network conference.

[0107] Step 602: Update the status of the withdrawn terminal in the participant information of the video network conference to the withdrawn status.

[0108] After obtaining the terminal and the video network conference corresponding to the MQTT message, the status of the exiting terminal in the participant information of the video network conference can be updated to the exiting status. For example, the terminal status information of the participating terminal is displayed in the participant information of the video network conference, such as online status (indicating that the participating terminal is in the participating state), offline status (indicating that the participating terminal is in the exiting state), etc. If the terminal and the video network conference corresponding to the MQTT message are obtained, the status of the exiting terminal in the participant information is updated from the online state to the offline state, etc.

[0109] Of course, in a specific implementation, after the MQTT message server receives the MQTT message sent for the video network conference, the MQTT message server can also perform a legitimacy check on the MQTT message instructing the terminal to withdraw from the conference, such as Figure 3 Specifically, the MQTT message server can check whether the current exiting terminal is a terminal in the video network conference. The specific checking method can be that the MQTT message server checks the terminals participating in the video network conference through the countersignature server to determine whether the current exiting terminal is a terminal in the terminals participating in the video network conference. If so, the legitimacy check passes, otherwise the legitimacy check fails. The MQTT message is forwarded only after the legitimacy check passes.

[0110] In this embodiment, the MQTT message server can also send an MQTT message instructing the terminal to withdraw from the meeting to the co-signing server, so that the co-signing server can parse the MQTT message to obtain the withdrawn terminal and the video network conference, and the co-signing server can delete the withdrawn terminal from the terminals of the recorded video network conference, complete the update statistics of the terminals participating in the video network conference, and facilitate the query of the meeting management server.

[0111] In this embodiment, after the visual network server determines the terminal as the exit terminal of the visual network conference, it can also determine whether the exit terminal is the last terminal to participate in the visual network conference. If so, the visual network server can end the visual network conference. Specifically, after the visual network server deletes the terminal information of the exit terminal from the participant information of the visual network conference, or updates the status of the exit terminal in the participant information of the visual network conference to the exit status, the visual network server can query whether there are other participating terminals from the participant information of the visual network conference. If not, it means that the exit terminal is the last terminal to participate in the visual network conference, and the visual network server can end the visual network conference at this time.

[0112] The embodiment of the present application ends the meeting when it is determined that the removed terminal is the last terminal participating in the meeting, thereby avoiding occupation of network resources by the continuous opening of the meeting and improving the utilization rate of network resources.

[0113] The terminal withdrawal method provided in the embodiment of the present application receives an MQTT message for instructing the terminal to withdraw from the meeting, obtains the terminal and the video network conference corresponding to the MQTT message, and determines the terminal as the withdrawal terminal of the video network conference. The embodiment of the present application can realize the active withdrawal of the terminal through MQTT, without the need for the meeting management server to go through the approval process, and thus there is no situation where the meeting management server fails to approve the withdrawal message, thus avoiding the problem of the terminal being occupied for a long time and improving the network experience of the terminal user.

[0114] Reference Figure 7, shows a flowchart of another terminal withdrawal method provided by an embodiment of the present application, which can be applied to a terminal. Figure 7 As shown, the terminal withdrawal method may include: step 701 and step 702.

[0115] Step 701: When exiting a video network conference, generate an MQTT message for instructing the terminal to exit the conference.

[0116] The embodiment of the present application can be applied to a terminal, that is, the execution subject is a terminal. The terminal is a terminal participating in a visual network conference. In this example, the terminal can be a visual network terminal or a non-visual network terminal.

[0117] The MQTT message is a message used to instruct a terminal to exit a video conference.

[0118] When the terminal wants to exit the video network conference, the terminal may generate an MQTT message for instructing the terminal to exit the conference. Specifically, the generation method of the MQTT message for instructing the terminal to exit the conference may include the following two methods:

[0119] 1. The terminal publishes the MQTT withdrawal message corresponding to the video network conference to generate an MQTT message instructing the terminal to withdraw from the conference.

[0120] 2. The visual network server publishes the MQTT message corresponding to the visual network conference, and the terminal side performs the operation of unsubscribing from the MQTT message corresponding to the visual network conference to generate an MQTT message instructing the terminal to withdraw from the conference.

[0121] After the MQTT message for instructing the terminal to withdraw from the membership is generated, step 702 is executed.

[0122] Step 702: Send the MQTT message to notify the video networking server that the terminal is the exit terminal of the video networking conference.

[0123] After generating an MQTT message for instructing the terminal to withdraw from the conference, the MQTT message can be sent to the MQTT message server, so that the MQTT message server forwards the MQTT message to the visual network server to notify the visual network server that the terminal is the withdrawal terminal of the visual network conference. The way in which the visual network server determines that the terminal is the withdrawal terminal of the visual network conference includes but is not limited to the following two ways:

[0124] 1. The video network server deletes the terminal information of the withdrawn terminal from the participant information of the video network conference.

[0125] 2. The video network server updates the status of the withdrawn terminal in the participant information of the video network conference to the withdrawn status.

[0126] The embodiment of the present application introduces an MQTT server, and pre-installs the MQTT corresponding client on both the terminal side and the visual network server side. When the terminal exits the visual network conference, it can actively exit the conference by generating an MQTT message to instruct the terminal to exit the conference, without the need for the conference management server to conduct approval and other processes, and thus there is no situation where the conference management server fails to approve the exit message, thus avoiding the problem of the terminal being occupied for a long time.

[0127] The terminal withdrawal method provided in the embodiment of the present application generates an MQTT message for instructing the terminal to withdraw from the conference when exiting the video network conference, and sends the MQTT message to notify the video network server that the terminal is the withdrawal terminal of the video network conference. The embodiment of the present application can realize the active withdrawal of the terminal through MQTT, without the need for the conference management server to conduct approval and other processes, and thus there is no situation where the conference management server fails to approve the withdrawal message, which avoids the problem of the terminal being occupied for a long time and improves the network experience of the terminal user.

[0128] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0129] Reference Figure 8 , shows a schematic diagram of the structure of a terminal exit device provided in an embodiment of the present application. Figure 8 As shown, the terminal withdrawal device 800 may include the following modules:

[0130] The MQTT message receiving module 810 is used to receive an MQTT message for instructing a terminal to withdraw from a membership.

[0131] In this embodiment, the MQTT message receiving module 810 may be an MQTT client installed on the visual network server.

[0132] In a specific implementation, after a terminal joins a video networking conference, if the terminal wants to exit the video networking conference midway, the terminal can publish an MQTT exit message for the video networking conference, or unsubscribe from the video networking conference message published by the video networking server to generate an MQTT message instructing the terminal to exit the conference. Then, the terminal sends the MQTT message to the MQTT message server, and the MQTT message server sends it to the terminal exit device.

[0133] The MQTT message receiving module 810 in the terminal withdrawal device can receive an MQTT message for instructing the terminal to withdraw from the membership.

[0134] In a specific implementation, there are two ways for the MQTT message receiving module to determine whether an MQTT message for instructing the terminal to withdraw from a membership is received, which can be described in combination with the following two specific implementation ways.

[0135] In a first specific implementation manner, the MQTT message for instructing the terminal to withdraw from a membership includes a subscription cancellation message, and the device further includes:

[0136] An MQTT message publishing module, used to publish the MQTT message corresponding to the video networking conference;

[0137] The MQTT message receiving module 810 includes:

[0138] The first MQTT message determination unit is used to determine that an MQTT message for instructing the terminal to withdraw from the conference is received when a cancellation message for the MQTT message corresponding to the video network conference is received.

[0139] In this embodiment, the MQTT message publishing module can be a virtual module in the visual networking server for publishing conference messages of the visual networking conference. The MQTT message receiving module 810 can include a first MQTT message determination unit, which can receive a cancellation message of the MQTT message corresponding to the visual networking conference.

[0140] When publishing a video networking conference, you can call the MQTT message publishing module to publish the MQTT message corresponding to the video networking conference.

[0141] When a terminal participating in a video networking conference exits the video networking conference, a cancellation message of the MQTT message corresponding to the video networking conference can be generated. Specifically, the terminal can perform an unsubscribe operation on the MQTT message corresponding to the video networking conference to generate a cancellation message for the MQTT message corresponding to the video networking conference. Then, the terminal sends the cancellation message of the MQTT message to the MQTT message server, and the MQTT message server forwards the cancellation message of the MQTT message to the MQTT message receiving module 810.

[0142] When the MQTT message receiving module 810 receives a cancellation message for the MQTT message corresponding to the video networking conference, it can be determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

[0143] In a second specific implementation manner, the MQTT message for instructing the terminal to withdraw from a meeting includes a withdrawal message, and the device further includes:

[0144] The MQTT withdrawal message subscription module is used to subscribe to the MQTT withdrawal message corresponding to the video network conference published by the terminal;

[0145] The MQTT message receiving module 810 includes:

[0146] The second MQTT message determination unit is used to determine that an MQTT message for instructing the terminal to exit the conference is received when an MQTT exit message corresponding to the video network conference is received.

[0147] In this embodiment, the MQTT withdrawal message subscription module can be a virtual module in the visual network server for subscribing to the MQTT withdrawal message corresponding to the visual network conference published by the terminal. The MQTT message receiving module 810 can also include a second MQTT message determination unit, which can receive the MQTT withdrawal message corresponding to the visual network conference.

[0148] When a terminal participating in a video networking conference exits the video networking conference, the terminal may publish an MQTT exit message for the video networking conference, that is, the terminal actively publishes an exit message for the video networking conference.

[0149] After the terminal publishes the MQTT exit message for the visual network conference, the MQTT message server can receive the MQTT exit message published by the terminal for the visual network conference, and send the MQTT exit message to the visual network server, so that the MQTT exit message subscription module can subscribe to the MQTT exit message of the visual network conference published by the terminal.

[0150] After the MQTT withdrawal message subscription module subscribes to the MQTT withdrawal message of the visual networking conference published by the terminal, the second MQTT message determination unit can be called to receive the MQTT withdrawal message of the visual networking conference to determine that the MQTT message for instructing the terminal to withdraw is received.

[0151] In the embodiment of the present application, the terminal can autonomously publish an MQTT withdrawal message to exit the visual network conference, thereby realizing autonomous withdrawal of the terminal without the need for the terminal to send a withdrawal application to the visual network server. Therefore, the visual network server does not need to review and approve the withdrawal message, which can avoid the situation where the terminal is occupied for a long time.

[0152] The withdrawal terminal determination module 820 is used to obtain the terminal and the visual network conference corresponding to the MQTT message, and determine the terminal as the withdrawal terminal of the visual network conference.

[0153] The withdrawal terminal determination module 820 may be a virtual module in the video network server for managing the video network conference.

[0154] After the message receiving module 810 receives the MQTT message for instructing the terminal to withdraw from the conference, the withdrawal terminal determination module 820 can obtain the terminal and the video network conference corresponding to the MQTT message, and determine the terminal as the withdrawal terminal of the video network conference.

[0155] In this embodiment, there are two ways to determine the terminal as the exit terminal of the video network conference: one is to delete the terminal information of the exit terminal in the participant information of the video network conference, and the other is to update the status of the exit terminal in the participant information of the video network conference to the exit status. Specifically, it can be described in combination with the following specific implementation method.

[0156] In another specific implementation of the present application, the withdrawal terminal determination module 820 includes:

[0157] A terminal information deleting unit, used to delete the terminal information of the withdrawn terminal from the participant information of the video network conference;

[0158] The withdrawal status updating unit is used to update the status of the withdrawal terminal in the participant information of the video network conference to the withdrawal status.

[0159] In this embodiment, the withdrawal terminal determining module 820 may include: a terminal information deleting unit and a withdrawal status updating unit.

[0160] After receiving an MQTT message for instructing a terminal to withdraw from a conference, and obtaining the terminal and the video network conference corresponding to the MQTT message, the terminal information deletion unit can be called to delete the terminal information of the withdrawn terminal from the participant information of the video network conference. Alternatively, the withdrawal status update unit is called to update the status of the withdrawn terminal in the participant information of the video network conference to the withdrawal status.

[0161] The terminal withdrawal device provided in the embodiment of the present application receives an MQTT message for instructing the terminal to withdraw from the meeting, obtains the terminal and the video network conference corresponding to the MQTT message, and determines the terminal as the withdrawal terminal of the video network conference. The embodiment of the present application can realize the active withdrawal of the terminal through MQTT, without the need for the meeting management server to go through the approval process, and thus there is no situation where the meeting management server fails to approve the withdrawal message, thus avoiding the problem of the terminal being occupied for a long time and improving the network experience of the terminal user.

[0162] Reference Fig. 9 , shows a schematic diagram of the structure of another terminal withdrawal device provided in an embodiment of the present application. Fig. 9 As shown, the terminal withdrawal device 900 may include the following modules:

[0163] The MQTT message generation module 910 is used to generate an MQTT message for instructing the terminal to exit the video network conference when exiting the video network conference.

[0164] In the embodiment of the present application, the MQTT message generation module 910 may be an MQTT client installed on the terminal side.

[0165] When the terminal wants to exit the video network conference, the MQTT message generation module 910 can generate an MQTT message for instructing the terminal to exit the conference. Specifically, the generation method of the MQTT message for instructing the terminal to exit the conference can include the following two methods:

[0166] 1. The terminal publishes an MQTT withdrawal message corresponding to the video network conference, so as to generate an MQTT message instructing the terminal to withdraw from the conference through the MQTT message generation module 910.

[0167] 2. The visual network server publishes the MQTT message corresponding to the visual network conference, and the terminal side performs the operation of unsubscribing from the MQTT message corresponding to the visual network conference, so as to generate an MQTT message instructing the terminal to withdraw from the conference through the MQTT message generation module 910.

[0168] The MQTT message sending module 920 is used to send the MQTT message to notify the visual network server that the terminal is the exit terminal of the visual network conference.

[0169] The MQTT message sending module 920 may be a virtual module installed on the terminal side for sending MQTT messages.

[0170] After the MQTT message generation module 910 generates an MQTT message for instructing the terminal to withdraw from the conference, the MQTT message can be sent through the MQTT message sending module 920 to notify the visual network server that the terminal is the withdrawal terminal of the visual network conference. Specifically, the MQTT message can be sent to the MQTT message server through the MQTT message sending module 920, and the MQTT message server sends the MQTT message to the visual network server to notify the visual network server that the terminal is the withdrawal terminal of the visual network conference.

[0171] The terminal withdrawal device provided in the embodiment of the present application generates an MQTT message for instructing the terminal to withdraw from the conference when exiting the video network conference, and sends the MQTT message to notify the video network server that the terminal is the withdrawal terminal of the video network conference. The embodiment of the present application can realize the active withdrawal of the terminal through MQTT, without the need for the conference management server to conduct approval and other processes, and thus there is no situation where the conference management server fails to approve the withdrawal message, thus avoiding the problem of the terminal being occupied for a long time and improving the network experience of the terminal user.

[0172] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0173] In an embodiment of the present application, an electronic device is also provided. The electronic device may include one or more processors, and one or more machine-readable media storing instructions thereon, the instructions being, for example, applications. When the instructions are executed by the one or more processors, the processors are caused to execute any of the above terminal exit methods.

[0174] In an embodiment of the present application, a non-temporary computer-readable storage medium is also provided, on which a computer program is stored, and the program can be executed by a processor of an electronic device to implement any of the above terminal exit methods. For example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0175] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0176] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0177] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0178] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0180] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0181] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0182] The above is a detailed introduction to a terminal withdrawal method, device, electronic device and storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A terminal withdrawal method, characterized in that: Applied to a visual networking server, the method comprises: Receiving a message queue telemetry transmission (MQTT) message for instructing the terminal to exit the conference, wherein the MQTT message is a message for exiting the video network conference actively published by the terminal; Obtaining the terminal and the video network conference corresponding to the MQTT message, and determining the terminal as the exit terminal of the video network conference; The step of determining the terminal as a terminal for exiting the video network conference includes: Deleting the terminal information of the withdrawing terminal from the participant information of the video network conference; or The status of the withdrawn terminal in the participant information of the video network conference is updated to the withdrawn status.

2. The method according to claim 1, characterized in that The MQTT message for instructing the terminal to withdraw from the membership includes a subscription cancellation message, and the method further includes: Publishing the MQTT message corresponding to the video networking conference; The receiving of an MQTT message for instructing the terminal to withdraw from the membership includes: When a unsubscribe message for the MQTT message corresponding to the video network conference is received, it is determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

3. The method according to claim 1, characterized in that The MQTT message for instructing the terminal to withdraw from the meeting includes a withdrawal message, and the method further includes: Subscribe to the MQTT withdrawal message corresponding to the video networking conference published by the terminal; The receiving of an MQTT message for instructing the terminal to withdraw from the membership includes: When the MQTT withdrawal message corresponding to the video network conference is received, it is determined that an MQTT message for instructing the terminal to withdraw from the conference is received.

4. A terminal withdrawal method, characterized in that: Applied to a terminal, the method comprises: When exiting a video network conference, a message queue telemetry transport (MQTT) message is generated to instruct the terminal to exit the conference; The MQTT message is sent to notify the visual network server that the terminal is the exit terminal of the visual network conference, so that the visual network server deletes the terminal information of the exit terminal from the participant information of the visual network conference, or the visual network server updates the status of the exit terminal in the participant information of the visual network conference to the exit status.

5. A terminal withdrawal device, characterized in that: The device comprises: An MQTT message receiving module, used to receive a message queue telemetry transmission (MQTT) message for instructing a terminal to exit a conference, wherein the MQTT message is a message for exiting a video network conference actively issued by the terminal; A withdrawal terminal determination module, used to obtain the terminal and the visual network conference corresponding to the MQTT message, and determine the terminal as the withdrawal terminal of the visual network conference; The withdrawal terminal determination module includes: A terminal information deleting unit, used to delete the terminal information of the withdrawn terminal from the participant information of the video network conference; The withdrawal status updating unit is used to update the status of the withdrawal terminal in the participant information of the video network conference to the withdrawal status.

6. The device according to claim 5, characterized in that The MQTT message for instructing the terminal to withdraw from the membership includes a subscription cancellation message, and the device further includes: An MQTT message publishing module, used to publish the MQTT message corresponding to the video networking conference; The MQTT message receiving module includes: The first MQTT message determination unit is used to determine that an MQTT message for instructing the terminal to withdraw from the conference is received when a cancellation message for the MQTT message corresponding to the video network conference is received.

7. A terminal withdrawal device, characterized in that: The device comprises: A message queue telemetry transmission (MQTT) message generation module is used to generate an MQTT message for instructing the terminal to exit the video network conference when exiting the video network conference; An MQTT message sending module is used to send the MQTT message to notify the visual network server that the terminal is the exit terminal of the visual network conference, so that the visual network server deletes the terminal information of the exit terminal from the participant information of the visual network conference, or the visual network server updates the status of the exit terminal in the participant information of the visual network conference to the exit status.

8. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the apparatus to execute the terminal exit method according to any one of claims 1 to 3 and claim 4.

9. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the terminal withdrawal method according to any one of claims 1 to 3 and claim 4.