Method, device and equipment for sending multimedia file of exhibition hall and storage medium
By generating notification messages and performing security authentication between the server, management terminal, and playback terminal, the security risks of copying files from flash drives in exhibition hall multimedia equipment are resolved, enabling secure transmission of multimedia files and improving the security of playback terminals and the reliability of information interaction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2026-03-17
AI Technical Summary
There are security risks associated with copying multimedia files from flash drives when playing information on existing exhibition hall multimedia equipment. These files may carry viruses and pose a security hazard.
When the server is connected to the management terminal and the playback terminal, a notification message is generated and security authentication is performed to ensure the security of the request, and then the multimedia file is transmitted to the target playback terminal.
It enables secure transmission of multimedia files among multimedia equipment in the exhibition hall, avoiding virus infection and improving the security of playback terminals and information exchange.
Smart Images

Figure CN116566972B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of data processing technology, and in particular relates to a method, apparatus, device, storage medium and program product for sending multimedia files in an exhibition hall. Background Technology
[0002] Exhibition hall design is a type of exhibition design. Exhibition is defined as an activity that uses the optimal spatial relationship between objects, people, and space to convey specific information. In exhibition hall design, playing information through multimedia equipment can better showcase a company's image and create a refreshing visual effect. Currently, when playing information, multimedia equipment in exhibition halls requires storing pre-made information files on a flash drive on the device's hard drive. The device then reads and plays the information. However, flash drives may carry viruses, posing a security risk when copying multimedia files to the device. Summary of the Invention
[0003] This application provides a method, apparatus, device, storage medium, and program product for sending multimedia files in an exhibition hall, which can securely send multimedia files to the corresponding playback terminal.
[0004] In a first aspect, embodiments of this application provide a method for sending multimedia files in an exhibition hall, applied to a server, the method comprising:
[0005] When the server is connected to the management terminal and at least one playback terminal, if a first request is received, a notification message corresponding to the first request is generated. The first request is used to request the playback of a multimedia file on the at least one playback terminal.
[0006] Send the notification message to the at least one playback terminal;
[0007] Upon receiving a second request from at least one playback terminal in response to the notification message, security authentication is performed on the second request sent by the at least one playback terminal to obtain a first authentication result corresponding to each playback terminal. The first authentication result is used to indicate whether the second request sent by the corresponding playback terminal is secure.
[0008] If the first authentication result corresponding to the target playback terminal indicates that the second request is secure, the multimedia file corresponding to the first request is transmitted to the target playback terminal so that the target playback terminal can play the multimedia file corresponding to the first request.
[0009] Secondly, embodiments of this application provide a device for sending multimedia files in an exhibition hall, applied to a server, the device comprising:
[0010] The first generation module is configured to generate a notification message corresponding to the first request if a first request is received when the server is connected to the management terminal and at least one playback terminal. The first request is used to request the playback of a multimedia file on the at least one playback terminal.
[0011] The first sending module is used to send the notification message to the at least one playback terminal;
[0012] The first security authentication module is used to perform security authentication on the second request sent by the at least one playback terminal in response to the notification message when receiving the second request sent by the at least one playback terminal in response to the notification message, and to obtain a first authentication result corresponding to each playback terminal. The first authentication result is used to indicate whether the second request sent by the corresponding playback terminal is secure.
[0013] The second sending module is used to transmit a multimedia file corresponding to the first request to the target playback terminal when the first authentication result corresponding to the target playback terminal indicates that the second request is secure, so that the target playback terminal can play the multimedia file corresponding to the first request.
[0014] Thirdly, embodiments of this application provide an electronic device, the device including: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the method for sending multimedia files in an exhibition hall as described above.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the method for sending multimedia files in an exhibition hall as described above.
[0016] Fifthly, embodiments of this application provide a computer program product, wherein when the instructions in the computer program product are executed by the processor of an electronic device, the electronic device performs the method for sending multimedia files in an exhibition hall as described in any of the above claims.
[0017] The method, apparatus, device, storage medium, and program product for sending multimedia files in an exhibition hall according to embodiments of this application are applied to a server. When the server is communicatively connected to a management terminal and at least one playback terminal, if a first request is received, a notification message corresponding to the first request is generated. The first request requests the playback of a multimedia file on at least one playback terminal, and a notification message is sent to at least one playback terminal. Upon receiving a second request from at least one playback terminal in response to the notification message, security authentication is performed on the second request sent by the at least one playback terminal, obtaining a first authentication result corresponding to each playback terminal. If the first authentication result corresponding to the target playback terminal indicates that the second request is secure, the multimedia file corresponding to the first request is transmitted to the target playback terminal, enabling the target playback terminal to play the multimedia file corresponding to the first request. Thus, this embodiment can perform security authentication on the second request sent by the playback terminal to ensure the security of the playback terminal, thereby achieving secure transmission of multimedia files to the corresponding playback terminal. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a flowchart illustrating the method for sending multimedia files in an exhibition hall according to an embodiment of this application;
[0020] Figure 2 This is a schematic diagram illustrating an application scenario of the method for sending multimedia files in an exhibition hall provided in this application embodiment;
[0021] Figure 3 This is a schematic diagram of the structure of the multimedia file sending device for the exhibition hall provided in the embodiments of this application;
[0022] Figure 4 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0023] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0024] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0025] Exhibition hall design is a type of exhibition design. Exhibition is defined as an activity that uses the optimal spatial relationship between objects, people, and space to convey specific information. In exhibition hall design, playing information through multimedia equipment can better showcase a company's image and create a refreshing visual effect. Currently, when playing information, multimedia equipment in exhibition halls requires storing pre-made information files on a flash drive on the device's hard drive. The device then reads and plays the information. However, flash drives may carry viruses, posing a security risk when copying multimedia files to the device.
[0026] The acquisition, storage, use, and processing of data in this application all comply with the relevant provisions of national laws and regulations.
[0027] To address the problems of the prior art, embodiments of this application provide a method, apparatus, device, storage medium, and program product for sending multimedia files in an exhibition hall. The method for sending multimedia files in an exhibition hall provided in this application embodiment will be described first below.
[0028] Figure 1 A flowchart illustrating a method for sending multimedia files in an exhibition hall according to an embodiment of this application is shown. Figure 1 As shown, a method for sending multimedia files in an exhibition hall, applied to a server, may include the following steps S101 to S104:
[0029] S101. When the server is connected to the management terminal and at least one playback terminal, if a first request is received, a notification message corresponding to the first request is generated. The first request is used to request the playback of a multimedia file on at least one playback terminal.
[0030] S102, Send a notification message to at least one playback terminal;
[0031] S103. Upon receiving a second request from at least one playback terminal in response to a notification message, perform security authentication on the second request sent by at least one playback terminal to obtain a first authentication result corresponding to each playback terminal. The first authentication result is used to indicate whether the second request sent by the corresponding playback terminal is secure.
[0032] S104. If the first authentication result corresponding to the target playback terminal indicates that the second request is secure, transmit the multimedia file corresponding to the first request to the target playback terminal so that the target playback terminal can play the multimedia file corresponding to the first request.
[0033] The method for sending multimedia files in an exhibition hall according to this application embodiment is applied to a server. When the server is communicatively connected to a management terminal and at least one playback terminal, if a first request is received, a notification message corresponding to the first request is generated. The first request requests that a multimedia file be played on at least one playback terminal, and the notification message is sent to at least one playback terminal. Upon receiving a second request from at least one playback terminal in response to the notification message, security authentication is performed on the second request sent by the at least one playback terminal, obtaining a first authentication result corresponding to each playback terminal. If the first authentication result corresponding to the target playback terminal indicates that the second request is secure, the multimedia file corresponding to the first request is transmitted to the target playback terminal, enabling the target playback terminal to play the multimedia file corresponding to the first request. Thus, this embodiment can perform security authentication on the second request sent by the playback terminal to ensure the security of the playback terminal, thereby achieving secure transmission of multimedia files to the corresponding playback terminal.
[0034] In S101, the aforementioned server can be a server that receives, stores, and sends multimedia files in the exhibition hall, and is responsible for data processing between the middle layer and the back-end layer in the exhibition hall system.
[0035] The aforementioned management terminal can be the terminal through which an administrator user sends the first request to the server. Furthermore, the management terminal can also perform CRUD operations on multimedia files, or on at least one playback terminal, as well as on the playback schedule information.
[0036] The aforementioned playback terminal can be a terminal used to play multimedia files. In this embodiment, it can be a playback display screen in an exhibition hall.
[0037] The communication connection between the server and the management terminal and at least one playback terminal can be, for example, via wireless communication methods such as Bluetooth or Wi-Fi, or via wired communication methods using tangible media such as metal wires or optical fibers.
[0038] The aforementioned first request can be used to request the playback of a multimedia file on at least one playback terminal, or it can also request at least one playback terminal to play a multimedia file based on playback plan information.
[0039] In some embodiments, in S101 above, if a first request is received, a notification message corresponding to the first request is generated, which may specifically include:
[0040] If a first request is received, the first request is authenticated to obtain a second authentication result. The second authentication result is used to indicate whether the first request sent by the management terminal is secure.
[0041] If the second authentication result indicates that the first request sent by the management terminal is secure, a notification message corresponding to the first request is generated.
[0042] For example, the security authentication of the first request can be performed by the server decrypting the token message in the first request into a JSON Web Token (JWT) and verifying whether it matches the configuration information of the preset management terminal in the server.
[0043] The aforementioned second authentication result can be used to indicate whether the first request sent by the management terminal is secure. For example, if the information of the token message in the first request after being decrypted by JWT matches the preset configuration information, it is determined that the second authentication result indicates that the first request sent by the management terminal is secure; otherwise, it is insecure.
[0044] In this embodiment, by performing security authentication on the first request and generating a notification message corresponding to the first request only when the second authentication result indicates that the first request sent by the management terminal is secure, the security of information interaction between the management terminal and the server can be improved.
[0045] In S102, the aforementioned notification message, which corresponds to the first request, is sent by the server to at least one playback terminal to notify each playback terminal to send a second request to the server.
[0046] In S103, the aforementioned security authentication of the second request sent by at least one playback terminal can, for example, involve the server performing JWT decryption on the token message in the second request and verifying whether it matches the configuration information of at least one playback terminal preset in the server.
[0047] The first authentication result can be used to indicate whether the second request sent by the corresponding playback terminal is secure. For example, if the information of the token message after JWT decryption in the second request matches the preset configuration information, it is determined that the first authentication result and the second request sent by the corresponding playback terminal are secure; otherwise, it is insecure.
[0048] In S104, the target playback terminal can be at least one playback terminal in which the first authentication result indicates the second requesting security playback terminal.
[0049] The aforementioned transmission of the multimedia file corresponding to the first request to the target playback terminal can enable the target playback terminal to play the multimedia file corresponding to the first request, or enable the target playback terminal to play multiple multimedia files corresponding to the first request according to the playback plan information.
[0050] In some embodiments, the notification message may include playback plan information, which may be used to instruct the playback terminal to play a plan of multiple multimedia files.
[0051] Specifically, S104 mentioned above may include:
[0052] If the first authentication result corresponding to the target playback terminal indicates that the second request is secure, multiple multimedia files corresponding to the first request are transmitted to the target playback terminal so that the target playback terminal can play the multiple multimedia files corresponding to the first request according to the playback plan information.
[0053] The aforementioned playback plan information can be used to instruct the playback terminal on a plan for playing multiple multimedia files. For example, it can instruct the playback terminal on a playback order plan or a playback time plan for playing multiple multimedia files.
[0054] In this embodiment, when the first authentication result corresponding to the target playback terminal indicates that the second request is secure, transmitting multiple multimedia files corresponding to the first request to the target playback terminal enables the target playback terminal to play the multiple multimedia files corresponding to the first request according to the playback plan information, thereby satisfying the user's need for planned playback of multiple multimedia files.
[0055] As one implementation of this application, in order to meet the requirement of different playback terminals in the exhibition hall playing different multimedia files, the aforementioned server is communicatively connected to the management terminal and multiple playback terminals; before transmitting the multimedia file corresponding to the first request to the target playback terminal, it may further include:
[0056] In response to the first request, playback relationship information associated with multiple playback terminals is generated. The playback relationship information is used to indicate multiple playback relationships, and the multiple playback relationships correspond to multiple playback terminals. Each playback relationship is the relationship between its corresponding playback terminal and at least one multimedia file, and at least one multimedia file corresponds to the first request.
[0057] The aforementioned transmission of the multimedia file corresponding to the first request to the target playback terminal may specifically include:
[0058] Based on the playback relationship information, the corresponding target playback relationship is determined. The target playback relationship is the playback relationship that corresponds to the target playback terminal among multiple playback relationships.
[0059] Transmit at least one target multimedia file to the target playback terminal, wherein each target multimedia file is a multimedia file in the target playback relationship.
[0060] The aforementioned playback relationship information can be used to indicate multiple playback relationships, wherein the multiple playback relationships correspond to multiple playback terminals, and each playback relationship is the relationship between its corresponding playback terminal and at least one multimedia file, and at least one multimedia file corresponds to the first request.
[0061] The above-mentioned response to the first request to generate playback relationship information associated with multiple playback terminals may include responding to the first request and generating playback relationship information associated with multiple playback terminals according to relationship indication information, wherein the first request includes relationship indication information, which is used to instruct each playback terminal to change the relationship between itself and the multimedia files corresponding to the playback terminal.
[0062] In this embodiment, based on the playback relationship information, the corresponding target playback relationship is determined, and at least one target multimedia file is transmitted to the target playback terminal. This enables each target terminal to play the multimedia file corresponding to the playback relationship, thereby fulfilling the requirement for different playback terminals in the exhibition hall to play different multimedia files.
[0063] In some embodiments, the first request includes relationship indication information, which is used to instruct each playback terminal to change the relationship between the multimedia files corresponding to the playback terminal;
[0064] In response to the first request, the above-mentioned method generates playback relationship information associated with multiple playback terminals, which may specifically include:
[0065] In response to the first request, playback relationship information associated with multiple playback terminals is generated based on the relationship indication information.
[0066] The aforementioned relationship indication information can be used to instruct each playback terminal to change the relationship between itself and the multimedia files corresponding to the playback terminal. For example, it can be used to instruct the first playback terminal to change the first multimedia file it is playing to the second multimedia file among multiple playback terminals.
[0067] In this embodiment, playback relationship information associated with multiple playback terminals is generated based on the relationship indication information in the first request, so as to enable each playback terminal to change the multimedia file corresponding to the playback terminal, thereby improving the flexibility of playing multimedia files in the exhibition hall.
[0068] As another implementation of this application, in order to improve the security of multimedia file transmission in the exhibition hall, before the above-mentioned S101, it may also include:
[0069] Obtain the device code of at least one playback terminal, where the device code is a unique identifier for the playback terminal;
[0070] Security authentication is performed on the device code of each playback terminal to obtain a third authentication result corresponding to each playback terminal. The third authentication result is used to indicate whether the playback terminal corresponding to it is secure.
[0071] Specifically, S101 mentioned above may include:
[0072] When the server is connected to the management terminal and at least one playback terminal, and at least one third authentication result indicates that the playback terminal is secure, if a first request is received, a notification message corresponding to the first request is generated.
[0073] The aforementioned device code can serve as a unique identifier for the playback terminal. In addition, the management terminal also has a unique device code.
[0074] The aforementioned security authentication of the device codes of each playback terminal to obtain a third authentication result corresponding to each playback terminal may include security authentication of the device codes of the management terminal and each playback terminal to obtain a third authentication result corresponding to the management terminal and each playback terminal.
[0075] The aforementioned security authentication can involve the server encrypting the device code of each playback terminal according to a preset encryption rule, obtaining various encryption results, and comparing each encryption result with the preset configuration information of each playback terminal in the server. If the comparison matches, it indicates that the third authentication result indicates the playback terminal is secure; otherwise, if the comparison does not match, it indicates that the third authentication result indicates the playback terminal is insecure.
[0076] In this embodiment, before the server generates a notification message corresponding to the first request if it receives the first request, security authentication is performed on the device encoding of each playback terminal to improve the security of sending multimedia files in the exhibition hall.
[0077] To facilitate understanding of the method for sending multimedia files in the exhibition hall according to the embodiments of this application, the actual application process of this method for sending multimedia files in the exhibition hall is described as follows:
[0078] like Figure 2 As shown, this embodiment provides an application scenario for a method of sending multimedia files in an exhibition hall:
[0079] When the management client (i.e., the aforementioned management terminal) and the playback client (i.e., the aforementioned playback terminal) are connected to the server (including the middle layer and the back-end layer, where the middle layer includes the message center and the security center, and the back-end layer includes the storage center and the management center), the management client sends a business request (i.e., the aforementioned first request) to the server's security center. The security center performs security authentication, and after successful authentication, it allows the business request to be processed by the management center in the server's back-end layer. The management center processes the business according to the business request, saves the relevant multimedia files to the storage center, and publishes the playback plan information to the message center. The playback client subscribes to the relevant services of the message center. When the management center updates the message queue, the playback client receives the message content from the message center. Based on the received message content, the playback client sends a download resource request (i.e., the aforementioned second request) to the security center. After successful authentication, the security center allows the download resource request to be processed by the storage center. After the playback client downloads the display resources (i.e., multimedia files) to its local machine, it can implement the playback function according to the playback plan.
[0080] The functional units described above will be introduced in detail below.
[0081] I. Playback Client
[0082] The playback client is implemented using Python and its plugins, which can send HTTP requests to interact with the security center, register, log in, and request to download resources.
[0083] Configure the message center address and JASS attributes in the playback client, and write the code for the consumer (referring to the playback client) and listener (referring to the management client). This process mainly uses the API calls of its plugins, so that it can connect to the message center (implemented by Kafka) and implement the subscription-publish function, so that it can obtain information pushed to the message center from the management center in real time.
[0084] Business processes involved:
[0085] The playback client obtains and encapsulates the device registration information (the registration information mainly includes: device number, registration code, fingerprint information, and MAC address), and registers it by sending an HTTP request to the security center.
[0086] The playback client obtains and encapsulates the login information (which mainly includes: device number, fingerprint information, and MAC address), and logs in by sending an HTTP request to the security center.
[0087] The playback client subscribes to the playback service of the message center (using Python and its plugins). The message center is implemented using Kafka. SASL authentication is enabled in the Kafka server configuration file. The JAAS attribute is configured in the playback client. This enables the authentication function between the playback client and the message center. Once authentication is successful, the playback client can obtain playback service information from the message center.
[0088] Based on the obtained playback service information, the playback client sends an HTTP request to the security center to download the resource. After the request is successful, the downloaded resource is loaded and played according to the playback plan.
[0089] II. Management Client
[0090] The management client is a front-end system for a management platform implemented based on elementUI and vue.js. It provides visual operations for various interfaces, allowing users to interact with the management center by manipulating the components of the management client to modify data.
[0091] Responsible for adding, deleting, modifying, and querying data on the playback client;
[0092] Adding, deleting, modifying, and querying multimedia file resources;
[0093] Responsible for adding, deleting, modifying, and querying playback schedules;
[0094] The management client needs to log in to access the platform and manipulate data. After logging in, it interacts with the security center and receives a token. Subsequent service requests sent to the security center will include this token.
[0095] The relevant business process is completed by sending an AJAX request from a Vue.js component to the management center via the security center.
[0096] III. Security Center
[0097] The security center is implemented based on Spring Boot, Spring Security, and JWT.
[0098] Its basic principle is to use the Spring Security framework to load the configured permission authentication rules and encrypt user information during initialization;
[0099] After the service has started, a successful login request will encrypt the login information into a token using JWT and return it to the corresponding management client or playback client.
[0100] The management client sends a business request with token information to the security center. The token information is decrypted using JWT, and the token information is verified according to the configuration information. If the authentication is successful, the request is allowed to be sent to the management center or storage center; otherwise, it is blocked.
[0101] IV. Message Center
[0102] The message center is a queue service built using Kafka. By enabling SASL authentication in the Kafka configuration file, the message queue can be transmitted using the publish-subscribe pattern (here, the playback client uses relevant components to subscribe to a service of a topic, and when the management center publishes a queue to the service of that topic, the playback client will receive the information in real time).
[0103] After successful configuration, the management center can use Java and its components to push queue information to the message center. After receiving the queue information, the message center will push the information to the subscribed playback clients (implemented in Python and its components, with the connection attributes of the message center configured and the listener and consumer code written).
[0104] V. Management Center
[0105] The management center is a Java-based backend service (Spring Boot + MyBatis). Requests passed through the security center are processed for business logic. This scenario involves modifying the MySQL database, which is achieved by Java calling the MyBatis framework's API to operate the database. For push messaging, the Kafka-client component is used to push information to the message center. Specifically, this involves configuring the message center service connection properties (Kafka connection configuration properties, enabling client JASS properties for Kafka security authentication). After configuration, producer code is written, primarily using the APIs in the Kafka-client component to pass messages to the functional methods according to API rules, thus implementing the message center push functionality. For file storage, the FastDFS component is used to operate on FastDFS for file storage. This is implemented by first configuring the FastDFS service address and saving the path prefix, then writing file upload code using the APIs provided by FastDFS-Java to upload files to the FastDFS server.
[0106] VI. Storage Center
[0107] A distributed file system implemented using FastDFS.
[0108] The FastDFS architecture includes a Tracker server and a Storage server.
[0109] Its functional implementation process:
[0110] The client requests the Tracker server to upload and download files; the Tracker server then schedules the storage server to ultimately complete the file upload and download.
[0111] In this embodiment, security authentication ensures the security of the entire system, the publish-subscribe model ensures timeliness, and operations can be performed only on the management client, making it convenient to operate.
[0112] Based on the method for sending multimedia files in an exhibition hall provided in the above embodiments, this application also provides a specific implementation of a device for sending multimedia files in an exhibition hall. Please refer to the following embodiments.
[0113] like Figure 3 As shown in the embodiment of this application, the multimedia file sending device 300 for exhibition halls is applied to a server and may include the following modules: a first generation module 301, a first sending module 302, a first security authentication module 303, and a second sending module 304.
[0114] The first generation module 301 is used to generate a notification message corresponding to the first request if a first request is received when the server is in communication connection with the management terminal and at least one playback terminal. The first request is used to request the playback of a multimedia file on at least one playback terminal.
[0115] The first sending module 302 is used to send a notification message to at least one playback terminal;
[0116] The first security authentication module 303 is used to perform security authentication on the second request sent by at least one playback terminal in response to the notification message when receiving a second request from at least one playback terminal in response to the second request sent by the notification message, and to obtain a first authentication result corresponding to each playback terminal. The first authentication result is used to indicate whether the second request sent by the corresponding playback terminal is secure.
[0117] The second sending module 304 is used to transmit a multimedia file corresponding to the first request to the target playback terminal when the first authentication result corresponding to the target playback terminal indicates that the second request is secure, so that the target playback terminal can play the multimedia file corresponding to the first request.
[0118] The multimedia file sending device for an exhibition hall according to this application embodiment is applied to a server. When the server is communicatively connected to a management terminal and at least one playback terminal, if a first request is received, a notification message corresponding to the first request is generated. The first request requests the playback of a multimedia file on at least one playback terminal, and the notification message is sent to the at least one playback terminal. Upon receiving a second request from at least one playback terminal in response to the notification message, security authentication is performed on the second request sent by the at least one playback terminal, obtaining a first authentication result corresponding to each playback terminal. If the first authentication result corresponding to the target playback terminal indicates that the second request is secure, the multimedia file corresponding to the first request is transmitted to the target playback terminal, enabling the target playback terminal to play the multimedia file corresponding to the first request. Thus, this embodiment can perform security authentication on the second request sent by the playback terminal to ensure the security of the playback terminal, thereby achieving secure transmission of multimedia files to the corresponding playback terminal.
[0119] As one implementation of this application, in order to meet the requirement of different playback terminals in the exhibition hall playing different multimedia files, the aforementioned server is connected to the management terminal and multiple playback terminals.
[0120] The aforementioned device 300 may further include:
[0121] The second generation module is used to respond to the first request and generate playback relationship information associated with multiple playback terminals. The playback relationship information is used to indicate multiple playback relationships, and the multiple playback relationships correspond to multiple playback terminals. Each playback relationship is the relationship between its corresponding playback terminal and at least one multimedia file, and at least one multimedia file corresponds to the first request.
[0122] The aforementioned second transmitting module 304 may specifically include:
[0123] The determining unit is used to determine the corresponding target playback relationship based on the playback relationship information. The target playback relationship is the playback relationship that corresponds to the target playback terminal among multiple playback relationships.
[0124] The sending unit is used to transmit at least one target multimedia file to the target playback terminal, wherein each target multimedia file is a multimedia file in the target playback relationship.
[0125] In some embodiments, the first request includes relationship indication information, which is used to instruct each playback terminal to change the relationship between the multimedia files corresponding to the playback terminal;
[0126] The second generation module is specifically used to respond to the first request and generate playback relationship information associated with multiple playback terminals based on the relationship indication information.
[0127] In some embodiments, the first generation module 301 may specifically include:
[0128] The security authentication unit is used to perform security authentication on the first request if it receives the first request, and obtain a second authentication result. The second authentication result is used to indicate whether the first request sent by the management client is secure.
[0129] The generation unit is used to generate a notification message corresponding to the first request if the second authentication result indicates that the first request sent by the management client is secure.
[0130] In some embodiments, the notification message includes playback plan information, which is used to instruct the playback terminal to play a plan for multiple multimedia files.
[0131] The aforementioned second sending module 304 can be specifically used to transmit multiple multimedia files corresponding to the first request to the target playback terminal when the first authentication result corresponding to the target playback terminal indicates that the second request is secure, so that the target playback terminal can play the multiple multimedia files corresponding to the first request according to the playback plan information.
[0132] As another implementation of this application, in order to improve the security of multimedia file transmission in the exhibition hall, the above-mentioned device 300 may further include:
[0133] The acquisition module is used to acquire the device code of at least one playback terminal, where the device code is a unique identifier for the playback terminal;
[0134] The second security authentication module is used to perform security authentication on the device code of each playback terminal and obtain a third authentication result corresponding to each playback terminal. The third authentication result is used to indicate whether the corresponding playback terminal is secure.
[0135] The aforementioned first generation module 301 can be specifically used to generate a notification message corresponding to the first request if a first request is received, when the server is in communication connection with the management terminal and at least one playback terminal, and at least one third authentication result indicates that the playback terminal is secure.
[0136] Figure 4 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown.
[0137] An electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0138] Specifically, the processor 401 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0139] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 402 may include removable or non-removable (or fixed) media. Where appropriate, memory 402 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 402 is non-volatile solid-state memory.
[0140] In a particular embodiment, memory 402 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Thus, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of this disclosure.
[0141] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any of the methods for sending multimedia files in the exhibition hall in the above embodiments.
[0142] In one example, the electronic device may also include a communication interface 403 and a bus 410. For example, Figure 4 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.
[0143] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0144] Bus 410 includes hardware, software, or both, that couples components of an electronic device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 410 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.
[0145] The electronic device can execute the method for sending multimedia files in the exhibition hall as described in this application embodiment, thereby achieving a combination Figure 1 and Figure 3 The method and apparatus for sending multimedia files in the exhibition hall are described.
[0146] Furthermore, in conjunction with the methods for sending multimedia files in the exhibition hall described in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the methods for sending multimedia files in the exhibition hall described in the above embodiments.
[0147] In conjunction with the exhibition hall multimedia file sending method in the above embodiments, this application embodiment can provide a computer program product, in which the instructions of the computer program product, when executed by the processor of an electronic device, cause the electronic device to execute any of the above exhibition hall multimedia file sending methods.
[0148] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0149] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0150] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0151] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0152] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A method of transmitting a multimedia file of an exhibition hall, characterized in that, Applied to a server, the method comprises: In the case that the server is in communication connection with a management terminal and at least one playing terminal, if a first request is received, a notification message corresponding to the first request is generated, the first request is used to request playing multimedia files on the at least one playing terminal, the first request comprises relationship indication information, the relationship indication information is used to indicate that each playing terminal changes the relationship between the multimedia files corresponding to the playing terminal, and the first request is sent by the management terminal; The notification message is sent to the at least one playing terminal; In the case that a second request sent by the at least one playing terminal in response to the notification message is received, the second request sent by the at least one playing terminal is subjected to security authentication, and a first authentication result corresponding to each playing terminal is obtained, the first authentication result is used to indicate whether the second request sent by the playing terminal corresponding thereto is secure, wherein in the case that the information after the token message in the second request is subjected to jwt decryption matches preset configuration information, it is determined that the second request sent by the playing terminal corresponding to the first authentication result is secure; In the case that the first authentication result corresponding to the target playing terminal indicates that the second request is secure, the multimedia file corresponding to the first request is transmitted to the target playing terminal, so that the target playing terminal plays the multimedia file corresponding to the first request; Wherein, the server is in communication connection with the management terminal and a plurality of playing terminals; Before the multimedia file corresponding to the first request is transmitted to the target playing terminal, it further comprises: In response to the first request, the relationship indication information is used to generate playing relationship information associated with the plurality of playing terminals, the playing relationship information is used to indicate a plurality of playing relationships, the plurality of playing relationships correspond to the plurality of playing terminals, each playing relationship is the relationship between the playing terminal corresponding thereto and at least one multimedia file, and the at least one multimedia file corresponds to the first request; The multimedia file corresponding to the first request is transmitted to the target playing terminal, comprising: According to the playing relationship information, a corresponding target playing relationship is determined, the target playing relationship is a playing relationship in the plurality of playing relationships corresponding to the target playing terminal; At least one target multimedia file is transmitted to the target playing terminal, and each target multimedia file is a multimedia file in the target playing relationship.
2. The method of claim 1, wherein, If the first request is received, the notification message corresponding to the first request is generated, comprising: If the first request is received, the first request is subjected to security authentication, and a second authentication result is obtained, the second authentication result is used to indicate whether the first request sent by the management terminal is secure; In the case that the second authentication result indicates that the first request sent by the management terminal is secure, the notification message corresponding to the first request is generated.
3. The method of claim 1, wherein, The notification message comprises playing plan information, and the playing plan information is used to indicate the plan of the playing terminal playing a plurality of multimedia files; The first authentication result corresponding to the target playback terminal indicates that the second request is safe, and the multimedia file corresponding to the first request is transmitted to the target playback terminal, so that the target playback terminal plays the multimedia file corresponding to the first request. In the case that the first authentication result corresponding to the target playback terminal indicates that the second request is safe, the plurality of multimedia files corresponding to the first request are transmitted to the target playback terminal, so that the target playback terminal plays the plurality of multimedia files corresponding to the first request according to the playback plan information.
4. The method of claim 1, wherein, Before generating the notification message corresponding to the first request if the first request is received in the case that the server is in communication connection with the management terminal and the at least one playback terminal, the method further includes: Obtaining the device code of the at least one playback terminal, the device code being a code representing the unique identity of the playback terminal; Performing security authentication on the device code of each playback terminal to obtain a third authentication result corresponding to each playback terminal, the third authentication result being used to indicate whether the playback terminal corresponding thereto is safe; Generating the notification message corresponding to the first request if the first request is received in the case that the server is in communication connection with the management terminal and the at least one playback terminal, the first request being used to request playing multimedia files on the at least one playback terminal, the first request including relationship indication information, the relationship indication information being used to indicate that each playback terminal changes the relationship between the multimedia files corresponding to the playback terminal, and the first request being sent by the management terminal. The device is applied to a server and includes:
5. A transmission apparatus of an exhibition hall multimedia file, characterized in that, The first generation module is configured to generate the notification message corresponding to the first request if the first request is received in the case that the server is in communication connection with the management terminal and the at least one playback terminal, the first request being used to request playing multimedia files on the at least one playback terminal, the first request including relationship indication information, the relationship indication information being used to indicate that each playback terminal changes the relationship between the multimedia files corresponding to the playback terminal, and the first request being sent by the management terminal. The first sending module is configured to send the notification message to the at least one playback terminal. The second security authentication module is configured to perform security authentication on the second request sent by the at least one playback terminal in response to the notification message to obtain a first authentication result corresponding to each playback terminal, the first authentication result being used to indicate whether the second request sent by the playback terminal corresponding thereto is safe, wherein the first authentication result is determined to be safe in the case that the information obtained by decrypting the token message in the second request by jwt matches preset configuration information. The second sending module is configured to transmit the multimedia file corresponding to the first request to the target playing terminal to make the target playing terminal play the multimedia file corresponding to the first request when the first authentication result corresponding to the target playing terminal indicates that the second request is secure. The server is in communication connection with the management terminal and the plurality of playing terminals. The apparatus further includes: The second generating module is configured to generate playing relationship information associated with the plurality of playing terminals according to the relationship indication information in response to the first request before the multimedia file corresponding to the first request is transmitted to the target playing terminal, the playing relationship information being used to indicate a plurality of playing relationships, the plurality of playing relationships corresponding to the plurality of playing terminals, and each playing relationship being a relationship between a playing terminal and at least one multimedia file corresponding to the first request. The second sending module includes: A determining unit is configured to determine a target playing relationship corresponding to the target playing terminal according to the playing relationship information, the target playing relationship being a playing relationship in the plurality of playing relationships corresponding to the target playing terminal. A sending unit is configured to transmit at least one target multimedia file to the target playing terminal, each target multimedia file being a multimedia file in the target playing relationship.
6. An electronic device, comprising: The device includes a processor and a memory storing computer program instructions; and the processor implements the method for sending the exhibition hall multimedia file according to any one of claims 1-4 when executing the computer program instructions.
7. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by the processor to implement the method for sending the exhibition hall multimedia file according to any one of claims 1-4.
8. A computer program product, characterised in that, The instructions in the computer program product are executed by the processor of the electronic device to make the electronic device execute the method for sending the exhibition hall multimedia file according to any one of claims 1-4.
Citation Information
Patent Citations
Secure media transmission method and system
CN115460188A