Efficient interactive demonstration system, method and device and electronic equipment

By introducing MQTT message queue service and direct link transmission technology into the demonstration system, combined with the background management module and interactive terminal, the efficient and interactive functions of the demonstration system are realized, solving the problems of the convenience and user experience of the existing system.

CN119946040APending Publication Date: 2025-05-06QINGZHOU (ZHEJIANG) COMPUTER SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411750522.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The existing demonstration system has a single function, the steps to upload and replace documents are cumbersome, and the device needs to be in the same network environment to be transmitted remotely, resulting in poor user experience.

Method used

An efficient interactive demonstration system is designed to use the MQTT message queue service to pass instructions, and transmit data to be displayed from the cloud service to the demonstration terminal through a direct link. Combined with the backend management module and the interactive terminal, realizing the instant upload, storage and display of files.

Benefits of technology

It solves the problem of high convenience delay and poor convenience of the demonstration system, realizes real-time switching and editing of presentation content by users, improves the flexibility and interactivity of the demonstration, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946040A_ABST
    Figure CN119946040A_ABST
Patent Text Reader

Abstract

The invention relates to an efficient interactive demonstration system and method, an electronic device and a storage medium, instruction transmission is performed by using an MQTT message queue service, and to-be-displayed data is transmitted to a demonstration terminal from a cloud service through a direct connection link, so that a strong decoupling effect of MQTT on message transmission (particularly instruction messages with extremely high non-real-time requirements) is exerted, and the interaction between the MQTT and the demonstration terminal is realized. The low cost is configured, real-time data transmission is realized by using the server, and the problem of high delay caused by excessive dependence on MQTT two-way communication is avoided. Remote demonstration of various files in different formats can be supported, a user can switch and edit the display content in real time, the demonstration flexibility and interactivity are improved, the user experience is improved, and the method is suitable for various demonstration scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image transmission demonstration, and in particular to an efficient and interactive demonstration system, method, device, electronic device and computer-readable storage medium. Background Art

[0002] In today's presentation system field, most existing presentation systems have obvious limitations. They generally only focus on the simple slide show function, which makes their functions appear to be relatively simple and difficult to fully meet the rich and diverse personalized needs of different users.

[0003] At the same time, the steps for uploading and replacing documents are quite cumbersome. Users need to use their mobile phones to connect remotely, first transfer the files to the TV or other terminal devices, and then accurately select the corresponding files from the numerous files for transfer. In this process, the upload process may be interrupted due to various reasons, such as network fluctuations, causing the entire operation to have to be repeated, which undoubtedly consumes a lot of user time and energy.

[0004] In addition, this transmission method strictly requires that all devices are in the same network environment. Once the devices are not in the same network, remote transmission cannot be achieved, which brings great inconvenience to users who need to operate in different network environments, seriously affecting work efficiency and user experience. Summary of the invention

[0005] The embodiments of the present application provide an efficient and interactive presentation system, method, computer device and computer-readable storage medium to at least solve the problem of high latency and poor convenience of file presentation systems in related technologies.

[0006] In a first aspect, an embodiment of the present application provides an efficient interactive demonstration system, the system comprising a demonstration terminal, an interactive terminal and a background management module, wherein:

[0007] The background management module is used to receive the files to be displayed uploaded by the interactive terminal and store them in the cloud service, and send a save completion signal to the MQTT message queue service;

[0008] The demonstration terminal is used to establish a long link with the MQTT message queue service, and when the save completion signal is obtained through the long link, send a content request to the background management module;

[0009] The background management module is connected to the demonstration terminal via a direct data link, and is further used to respond to the content request and send the file to be displayed to the demonstration terminal via the direct data link to instruct the demonstration terminal to display the file to be displayed.

[0010] In some embodiments, the demonstration terminal includes a communication module, a processing module and a display module, wherein:

[0011] The communication module is used to send the content request to the background management module to obtain the file to be displayed after the background management module successfully authenticates and authorizes the demonstration terminal;

[0012] The processing module is used to obtain the sequence information of the file to be displayed and decode the file to be displayed;

[0013] The display module is used to display the decoded file to be displayed according to the sequence information.

[0014] In some embodiments, the interactive terminal is further used to: respond to an interactive instruction output by a user, and forward the interactive instruction to the MQTT message queue service;

[0015] The demonstration terminal is further used to: receive the interaction instruction by using the long link through the communication module;

[0016] And, generating a file switching signal and a content editing signal according to the interactive instruction through the processing module, wherein the file switching signal is used to switch the currently displayed file to an updated file, and the content editing signal is used to edit the content of the currently displayed file;

[0017] Furthermore, the display module displays the updated file after switching according to the file switching signal, and displays the current display file after content editing according to the content editing instruction.

[0018] In some of the embodiments, the demonstration terminal is further used to send the file switching signal to the MQTT message queue service;

[0019] The interactive terminal is also used to receive the file switching signal from the MQTT message queue service, and display an operation panel corresponding to the updated file after the switching on the front-end interface.

[0020] In some embodiments, when the frequency of the interaction instructions received by the demonstration terminal is greater than a preset frequency threshold:

[0021] The demonstration terminal is further used to upload the status data of the file to be displayed to the cloud service within a preset time period after receiving the interaction instruction;

[0022] The interactive terminal is also used to obtain the status data from the cloud service through a direct link, and display the real-time status of the file to be displayed in the front-end interface according to the status data.

[0023] In some embodiments, the long link between the demonstration terminal and the MQTT message queue service maintains a persistent connection through a heartbeat mechanism. When the long link is disconnected, the interactive terminal saves the interaction instructions to be published, and after the long link is re-established, the saved interaction instructions are read out and published to the MQTT message queue service in sequence;

[0024] Each demonstration terminal is set as a unique client instance in the MQTT message queue service, and each client instance has an independent identifier and configuration, so that each demonstration terminal is clearly distinguished when communicating with the MQTT message queue service.

[0025] In some embodiments, the files to be displayed include: pictures, videos, slides, table files, text files, web page links;

[0026] The content editing instructions include: video pause / play instructions, media volume control instructions, slide show play instructions, slide show page switching instructions, slide show animation play instructions, and table file and text file scrolling instructions.

[0027] In a second aspect, an embodiment of the present application provides an efficient and interactive demonstration method, the method comprising:

[0028] The backend management module receives the files to be displayed uploaded by the interactive terminal and stores them in the cloud service, and sends a save completion signal to the MQTT message queue service;

[0029] The demonstration terminal establishes a long link with the MQTT message queue service, and when the save completion signal is obtained through the long link, sends a content request to the background management module;

[0030] The background management module is connected to the demonstration terminal via a direct data link, and in response to the content request, sends the file to be displayed to the demonstration terminal via the direct data link to instruct the demonstration terminal to display the file to be displayed.

[0031] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect above when executing the computer program.

[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect above.

[0033] Compared with the related art, the embodiment of the present application provides an efficient interactive demonstration system, method, electronic device and storage medium, which uses the MQTT message queue service for command transmission, and transmits the data to be displayed from the cloud service to the demonstration terminal through a direct link, which not only plays the advantages of MQTT's strong decoupling effect on message transmission (especially non-real-time instruction messages with extremely high requirements), and low configuration cost, but also uses the server to realize real-time data transmission, avoiding the high latency problem caused by over-reliance on MQTT two-way communication. In addition, by saving the real-time file status in real time, and using the cloud service as a transfer, the real-time file is sent to the interactive terminal for display, which solves the pain point that the interactive terminal cannot display the corresponding content control panel in time due to the high delay of MQTT two-way communication, and the data conflicts and inconsistencies that may occur when multiple devices are connected to MQTT. It can support remote demonstration of files in a variety of different formats, and users can switch and edit the display content in real time, improve the flexibility and interactivity of the demonstration, and enhance the user experience, which is suitable for a variety of demonstration scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0035] Figure 1 is a structural block diagram of an efficient interactive demonstration system according to an embodiment of the present application;

[0036] Figure 2 It is another structural diagram of the efficient interactive demonstration system according to the embodiment of the present application.

[0037] Figure 3 is a flow chart of an efficient and interactive presentation method according to an embodiment of the present application;

[0038] Figure 4 It is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0040] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0041] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0042] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0043] In the related technology, the existing presentation systems generally only show slides, with relatively simple functions, and cannot meet the personalized needs of all users. In addition, the steps of uploading and replacing documents are relatively cumbersome, requiring the mobile phone to remotely connect to transfer files to the TV or other terminal devices, and then select the corresponding files for transmission. The upload process may also be interrupted. In addition, it is necessary to ensure that all devices are transmitted on the same network. The inability to transmit remotely also brings great inconvenience to users.

[0044] In view of this, the embodiment of the present application provides an efficient interactive demonstration system, which supports demonstration and interactive files such as pictures, videos, PPT, EXCEL, WORD, web links, etc.; files can be uploaded through the background management system, and files can be dragged and sorted, and the corresponding display order can be set. All uploaded content will be displayed in order on the terminal device, with rich and complete content to meet the diverse needs of customers. At the same time, remote control of content can be achieved through the interactive terminal 10, and different content has corresponding control, which can achieve efficient content control and interaction.

[0045] Figure 1 is a structural block diagram of an efficient interactive demonstration system according to an embodiment of the present application, such as Figure 1 As shown, the system includes a demonstration terminal 12, an interactive terminal 10 and a background management module 11, wherein:

[0046] The background management module 11 is used to receive the target file uploaded by the interactive terminal 10 and store it in the cloud service, and send a save completion signal to the MQTT message queue service;

[0047] In this embodiment, the user uses the interactive terminal 10 to upload the file to be displayed. The interactive terminal 10 can be but is not limited to: smart terminal devices such as smart phones, tablet computers and laptops that can communicate in real time and respond to interactive actions; the files to be displayed uploaded by the user include but are not limited to: pictures, videos, slides and text documents, etc. It should be understood that the files that can be recognized and displayed by the presentation terminal 12 should all belong to the files to be displayed in this application.

[0048] Among them, the background management module 11 can be deployed on a cloud service platform, and a database for storing files to be displayed is created in the cloud service; when a user uploads content to be displayed, the background management module 11 responds to the upload request and receives the target file through a data transmission channel based on the HTTP protocol or a channel based on the FTP or SFTP protocol.

[0049] Furthermore, the background management module 11 will store these files in the cloud service through a secure and reliable network connection. During the storage process, the files are classified and sorted according to information such as the type, size, and upload time of the files to ensure that the files are stored in the cloud server in an orderly and easy-to-manage manner. In addition, the background management module 11 will generate a unique identifier for each file according to the order in which the user uploads it, so that these files can be retrieved and called quickly and accurately later.

[0050] In addition, after the file to be displayed is successfully stored in the cloud service, the background management module 11 will immediately send a save completion signal to the MQTT message queue service. The function of this signal is to notify other modules in the system, especially the demonstration terminal 12, that the file is ready for subsequent operations. It should be noted that the process of sending the signal adopts the publish / subscribe mode of the MQTT protocol to ensure that the signal can be received by the module subscribed to the relevant topic in a timely and accurate manner.

[0051] The demonstration terminal 12 is used to establish a long link with the MQTT message queue service, and when a save completion signal is obtained through the long link, send a content request to the background management module 11;

[0052] It should be noted that, because MQTT communication is based on asynchronous communication in the publish / subscribe mode, it has limitations in scenarios with high real-time requirements and cannot achieve real-time data transmission. In this embodiment, the real-time displayed file data is saved to the server through the background management module 11, and does not rely on MQTT for two-way real-time communication.

[0053] After receiving the above-mentioned signal of saving completion, the demonstration terminal 12 sends a content request to the background management module 11, and then pulls data from the cloud service, thus bypassing the shortcomings of MQTT in real-time data transmission. At the same time, since the server has better stability and timeliness in processing and transmitting real-time important data, the data can also reach the demonstration terminal 12 faster.

[0054] On the other hand, in the embodiment of the present application, the MQTT message service is still used to transmit content update instructions. When the background management system completes content upload and saves, the operation instruction is sent to the demonstration system through the MQTT message queue service. Due to this instruction-level information transmission, the delay caused by the asynchronous communication of MQTT has little effect on the entire process. Therefore, using the MQTT protocol for communication can be an efficient response, and at the same time, it can also conveniently decouple the signals between different interactive terminals 10.

[0055] The background management module 11 is connected to the demonstration terminal 12 via a direct data link, and is also used to respond to content requests and send target files to the demonstration terminal 12 via the direct data link to instruct the demonstration terminal 12 to display the target files.

[0056] Optionally, during the transmission process, the data may be properly optimized and processed. For example, large files may be transmitted in segments to ensure the stability and efficiency of the transmission. At the same time, the background management module 11 will also monitor the data integrity and security during the transmission process, and ensure that the file is not damaged or tampered with during the transmission process through mechanisms such as data verification. Once the file is completely transmitted, the background management module 11 will send a confirmation signal to the demonstration terminal 12, indicating that the demonstration terminal 12 can start displaying the file to be displayed.

[0057] Specifically, in an exemplary embodiment: the demonstration terminal 12 includes a communication module, a processing module and a display module, wherein:

[0058] The communication module sends a content request to the background management module 11 to receive the file to be displayed after the background management module 11 successfully authenticates and authorizes the demonstration terminal 12;

[0059] Specifically, the communication module uses an encryption algorithm to encrypt the identity information and then transmits it to the background management module 11 for verification. After successful authorization, a token is obtained, and subsequent communications must carry the token, and the verification will be updated regularly. In addition, when sending content requests, the communication module will select the appropriate request timing and frequency based on the network conditions and the load of the background management module 11. If the network conditions are not good, the communication module will automatically reduce the request frequency to avoid network congestion caused by too many requests.

[0060] Since users upload files to be displayed in a certain order, the processing module will analyze the sequence information of the files to be displayed in detail after obtaining it to determine the order in which the files will be displayed. In addition, other metadata that may be contained in the sequence information can also be analyzed, such as the priority of the file, the display duration, etc. For example, if the sequence information indicates that a file has a higher priority, the processing module will give priority to decoding and processing it to ensure that important content can be displayed to users in a timely manner.

[0061] Optionally, when decoding the file, the processing module will optimize according to the hardware performance and resource status of the presentation terminal 12. Optionally, during the decoding process, the processing module will perform cache management on the file. For files that are frequently used or may be repeatedly displayed, it will cache the decoded file data in the local storage, and the next time it needs to be displayed, it can be directly read from the cache, reducing decoding time and resource consumption.

[0062] The display module is used to display the decoded file to be displayed according to the sequence information.

[0063] The display module will adapt and optimize the displayed files according to the screen size, resolution and color characteristics of the demonstration terminal 12. For high-resolution screens, the display module will automatically improve the display quality of the files to ensure the clarity of images and text. For different color modes (such as RGB, CMYK, etc.), the display module will perform corresponding color conversion and calibration to ensure accurate color display of the files.

[0064] In this embodiment, through the division of labor and cooperation between the server direct communication link and MQTT, the advantages of MQTT in message transmission (especially instruction messages with extremely high non-real-time requirements) with strong decoupling effect and low configuration cost are brought into play, and real-time data transmission is realized by using the server, avoiding the high latency problem caused by over-reliance on MQTT two-way communication, thereby solving the problem of high overall two-way communication delay.

[0065] In addition, the technical solution provided in this embodiment supports the user to switch and edit the displayed content in real time through the interactive terminal 10 during the process of the presentation terminal 12 presenting the file to be presented. Specifically:

[0066] The interactive terminal 10 is also used to: respond to the interactive instruction output by the user and forward the interactive instruction to the MQTT message queue service;

[0067] The interactive terminal 10, as an interface for the user to interact with the presentation system, can respond to various interactive instructions output by the user in real time. These interactive instructions may include but are not limited to instructions for switching files (such as switching to the next picture, the next video clip, etc.), instructions for editing file content (such as marking on the PPT, changing the picture color, etc.), and other instructions related to the display content operation.

[0068] In an exemplary embodiment, the content editing instructions may be, but are not limited to: video pause / play instructions, media volume control instructions, slide show play instructions, slide show page switching instructions, slide show animation play instructions, table file and text file scrolling instructions.

[0069] The demonstration terminal 12 is also used to: receive interactive instructions through the communication module using a long link; and generate a file switching signal and a content editing signal according to the interactive instructions through the processing module, wherein the file switching signal is used to switch the currently displayed file to an updated file, and the content editing signal is used to edit the content of the currently displayed file;

[0070] And, through the display module, according to the file switching signal, the updated file after switching is displayed, and, according to the content boundary instruction, the current display file after content editing is displayed.

[0071] Specifically, the communication module of the demonstration terminal 12 monitors and receives the interaction instructions from the MQTT message queue service in real time through the long link established with the MQTT message queue service. After receiving the interaction instruction, the communication module will pass it to the processing module for further processing.

[0072] The processing module first parses the interactive instruction to identify the type and specific content of the instruction. Depending on the instruction, the processing module will generate a corresponding signal. For example, if it is an instruction to switch files, the processing module will generate a file switching signal; if it is a content editing instruction, the processing module will generate a content editing signal. The signal is further sent to the display module, and the display module responds to the instruction and performs the corresponding action to display the updated file after switching or display the current display file after content editing.

[0073] In addition, the user's interactive terminal 10 can also change the corresponding operation panel following the switching of the displayed file. Specifically, after displaying the switched file, the demonstration terminal 12 generates a file switching signal, and sends the file switching signal to the MQTT message queue service; the interactive terminal 10 receives the file switching signal from the MQTT message queue service, and displays the operation panel corresponding to the updated file after the switch on the front-end display interface.

[0074] In the above embodiment, through the collaborative work between the interactive terminal, the MQTT message queue service and the demonstration terminal, the user's real-time switching and editing functions of the demonstration content are realized. The user can change the content and form of the display at any time according to his or her needs during the demonstration process, which greatly improves the flexibility and interactivity of the demonstration. This real-time interactivity makes the demonstration process more vivid and can better meet the needs of various demonstration scenarios, such as teaching demonstrations, conference presentations, product demonstrations, etc.

[0075] On the other hand, in actual application scenarios, there are situations where the frequency of sending MQTT messages is high. When the demonstration terminal 12 receives the MQTT message, it needs to send its real-time status back to the interactive terminal 10. However, due to the delay of MQTT, when the interactive terminal 10 receives the status information sent by the demonstration terminal 12, this information is often no longer the latest status of the demonstration terminal 12.

[0076] Considering the above problems, in this embodiment, after the demonstration terminal 12 receives the MQTT message, the real-time data of the file to be displayed in the current state is immediately saved to the database in the cloud service. The database serves as an intermediate storage medium to stably save the real-time status information of the demonstration terminal 12.

[0077] Furthermore, the interactive terminal 10 can immediately obtain the real-time data stored in the database through the server. The connection and data transmission mechanism between the server and the database is utilized here. The cloud service can quickly respond to the data request of the interactive terminal 10 and provide the interactive terminal 10 with the latest real-time data of the demonstration terminal 12 in the database. In this way, the interactive terminal 10 can obtain the accurate status information of the demonstration terminal 12 in a timely manner, and the interactive terminal 10 can accurately receive the real-time information of the demonstration terminal 12, thereby effectively solving the problem that the interactive terminal 10 could not display the corresponding content control panel in real time.

[0078] When the user controls the demonstration terminal 12 to switch content, the interactive terminal 10 can timely update and display the correct control panel, so that the interactivity and real-time performance of the entire system are significantly improved, and the convenience and satisfaction of the user during use are improved.

[0079] Finally, in the efficient interactive demonstration system provided by this embodiment, the demonstration terminal 12 and the MQTT message queue service have a long link, and a persistent connection is maintained through a heartbeat mechanism. When the long link is disconnected, the interactive terminal 10 saves the interactive instructions to be published, and after the long link is re-established, the saved interactive instructions are read out and published to the MQTT message queue service in sequence;

[0080] At the same time, each demonstration terminal 12 is set as a unique client instance in the MQTT message queue service, wherein each client instance has an independent identification and configuration, so that each demonstration terminal 12 is clearly distinguished when communicating with the MQTT message queue service.

[0081] also, Figure 2 It is another structural block diagram of the efficient interactive demonstration system according to the embodiment of the present application.

[0082] Through the above system, the MQTT message queue service is used for command transmission, and the data to be displayed is transmitted from the cloud service to the demonstration terminal through a direct link. It not only takes advantage of the strong decoupling effect and low configuration cost of MQTT in message transmission (especially instruction messages with extremely high non-real-time requirements), but also uses the server to realize real-time data transmission, avoiding the high latency problem caused by over-reliance on MQTT two-way communication. In addition, by saving the real-time file status in real time and using the cloud service as a transit, the real-time file is sent to the interactive terminal for display, which solves the pain point that the interactive terminal cannot display the corresponding content control panel in time due to the high latency of MQTT two-way communication, as well as the data conflicts and inconsistencies that may occur when multiple devices are connected to MQTT. It can support remote presentation of files in various formats, and users can switch and edit the presentation content in real time, improve the flexibility and interactivity of the presentation, and enhance the user experience. It is suitable for a variety of presentation scenarios.

[0083] In addition, the present application also provides an efficient and interactive demonstration method. Figure 3 is a flow chart of an efficient interactive demonstration method according to an embodiment of the present application, such as Figure 3 As shown, the process includes the following steps:

[0084] S301, the background management module receives the file to be displayed uploaded by the interactive terminal and stores it to the cloud service, and sends a save completion signal to the MQTT message queue service;

[0085] In this embodiment, the user uses the interactive terminal 10 to upload the file to be displayed. The interactive terminal 10 can be but is not limited to: smart terminal devices such as smart phones, tablet computers and laptops that can communicate in real time and respond to interactive actions; the files to be displayed uploaded by the user include but are not limited to: pictures, videos, slides and text documents, etc. It should be understood that the files that can be recognized and displayed by the presentation terminal 12 should all belong to the files to be displayed in this application.

[0086] After the file to be displayed is successfully stored in the cloud service, the background management module 11 will immediately send a save completion signal to the MQTT message queue service. The function of this signal is to notify other modules in the system, especially the demonstration terminal 12, that the file is ready for subsequent operations. It should be noted that the process of sending the signal adopts the publish / subscribe mode of the MQTT protocol to ensure that the signal can be received by the module subscribed to the relevant topic in a timely and accurate manner.

[0087] S302, the demonstration terminal establishes a long link with the MQTT message queue service, and when a save completion signal is obtained through the long link, a content request is sent to the background management module;

[0088] Specifically, through the collaborative work between the interactive terminal, MQTT message queue service and demonstration terminal, users can switch and edit the demonstration content in real time. Users can change the content and form of the demonstration at any time according to their needs during the demonstration, which greatly improves the flexibility and interactivity of the demonstration. This real-time interactivity makes the demonstration process more vivid and can better meet the needs of various demonstration scenarios, such as teaching demonstrations, conference presentations, product demonstrations, etc.

[0089] S303, the background management module is connected to the demonstration terminal through a direct data link, responds to the content request, and sends the file to be displayed to the demonstration terminal through the direct data link to instruct the demonstration terminal to display the file to be displayed.

[0090] Through the above steps S301 to S303, the MQTT message queue service is used to transmit instructions, and the data to be displayed is transmitted from the cloud service to the demonstration terminal through a direct link. This not only takes advantage of the strong decoupling effect and low configuration cost of MQTT in message transmission (especially instruction messages with extremely high non-real-time requirements), but also uses the server to achieve real-time data transmission, avoiding the high latency problem caused by over-reliance on MQTT two-way communication. It can support remote demonstration of files in various formats, and users can switch and edit the display content in real time, improve the flexibility and interactivity of the demonstration, and enhance the user experience. It is suitable for a variety of demonstration scenarios.

[0091] In one embodiment, Figure 4 is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application, such as Figure 4 As shown, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in Figure 4 As shown. The electronic device includes a processor, a network interface, an internal memory and a non-volatile memory connected through an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used to provide computing and control capabilities, the network interface is used to communicate with an external terminal through a network connection, the internal memory is used to provide an environment for the operation of the operating system, the computer program is executed by the processor to realize an efficient and interactive demonstration system and method, and the database is used to store data.

[0092] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0093] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0094] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0095] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An efficient and interactive demonstration system, characterized in that: The system includes a demonstration terminal, an interactive terminal and a background management module, wherein: The background management module is used to receive the files to be displayed uploaded by the interactive terminal and store them in the cloud service, and send a save completion signal to the MQTT message queue service; The demonstration terminal is used to establish a long link with the MQTT message queue service, and when the save completion signal is obtained through the long link, send a content request to the background management module; The background management module is connected to the demonstration terminal via a direct data link, and is further used to respond to the content request and send the file to be displayed to the demonstration terminal via the direct data link to instruct the demonstration terminal to display the file to be displayed.

2. The system according to claim 1, characterized in that The demonstration terminal includes a communication module, a processing module and a display module, wherein: The communication module is used to send the content request to the background management module to obtain the file to be displayed after the background management module successfully authenticates and authorizes the demonstration terminal; The processing module is used to obtain the sequence information of the file to be displayed and decode the file to be displayed; The display module is used to display the decoded file to be displayed according to the sequence information.

3. The system according to claim 2, characterized in that The interactive terminal is also used to: respond to the interactive instruction output by the user, and forward the interactive instruction to the MQTT message queue service; The demonstration terminal is further used to: receive the interaction instruction by using the long link through the communication module; And, generating a file switching signal and a content editing signal according to the interactive instruction through the processing module, wherein the file switching signal is used to switch the currently displayed file to an updated file, and the content editing signal is used to edit the content of the currently displayed file; Furthermore, the display module displays the updated file after switching according to the file switching signal, and displays the current display file after content editing according to the content editing instruction.

4. The system according to claim 1, characterized in that The demonstration terminal is also used to send the file switching signal to the MQTT message queue service; The interactive terminal is also used to receive the file switching signal from the MQTT message queue service, and display an operation panel corresponding to the updated file after the switching on the front-end interface.

5. The system according to claim 4, characterized in that When the frequency of the interaction instructions received by the demonstration terminal is greater than the preset frequency threshold: The demonstration terminal is further used to upload the status data of the file to be displayed to the cloud service within a preset time period after receiving the interaction instruction; The interactive terminal is also used to obtain the status data from the cloud service through a direct link, and display the real-time status of the file to be displayed in the front-end interface according to the status data.

6. The system according to claim 1, characterized in that The long link between the demonstration terminal and the MQTT message queue service maintains a persistent connection through a heartbeat mechanism. When the long link is disconnected, the interactive terminal saves the interaction instructions to be published, and after the long link is re-established, the saved interaction instructions are read out and published to the MQTT message queue service in sequence; Each demonstration terminal is set as a unique client instance in the MQTT message queue service, and each client instance has an independent identifier and configuration, so that each demonstration terminal is clearly distinguished when communicating with the MQTT message queue service.

7. The system according to claim 1, characterized in that The files to be displayed include: pictures, videos, slides, table files, text files, and web page links; The content editing instructions include: video pause / play instructions, media volume control instructions, slide show play instructions, slide show page switching instructions, slide show animation play instructions, and table file and text file scrolling instructions.

8. An efficient and interactive demonstration method, characterized in that: The method comprises: The backend management module receives the files to be displayed uploaded by the interactive terminal and stores them in the cloud service, and sends a save completion signal to the MQTT message queue service; The demonstration terminal establishes a long link with the MQTT message queue service, and when the save completion signal is obtained through the long link, sends a content request to the background management module; The background management module is connected to the demonstration terminal via a direct data link, and in response to the content request, sends the file to be displayed to the demonstration terminal via the direct data link to instruct the demonstration terminal to display the file to be displayed.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to claim 8 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to claim 8 is implemented.