Screen display method, device, computer equipment and storage medium

By creating main window and child window processes in the live broadcast client and using inter-process communication links, the problem of lag in the live broadcast client when playing live screens and special effects animations is solved, and the fluency of screen display is improved.

CN113360034BActive Publication Date: 2024-11-08GUANGZHOU BOGUAN TELECOMM TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110552973.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-20
Publication Date
2024-11-08
Estimated Expiration
2041-05-20

AI Technical Summary

Technical Problem

Live client is prone to stuttering when playing live screens and multiple special effects animations at the same time, resulting in poor video playback quality.

Method used

By creating two independent window processes in the live broadcast client, the main window is used to play the live broadcast screen, the sub-window is used to play special effects animations, and communicate through the inter-process communication link to avoid lag.

Benefits of technology

Improve the fluency of screen display in the live broadcast client and avoid lag caused by simultaneously playing live broadcast screens and special effects animations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113360034B_ABST
    Figure CN113360034B_ABST
Patent Text Reader

Abstract

The screen display method, device, computer equipment and storage medium provided in the embodiments of the present application, in response to a screen display request triggered in the live broadcast client, display the live broadcast screen in the main window of the live broadcast client, and create a sub-window in the live broadcast client; wherein the sub-window is superimposed on the main window; when receiving a special effect playback instruction of a virtual gift sent by the live broadcast server, obtain the special effect information corresponding to the special effect playback instruction; generate and display a special effect animation in the sub-window based on the special effect information. The embodiments of the present application create two independent window processes at the live broadcast receiving end, and communicate between the two independent window processes to play the live broadcast screen in the main window and the special effect animation in the sub-window; thereby avoiding the jamming caused by the live broadcast client when playing the live broadcast screen and multiple special effect animations at the same time, and improving the smoothness of the screen display in the live broadcast client.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, in particular to the field of live broadcast technology, and specifically to a screen display method, device, computer equipment and storage medium. Background Art

[0002] With the continuous development of computer communication technology, the widespread application of terminals such as smart phones, computers, tablets and laptops, terminals are developing in a diversified and personalized direction, and are becoming an indispensable terminal in people's life and work. In order to meet people's pursuit of spiritual life, live broadcasting is becoming more and more popular in people's work, life and entertainment. The anchor can log in to the client anytime and anywhere to broadcast and host live broadcast programs, and users can also open the live broadcast platform at any time to watch different live videos.

[0003] In order to liven up the atmosphere of the live broadcast room and strengthen the interaction between the audience and the anchor, the viewing end users can trigger various gorgeous and complex special effects in the live broadcast room through triggering operations in the live broadcast room. However, when multiple users trigger various special effects during the live broadcast of the anchor, the content displayed in the live broadcast room at the same time is complicated and diverse, which causes the live broadcast client to freeze when playing the live animation and special effect pictures, resulting in poor quality of the video played by the live broadcast client. Summary of the invention

[0004] The embodiments of the present application provide a screen display method, apparatus, computer equipment and storage medium. By creating two independent window processes, a live screen is played in a main window, and a special effect animation is played in a sub-window, thereby avoiding the jamming caused by a live client playing a live screen and multiple special effect animations at the same time, and improving the smoothness of the screen display in the live client.

[0005] The present application provides a screen display method, including:

[0006] In response to a screen display request triggered in a live broadcast client, a live broadcast screen is displayed in a main window of the live broadcast client, and a sub-window is created in the live broadcast client; wherein the sub-window is superimposed on the main window;

[0007] When receiving a special effect playback instruction of a virtual gift sent by the live broadcast server, obtaining special effect information corresponding to the special effect playback instruction;

[0008] A special effect animation is generated and displayed in the sub-window based on the special effect information.

[0009] Optionally, the creating a sub-window in the live broadcast client includes:

[0010] Determine the main window process associated with the main window, and obtain the main window handle corresponding to the main window process;

[0011] Creating a child window process, forwarding window attribute data corresponding to the main window handle to the child window process, and generating a child window handle based on the window attribute data, wherein the window attribute data at least includes window size data and window position data;

[0012] The sub-window process creates the sub-window based on the window attribute data, wherein the main window process communicates with the sub-window process via an inter-process communication link.

[0013] Optionally, when receiving a special effect playback instruction sent by the live broadcast server, obtaining special effect information corresponding to the special effect playback instruction includes:

[0014] When the main window process receives the special effects playback instruction sent by the live broadcast server, the main window process forwards the special effects playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process obtains the special effects information corresponding to the special effects playback instruction.

[0015] Optionally, after creating the sub-window in the live broadcast client, the method further includes:

[0016] When it is detected that the main window process receives a processing instruction, the main window process forwards the processing instruction to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction.

[0017] Optionally, the main window displays a first function control;

[0018] When it is detected that the main window process receives the processing instruction, before the main window process forwards the processing instruction to the child window process through the inter-process communication link, the method further includes:

[0019] In response to the triggering operation on the first functional control, a processing instruction is generated, wherein the processing instruction includes: a size adjustment parameter;

[0020] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0021] Adjusting the window size data corresponding to the main window handle according to the size adjustment parameter to adjust the size of the main window;

[0022] The main window process forwards the processing instruction and the size adjustment parameter to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction and adjusts the window size data corresponding to the child window handle according to the size adjustment parameter to adjust the size of the child window.

[0023] Optionally, the main window displays a second function control;

[0024] When it is detected that the main window process receives the processing instruction, before the main window process forwards the processing instruction to the child window process through the inter-process communication link, the method further includes:

[0025] In response to the triggering operation on the second functional control, a processing instruction is generated, wherein the processing instruction includes: a state indication parameter;

[0026] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0027] When it is detected that the main window process has received the processing instruction, the main window process forwards the status indication parameter to the child window process through the inter-process communication link, so that the child window process responds to the status indication parameter and closes the child window; at the same time, the main window process responds to the status indication parameter and closes the main window.

[0028] Optionally, the main window displays a third function control;

[0029] When it is detected that the main window process receives the processing instruction, before the main window process forwards the processing instruction to the child window process through the inter-process communication link, the method further includes:

[0030] In response to a trigger operation of the current user on the third function control, generating a conversation object list in the main window, wherein the conversation object list displays a plurality of virtual avatars, and the virtual avatars are associated with virtual accounts;

[0031] In response to a trigger operation on a target virtual avatar, a processing instruction is generated, wherein the processing instruction includes: information display parameters;

[0032] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0033] The main window process sends the processing instruction to the sub-window process, so that the sub-window process generates and displays an information interaction interface in the sub-window based on the information display parameters; wherein the information interaction interface is used to display interactive information between users.

[0034] Optionally, after creating the sub-window in the live broadcast client, the method further includes:

[0035] The sub-window process receives a moving instruction, wherein the moving instruction includes a position adjustment parameter;

[0036] The sub-window process adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter, so as to adjust the position relationship between the sub-window and the main window.

[0037] Optionally, after creating the sub-window in the live broadcast client, the method further includes:

[0038] Receiving a bullet screen playback instruction sent by the live broadcast server;

[0039] Based on the barrage playback instruction, barrage information is generated and displayed in the sub-window, and the barrage information is used to describe the virtual gift and the source user of the virtual gift.

[0040] Optionally, the generating and displaying the bullet screen information in the sub-window based on the bullet screen playback instruction further includes:

[0041] Obtaining the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed indicated by the bullet screen playback instruction;

[0042] The sub-window process determines whether the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed are the same;

[0043] If so, the sub-window process sets the display priority of the special effect animation to be higher than the priority of the target barrage.

[0044] The embodiment of the present application also provides a screen display device, including:

[0045] A response unit, configured to respond to a screen display request triggered by a live broadcast client, display a live broadcast screen in a main window of the live broadcast client, and create a sub-window in the live broadcast client; wherein the sub-window is superimposed on the main window;

[0046] An acquisition unit, configured to acquire special effect information corresponding to a special effect playback instruction when receiving a special effect playback instruction of a virtual gift sent by a live broadcast server;

[0047] A generating unit is used to generate and display a special effect animation in the sub-window based on the special effect information.

[0048] Optionally, the picture display device further includes a determining unit, and the determining unit is used to:

[0049] Determine the main window process associated with the main window, and obtain the main window handle corresponding to the main window process;

[0050] Creating a child window process, forwarding window attribute data corresponding to the main window handle to the child window process, and generating a child window handle based on the window attribute data, wherein the window attribute data at least includes window size data and window position data;

[0051] The sub-window process creates the sub-window based on the window attribute data, wherein the main window process communicates with the sub-window process via an inter-process communication link.

[0052] Optionally, the image display device further includes a sending unit, and the sending unit is used to:

[0053] When the main window process receives the special effects playback instruction sent by the live broadcast server, the main window process forwards the special effects playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process obtains the special effects information corresponding to the special effects playback instruction.

[0054] Optionally, the sending unit is further used for:

[0055] When it is detected that the main window process receives a processing instruction, the main window process forwards the processing instruction to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction.

[0056] Optionally, the picture display device further includes a first response unit, and the first response unit is used to:

[0057] The main window displays a first functional control;

[0058] In response to the triggering operation on the first functional control, a processing instruction is generated, wherein the processing instruction includes: a size adjustment parameter;

[0059] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0060] Adjusting the window size data corresponding to the main window handle according to the size adjustment parameter to adjust the size of the main window;

[0061] The main window process forwards the processing instruction and the size adjustment parameter to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction and adjusts the window size data corresponding to the child window handle according to the size adjustment parameter to adjust the size of the child window.

[0062] Optionally, the picture display device further includes a second response unit, and the second response unit is used to:

[0063] The main window displays a second functional control;

[0064] In response to the triggering operation on the second functional control, a processing instruction is generated, wherein the processing instruction includes: a state indication parameter;

[0065] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0066] When it is detected that the main window process has received the processing instruction, the main window process forwards the status indication parameter to the child window process through the inter-process communication link, so that the child window process responds to the status indication parameter and closes the child window; at the same time, the main window process responds to the status indication parameter and closes the main window.

[0067] Optionally, the picture display device further includes a third response unit, and the third response unit is used to:

[0068] The main window displays a third functional control;

[0069] In response to a trigger operation of the current user on the third function control, generating a conversation object list in the main window, wherein the conversation object list displays a plurality of virtual avatars, and the virtual avatars are associated with virtual accounts;

[0070] In response to a trigger operation on a target virtual avatar, a processing instruction is generated, wherein the processing instruction includes: information display parameters;

[0071] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0072] The main window process sends the processing instruction to the sub-window process, so that the sub-window process generates and displays an information interaction interface in the sub-window based on the information display parameters; wherein the information interaction interface is used to display interactive information between users.

[0073] Optionally, the image display device further includes an adjustment unit, and the adjustment unit is used to:

[0074] The sub-window process receives a moving instruction, wherein the moving instruction includes a position adjustment parameter;

[0075] The sub-window process adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter, so as to adjust the position relationship between the sub-window and the main window.

[0076] Optionally, the image display device further includes a receiving unit, and the receiving unit is used to:

[0077] Receiving a bullet screen playback instruction sent by the live broadcast server;

[0078] Based on the barrage playback instruction, barrage information is generated and displayed in the sub-window, and the barrage information is used to describe the virtual gift and the source user of the virtual gift.

[0079] Optionally, the acquisition unit is further used to:

[0080] Obtaining the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed indicated by the bullet screen playback instruction;

[0081] The sub-window process determines whether the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed are the same;

[0082] If so, the sub-window process sets the display priority of the special effect animation to be higher than the priority of the target barrage.

[0083] An embodiment of the present application also provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps in the screen display method described in any of the above embodiments by calling the computer program stored in the memory.

[0084] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps in the screen display method described in any of the above embodiments.

[0085] The screen display method, device, computer equipment and storage medium provided in the embodiments of the present application, in response to a screen display request triggered in the live broadcast client, display the live broadcast screen in the main window of the live broadcast client, and create a sub-window in the live broadcast client; wherein the sub-window is superimposed on the main window; when receiving a special effect playback instruction sent by the live broadcast server, obtain the special effect information corresponding to the special effect playback instruction; based on the special effect information, generate and display the special effect animation in the sub-window. The embodiments of the present application create two independent window processes at the live broadcast receiving end, and communicate between the two independent window processes to play the live broadcast screen in the main window and the special effect animation in the sub-window; thereby avoiding the jamming caused by the live broadcast client when playing the live broadcast screen and multiple special effect animations at the same time, and improving the smoothness of the screen display in the live broadcast client. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0087] Figure 1 A system schematic diagram of a picture display device provided in an embodiment of the present application.

[0088] Figure 2 A first flow chart of the screen display method provided in an embodiment of the present application.

[0089] Figure 3 A schematic diagram of a first application scenario of the screen display method provided in an embodiment of the present application.

[0090] Figure 4 A schematic diagram of a second application scenario of the screen display method provided in an embodiment of the present application.

[0091] Figure 5 A second flow chart of the screen display method provided in an embodiment of the present application.

[0092] Figure 6 A schematic diagram of a third application scenario of the screen display method provided in an embodiment of the present application.

[0093] Figure 7 A schematic diagram of a fourth application scenario of the screen display method provided in an embodiment of the present application.

[0094] Figure 8 A schematic diagram of a fifth application scenario of the screen display method provided in an embodiment of the present application.

[0095] Fig. 9 A third flow chart of the screen display method provided in an embodiment of the present application.

[0096] Fig.10 A schematic diagram of a sixth application scenario of the screen display method provided in an embodiment of the present application.

[0097] Fig.11 This is a fourth flow chart of the image display device provided in an embodiment of the present application.

[0098] Fig.12 A schematic diagram of the structure of a picture display device provided in an embodiment of the present application.

[0099] Fig.13 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0100] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0101] The embodiments of the present application provide a screen display method, device, computer equipment and storage medium. Specifically, the screen display method of the embodiments of the present application can be executed by a computer device, wherein the computer device can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), etc. The terminal can also include a client, which can be a live application client, a browser client carrying a live program, or an instant messaging client. The server can 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, CDN, and big data and artificial intelligence platforms.

[0102] See also Figure 1 , Figure 1A system diagram of a screen display device provided in an embodiment of the present application. The system may include at least one computer device 1000, at least one server 2000, and a network 3000. The computer device 1000 held by the user can be connected to the server of the live broadcast application through the network 3000. The computer device 1000 is any device with computing hardware that can support and execute software products corresponding to live video broadcasts. In addition, the computer device 1000 has one or more multi-touch screens for sensing and obtaining inputs of touch or sliding operations performed by the user at multiple points on one or more touch-controlled display screens. In addition, when the system includes multiple computer devices 1000, multiple servers 2000, and multiple networks 3000, different computer devices 1000 can be connected to each other through different networks 3000 and different servers 2000. The network 3000 can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different computer devices 1000 can also use their own Bluetooth network or hotspot network to connect to other terminals or servers, etc. For example, multiple users can be online through different computer devices 1000 and connected through appropriate networks and synchronized with each other.

[0103] The following is an introduction to the screen display method in this application through specific embodiments. Figures 2 to 13 .

[0104] See also Figure 2 , Figure 2 A schematic diagram of a process flow of a screen display method provided in an embodiment of the present application, the specific process of the screen display method may be as follows:

[0105] 101. In response to a screen display request triggered by a live broadcast client, a live broadcast screen is displayed in a main window of the live broadcast client, and a sub-window is created in the live broadcast client; wherein the sub-window is superimposed on the main window.

[0106] The computer device may display a main window of a live broadcast client on its user interface. The main window of the live broadcast client displays multiple live broadcast room identifiers, each of which is associated with a live broadcast room, so that the user can jump to the corresponding target live broadcast room by triggering the target live broadcast room identifier, and the live broadcast screen corresponding to the target live broadcast room is displayed in the main window of the anchor client. For example, see Figure 3The computer device displays the main window of the live broadcast client on its user interface. The display priority of the main window of the live broadcast client is higher than the display priority of the user interface, that is, the main window of the live broadcast client is superimposed on the user interface. A plurality of live broadcast room logos are displayed in the main window of the live broadcast room. The live broadcast room logos are static pictures or dynamic pictures.

[0107] Furthermore, when the user triggers the target live broadcast room identification, the computer device determines the main window process associated with the main window and obtains the main window handle corresponding to the main window process. Then, the computer device creates a child window process, forwards the window attribute data corresponding to the main window handle to the child window process, and generates a child window handle based on the window attribute data, that is, assigns the main window handle corresponding to the main window process to the newly created child window process. Among them, the window attribute data at least includes window size data and window position data. Afterwards, the child window process creates a child window based on the window attribute data, wherein the main window process and the child window process communicate through an inter-process communication link.

[0108] For example, see Figure 4 When the user triggers the target live broadcast room through the trigger operation, he can jump to the corresponding target live broadcast room, and the live broadcast screen corresponding to the target live broadcast room is displayed in the main window of the anchor client. At the same time, a sub-window is superimposed on the main window, and the display priority of the sub-window is higher than the display priority of the main window. The sub-window is superimposed on the main window.

[0109] 102. When receiving a special effect playback instruction sent by the live broadcast server, obtain special effect information corresponding to the special effect playback instruction.

[0110] Specifically, when the main window process receives the special effect playback instruction sent by the live broadcast server, first, the computer device obtains the special effect information corresponding to the special effect playback instruction from the local pre-stored database. Then, the main window process forwards the special effect playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process receives and responds to the special effect playback instruction. After that, the sub-window process responds to the special effect playback instruction, and the sub-window process obtains the special effect information corresponding to the special effect playback instruction.

[0111] Among them, the special effect playback command can be triggered by the anchor receiving end. Figure 4In the main window of the live broadcast client, multiple virtual gift identifiers are displayed, and each virtual gift identifier is associated with a virtual special effect. When the user performs a trigger operation on the target virtual gift identifier, the main window process sends the trigger instruction generated by the trigger operation to the live broadcast server, and the live broadcast server generates a special effect playback instruction based on the trigger operation on the target virtual gift identifier, and the live broadcast server returns the special effect playback instruction to the main window process of the live broadcast receiving end. When the main window process receives the special effect playback instruction sent by the live broadcast server, the computer device obtains the special effect information corresponding to the special effect playback instruction.

[0112] 103. Generate and display a special effect animation in the sub-window based on the special effect information.

[0113] In one embodiment, after the sub-window process obtains the special effect information corresponding to the special effect playback instruction, the sub-window process generates and displays a special effect animation in the sub-window based on the special effect information. The special effect information may be the size of the special effect animation, the special effect picture, the start timestamp, the end timestamp and the position information.

[0114] To summarize, the embodiment of the present application creates two independent window processes on the live broadcast receiving end and communicates between the two independent window processes to achieve playing the live broadcast picture on the main window and playing the special effect animation in the sub-window; thereby avoiding the jamming caused by the live broadcast client when playing the live broadcast picture and multiple special effect animations at the same time, and improving the smoothness of the picture display in the live broadcast client.

[0115] See also Figure 5 , Figure 5 Another schematic diagram of a process of a screen display method provided in an embodiment of the present application, the specific process of the screen display method may be as follows:

[0116] 201 : In response to a picture display request triggered by a live broadcast client, a live broadcast picture is displayed in a main window of the live broadcast client.

[0117] The computer device may display a main window of a live broadcast client on its user interface. The main window of the live broadcast client displays multiple live broadcast room identifiers, each of which is associated with a live broadcast room, so that the user can jump to the corresponding target live broadcast room by triggering the target live broadcast room identifier, and the live broadcast screen corresponding to the target live broadcast room is displayed in the main window of the anchor client. For example, see Figure 3 The computer device displays the main window of the live broadcast client on its user interface. The display priority of the main window of the live broadcast client is higher than the display priority of the user interface, that is, the main window of the live broadcast client is superimposed on the user interface. A plurality of live broadcast room logos are displayed in the main window of the live broadcast room. The live broadcast room logos are static pictures or dynamic pictures.

[0118] 202, determine the main window process associated with the main window, and obtain the main window handle corresponding to the main window process.

[0119] Furthermore, when the user triggers the target live broadcast room identifier, the computer device determines the main window process associated with the main window and obtains the main window handle corresponding to the main window process. The main window handle points to the window attribute data corresponding to the main window, and the window attribute data at least includes window size data and window position data.

[0120] 203, create a child window process, forward the window attribute data corresponding to the main window handle to the child window process, and generate a child window handle based on the window attribute data; the child window process creates a child window based on the window attribute data, wherein the main window process and the child window process communicate through an inter-process communication link.

[0121] Optionally, after creating a child window process and generating a child window, when detecting that the main window process receives a processing instruction, the main window process forwards the processing instruction to the child window process through an inter-process communication link, so that the child window process responds to the processing instruction.

[0122] In order to avoid the situation where the size of the special effect screen does not match the size of the live screen after the size of the main window changes, the effect of combining the special effect with the live screen is guaranteed. In one embodiment, the main window displays a first function control, and the processing instruction includes: a size adjustment parameter. Specifically, the computer device can generate a processing instruction in response to a trigger operation on the first function control to adjust the size of the main window and the size of the sub-window. When it is detected that the main window process receives the processing instruction, the window size data corresponding to the main window handle is adjusted according to the size adjustment parameter to adjust the size of the main window. Then, the main window process forwards the processing instruction and the size adjustment parameter to the sub-window process through the inter-process communication link, so that the sub-window process responds to the processing instruction and adjusts the window size data corresponding to the sub-window handle according to the size adjustment parameter to adjust the size of the sub-window.

[0123] For example, see Figure 6When the user triggers the first function control, the computer device can generate a processing instruction in response to the user's triggering operation on the first function control, and send the processing instruction to the main window process. When it is detected that the main window process receives the processing instruction, the window size data corresponding to the main window handle is adjusted according to the size adjustment parameter to adjust the size of the main window. Then, the main window process forwards the processing instruction and the size adjustment parameter to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction, adjusts the window size data corresponding to the child window handle according to the size adjustment parameter to adjust the size of the child window, thereby realizing that the size of the child window changes with the change of the size of the main window.

[0124] In one embodiment, the main window displays a second functional control, and the processing instruction includes: a status indication parameter. Specifically, the computer device can generate a processing instruction in response to a trigger operation on the second functional control to close the main window and the sub-window. When it is detected that the main window process receives the processing instruction, the main window process forwards the status indication parameter to the sub-window process through an inter-process communication link, so that the sub-window process responds to the status indication parameter and closes the sub-window; at the same time, the main window process responds to the status indication parameter and closes the main window.

[0125] For example, see Figure 7 When the user triggers the second function control, the computer device can generate a processing instruction in response to the user's triggering operation on the second function control, and send the processing instruction to the main window process. When it is detected that the main window process receives the processing instruction, the main window process forwards the status indication parameter to the sub-window process through the inter-process communication link, so that the sub-window process responds to the status indication parameter and closes the sub-window; at the same time, the main window process responds to the status indication parameter and closes the main window. Both the main window and the sub-window are destroyed to display the user interface that is not blocked by the main window and the sub-window.

[0126] In one embodiment, the main window displays a third function control, and the processing instruction includes: information display parameters. Specifically, the main window process generates a session object list in the main window in response to the current user's trigger operation on the third function control, wherein the session object list displays multiple virtual avatars, and the virtual avatars are associated with virtual accounts. Then, the main window process generates an information interaction instruction in response to the trigger operation on the target virtual avatar, and sends the information display parameters to the sub-window process, so that the sub-window process generates and displays an information interaction interface in the sub-window based on the information display parameters; wherein the information interaction interface is used for the virtual account corresponding to the current user to interact with the virtual account corresponding to the target virtual avatar.

[0127] In order to ensure the effect of the special effects and the corresponding display of the live screen. In one embodiment, the main window displays a fourth function control, and the processing instruction includes: a position adjustment parameter. Specifically, the computer device can generate a processing instruction in response to a trigger operation for the fourth function control to adjust the display position of the main window and the display position of the sub-window. When it is detected that the main window process has received the processing instruction, the window position data corresponding to the main window handle is adjusted according to the position adjustment parameter to adjust the display position of the main window. Then, the main window process forwards the processing instruction and the position adjustment parameter to the sub-window process through the inter-process communication link, so that the sub-window process responds to the processing instruction and adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter to adjust the display position of the sub-window.

[0128] Optionally, in order to meet the personalized needs of users, the user can adjust the display position of the special effect picture according to the needs. In an embodiment of the present application, when the computer device detects that the sub-window process receives a processing instruction, the sub-window process responds to the processing instruction, wherein the processing instruction includes a position adjustment parameter. Then, the sub-window process adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter to adjust the position relationship between the sub-window and the main window.

[0129] For example, see Figure 8 When the user triggers the sub-window, the computer device can generate a processing instruction in response to the user's triggering operation on the sub-window, and send the processing instruction to the sub-window process. When it is detected that the sub-window process receives the processing instruction, the sub-window process responds to the position adjustment parameter and adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter to adjust the display position of the sub-window, thereby achieving the change of the relative position relationship between the main window and the sub-window.

[0130] 204. When receiving the special effect playback instruction sent by the live broadcast server, obtain special effect information corresponding to the special effect playback instruction.

[0131] Specifically, when the main window process receives the special effect playback instruction sent by the live broadcast server, first, the computer device obtains the special effect information corresponding to the special effect playback instruction from the local pre-stored database. Then, the main window process forwards the special effect playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process receives and responds to the special effect playback instruction. After that, the sub-window process responds to the special effect playback instruction, and the sub-window process obtains the special effect information corresponding to the special effect playback instruction.

[0132] Among them, the special effect playback command can be triggered by the anchor receiving end. Figure 4In the main window of the live broadcast client, multiple virtual gift identifiers are displayed, and each virtual gift identifier is associated with a virtual special effect. When the user performs a trigger operation on the target virtual gift identifier, the main window process sends the trigger instruction generated by the trigger operation to the live broadcast server, and the live broadcast server generates a special effect playback instruction based on the trigger operation on the target virtual gift identifier, and the live broadcast server returns the special effect playback instruction to the main window process of the live broadcast receiving end. When the main window process receives the special effect playback instruction sent by the live broadcast server, the computer device obtains the special effect information corresponding to the special effect playback instruction.

[0133] 205 , generating and displaying a special effect animation in the sub-window based on the special effect information.

[0134] In one embodiment, after the sub-window process obtains the special effect information corresponding to the special effect playback instruction, the sub-window process generates and displays a special effect animation in the sub-window based on the special effect information. The special effect information may be the size of the special effect animation, the special effect picture, the start timestamp, the end timestamp and the position information.

[0135] See also Fig. 9 , Fig. 9 Another schematic diagram of a process of a screen display method provided in an embodiment of the present application, the specific process of the screen display method may be as follows:

[0136] 301 , in response to a screen display request triggered in the live broadcast client, display the live broadcast screen in the main window of the live broadcast client, and create a sub-window in the live broadcast client; wherein the sub-window is superimposed on the main window.

[0137] 302. When receiving a special effect playback instruction sent by the live broadcast server, obtain special effect information corresponding to the special effect playback instruction.

[0138] 303 , generating and displaying a special effect animation in the sub-window based on the special effect information.

[0139] 304, receiving the bullet screen playback instruction sent by the live broadcast server.

[0140] Specifically, a bullet screen playback instruction sent by the live broadcast server is received, and bullet screen information is generated and displayed in the sub-window based on the bullet screen playback instruction. The bullet screen information is used to describe the virtual gift and the source user of the virtual gift. For example, when the main window process receives the bullet screen playback instruction sent by the live broadcast server, first, the computer device obtains the bullet screen information corresponding to the bullet screen playback instruction from the local pre-stored database. Then, the main window process forwards the bullet screen playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process receives and responds to the bullet screen playback instruction. Afterwards, the sub-window process responds to the bullet screen playback instruction, and the sub-window process obtains the bullet screen information corresponding to the bullet screen playback instruction.

[0141] Furthermore, the sub-window process generates and displays bullet screen information, which may include the size of the target bullet screen, the bullet screen content, the start timestamp, the end timestamp and the location information.

[0142] 305. Obtain the position data of the barrage information to be displayed and the position data of the special effect animation to be displayed indicated by the barrage playback instruction; the sub-window process determines whether the position data of the barrage information to be displayed and the position data of the special effect animation to be displayed are the same; if so, the sub-window process sets the display priority of the special effect animation to be higher than the priority of the target barrage.

[0143] For example, see Fig.10 When it is detected that a special effect animation (high heels) and a barrage screen are displayed in the current sub-window, and the sub-window process determines that the position data of the special effect animation and the target barrage screen overlap, the sub-window process sets the display priority of the special effect animation to be higher than the priority of the target barrage screen, that is, the special effect animation is superimposed and displayed on the target barrage screen.

[0144] To sum up, in the embodiment of the present application, the display priority of the special effects animation is higher than the priority of the target barrage, which can ensure that the special effects animation is not blocked by the target barrage when the special effects animation is displayed, thereby improving the display effect of the special effects animation.

[0145] See also Fig.11 , Fig.11 Another flowchart of the screen display method provided in the embodiment of the present application is shown in FIG. 1 , taking the interaction between the main window process and the sub-window process of the live broadcast server and the live broadcast client as an example, the specific process is as follows:

[0146] 401 : The main window process of the live broadcast client responds to a trigger operation triggered in the live broadcast client.

[0147] In one embodiment, a plurality of virtual gift logos are displayed in the main window of the live client, and each virtual gift logo is associated with a virtual special effect. The user can trigger the target virtual gift logo by, for example, clicking the target virtual gift logo or long pressing the target virtual gift logo.

[0148] 402. The main window process of the live broadcast client sends the trigger operation to the live broadcast server.

[0149] Specifically, when a trigger operation is detected in the main window of the live broadcast client, the main window process sends a trigger instruction generated by the trigger operation to the live broadcast server, so that the live broadcast server generates a special effect playback instruction.

[0150] 403: The live broadcast server generates a special effect playback instruction based on the trigger operation.

[0151] 404. The live broadcast server sends the special effect playback instruction to the main window process of the live broadcast client.

[0152] 405 , the main window process of the live broadcast client receives the special effect playback instruction returned by the live broadcast server, and obtains special effect information corresponding to the special effect playback instruction.

[0153] Specifically, when the main window process receives a special effect playback instruction sent by the live broadcast server, first, the computer device obtains special effect information corresponding to the special effect playback instruction from a local pre-stored database.

[0154] 406 , the main window process of the live broadcast client sends the special effect play instruction to the sub-window process of the live broadcast client.

[0155] The main window process forwards the special effect play instruction to the child window process through an inter-process communication link, so that the child window process receives and responds to the special effect play instruction.

[0156] 407 , the sub-window of the live broadcast client responds to the special effect playback instruction, and generates and displays a special effect animation in the sub-window based on the special effect information.

[0157] In one embodiment, after the sub-window process obtains the special effect information corresponding to the special effect playback instruction, the sub-window process generates and displays a special effect animation in the sub-window based on the special effect information. The special effect information may be the size of the special effect animation, the special effect picture, the start timestamp, the end timestamp and the position information.

[0158] To summarize, the embodiment of the present application creates two independent window processes on the live broadcast receiving end and communicates between the two independent window processes to achieve playing the live broadcast picture on the main window and playing the special effect animation in the sub-window; thereby avoiding the jamming caused by the live broadcast client when playing the live broadcast picture and multiple special effect animations at the same time, and improving the smoothness of the picture display in the live broadcast client.

[0159] In order to better implement the screen display method of the embodiment of the present application, the embodiment of the present application also provides a screen display device. Please refer to 12, Fig.12 The schematic diagram of the structure of the screen display device provided in the embodiment of the present application is as follows. The screen display device may include a responding unit 501 , an acquiring unit 502 , and a generating unit 503 .

[0160] The response unit 501 is used to respond to a screen display request triggered by the live broadcast client, display the live broadcast screen in the main window of the live broadcast client, and create a sub-window in the live broadcast client; the sub-window is superimposed on the main window.

[0161] The acquisition unit 502 is used to acquire special effect information corresponding to the special effect playback instruction when receiving the special effect playback instruction of the virtual gift sent by the live broadcast server.

[0162] The generating unit 503 is configured to generate and display a special effect animation in the sub-window based on the special effect information.

[0163] Optionally, the image display device further includes a determining unit, and the determining unit is used to:

[0164] Determine the main window process associated with the main window, and obtain the main window handle corresponding to the main window process.

[0165] A response unit, configured to respond to a screen display request triggered by a live broadcast client, display a live broadcast screen in a main window of the live broadcast client, and create a sub-window in the live broadcast client; wherein the sub-window is superimposed on the main window;

[0166] An acquisition unit, configured to acquire special effect information corresponding to a special effect playback instruction when receiving a special effect playback instruction of a virtual gift sent by a live broadcast server;

[0167] A generating unit is used to generate and display a special effect animation in the sub-window based on the special effect information.

[0168] Optionally, the picture display device further includes a determining unit, and the determining unit is used to:

[0169] Determine the main window process associated with the main window, and obtain the main window handle corresponding to the main window process;

[0170] Creating a child window process, forwarding window attribute data corresponding to the main window handle to the child window process, and generating a child window handle based on the window attribute data, wherein the window attribute data at least includes window size data and window position data;

[0171] The sub-window process creates the sub-window based on the window attribute data, wherein the main window process communicates with the sub-window process via an inter-process communication link.

[0172] Optionally, the image display device further includes a sending unit, and the sending unit is used to:

[0173] When the main window process receives the special effects playback instruction sent by the live broadcast server, the main window process forwards the special effects playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process obtains the special effects information corresponding to the special effects playback instruction.

[0174] Optionally, the sending unit is further used for:

[0175] When it is detected that the main window process receives a processing instruction, the main window process forwards the processing instruction to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction.

[0176] Optionally, the picture display device further includes a first response unit, and the first response unit is used to:

[0177] The main window displays a first functional control;

[0178] In response to the triggering operation on the first functional control, a processing instruction is generated, wherein the processing instruction includes: a size adjustment parameter;

[0179] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0180] Adjusting the window size data corresponding to the main window handle according to the size adjustment parameter to adjust the size of the main window;

[0181] The main window process forwards the processing instruction and the size adjustment parameter to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction and adjusts the window size data corresponding to the child window handle according to the size adjustment parameter to adjust the size of the child window.

[0182] Optionally, the picture display device further includes a second response unit, and the second response unit is used to:

[0183] The main window displays a second functional control;

[0184] In response to the triggering operation on the second functional control, a processing instruction is generated, wherein the processing instruction includes: a state indication parameter;

[0185] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0186] When it is detected that the main window process has received the processing instruction, the main window process forwards the status indication parameter to the child window process through the inter-process communication link, so that the child window process responds to the status indication parameter and closes the child window; at the same time, the main window process responds to the status indication parameter and closes the main window.

[0187] Optionally, the picture display device further includes a third response unit, and the third response unit is used to:

[0188] The main window displays a third functional control;

[0189] In response to a trigger operation of the current user on the third function control, generating a conversation object list in the main window, wherein the conversation object list displays a plurality of virtual avatars, and the virtual avatars are associated with virtual accounts;

[0190] In response to a trigger operation on a target virtual avatar, a processing instruction is generated, wherein the processing instruction includes: information display parameters;

[0191] The main window process forwards the processing instruction to the child window process through the inter-process communication link, including:

[0192] The main window process sends the processing instruction to the sub-window process, so that the sub-window process generates and displays an information interaction interface in the sub-window based on the information display parameters; wherein the information interaction interface is used to display interactive information between users.

[0193] Optionally, the image display device further includes an adjustment unit, and the adjustment unit is used to:

[0194] The sub-window process receives a moving instruction, wherein the moving instruction includes a position adjustment parameter;

[0195] The sub-window process adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter, so as to adjust the position relationship between the sub-window and the main window.

[0196] Optionally, the image display device further includes a receiving unit, and the receiving unit is used to:

[0197] Receiving a bullet screen playback instruction sent by the live broadcast server;

[0198] Based on the barrage playback instruction, barrage information is generated and displayed in the sub-window, and the barrage information is used to describe the virtual gift and the source user of the virtual gift.

[0199] Optionally, the acquiring unit 502 is further configured to:

[0200] Obtaining the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed indicated by the bullet screen playback instruction;

[0201] The sub-window process determines whether the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed are the same;

[0202] If so, the sub-window process sets the display priority of the special effect animation to be higher than the priority of the target barrage.

[0203] The embodiment of the present application discloses a screen display device, which includes: a response unit 501 responds to a screen display request triggered on a live broadcast client, displays a live broadcast screen in the main window of the live broadcast client, and creates a sub-window in the live broadcast client; the sub-window is superimposed on the main window. When a special effect playback instruction sent by a live broadcast server is received, an acquisition unit 502 acquires special effect information corresponding to the special effect playback instruction. A generation unit 503 generates and displays a special effect animation in the sub-window based on the special effect information. The embodiment of the present application creates two independent window processes on the live broadcast receiving end, and the two independent window processes communicate with each other, so as to play the live broadcast screen on the main window and the special effect animation in the sub-window; thereby avoiding the jamming caused by the live broadcast client when playing the live broadcast screen and multiple special effect animations at the same time, and improving the smoothness of the screen display in the live broadcast client.

[0204] Accordingly, the embodiment of the present application also provides a computer device, which may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Fig.13 As shown, Fig.13 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. The computer device 1000 includes a processor 1001 having one or more processing cores, a memory 1002 having one or more computer-readable storage media, and a computer program stored in the memory 1002 and executable on the processor. The processor 1001 is electrically connected to the memory 1002. Those skilled in the art will appreciate that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0205] Processor 1001 is the control center of computer device 1000. It uses various interfaces and lines to connect various parts of the entire computer device 1000, executes various functions of computer device 1000 and processes data by running or loading software programs and / or modules stored in memory 1002, and calling data stored in memory 1002, thereby monitoring computer device 1000 as a whole.

[0206] In the embodiment of the present application, the processor 1001 in the computer device 1000 will load instructions corresponding to the processes of one or more application programs into the memory 1002 according to the following steps, and the processor 1001 will run the application programs stored in the memory 1002 to implement various functions:

[0207] In response to a screen display request triggered on a live broadcast client, a live broadcast screen is displayed in the main window of the live broadcast client, and a sub-window is created in the live broadcast client; the sub-window is superimposed on the main window. When a special effect playback instruction sent by a live broadcast server is received, special effect information corresponding to the special effect playback instruction is obtained. A special effect animation is generated and displayed in the sub-window based on the special effect information. The embodiment of the present application creates two independent window processes on the live broadcast receiving end, and the two independent window processes communicate with each other, so as to play the live broadcast screen on the main window and the special effect animation in the sub-window; thereby avoiding the jamming caused by the live broadcast client when playing the live broadcast screen and multiple special effect animations at the same time, and improving the smoothness of the screen display in the live broadcast client.

[0208] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0209] Optional, such as Fig.13 As shown, the computer device 1000 further includes: a touch screen 1003, a radio frequency circuit 1004, an audio circuit 1005, an input unit 1006, and a power supply 1007. The processor 1001 is electrically connected to the touch screen 1003, the radio frequency circuit 1004, the audio circuit 1005, the input unit 1006, and the power supply 1007, respectively. Those skilled in the art can understand that Fig.13 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0210] The touch display screen 1003 can be used to display the user interface and receive the instructions of the trigger operation generated by the user interface. The touch display screen 1003 may include a display panel and a touch panel. Among them, the display panel can be used to display the information input by the user or the information provided to the user and various graphical user interfaces of the computer device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-EmittingDiode) and the like. The touch panel can be used to collect the touch operation of the user on or near it (such as the operation of the user using any suitable object or attachment such as a finger, a stylus on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 1001, and can receive the command sent by the processor 1001 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 1001 to determine the type of touch event, and then the processor 1001 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 1003 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 1003 can also be used as a part of the input unit 1006 to realize the input function.

[0211] In the embodiment of the present application, the processor 1001 executes the live broadcast application to generate a user interface, a main window and a sub-window on the touch screen 1003, and the virtual gift logo is displayed on the main window. The touch screen 1003 is used to present the user interface and receive the operation instructions generated by the user acting on the function control.

[0212] The radio frequency circuit 1004 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.

[0213] The audio circuit 1005 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 1005 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1005 and converted into audio data, and then the audio data is output to the processor 1001 for processing, and then sent to another computer device through the radio frequency circuit 1004, or the audio data is output to the memory 1002 for further processing. The audio circuit 1005 may also include an earphone jack to provide communication between an external headset and the computer device.

[0214] The input unit 1006 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0215] The power supply 1007 is used to supply power to various components of the computer device 1000. Optionally, the power supply 1007 can be logically connected to the processor 1001 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 1007 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0216] although Fig.13 Not shown, the computer device 1000 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0217] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0218] As can be seen from the above, the computer device provided by this embodiment displays the live screen in the main window of the live client in response to the screen display request triggered in the live client, and creates a sub-window in the live client; the sub-window is superimposed on the main window. When a special effect playback instruction sent by the live server is received, the special effect information corresponding to the special effect playback instruction is obtained. A special effect animation is generated and displayed in the sub-window based on the special effect information. The embodiment of the present application creates two independent window processes at the live receiving end, and the two independent window processes communicate with each other, so as to play the live screen in the main window and the special effect animation in the sub-window; thereby avoiding the jamming caused by the live client when playing the live screen and multiple special effect animations at the same time, and improving the smoothness of the screen display in the live client.

[0219] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0220] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any one of the information display methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:

[0221] In response to a screen display request triggered in the live client, the live screen is displayed in the main window of the live client, and a sub-window is created in the live client; the sub-window is superimposed on the main window. When a special effect playback instruction sent by the live server is received, special effect information corresponding to the special effect playback instruction is obtained. Special effect animation is generated and displayed in the sub-window based on the special effect information.

[0222] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0223] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0224] Since the computer program stored in the storage medium can execute the steps in any one of the screen display methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the screen display methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

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

Claims

1. A screen display method, characterized in that: include: In response to a screen display request triggered in a live broadcast client, a live broadcast screen is displayed in a main window of the live broadcast client, and a sub-window is created in the live broadcast client, wherein the sub-window is superimposed on the main window, the main window is controlled by a main window process, and the sub-window is controlled by a sub-window process, so that the main window is used to play the live broadcast screen, and the sub-window is used to play the special effect animation, the window size data and the window position data of the main window and the sub-window are the same, and the main window process communicates with the sub-window process through an inter-process communication link; When receiving a special effect playback instruction of a virtual gift sent by the live broadcast server, obtaining special effect information corresponding to the special effect playback instruction; Generate and display a special effect animation in the sub-window based on the special effect information; When receiving a special effect playback instruction of a virtual gift sent by the live broadcast server, obtaining special effect information corresponding to the special effect playback instruction includes: When the main window process receives the special effects playback instruction sent by the live broadcast server, the main window process forwards the special effects playback instruction to the sub-window process through the inter-process communication link, so that the sub-window process obtains the special effects information corresponding to the special effects playback instruction.

2. The screen display method according to claim 1, characterized in that: The step of creating a sub-window in the live broadcast client comprises: Determine the main window process associated with the main window, and obtain the main window handle corresponding to the main window process; Creating a child window process, forwarding window attribute data corresponding to the main window handle to the child window process, and generating a child window handle based on the window attribute data, wherein the window attribute data at least includes window size data and window position data; The child window process creates the child window based on the window attribute data.

3. The screen display method according to claim 2, characterized in that: After the sub-window is created in the live client, the method further includes: When it is detected that the main window process receives a processing instruction, the main window process forwards the processing instruction to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction.

4. The screen display method according to claim 3, characterized in that: The main window displays a first functional control; When it is detected that the main window process receives the processing instruction, before the main window process forwards the processing instruction to the child window process through the inter-process communication link, the method further includes: In response to the triggering operation on the first functional control, a processing instruction is generated, wherein the processing instruction includes: a size adjustment parameter; The main window process forwards the processing instruction to the child window process through the inter-process communication link, including: Adjusting the window size data corresponding to the main window handle according to the size adjustment parameter to adjust the size of the main window; The main window process forwards the processing instruction and the size adjustment parameter to the child window process through the inter-process communication link, so that the child window process responds to the processing instruction and adjusts the window size data corresponding to the child window handle according to the size adjustment parameter to adjust the size of the child window.

5. The screen display method according to claim 3, characterized in that: The main window displays a second functional control; When it is detected that the main window process receives the processing instruction, before the main window process forwards the processing instruction to the child window process through the inter-process communication link, the method further includes: In response to the triggering operation on the second functional control, a processing instruction is generated, wherein the processing instruction includes: a state indication parameter; The main window process forwards the processing instruction to the child window process through the inter-process communication link, including: When it is detected that the main window process has received the processing instruction, the main window process forwards the status indication parameter to the child window process through the inter-process communication link, so that the child window process responds to the status indication parameter and closes the child window; at the same time, the main window process responds to the status indication parameter and closes the main window.

6. The screen display method according to claim 3, characterized in that: The main window displays a third functional control; When it is detected that the main window process receives the processing instruction, before the main window process forwards the processing instruction to the child window process through the inter-process communication link, the method further includes: In response to a trigger operation of the current user on the third function control, generating a conversation object list in the main window, wherein the conversation object list displays a plurality of virtual avatars, and the virtual avatars are associated with virtual accounts; In response to a trigger operation on a target virtual avatar, a processing instruction is generated, wherein the processing instruction includes: information display parameters; The main window process forwards the processing instruction to the child window process through the inter-process communication link, including: The main window process sends the processing instruction to the sub-window process, so that the sub-window process generates and displays an information interaction interface in the sub-window based on the information display parameters; wherein the information interaction interface is used to display interactive information between users.

7. The screen display method according to claim 2, characterized in that: After the sub-window is created in the live client, the method further includes: The sub-window process receives a moving instruction, wherein the moving instruction includes a position adjustment parameter; The sub-window process adjusts the window position data corresponding to the sub-window handle according to the position adjustment parameter, so as to adjust the position relationship between the sub-window and the main window.

8. The screen display method according to claim 2, characterized in that: After the sub-window is created in the live client, the method further includes: Receiving a bullet screen playback instruction sent by the live broadcast server; Based on the barrage playback instruction, barrage information is generated and displayed in the sub-window, and the barrage information is used to describe the virtual gift and the source user of the virtual gift.

9. The screen display method according to claim 8, characterized in that: The generating and displaying the bullet screen information in the sub-window based on the bullet screen playing instruction also includes: Obtaining the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed indicated by the bullet screen playback instruction; The sub-window process determines whether the position data of the bullet screen information to be displayed and the position data of the special effect animation to be displayed are the same; If so, the sub-window process sets the display priority of the special effect animation to be higher than the priority of the target barrage corresponding to the barrage information to be displayed.

10. A screen display device, characterized in that: include: A response unit, configured to respond to a screen display request triggered in a live broadcast client, display a live broadcast screen in a main window of the live broadcast client, and create a sub-window in the live broadcast client, wherein the sub-window is superimposed on the main window, the main window is controlled by a main window process, and the sub-window is controlled by a sub-window process, so that the main window is used to play the live broadcast screen, and the sub-window is used to play the special effect animation, the window size data and the window position data of the main window and the sub-window are the same, and the main window process communicates with the sub-window process through an inter-process communication link; An acquisition unit, configured to acquire special effect information corresponding to the special effect playback instruction when receiving the special effect playback instruction sent by the live broadcast server; A generating unit, configured to generate and display a special effect animation in the sub-window based on the special effect information; A sending unit is used for forwarding the special effects playback instruction to the sub-window process through the inter-process communication link when the main window process receives the special effects playback instruction sent by the live broadcast server, so that the sub-window process obtains the special effects information corresponding to the special effects playback instruction.

11. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor executes the steps in the screen display method according to any one of claims 1 to 9 by calling the computer program stored in the memory.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the steps in the screen display method according to any one of claims 1 to 9.