Information interaction method and device, equipment, storage medium and program product

By responding to server failures in the live broadcast interface and switching to the second server to display data, the data consistency and service continuity problems in live broadcast games are solved, improving user experience and reducing costs.

CN119277118AActive Publication Date: 2025-01-07BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411378405.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-07
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

In live games, traditional server disaster recovery technology is difficult to ensure data consistency, and solutions such as hot backup and mirror replication have a long execution time, requiring additional software and hardware costs, resulting in screen interruption and service discontinuity in server failure.

Method used

In the live broadcast interface, respond to the first server failure associated with the target application, obtain recovery messages, establish a connection with the second server, and display the application data and live broadcast interaction data of the target application obtained from the second server to ensure data consistency and Service continuity.

Benefits of technology

It realizes automatic and quick switching to the second server when the first server fails, avoids screen interruption, enhances the background service stability and user experience of the target application, and reduces resource consumption and operation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277118A_ABST
    Figure CN119277118A_ABST
Patent Text Reader

Abstract

According to the embodiment of the invention, an information interaction method and device, equipment, a storage medium and a program product are provided. The method comprises the following steps: displaying first picture content of a target application in a live broadcast interface; in response to a fault of a first server associated with the target application, obtaining a recovery message, the recovery message at least indicating a to-be-connected second server; establishing a connection with the second server based on the recovery message; and in the live broadcast interface, displaying second picture content of the target application, the second picture content indicating application data of the target application acquired from the second server and live broadcast interaction data associated with the target application. Therefore, according to the embodiment of the invention, the data consistency of the target application can be ensured, and the continuity and stability of the background service of the target application are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, computer-readable storage media, and computer program products for providing information interaction. Background Art

[0002] With the development of computer technology, more and more users watch live broadcasts through various computer devices. At the same time, the interactive methods in the live broadcast interface are gradually diversified, such as live games.

[0003] Live gaming is a game mode that combines live streaming with interactive gaming. Live gaming can display a game window in the live streaming interface. Users (such as anchors, viewers, etc.) can watch game content through the game window in the live streaming interface, and can also influence the screen content in the game window by interacting with the live streaming interface. Summary of the invention

[0004] In a first aspect of the present disclosure, a method for information interaction is provided. The method includes: displaying a first screen content of a target application in a live broadcast interface; in response to a failure of a first server associated with the target application, obtaining a recovery message, the recovery message at least indicating a second server to be connected; establishing a connection with the second server based on the recovery message; and displaying a second screen content of the target application in the live broadcast interface, the second screen content indicating application data of the target application obtained from the second server and live broadcast interaction data associated with the target application.

[0005] In a second aspect of the present disclosure, a device for information interaction is provided. The device includes: a first display module configured to display a first screen content of a target application in a live broadcast interface; an acquisition module configured to acquire a recovery message in response to a failure of a first server associated with the target application, the recovery message at least indicating a second server to be connected; a connection module configured to establish a connection with the second server based on the recovery message; and a second display module configured to display a second screen content of the target application in the live broadcast interface, the second screen content indicating application data of the target application acquired from the second server and live broadcast interaction data associated with the target application.

[0006] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0007] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0008] In a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the method of the first aspect is implemented.

[0009] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0011] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;

[0012] FIG. 2A to FIG. 2B A schematic diagram showing an interface according to some embodiments of the present disclosure;

[0013] Figure 3 An interaction schematic diagram showing a process of information interaction according to some embodiments of the present disclosure;

[0014] Figure 4 A flowchart showing a process of information interaction according to some embodiments of the present disclosure is shown;

[0015] Figure 5 A schematic structural block diagram of an apparatus for information interaction according to some embodiments of the present disclosure is shown;

[0016] Figure 6 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0018] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0019] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0020] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0021] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0022] As described above, the target application window can be displayed in the live broadcast interface. The host can interact with the audience through the live broadcast platform and perform window operations through the window. The audience can not only watch the host's performance in the target application window, but also participate in communication, voting, and support the host's operations in the target application. This interactive method makes the live broadcast more interesting and adds richer social elements to the target application.

[0023] It should be understood that the target application can present screen content in the live broadcast interface, and the target application includes but is not limited to a game application or other virtual interactive applications. For ease of understanding, the embodiments of the present disclosure take the target application as a game application as an example to exemplify the present disclosure.

[0024] Taking the target application as a target game in a live game scenario as an example, usually, the service of the target game is provided by a game server.

[0025] In order to ensure the continuity of the game screen in the live broadcast interface and to ensure a better live broadcast experience and live viewing experience, the game server generally uses traditional server disaster recovery technology (such as data backup and recovery, hot backup, mirror replication, etc.) for disaster recovery configuration.

[0026] However, since some game data of the target game comes from the live broadcast platform, the data processed by the game server contains more real-time interactive data. Server disaster recovery solutions such as data backup and recovery are difficult to ensure data consistency, and disaster recovery solutions such as hot backup and mirror replication take a long time to perform data recovery and require additional software and hardware costs.

[0027] In view of this, an embodiment of the present disclosure provides a scheme for information interaction. According to the scheme, the first screen content of the target application can be displayed in the live broadcast interface; further, in response to a failure of the first server associated with the target application, a recovery message at least indicating the second server to be connected can be obtained; further, based on the recovery message, a connection with the second server can be established; further, the second screen content of the target application can be displayed in the live broadcast interface, and the second screen content indicates the application data of the target application obtained from the second server and the live broadcast interaction data associated with the target application.

[0028] Based on this approach, the embodiment of the present disclosure can automatically and quickly switch to the second server when a failure occurs in the first server, so as to display the application data of the target application and the second screen content indicated by the related live interactive data, thereby ensuring the data consistency of the target application. In addition, the embodiment of the present disclosure can use the second server to quickly restore the screen content of the target application without waiting for the first server to recover, effectively avoiding the screen interruption caused by server failure, and enhancing the continuity and stability of the background service of the target application.

[0029] Example Environment

[0030] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .

[0031] In the example environment 100, an application 120 is installed in an electronic device 110. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached device. For example, the application 120 can be a content generation application, a content sharing application, or a social application, or any other appropriate application. For example, the application 120 can provide services including but not limited to live broadcast and live broadcast viewing to the user 140.

[0032] exist Figure 1 In the environment 100 , if the application 120 is in an active state, the application 120 may provide a presentation interface 150 for the user 140 .

[0033] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0034] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports content presentation in the electronic device 110.

[0035] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a universal serial bus connection, a wireless fidelity connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.

[0036] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0037] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0038] Example Interaction

[0039] The following will refer to FIG. 2A to FIG. 2B To describe an example interface display according to an embodiment of the present disclosure. FIG. 2A to FIG. 2B Example interfaces 200A to 200B according to some embodiments of the present disclosure are shown. Interfaces 200A to 200B may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.

[0040] like Figure 2A As shown, the electronic device 110 may present, for example, an interface 200A (live broadcast interface), which may display at least one live broadcast video area, which displays, for example, a live broadcast video stream received through a network, such as live broadcast video area 211 (for receiving the live broadcast video stream of anchor a) and live broadcast video area 212 (for receiving the live broadcast video stream of anchor b). The interface 200A may also include one or more controls for interaction between the anchor and the audience, and display interactive information (such as comments, likes, bullet screens, virtual gifts, etc.) in the interface 200A.

[0041] Furthermore, the electronic device 110 may, for example, display a first screen content of at least one target application in the interface 200A, such as the screen content 220 , in which the screen content 220 displays a character 221 operated by the hosts a and the hosts b.

[0042] In the process of displaying the first screen content of the target application in the live broadcast interface, the user can affect the target application by interacting with the interface 200A. Taking the target application as a game application as an example, the audience in the live broadcast room can control the character controlled by the anchor user in the game application through various types of interactions, such as moving the character, etc. In some embodiments, the target application can realize the display of the first screen content based on the service provided by the first server.

[0043] In some embodiments, the first server may fail, which will cause the first screen content to be abnormal.

[0044] The embodiment of the present disclosure can switch servers to ensure the normal operation of the target application and the continuity of displaying the screen content of the target application in the live broadcast interface. Specifically, the electronic device 110 can obtain a recovery message in response to a failure of a first server associated with the target application, and the recovery message at least indicates a second server to be connected.

[0045] As some examples, the failure is various problems or events that cause the server (such as the first server) to be unable to provide services normally. The recovery message at least includes identification information (such as an identifier, address information, etc.) of the second server, which is used to guide the electronic device 110 to recover the target application through the second server.

[0046] The first server is a server that supports the first screen content of the target application, that is, provides background services for the target application. For example, the first server can run in the above-mentioned server 130. The second server is a server different from the first server. For example, the second server can also run in the above-mentioned server 130 to provide background services for the target application.

[0047] Furthermore, the electronic device 110 establishes a connection with the second server based on the second server indicated by the recovery message, and displays the second screen content of the target application in the live broadcast interface based on the connection with the second server.

[0048] In order to ensure the content consistency between the second screen content and the first screen content, the second server can be configured to obtain archived data associated with the target application from the archive module, and the archived data includes application data of the target application and live interactive data associated with the target application. Based on the application data and the live interactive data, the second server can support the electronic device 110 to display the second screen content that is continuous with the first screen content in the live interface, more accurately restore the target application, and ensure the data consistency of the target application.

[0049] As some examples, application data includes, but is not limited to, status information of characters in game applications, game information, etc. Live interactive data includes, but is not limited to, virtual resource interactive data (such as virtual gifts, etc.), feedback behavior data (such as likes, etc.), and text interactive data (such as comments, bullet screens, etc.).

[0050] In some embodiments, the electronic device 110 can determine whether a response is needed in the current target application to establish a connection with the second server. Specifically, the electronic device 110 can determine the state of the target user associated with the live interface in the target application to determine whether a response is needed to establish a connection with the second server.

[0051] As some examples, the target user associated with the live broadcast interface may be the anchor in the live broadcast interface, the target user may operate the target application, and the state of the target user in the target application may be the state of the object operated by the target user in the target application and the display state of the target application.

[0052] As some examples, the target users are Figure 2A In the target application, the anchor a or anchor b can operate the corresponding character 221. Accordingly, the state of the target user in the target application is, for example, the active state of the character 221 in the game application, for example, whether to continue in the game. As an example, if a character has been eliminated in the game, the corresponding user can be determined as an inactive user. On the contrary, if a character has not been eliminated in the game, the corresponding user can be determined as an active user.

[0053] The preset condition is that the electronic device 110 needs to respond to the condition for connecting to the second server. The preset condition includes, but is not limited to, that the target user associated with the live broadcast interface is an active user, that the screen displayed by the target application is a character operation screen, etc.

[0054] Based on this, the electronic device 110 can establish a connection with the second server if a response is required to establish a connection with the second server. Specifically, the electronic device 110 determines the address information of the second server based on the received recovery message in response to the state satisfying the preset condition; and establishes a connection with the second server based on the address information of the second server.

[0055] As some examples, the address information is, for example, an Internet Protocol address, a domain name, a port number, a uniform resource locator, a virtual address and / or a cloud service address, etc. The second server can be uniquely determined based on the address information.

[0056] In some embodiments, when the above state does not meet the preset conditions, the screen content of the target application in the live broadcast interface will not change or change less, based on which the electronic device 110 can ignore the recovery message to reduce the resource consumption caused by switching servers. Specifically, the electronic device 110 ignores the recovery message in response to the state not meeting the preset conditions, that is, the electronic device 110 does not need to respond to establish a connection with the second server, but displays the current first screen content in the live broadcast interface.

[0057] In some embodiments, the electronic device 110 may present a transition page in the live broadcast interface during the server switching process to reduce the user's negative experience of the failure. Specifically, the electronic device 110 displays a preset screen content in the live broadcast interface in response to a failure of the first server associated with the target application.

[0058] As some examples, the preset screen content may be randomly set in advance, or may be associated with the target application. For example, the preset screen content may include screen elements associated with the target application.

[0059] Furthermore, the electronic device 110 can display the preset screen content in the live broadcast interface by switching the first screen content to the preset screen content, or by other reasonable ways of changing the screen content. Figure 2B As shown in the live broadcast interface 200B, the electronic device will not display the screen content 220 when displaying the screen content 230 .

[0060] The electronic device 110 may display the second screen content in the live broadcast interface by switching the preset screen content to the second screen content, or by other reasonable ways of changing the screen content.

[0061] In some embodiments, the second screen content may be different from the scene of the first screen content. The electronic device 110 may achieve effects such as "scene transition" through the first screen content-preset screen content-second screen content, guide and divert user attention, avoid displaying irrelevant error information and technical details on the live broadcast interface, and ensure the live broadcast effect of the live broadcast interface.

[0062] In some embodiments, the first server and the second server may be managed by a management server, the target application may be associated with multiple participants, and each participant may connect to the first server and / or the second server using a corresponding client terminal. The client terminal may be implemented in, for example, the electronic device 110, or other electronic devices. The management server may be implemented in, for example, the server 130, or other servers.

[0063] In order to more clearly understand the live interactive solution of the present disclosure, Figure 3 To describe the multi-terminal interaction process according to an embodiment of the present disclosure.

[0064] Figure 3 An interaction diagram of the information interaction process according to some embodiments of the present disclosure is shown. Figure 3 In the example, the first client 111 and the second client 112 can run in the electronic device 110.

[0065] As some examples, the first client 111 and the second client 112 may each include one or more, and each first client 111 or each second client 112 corresponds to a participant (i.e., a user using the client). The state of the target user associated with the first client 111 (i.e., the user using the first client 111) in the target application meets the preset condition, and the state of the target user associated with the second client 112 (i.e., the user using the second client 112) in the target application does not meet the preset condition.

[0066] Furthermore, the live broadcast platform 113 is a platform that provides services related to the live broadcast interface. The live broadcast platform 113 can run in the electronic device 110 or in the server 130.

[0067] The management server 131 is the above-mentioned management server, and the management server 131 can be run in the server 130. The management server 131 can run a detection tool 132 to implement the detection service. The management server 131 can also manage the first server 133 and the second server 134. The archiving module 135 is the above-mentioned archiving module, which is used to archive the application data of the target application and the live interactive data associated with the target application.

[0068] As some examples, when the management server detects a first server process exit event, in response to the exit code of the process exit event being inconsistent with a preset exit code, it may determine that a first server failure has been detected, so as to improve the real-time and reliability of detection, and improve the speed and accuracy of detecting the first server failure, thereby further improving the stability of the target application operation.

[0069] In some embodiments, the management server 131 may directly communicate with the first client 111 and the second client 112. The management server 131 may also send the information to be communicated to the room service module 136, which is forwarded to the first client 111 and the second client 112. The room service module 136 may run in the management server 131.

[0070] In some embodiments, the detection tool 132, the first server 133, the second server 134, the archiving module 135, and the room service module 136 may also be partially or completely run in an independent server 130, or other servers, and connected to the management server 131 by wired, wireless, or other means.

[0071] like Figure 4As shown, in the initial stage, the first client 111 and the first server 133 are directly connected to communicate (311), and the first server 133, as a background service of the target application in the live broadcast interface of the first client 111, can determine the application data of the target application and obtain the live broadcast interaction data associated with the target application from the live broadcast platform 113. Further, the first server 133 can write (312) the application data and the live broadcast interaction data to the archive module to realize data backup.

[0072] In some embodiments, the first server 133 may be configured with multiple modules to achieve modular management of application data and live interactive data, thereby improving data management efficiency. For example, the first server 133 may be configured with a module for managing live interactive data, a module for managing character status data, a module for managing user information, and the like.

[0073] In some embodiments, the first server 133 may periodically write application data and live interactive data to the archive module 135 to ensure the timeliness of data backup.

[0074] Further, the target application may be associated with an interactive event in a virtual scene, where the virtual scene is, for example, a game scene or other virtual interactive scene, etc. For example, the virtual scene is a game scene, and the interactive event is, for example, a game match event.

[0075] Based on this, the first server 133 can use the identification information of the interactive event (such as the game ID) as the key, and the application data and live interactive data corresponding to the interactive event as the value, and periodically write the application data and live interactive data corresponding to the interactive event in each cycle to the archive module 135 in a key-value format.

[0076] In some embodiments, the first server 133 fails ( 321 ), the detection tool 132 detects ( 322 ) the failure of the first server 133 , and sends ( 323 ) information about the failure of the first server to the management server 131 .

[0077] Based on this, the management server 131 can switch the server connected to the target application to ensure the accuracy of the target application data. Specifically, the management server 131 can respond to the failure of the first server 133 by determining the second server 134 to be switched through a preset server selection strategy (such as random selection, coding order selection, preset selection algorithm selection, etc.), start the second server 134, and assign (331) the identification information of this interactive event to the second server 134 as an archive credential.

[0078] In some embodiments, the second server 134 connects (332) the live broadcast platform 312 based on the identification information of the interactive event assigned by the management server. Further, the live broadcast platform 312 binds (333) the live broadcast room event corresponding to the live broadcast interface to the second server 134.

[0079] In some embodiments, the second server 134 also obtains (334) archived data associated with the interactive event (e.g., archived data associated with the current game match event) from the archive module based on the identification information of the interactive event assigned by the management server, and based on this, the management server successfully starts (335) the second server.

[0080] In some embodiments, the management server sends (341) a recovery message to the room service module, and the room service module distributes (342) the recovery message to the first client 111 and the second client 112 to switch the client to the server.

[0081] Further, the first client 111 and the second client 112 determine (343) whether to respond to establish a connection with the second server. Based on this, the first client 111 determines to establish a connection with the second server, and therefore, in response to a failure of the first server associated with the target application, displays (344) the preset screen content in the live broadcast interface, and establishes (351) a connection with the second server. Further, the first client 111 successfully establishes a connection with the second server (352), realizing direct communication (353) between the first client 111 and the second server. The second client 112 determines that there is no need to establish a connection with the second server, so it ignores (345) the recovery message. The specific implementation method can be found in the above description, which will not be repeated here.

[0082] In some embodiments, the second server 134 may restore the target application based on the archived data in response to the connection with the first client 111 .

[0083] In some embodiments, the second server may run only in response to a connection with any client, and when the second server is not connected to any client, the second server may be in an unstarted state. Compared with continuously running the second server, the embodiments of the present disclosure can reduce the resource consumption of running the second server and the costs of server operation and maintenance.

[0084] In some embodiments, the second server 134 may also determine whether connections have been established with all first clients 111, or whether the duration of the failure of the first server 133 has reached a preset duration. Further, if so, the second server 134 restores the target application based on the archived data to ensure synchronization of the target application progress of each first client 111 and improve the accuracy of the target application data.

[0085] Specifically, the second server can be configured to determine whether a group of active participants among the multiple participants are connected to the second server, the group of active participants being determined based on the status of the multiple participants in the target application; and in response to the group of active parties being connected to the second server or the failure of the first server having reached a preset duration, restore the target application based on the archived data. As some examples, the active participant is, for example, the first client 111, that is, the status of the active participant in the target application meets the preset condition.

[0086] In some embodiments, the second server recovers the target application based on the archived data in the following manner: the second server generates a target scene corresponding to the number of first clients 111 based on the archived data and the number of first clients 111, wherein the target scene is different from the scene in the first screen content to reflect the "scene conversion" effect, and recovers the interactive events (362) in the target scene based on the live interactive data in the archived data. Furthermore, based on the generated target scene and the recovered interactive events, the target application (363) is recovered to enable the first client 111 to present the second screen content.

[0087] Based on this approach, the embodiment of the present disclosure can automatically and quickly switch to the second server when a failure occurs in the first server, so as to display the application data of the target application and the second screen content indicated by the related live interactive data, thereby ensuring the data consistency of the target application. Moreover, the embodiment of the present disclosure can use the second server to quickly restore the screen content of the target application without waiting for the first server to recover, effectively avoiding screen interruptions caused by server failures, and enhancing the continuity and stability of the background services of the target application. Furthermore, in the process of switching servers in the background of the electronic device, the front end of the electronic device presents the preset screen content to the user, avoiding the display of irrelevant error information and technical details in the live interface, improving the display effect of the screen content of the target application in the live interface, and ensuring the user's visual experience.

[0088] Example Process

[0089] Figure 4 FIG. 4 is a flowchart of a process 400 of information interaction according to some embodiments of the present disclosure. The process 400 may be implemented at the electronic device 110. Figure 1 Process 400 is described.

[0090] In block 410 , the first screen content of the target application is displayed in the live broadcast interface.

[0091] In block 420 , in response to a failure of a first server associated with a target application, a recovery message is obtained, the recovery message at least indicating a second server to be connected.

[0092] At block 430, based on the resume message, a connection is established with the second server.

[0093] In box 440, in the live broadcast interface, a second screen content of the target application is displayed, and the second screen content indicates application data of the target application obtained from the second server and live broadcast interaction data associated with the target application.

[0094] In some embodiments, establishing a connection with a second server based on the recovery message also includes: determining the status of a target user associated with the live broadcast interface in a target application; in response to the status satisfying a preset condition, determining the address information of the second server based on the received recovery message; and establishing a connection with the second server based on the address information of the second server.

[0095] In some embodiments, process 400 further includes: in response to the status not satisfying a preset condition, ignoring the recovery message.

[0096] In some embodiments, process 400 further includes: in response to a failure of a first server associated with the target application, displaying preset screen content in the live broadcast interface.

[0097] In some embodiments, the target application is associated with multiple participants, and the second server is configured to: determine whether a group of active participants among the multiple participants are connected to the second server, where the group of active participants is determined based on the status of the multiple participants in the target application; and in response to a group of active parties being connected to the second server or a failure of the first server having reached a preset duration, restore the target application based on the application data and the live interactive data.

[0098] In some embodiments, the second server is configured to obtain application data and live interaction data from an archive module associated with the first server.

[0099] In some embodiments, the target application is associated with an interactive event in a virtual scene, and the second server is further configured to: based on identification information of the interactive event, obtain archived data associated with the interactive event from the archive module, the archived data including application data and live interactive data.

[0100] In some embodiments, the first server is configured to: determine application data of the target application; obtain live interactive data associated with the target application; and write the application data and the live interactive data to the archive module.

[0101] In some embodiments, writing the application data and the live interactive data into the archive module includes: periodically writing the application data and the live interactive data into the archive module.

[0102] In some embodiments, obtaining a recovery message includes: obtaining a recovery message generated by a management server, the management server being configured to: determine a second server to be switched in response to determining that a first server fails; and generate a recovery message based on address information of the second server.

[0103] In some embodiments, the live broadcast interaction data includes at least one of the following: virtual resource interaction data, feedback behavior data, and text interaction data.

[0104] Example devices and equipment

[0105] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an apparatus 500 for information interaction according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the electronic device 110 discussed above. Each module / component in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0106] like Figure 5 As shown, the device 500 includes a first display module 510, which is configured to display a first screen content of a target application in a live broadcast interface; an acquisition module 520, which is configured to obtain a recovery message in response to a failure of a first server associated with the target application, the recovery message at least indicating a second server to be connected; a connection module 530, which is configured to establish a connection with the second server based on the recovery message; and a second display module 540, which is configured to display a second screen content of the target application in the live broadcast interface, the second screen content indicating application data of the target application obtained from the second server and live broadcast interactive data associated with the target application.

[0107] In some embodiments, the connection module 530 is further configured to: determine the status of the target user associated with the live broadcast interface in the target application; in response to the status satisfying a preset condition, determine the address information of the second server based on the received recovery message; and establish a connection with the second server based on the address information of the second server.

[0108] In some embodiments, the apparatus 500 further includes a message ignoring module configured to: in response to the state not satisfying a preset condition, ignore the recovery message.

[0109] In some embodiments, the device 500 also includes a third display module configured to: display preset screen content in the live broadcast interface in response to a failure of the first server associated with the target application.

[0110] In some embodiments, the target application is associated with multiple participants, and the second server is configured to: determine whether a group of active participants among the multiple participants are connected to the second server, where the group of active participants is determined based on the status of the multiple participants in the target application; and in response to a group of active parties being connected to the second server or a failure of the first server having reached a preset duration, restore the target application based on the application data and the live interactive data.

[0111] In some embodiments, the second server is configured to obtain application data and live interactive data from an archive module associated with the first server.

[0112] In some embodiments, the first server is further configured to: based on identification information of the interactive event, obtain archived data associated with the interactive event from the archive module, where the archived data includes application data and live interactive data.

[0113] In some embodiments, the first server is configured to: determine application data of the target application; obtain live interactive data associated with the target application; and write the application data and the live interactive data to the archive module.

[0114] In some embodiments, the first server is further configured to periodically write application data and live interactive data to the archive module.

[0115] In some embodiments, the acquisition module 520 is further configured to: acquire a recovery message generated by a management server, the management server is configured to: determine a second server to be switched in response to determining that a first server fails; and generate a recovery message based on address information of the second server.

[0116] In some embodiments, the live broadcast interaction data includes at least one of the following: virtual resource interaction data, feedback behavior data, and text interaction data.

[0117] The units included in the device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units in the device 500 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0118] Figure 6 1 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Figure 6 The electronic device 600 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to implement Figure 1 The electronic device 110 or Figure 5 The device 500 is shown.

[0119] like Figure 6 As shown, the electronic device 600 is in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, a memory 620, a storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 620. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 600.

[0120] The electronic device 600 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 620 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 630 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 600.

[0121] The electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 6 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 620 may include a computer program product 625 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0122] The communication unit 640 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 600 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 600 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0123] The input device 650 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 660 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 600 may also communicate with one or more external devices (not shown) through the communication unit 640 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 600, or communicate with any device that allows the electronic device 600 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0124] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0125] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0126] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0127] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0128] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0129] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for information interaction, comprising: Display the first screen content of the target application in the live broadcast interface; In response to a failure of a first server associated with the target application, obtaining a recovery message, the recovery message at least indicating a second server to be connected; Based on the recovery message, establishing a connection with the second server; as well as In the live broadcast interface, a second screen content of the target application is displayed, where the second screen content indicates application data of the target application obtained from the second server and live broadcast interactive data associated with the target application.

2. The method according to claim 1, wherein establishing the connection with the second server based on the recovery message further comprises: Determine the state of a target user associated with the live broadcast interface in the target application; In response to the state satisfying a preset condition, determining address information of the second server based on the received recovery message; as well as Based on the address information of the second server, the connection with the second server is established.

3. The method according to claim 2, further comprising: In response to the state not satisfying the preset condition, ignoring the restoration message.

4. The method according to claim 1, further comprising: In response to the failure of the first server associated with the target application, preset screen content is displayed in the live broadcast interface.

5. The method according to claim 1, wherein the target application is associated with a plurality of parties, wherein the second server is configured to: determining whether a set of active participants among the plurality of participants is connected to the second server, the set of active participants being determined based on states of the plurality of participants in the target application; and In response to the failure of the group of active parties being connected to the second server or the first server for a preset duration, the target application is restored based on the application data and the live interactive data.

6. The method of claim 1, wherein the second server is configured to obtain the application data and the live interactive data from an archive module associated with the first server.

7. The method according to claim 6, wherein the target application is associated with an interactive event in a virtual scene, and the second server is further configured to: Based on the identification information of the interactive event, archived data associated with the interactive event is obtained from the archive module, where the archived data includes the application data and the live interactive data.

8. The method according to claim 6, wherein the first server is configured to: determining the application data of the target application; Acquiring the live interactive data associated with the target application; and The application data and the live interactive data are written into the archive module.

9. The method according to claim 8, wherein writing the application data and the live interactive data into the archive module comprises: The application data and the live interactive data are periodically written into the archive module.

10. The method according to claim 1, wherein obtaining a recovery message comprises: Obtaining the recovery message generated by a management server, wherein the management server is configured to: In response to determining that the first server has the fault, determining the second server to be switched; as well as The restoration message is generated based on the address information of the second server.

11. The method according to claim 1, wherein the live interactive data comprises at least one of the following: Virtual resource interaction data, feedback behavior data, and text interaction data.

12. A device for information interaction, comprising: A first display module is configured to display a first screen content of a target application in a live broadcast interface; an acquisition module, configured to acquire a recovery message in response to a failure of a first server associated with the target application, wherein the recovery message at least indicates a second server to be connected; a connection module, configured to establish a connection with the second server based on the recovery message; as well as The second display module is configured to display second screen content of the target application in the live broadcast interface, where the second screen content indicates application data of the target application obtained from the second server and live broadcast interactive data associated with the target application.

13. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 11 when executed by the at least one processing unit.

14. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 11 when executed by a processor.

15. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Multi-player video on-line game method

    CN104645614A

  • Management of virtual desktop instance pools

    CN108431778A

  • Live video display method, device and equipment and storage medium

    CN110858910A

  • Method and system for preventing repeated stream pushing

    CN114051146A

  • Video live broadcast system

    CN114095739A