Multimedia data processing method and device, electronic equipment, server, storage medium and product

By launching primary and standby instances in the cloud application and switching multimedia data in case of anomalies, the restart issue caused by cloud application anomalies is resolved, improving stability and continuity.

CN122137990APending Publication Date: 2026-06-02BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-11-29
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

When cloud applications malfunction, current technology can only restore them by restarting, which affects the continuity and stability of cloud applications, and may cause business interruption, especially in business scenarios with high real-time requirements.

Method used

By launching at least two application instances, a primary instance and a standby instance, on different cloud containers, multimedia data can be switched to the standby instance in case of a failure of the primary instance, thus avoiding restarting and recovery from failures and improving stability.

Benefits of technology

It enables cloud applications to resume normal operation without restarting when they encounter abnormalities, thus improving the stability and continuity of cloud applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122137990A_ABST
    Figure CN122137990A_ABST
Patent Text Reader

Abstract

This disclosure provides a multimedia data processing method, apparatus, electronic device, server, storage medium, and product. The multimedia data processing method includes: transmitting a first startup request for a cloud application, wherein the first startup request is a request to trigger the startup of the cloud application; acquiring multimedia data of at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers corresponding to different operating environments of the cloud application, and the application instances include at least a first instance and a second instance; displaying the multimedia data of the first instance; and, in the event of an anomaly in the first instance, switching the displayed content from the multimedia data of the first instance to the multimedia data of the second instance. This multimedia data processing method enables the restoration of a malfunctioning cloud application to normal operation without requiring a restart.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to computer technology, and more particularly to multimedia data processing methods, apparatus, electronic devices, servers, storage media, and products. Background Technology

[0002] Cloud applications are applications that run in the cloud, based on cloud computing technology. During operation, cloud applications may be affected by the performance of cloud containers or by vulnerabilities in the application itself, leading to anomalies.

[0003] When a cloud application malfunctions, restarting it is the only way to restore normal operation. However, this single recovery method has certain limitations. Frequent restarts may affect the continuity and stability of cloud applications, and for some business scenarios with high real-time requirements, it may cause adverse consequences such as business interruption. Summary of the Invention

[0004] This disclosure provides multimedia data processing methods, apparatus, electronic devices, servers, storage media, and products to restore abnormal cloud applications to normal operation without requiring a restart.

[0005] In a first aspect, embodiments of this disclosure provide a multimedia data processing method, including:

[0006] Transmit a first launch request for a cloud application, wherein the first launch request is a request that triggers the launch of the cloud application;

[0007] Obtain multimedia data from at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance;

[0008] Display the multimedia data of the first instance;

[0009] In the event of an anomaly in the first instance, the displayed content will be switched from the multimedia data of the first instance to the multimedia data of the second instance.

[0010] Secondly, embodiments of this disclosure also provide a multimedia data processing method, including:

[0011] Obtain a first launch request from a cloud application transmitted by an electronic device, wherein the first launch request is a request to trigger the launch of the cloud application;

[0012] In response to the first launch request, application instances of the cloud application are launched on at least two cloud containers, the application instances including at least a first instance and a second instance;

[0013] Multimedia data of the at least two application instances are transmitted to the electronic device.

[0014] Thirdly, embodiments of this disclosure also provide a multimedia data processing apparatus, including:

[0015] A transmission module is used to transmit a first startup request for a cloud application, wherein the first startup request is a request to trigger the startup of the cloud application;

[0016] The acquisition module is used to acquire multimedia data of at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance.

[0017] The display module is used to display the multimedia data of the first instance;

[0018] The switching module is used to switch the displayed content from the multimedia data of the first instance to the multimedia data of the second instance in the event of an abnormality in the first instance.

[0019] Fourthly, embodiments of this disclosure also provide a multimedia data processing apparatus, including:

[0020] The acquisition module is used to acquire a first startup request of a cloud application transmitted by an electronic device, wherein the first startup request is a request to trigger the startup of the cloud application;

[0021] A startup module is configured to, in response to the first startup request, launch application instances of the cloud application on at least two cloud containers, wherein the application instances include at least a first instance and a second instance;

[0022] A transmission module is used to transmit multimedia data of the at least two application instances to the electronic device.

[0023] Fifthly, embodiments of this disclosure also provide an electronic device, characterized in that the electronic device comprises:

[0024] One or more processing devices;

[0025] Storage device for storing one or more programs.

[0026] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the multimedia data processing method provided in the embodiments of this disclosure.

[0027] Sixthly, embodiments of this disclosure also provide a server, the server comprising:

[0028] One or more processing devices;

[0029] Storage device for storing one or more programs.

[0030] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the multimedia data processing method provided in the embodiments of this disclosure.

[0031] In a seventh aspect, embodiments of this disclosure also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the multimedia data processing method provided in embodiments of this disclosure.

[0032] Eighthly, embodiments of this disclosure also provide a computer program product, including a computer program that, when executed by a processor, implements the multimedia data processing method provided according to embodiments of this disclosure.

[0033] The solution provided in this disclosure transmits a first startup request for a cloud application, obtains multimedia data from at least two application instances that respond to the first startup request, displays the multimedia data of the first instance as the primary instance, and switches the displayed multimedia data to the multimedia data of the second instance in the event of an anomaly in the primary instance. This avoids the need to restart the cloud application to restore normal operation in the event of an anomaly in the cloud application, thereby improving the stability of the cloud application. Attached Figure Description

[0034] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0035] Figure 1 This is a schematic flowchart of a multimedia data processing method provided in an embodiment of this disclosure;

[0036] Figure 2 This is a system structure diagram provided in an embodiment of the present disclosure;

[0037] Figure 3 This is a schematic flowchart of another multimedia data processing method provided in the embodiments of this disclosure;

[0038] Figure 4 This is a schematic flowchart of another multimedia data processing method provided in the embodiments of this disclosure;

[0039] Figure 5 This is a schematic flowchart of another multimedia data processing method provided in the embodiments of this disclosure;

[0040] Figure 6 This is a schematic diagram of system interaction provided in an embodiment of this disclosure;

[0041] Figure 7 This is a schematic diagram of a synchronization process provided in an embodiment of this disclosure;

[0042] Figure 8 This is a schematic diagram of the structure of a multimedia data processing device provided in an embodiment of this disclosure;

[0043] Figure 9 This is a schematic diagram of the structure of another multimedia data processing device provided in the embodiments of this disclosure;

[0044] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure;

[0045] Figure 11 This is a schematic diagram of the structure of a server provided in an embodiment of this disclosure. Detailed Implementation

[0046] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0047] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0048] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0049] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0050] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0051] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0052] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0053] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0054] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0055] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0056] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0057] Currently, when cloud applications malfunction, a restart button is provided on the user interface. Users can click the restart button to restart the cloud application when they encounter a problem. However, this method of resolving the problem by restarting the cloud application reduces its stability.

[0058] To address the aforementioned technical problems, this disclosure provides a multimedia data processing method that enables disaster recovery for cloud applications through cloud containers. Figure 1 This is a flowchart illustrating a multimedia data processing method provided in this embodiment. This embodiment is applicable to situations where cloud applications are running on the terminal side and abnormalities in the cloud applications are being handled. This method can be executed by a multimedia data processing device, which can be implemented in software and / or hardware, or optionally, by an electronic device, such as a mobile terminal or a PC.

[0059] Figure 2 This is a system architecture diagram provided in an embodiment of the present disclosure. The system in this disclosure includes a cloud application client cluster, a cloud application platform, and a cloud server cluster.

[0060] Cloud applications can be considered as software programs that run on cloud servers.

[0061] A cloud application client cluster consists of multiple clients integrated on electronic devices. Each client contains a host app, which can integrate a cloud application client software development kit (SDK). The cloud application client SDK is responsible for interacting with the cloud application platform, enabling functions such as control and display of the cloud application; the host app provides the runtime environment for the client SDK. The host app can be any application that provides the runtime environment for the cloud application clients.

[0062] The cloud application client SDK serves the following purposes:

[0063] 1. Provides a visual interface, allowing users to operate the cloud application client interface;

[0064] 2. Establish a connection with the cloud application platform and transmit operation instructions to the cloud application platform;

[0065] 3. Establish a connection with the cloud application platform, receive the data that the cloud application platform needs to display, and execute the strategies issued by the cloud application platform;

[0066] 4. Integrate into the host app and interact with it.

[0067] A cloud application platform primarily consists of access services and audio / video services. The cloud application platform provides access services, enabling various terminal devices to connect to the platform and handling machine allocation and application startup. The cloud application platform also includes audio / video services, responsible for audio / video-related business logic, such as processing and transmitting audio and video data from the cloud application.

[0068] A cloud server cluster provides computing and storage capabilities for the entire system. A cloud server cluster comprises multiple cloud containers. These containers serve as isolation and resource management tools. They carry the business logic and related services of cloud applications, ensuring that different cloud applications and services can run in independent environments while rationally allocating resources within the cloud server cluster.

[0069] The application SDK for cloud applications integrates within the application for the following purposes:

[0070] 1. Integrate within the application and interact with the application;

[0071] 2. Interact with the cloud application platform to receive and execute policies issued by the cloud application platform.

[0072] The push data stream SDK serves the following purposes:

[0073] 1. Serving audio and video streaming for cloud applications;

[0074] 2. Interact with the application SDK of cloud applications.

[0075] Cloud application containers, also known as cloud containers, serve the following purposes:

[0076] 1. The machine on which the cloud application actually runs the application;

[0077] 2. Establish a connection with the cloud application platform and transmit data to the cloud application platform;

[0078] 3. Execute operation instructions transmitted by the cloud application platform.

[0079] This disclosure aims to address the issue that when running cloud applications, cloud applications are affected by cloud containers, such as performance limitations (excessive CPU and memory load), or vulnerabilities in the game itself, which prevent the cloud application from continuing to run, or even more seriously, cause the cloud application to crash.

[0080] Taking cloud gaming as an example, a cloud application can be considered a cloud game, a cloud server cluster can be considered a cloud game server cluster, and a cloud application platform can be considered a cloud gaming platform. Cloud gaming transfers the game's operation and processing from the user's local device to a cloud server. In the cloud, the server cluster is responsible for tasks such as game computation and rendering. Users send operation commands to the cloud server using various electronic devices (such as smartphones, tablets, smart TVs, computers, etc.). After receiving the commands, the cloud server processes them accordingly and transmits the game screen back to the user's electronic device in real time as a video stream. What the user sees on their electronic device is the game screen processed by the cloud, and they can also send operation commands to the cloud through input devices (such as keyboards, mice, gamepads, touchscreens, etc.) to interact with the game.

[0081] Cloud server clusters provide computing power for cloud gaming platforms. In cloud gaming, complex computational tasks such as game execution and rendering are performed in the cloud. Multiple servers in a cloud server cluster can process tasks in parallel, ensuring that the game runs at a high frame rate and high image quality.

[0082] In conjunction with the above system, this disclosure provides a multimedia data processing method such as Figure 1 As shown, the method includes:

[0083] S110, transmits the first startup request for the cloud application.

[0084] The first launch request is a request to trigger the launch of the cloud application. The content of the first launch request is not limited here, as long as it can trigger the launch of the cloud application. For example, the first launch request may include an identifier of the cloud application to be launched, which can uniquely identify the cloud application. The first launch request may also include an identifier of the electronic device, which can uniquely identify the electronic device.

[0085] This disclosure does not limit how the electronic device triggers the transmission of the first launch request. For example, the transmission of the first launch request can be triggered by clicking a control in the cloud application within the host app. The first launch request can be transmitted to the cloud application platform to trigger the launch of the application.

[0086] S120: Obtain multimedia data from at least two application instances.

[0087] Multimedia data can be considered a collection of data from various types of media content. Multimedia data includes media content such as images, audio, video, and text. Media content can refer to information and materials presented through various media formats.

[0088] After transmitting the first startup request, the cloud server can create an instance of the cloud application and transmit the instance's multimedia data to the electronic device for display.

[0089] In this embodiment, in response to the first launch request, multimedia data from at least two application instances is obtained. This operation can be performed by retrieving application instances from a cloud server via a cloud application platform.

[0090] At least two application instances are instances launched on different cloud containers for the cloud application. Different cloud containers correspond to different runtime environments for the cloud application. Each application instance includes at least a first instance and a second instance. The first instance can be the primary instance of the cloud application, and the second instance can be a backup instance of the cloud application. The primary instance is the instance that processes tasks, including tasks associated with the cloud application. The multimedia data display status of the second instance is not displayed. Display status can be considered as representing whether multimedia data is displayed on or off in the second instance. The runtime environment can refer to the sum of various conditions and resources that the cloud application depends on during operation.

[0091] In this embodiment, the multimedia data of the second instance is not displayed, so that the multimedia data of the second instance is not displayed on the electronic device.

[0092] Taking cloud gaming as an example, an application instance can be understood as the runtime environment of a cloud game. An application instance can be an independent computing unit created on top of a physical server through virtualization. Each application instance has its own independent operating system, computing resources (such as CPU and memory), and configuration.

[0093] In cloud gaming, cloud containers play a crucial role in isolating and managing resources. They isolate application instances from other instances and other parts of the cloud server, ensuring that application instances do not interfere with each other. Simultaneously, cloud containers are responsible for allocating the necessary computing, storage, and network resources to application instances. An application instance contains the complete state of the game at a given moment, encompassing various elements such as character status (including location, level, and equipment) and the state of the game environment (including terrain, buildings, etc.).

[0094] Multimedia data includes visuals, which can be the content presented by an application instance on an electronic device. It showcases the game world through images, animations, and special effects.

[0095] Application instances provide game content, cloud containers provide resource guarantees for application instances, and the visuals are presented by application instances with the support of cloud containers, together constituting cloud gaming.

[0096] The cloud applications running on electronic devices are provided by the primary instance (i.e., the first instance). Data processing, rendering, and other tasks of the cloud applications can be performed on the primary instance. For example, when a user performs an action, the action command is sent to the primary instance, which then performs calculations based on the command and returns the rendered game screen to the electronic device.

[0097] The standby instance is in a standby state and does not directly participate in the game's operation, but it loads the archived data of the main instance so that it can perform tasks associated with the cloud application, such as data processing and screen rendering, when the main instance fails.

[0098] Instance data refers to data generated in cloud applications to save information such as the application's progress, status, and settings. Instance data includes game progress information, character status data, game settings data, and / or collected item data, etc.

[0099] In one embodiment, the instance data in the second instance is loaded in real time, at regular intervals, or in the event of an anomaly in the first instance, and the instance data is the data stored in the first instance.

[0100] In this embodiment, the second instance loads the data stored by the first instance in real time; the second instance loads the data stored by the first instance periodically; and the second instance loads the data stored by the first instance in the event of an error in the first instance. This ensures the accuracy of the multimedia data provided by the second instance.

[0101] In this embodiment, if the first instance fails, the second instance loads the instance data of the first instance. This instance data can be the final state of the cloud application at the time of the first instance failure. The second instance can load only the final state to avoid wasting cloud container resources by loading intermediate states.

[0102] If the cloud application is a cloud game, after a cloud game malfunctions, the final progress of the cloud game can be preserved by loading the archived data of the first instance.

[0103] This operation can acquire multimedia data from at least two application instances in real time.

[0104] S130, Display the multimedia data of the first instance.

[0105] After obtaining the multimedia data of the application instance, this operation can display the multimedia data of the first instance, such as displaying multimedia data in various forms including images, audio, and video.

[0106] S140. In the event of an anomaly in the first instance, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance.

[0107] The first instance anomaly can be considered as a situation where the first instance does not conform to normal operating conditions. In the event of a first instance anomaly, the content displayed on the electronic device will be switched from the multimedia data of the first instance to the multimedia data of the second instance.

[0108] Whether the first instance is abnormal can be detected on the electronic device side or on the server side. In the case of server-side detection, this operation can obtain information indicating that the first instance is abnormal from the server side, thereby confirming that the first instance is abnormal.

[0109] In one embodiment, the normal operation flow of a cloud application is as follows: the electronic device starts the cloud application, and the cloud server starts two application instances, designated as the first instance and the second instance. The multimedia data of the first instance can be referred to as the mainstream, and the multimedia data of the second instance can be referred to as the disaster recovery stream. The electronic device displays the multimedia data of the first instance by default, while the multimedia data of the second instance is not displayed. The first instance synchronizes instance data with the second instance in real time / scheduled to achieve synchronization of the cloud application's progress.

[0110] In one embodiment, the disaster recovery process in the event of a cloud application failure is as follows: The first instance fails, for example, by crashing. Upon detecting the failure, the first instance notifies the electronic device, which then uses multimedia data from a second instance as the primary source, achieving a seamless switchover. The electronic device then notifies the cloud server to launch a new standby instance.

[0111] The technical solution of this disclosure embodiment transmits a first startup request of a cloud application, obtains multimedia data from at least two application instances responding to the first startup request, displays the multimedia data of the first instance as the primary instance, and switches the displayed multimedia data to the multimedia data of the second instance as the backup instance in the event of an anomaly of the primary instance. This avoids the need to restart the cloud application to restore normal operation in the event of an anomaly, thereby improving the stability of the cloud application.

[0112] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.

[0113] In one embodiment, in the event of an anomaly in the first instance, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance, including:

[0114] Obtain the indication information of the first instance exception;

[0115] In response to the instruction information, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance;

[0116] Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

[0117] The indication information can be considered as information from the server indicating that the first instance of the electronic device is abnormal. In this embodiment, the server determines whether the first instance is abnormal. After determining that it is abnormal, the indication information is transmitted to notify the electronic device.

[0118] In this embodiment, the instruction information is parsed to determine that the first instance is abnormal. In response to the instruction information, the content to be displayed by the electronic device is switched to the multimedia data of the second instance so that the electronic device can display the cloud application normally.

[0119] Figure 3 This is a flowchart illustrating another multimedia data processing method provided in this disclosure embodiment. This embodiment further includes the operation of starting a backup instance, such as... Figure 3 As shown, this embodiment includes the following steps:

[0120] S310 transmits the first startup request for the cloud application.

[0121] S320: Obtain multimedia data from at least two application instances.

[0122] S330, Display the multimedia data of the first instance.

[0123] S340. In the event of an anomaly in the first instance, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance, and a second startup request is transmitted.

[0124] The second startup request is a request to trigger the startup of a standby instance of the cloud application.

[0125] In this embodiment, the displayed content is switched from multimedia data of the first instance to multimedia data of the second instance. Here, the second instance replaces the first instance and serves as the primary instance of the cloud application. Based on this, the electronic device can send a second startup request to the server through the cloud application platform, requesting the server to start a new backup instance for the cloud application, so that it can switch to the new backup instance in case the second instance fails.

[0126] The content included in the second launch request is not limited here and may include identifiers indicating cloud applications and identifiers indicating electronic devices.

[0127] S350, Obtain multimedia data from the third instance.

[0128] After receiving the second startup request, the server can create a third instance for the cloud application as a backup instance. The cloud container where the third instance resides is a different cloud container than the cloud container where the second instance resides. The fact that the cloud container for the third instance and the cloud container for the second instance can be different provides different operating environments for the cloud applications on the electronic device, avoiding instance anomalies caused by hardware failures.

[0129] In this embodiment, after the first instance fails and the multimedia data is switched to the second instance, a second startup request is transmitted so that the cloud application always has a backup instance, so that it can switch to the backup instance after the main instance fails, thus ensuring the smoothness of the cloud application.

[0130] Figure 4 This is a flowchart illustrating another multimedia data processing method provided in this disclosure embodiment; this disclosure embodiment is applicable to disaster recovery scenarios for cloud applications. The method can be executed by a multimedia data processing device, which can be implemented in software and / or hardware, optionally through a server, which may include multiple cloud containers. Figure 4 As shown, this embodiment includes the following steps:

[0131] S410: Obtain the first launch request of the cloud application transmitted by the electronic device.

[0132] The first startup request is a request to trigger the launch of the cloud application.

[0133] This operation can obtain the first startup request transmitted by the electronic device through a cloud application platform.

[0134] S420. In response to the first startup request, launch application instances of the cloud application on at least two cloud containers respectively.

[0135] The application instance includes at least a first instance and a second instance. The first instance is the primary instance of the cloud application, and the second instance is a backup instance of the cloud application. The primary instance is an instance that processes tasks, including tasks associated with the cloud application. The multimedia data of the second instance is not displayed.

[0136] After obtaining the first launch request, this operation can parse the first launch request, determine the application instance of the cloud application that was launched on at least two cloud containers on the server after the electronic device triggered the launch of the cloud application.

[0137] In this embodiment, for a cloud application, at least one instance of the cloud application is launched on different cloud containers to facilitate disaster recovery for the cloud application.

[0138] After application instances are created, one application instance is used to respond to the cloud application and provide computing power to the cloud application; this is the primary instance. The remaining application instances serve as backup instances.

[0139] S430, Transmit the multimedia data of the at least two application instances to the electronic device.

[0140] This operation transfers multimedia data from an application instance created for a cloud application to an electronic device so that the electronic device can display the multimedia data from the cloud application.

[0141] The multimedia data processing method provided in this embodiment is executed by a server. The server receives a first startup request transmitted by an electronic device and starts at least two application instances for the cloud application, so as to provide a primary instance and a backup instance for the cloud application. Then, the multimedia data of the at least two application instances is transmitted to the electronic device for the electronic device to display the multimedia data of the application instances. In the event of a failure of the primary instance, the electronic device has a backup instance to use, thus achieving disaster recovery for cloud application failures.

[0142] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.

[0143] In one embodiment, the multimedia data processing method further includes:

[0144] Instance data can be obtained by storing the data of the first instance in real time, at regular intervals, or in the event of an anomaly in the first instance.

[0145] The instance data is transferred to the second instance;

[0146] Load the instance data in the second instance;

[0147] Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

[0148] The server stores the data of the first instance periodically, in real time, or when the first instance is abnormal, thus obtaining the instance data.

[0149] Instance data is a copy of the data in the first instance and can include various types of information. For example, in a cloud application, instance data might include cloud application settings, data in a database, etc. In a game, instance data might include character information, etc. This data can be stored in different formats and technologies, such as database storage, file storage, etc., depending on the application scenario and the characteristics of the data.

[0150] Data backup can be achieved by transferring instance data to a second instance.

[0151] The second instance can load instance data after obtaining instance data. The process of loading instance data includes reading the instance data, parsing the data format, loading the data into the memory or storage of the second instance, and updating the state of the second instance according to the content of the data. For example, in a software application, loading instance data may include operations such as reading configuration files, restoring the layout of the user interface, and loading data from the database.

[0152] Loading instance data in the second instance improves reliability and availability.

[0153] Figure 5 This is a flowchart illustrating another multimedia data processing method provided in this embodiment; this embodiment further includes an operation to indicate an anomaly in the first instance, such as... Figure 5 As shown, this embodiment includes the following operations:

[0154] S510: Obtain the first launch request from the cloud application transmitted by the electronic device.

[0155] S520. In response to the first startup request, launch application instances of the cloud application on at least two cloud containers respectively.

[0156] S530, Transmit the multimedia data of the at least two application instances to the electronic device.

[0157] S540. Detect whether the first instance is abnormal.

[0158] After starting at least two application instances, this operation can detect whether the first instance is abnormal, as it serves as the master instance of the cloud application. The detection method is not limited; it can be performed from both hardware and software perspectives to determine if the first instance is abnormal.

[0159] In one embodiment, detecting whether the first instance is abnormal includes:

[0160] The system detects whether the cloud application's runtime environment and whether the cloud application itself are abnormal by using the cloud container where the first instance resides.

[0161] This embodiment can perform a self-check of the cloud container's runtime environment to determine if there are any abnormalities. For example, through... Figure 2 The push data stream SDK detects whether cloud containers are abnormal. When detecting cloud container anomalies, it can detect whether hardware resources are abnormal, such as CPU utilization, memory usage, storage capacity, and network bandwidth.

[0162] In this embodiment, the application SDK of the cloud application in the cloud container can provide an interface to the business logic of the cloud application, and the business logic of the cloud application can transmit its own exceptions to the application SDK of the cloud application.

[0163] S550. In the event of an anomaly in the first instance, transmit indication information indicating that the first instance is anomaly.

[0164] In the event of a first instance failure, this operation can transmit an indication of the first instance failure, instructing the electronic device to switch application instances.

[0165] In this embodiment, the server detects whether the first instance is abnormal. If the first instance is abnormal, the electronic device is notified to switch the application instance, which can resolve the abnormality of the cloud application in a timely manner and realize the rapid recovery of the cloud application.

[0166] Figure 6 This is a schematic diagram of a system interaction provided in an embodiment of this disclosure; see also Figure 6 The electronic device transmits a first startup request, triggering the cloud server (which provides cloud services for the electronic device's cloud applications) to launch the application. The cloud service launches instance 1 (the first instance) and instance 2 (the second instance) of the cloud application. Instance 1 uploads instance data in real time / on a scheduled basis, and instance 2 loads instance data in real time / on a scheduled basis.

[0167] The electronic device acquires the screen of Instance 1 (i.e., the multimedia data of the first instance) and the screen of Instance 2 (i.e., the multimedia data of the second instance). The screen of Instance 2 is not displayed by default, meaning its display status is not displayed. The electronic device then displays the screen of Instance 1 to the user.

[0168] In the disaster recovery process, instance 1 of the cloud server detects whether an anomaly or crash has occurred. Upon detecting an anomaly or crash, it notifies electronic devices to switch instances, i.e., it transmits instruction information. After receiving the instruction information, the electronic devices can switch the displayed content to the screen of instance 2, i.e., the multimedia data of the second instance. The screen of instance 2 is then displayed to the user.

[0169] The electronic device can transmit a second startup request to trigger the startup screen of instance 3. After receiving the second startup request, the cloud service starts instance 3 of the cloud application and loads the latest instance data. Instance 3 loads instance data in real time / on a scheduled basis. The electronic device obtains the screen of instance 3 (i.e., obtains the multimedia data of the third instance), but does not display the screen by default.

[0170] When loading archives, the final state of cloud applications can be loaded.

[0171] Figure 7 This is a schematic diagram of a synchronization process provided in an embodiment of this disclosure; see also Figure 7 When an electronic device triggers the cloud service to launch an application, i.e., a cloud-based application, the cloud service launches instances 1 and 2 of the cloud application. After instance 1 starts, it uploads instance data in real-time or on a scheduled basis. Instance 2 loads instance data in real-time or on a scheduled basis. After disaster recovery, instance 2 becomes the primary instance. When an electronic device triggers the cloud service to launch instance 3, the cloud service launches instance 3 of the cloud application and loads the latest instance data. Instance 3 loads instance data in real-time or on a scheduled basis.

[0172] Different cloud containers can have different configurations. Different instances are pre-started, and in the event of a failure of the primary instance, the system can directly switch to the standby instance, saving the process of starting up the instance during the switchover and enabling rapid instance switching.

[0173] Figure 8 This is a schematic diagram of the structure of a multimedia data processing device provided in an embodiment of this disclosure. The multimedia data processing device provided in this embodiment can be integrated into an electronic device, such as... Figure 8 As shown, the device includes:

[0174] The transmission module 810 is used to transmit a first startup request for a cloud application, wherein the first startup request is a request to trigger the startup of the cloud application;

[0175] The acquisition module 820 is used to acquire multimedia data of at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance.

[0176] Display module 830 is used to display the multimedia data of the first instance;

[0177] The switching module 840 is used to switch the displayed content from the multimedia data of the first instance to the multimedia data of the second instance in the event of an abnormality in the first instance.

[0178] The technical solution provided in this disclosure involves a transmission module transmitting a first startup request for a cloud application, an acquisition module acquiring multimedia data from at least two application instances responding to the first startup request, a display module displaying multimedia data from the first instance (as the primary instance), and a switching module switching the displayed multimedia data to the multimedia data from the second instance (as the backup instance) in the event of an anomaly in the primary instance. This avoids the need to restart the cloud application to restore normal operation in the event of an anomaly, thus improving the stability of the cloud application.

[0179] In one embodiment, the switching module 840 is specifically used for:

[0180] Obtain the indication information of the first instance exception;

[0181] In response to the instruction information, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance;

[0182] Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

[0183] In one embodiment, the multimedia data processing apparatus further includes an exception handling module, configured to:

[0184] In the event of an anomaly in the first instance, a second startup request is transmitted, which is a request to trigger the startup of a backup instance of the cloud application;

[0185] Obtain multimedia data from a third instance, wherein the cloud container in which the third instance is located is a different cloud container than the cloud container in which the second instance is located.

[0186] In one embodiment, the instance data in the second instance is loaded in real time, at regular intervals, or in the event of an anomaly in the first instance, and the instance data is the data stored in the first instance.

[0187] The multimedia data processing apparatus provided in this disclosure can execute the multimedia data processing method provided in the first aspect of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method.

[0188] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.

[0189] Figure 9 This is a schematic diagram of the structure of another multimedia data processing device provided in this embodiment. The multimedia data processing device provided in this embodiment can be integrated into a server, such as... Figure 9 As shown, the multimedia data processing device includes:

[0190] The acquisition module 910 is used to acquire a first startup request of a cloud application transmitted by an electronic device, wherein the first startup request is a request to trigger the startup of the cloud application;

[0191] The startup module 920 is configured to, in response to the first startup request, launch application instances of the cloud application on at least two cloud containers, wherein the application instances include at least a first instance and a second instance.

[0192] The transmission module 930 is used to transmit multimedia data of the at least two application instances to the electronic device.

[0193] The technical solution provided in this disclosure is executed by a server. The server receives a first startup request transmitted by an electronic device and starts at least two application instances for the cloud application, so as to provide a primary instance and a backup instance for the cloud application. Then, the multimedia data of the at least two application instances is transmitted to the electronic device for the electronic device to display the multimedia data of the application instances. In the event of a failure of the primary instance, the electronic device has a backup instance to use, thus achieving disaster recovery for cloud application failures.

[0194] In one embodiment, the multimedia data processing apparatus further includes a storage module for:

[0195] Instance data can be obtained by storing the data of the first instance in real time, at regular intervals, or in the event of an anomaly in the first instance.

[0196] The instance data is transferred to the second instance;

[0197] Load the instance data in the second instance;

[0198] Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

[0199] In one embodiment, the multimedia data processing apparatus further includes a detection module, comprising:

[0200] The detection unit is used to detect whether the first instance is abnormal;

[0201] The transmission unit is used to transmit indication information of the first instance being abnormal in the event of an abnormality.

[0202] In one embodiment, the detection unit is specifically used for:

[0203] The system detects whether the cloud application's runtime environment and whether the cloud application itself are abnormal by using the cloud container where the first instance resides.

[0204] The multimedia data processing apparatus provided in this disclosure can execute the multimedia data processing method provided in the second aspect of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method.

[0205] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.

[0206] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Refer to the following... Figure 10 It illustrates an electronic device suitable for implementing embodiments of the present disclosure (e.g., Figure 10 A structural diagram of the terminal device or server in the 500.

[0207] Electronic equipment 500, including:

[0208] One or more processing devices 501;

[0209] Storage device 508, for storing one or more programs,

[0210] When the one or more programs are executed by the one or more processing devices 501, the one or more processing devices 501 implement any of the methods provided as in the first aspect of this disclosure.

[0211] The terminal devices in this disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 10 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0212] like Figure 10 As shown, electronic device 500 may include a processing unit (e.g., central processing unit, graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 502 or a program loaded from storage device 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via bus 504. An edit / output (I / O) interface 505 is also connected to bus 504.

[0213] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 10 An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0214] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.

[0215] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0216] The electronic device provided in this embodiment and the multimedia data processing method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0217] Figure 11 This is a schematic diagram of the structure of a server provided in an embodiment of this disclosure. The following refers to... Figure 11 It shows a schematic diagram of the structure of a server 1100 suitable for implementing embodiments of the present disclosure.

[0218] Server 1100 includes:

[0219] One or more processing devices 1101;

[0220] Storage device 1108, for storing one or more programs,

[0221] When the one or more programs are executed by the one or more processing devices 1101, the one or more processing devices 1101 implement any of the methods provided as in the second aspect of this disclosure.

[0222] The terminal devices in this disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 11 The server shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0223] like Figure 11 As shown, server 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1102 or a program loaded from storage device 1108 into random access memory (RAM) 1103. RAM 1103 also stores various programs and data required for the operation of server 1100. Processing device 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. Edit / output (I / O) interface 1105 is also connected to bus 1104.

[0224] Typically, the following devices can be connected to I / O interface 1105: input devices 1106 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1107 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1108 including, for example, magnetic tape, hard disk, etc.; and communication devices 1109. Communication device 1109 allows server 1100 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 11 A server 1100 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0225] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1109, or installed from storage device 1108, or installed from ROM 1102. When the computer program is executed by processing device 1101, it performs the functions defined in the methods of embodiments of this disclosure.

[0226] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0227] The server provided in this embodiment belongs to the same inventive concept as the multimedia data processing method provided in the above embodiments. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0228] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the multimedia data processing method provided in the above embodiments.

[0229] It should be noted that the computer-readable medium described above in this disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination thereof.

[0230] The computer storage medium may be a storage medium for computer-executable instructions, which, when executed by a computer processor, are used to perform the methods provided in this disclosure.

[0231] Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0232] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0233] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0234] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to:

[0235] Transmit a first launch request for a cloud application, wherein the first launch request is a request that triggers the launch of the cloud application;

[0236] Obtain multimedia data from at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance;

[0237] Display the multimedia data of the first instance;

[0238] In the event of an anomaly in the first instance, the displayed content will be switched from the multimedia data of the first instance to the multimedia data of the second instance.

[0239] Alternatively, the aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: acquire a first launch request for a cloud application transmitted by the electronic device, wherein the first launch request is a request to trigger the launch of the cloud application;

[0240] In response to the first launch request, application instances of the cloud application are launched on at least two cloud containers, the application instances including at least a first instance and a second instance;

[0241] Multimedia data of the at least two application instances are transmitted to the electronic device.

[0242] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0243] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0244] The modules or units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules or units do not necessarily limit the specific unit; for example, a transmission module can also be described as a "first startup request transmission module".

[0245] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0246] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0247] A computer program product includes a computer program that, when executed by a processor, implements any multimedia data processing method provided according to embodiments of this disclosure. It possesses the corresponding functional modules and beneficial effects for implementing the method.

[0248] According to one or more embodiments of this disclosure, [Example 1] provides a multimedia data processing method, including:

[0249] Transmit a first launch request for a cloud application, wherein the first launch request is a request that triggers the launch of the cloud application;

[0250] Obtain multimedia data from at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance;

[0251] Display the multimedia data of the first instance;

[0252] In the event of an anomaly in the first instance, the displayed content will be switched from the multimedia data of the first instance to the multimedia data of the second instance.

[0253] According to one or more embodiments of this disclosure, [Example 2] provides the method described in Example 1, which, in the event of an anomaly in the first instance, switches the displayed content from the multimedia data of the first instance to the multimedia data of the second instance, including:

[0254] Obtain the indication information of the first instance exception;

[0255] In response to the instruction information, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance;

[0256] Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

[0257] According to one or more embodiments of this disclosure, Example 3 provides the method described in Example 1, further comprising:

[0258] In the event of an anomaly in the first instance, a second startup request is transmitted, which is a request to trigger the startup of a backup instance of the cloud application;

[0259] Obtain multimedia data from a third instance, wherein the cloud container in which the third instance is located is a different cloud container than the cloud container in which the second instance is located.

[0260] According to one or more embodiments of this disclosure, Example 4 provides the method described in Example 1, wherein instance data in the second instance is loaded in real time, at regular intervals, or in the event of an anomaly in the first instance, and the instance data is the data stored in the first instance.

[0261] According to one or more embodiments of this disclosure, [Example 5] provides a multimedia data processing method, including:

[0262] Obtain a first launch request from a cloud application transmitted by an electronic device, wherein the first launch request is a request to trigger the launch of the cloud application;

[0263] In response to the first launch request, application instances of the cloud application are launched on at least two cloud containers, the application instances including at least a first instance and a second instance;

[0264] Multimedia data of the at least two application instances are transmitted to the electronic device.

[0265] According to one or more embodiments of this disclosure, Example 6 provides the method described in Example 5, further comprising:

[0266] Instance data can be obtained by storing the data of the first instance in real time, at regular intervals, or in the event of an anomaly in the first instance.

[0267] The instance data is transferred to the second instance;

[0268] The instance data is loaded in the second instance, where the first instance is the primary instance of the cloud application, the second instance is a backup instance of the cloud application, and the primary instance is an instance for processing tasks, including tasks associated with the cloud application.

[0269] According to one or more embodiments of this disclosure, Example 7 provides the method described in Example 5, further comprising:

[0270] Detect whether the first instance is abnormal;

[0271] In the event of an anomaly in the first instance, transmit indication information indicating that the first instance is anomaly.

[0272] According to one or more embodiments of this disclosure, [Example 8] provides the method described in Example 7, wherein detecting whether the first instance is abnormal includes:

[0273] The system detects whether the cloud application's runtime environment and whether the cloud application itself are abnormal by using the cloud container where the first instance resides.

[0274] According to one or more embodiments of this disclosure, [Example 9] a multimedia data processing apparatus is provided, comprising:

[0275] A transmission module is used to transmit a first startup request for a cloud application, wherein the first startup request is a request to trigger the startup of the cloud application;

[0276] The acquisition module is used to acquire multimedia data from at least two application instances. The at least two application instances are instances launched for the cloud application on different cloud containers. The different cloud containers correspond to different running environments of the cloud application. The application instances include at least a first instance and a second instance. The first instance is the main instance of the cloud application, and the second instance is a backup instance of the cloud application. The main instance is an instance that processes tasks. The tasks include tasks associated with the cloud application. The multimedia data of the second instance is not displayed.

[0277] The display module is used to display the multimedia data of the first instance;

[0278] The switching module is used to switch the displayed content from the multimedia data of the first instance to the multimedia data of the second instance in the event of an abnormality in the first instance.

[0279] According to one or more embodiments of this disclosure, [Example 10] provides a multimedia data processing apparatus, including:

[0280] The acquisition module is used to acquire a first startup request of a cloud application transmitted by an electronic device, wherein the first startup request is a request to trigger the startup of the cloud application;

[0281] A startup module is configured to respond to the first startup request by launching application instances of the cloud application on at least two cloud containers. The application instances include at least a first instance and a second instance. The first instance is the primary instance of the cloud application, and the second instance is a backup instance of the cloud application. The primary instance is an instance that processes tasks, and the tasks include tasks associated with the cloud application. The multimedia data of the second instance is not displayed.

[0282] A transmission module is used to transmit multimedia data of the at least two application instances to the electronic device.

[0283] According to one or more embodiments of this disclosure, [Example 11] an electronic device is provided, the electronic device comprising:

[0284] One or more processing devices;

[0285] Storage device for storing one or more programs.

[0286] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the multimedia data processing method as described in any of Examples 1-4.

[0287] According to one or more embodiments of this disclosure, [Example 12] provides a server, the server comprising:

[0288] One or more processing devices;

[0289] Storage device for storing one or more programs.

[0290] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the multimedia data processing method as described in any of Examples 5-8.

[0291] According to one or more embodiments of this disclosure, [Example 13] provides a storage medium containing computer-executable instructions that, when executed by a computer processor, are used to perform a multimedia data processing method as described in any of Examples 1-8.

[0292] According to one or more embodiments of this disclosure, [Example 14] provides a computer program product including a computer program that, when executed by a processor, implements the multimedia data processing method according to any one of Examples 1-8.

[0293] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0294] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0295] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A multimedia data processing method, characterized in that, include: Transmit a first launch request for a cloud application, wherein the first launch request is a request that triggers the launch of the cloud application; Obtain multimedia data from at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance; Display the multimedia data of the first instance; In the event of an anomaly in the first instance, the displayed content will be switched from the multimedia data of the first instance to the multimedia data of the second instance.

2. The method according to claim 1, characterized in that, In the event of an anomaly in the first instance, the displayed content will be switched from the multimedia data of the first instance to the multimedia data of the second instance, including: Obtain the indication information of the first instance's anomaly; In response to the instruction information, the displayed content is switched from the multimedia data of the first instance to the multimedia data of the second instance; Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

3. The method according to claim 1, characterized in that, Also includes: In the event of an anomaly in the first instance, a second startup request is transmitted, which is a request to trigger the startup of a backup instance of the cloud application; Obtain multimedia data from a third instance, wherein the cloud container in which the third instance is located is a different cloud container than the cloud container in which the second instance is located.

4. The method according to claim 1, characterized in that, In the second instance, the instance data is loaded in real time, at regular intervals, or in the event of an anomaly in the first instance, and the instance data is the data stored in the first instance.

5. A multimedia data processing method, characterized in that, include: Obtain a first launch request from a cloud application transmitted by an electronic device, wherein the first launch request is a request to trigger the launch of the cloud application; In response to the first launch request, application instances of the cloud application are launched on at least two cloud containers, the application instances including at least a first instance and a second instance; Multimedia data of the at least two application instances are transmitted to the electronic device.

6. The method according to claim 5, characterized in that, Also includes: Instance data can be obtained by storing the data of the first instance in real time, at regular intervals, or in the event of an anomaly in the first instance. The instance data is transferred to the second instance; Load the instance data in the second instance; Wherein, the first instance is the primary instance of the cloud application, the second instance is the backup instance of the cloud application, the primary instance is the instance for processing tasks, and the tasks include tasks associated with the cloud application.

7. The method according to claim 5, characterized in that, Also includes: Detect whether the first instance is abnormal; In the event of an anomaly in the first instance, transmit indication information indicating that the first instance is anomaly.

8. The method according to claim 7, characterized in that, The detection of whether the first instance is abnormal includes: The system detects whether the cloud application's runtime environment and whether the cloud application itself are abnormal by using the cloud container where the first instance resides.

9. A multimedia data processing device, characterized in that, include: A transmission module is used to transmit a first startup request for a cloud application, wherein the first startup request is a request to trigger the startup of the cloud application; The acquisition module is used to acquire multimedia data of at least two application instances, wherein the at least two application instances are instances launched for the cloud application on different cloud containers, the different cloud containers correspond to different running environments of the cloud application, and the application instances include at least a first instance and a second instance. The display module is used to display the multimedia data of the first instance; The switching module is used to switch the displayed content from the multimedia data of the first instance to the multimedia data of the second instance in the event of an abnormality in the first instance.

10. A multimedia data processing device, characterized in that, include: The acquisition module is used to acquire a first startup request of a cloud application transmitted by an electronic device, wherein the first startup request is a request to trigger the startup of the cloud application; A startup module is configured to, in response to the first startup request, launch application instances of the cloud application on at least two cloud containers, wherein the application instances include at least a first instance and a second instance; A transmission module is used to transmit multimedia data of the at least two application instances to the electronic device.

11. An electronic device, characterized in that, The electronic device includes: One or more processing devices; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the multimedia data processing method as described in any one of claims 1-4.

12. A server, characterized in that, The server includes: One or more processing devices; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the multimedia data processing method as described in any one of claims 5-8.

13. A storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the multimedia data processing method as described in any one of claims 1-8.

14. A computer program product comprising a computer program that, when executed by a processor, implements the multimedia data processing method according to any one of claims 1-8.