TV wall scene switching method, device, electronic device and storage medium

The method and device for TV wall scene switching differentiate between areas with the same and different layout parameters, enabling batched content updates to maintain continuous display and reduce switching time, addressing the issue of poor user experience in traditional methods.

CN115633137BActive Publication Date: 2024-12-03HANGZHOU HIKVISION SYST TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211348316.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2024-12-03
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

Traditional TV wall scene switching methods result in a poor user experience due to the temporary absence of images in display areas during the switching process, caused by the sequential stopping and restarting of video streams, which reveals the background map and prolongs the switching time.

Method used

A method and device that differentiate between areas with the same and different layout parameters, allowing for batched content switching and synchronized display updates, ensuring continuous image display by retaining the last frame in some areas while updating others in batches.

Benefits of technology

This approach reduces the time spent on scene switching, maintains continuous image display, and avoids revealing the background map, thereby enhancing user experience by minimizing window closures and optimizing resource usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115633137B_ABST
    Figure CN115633137B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, electronic device and storage medium for switching scenes on a TV wall. When a scene switching instruction is obtained based on the display of the first video content in the first display area of ​​the TV wall, the first area with the same layout parameters and the second area with different layout parameters are determined according to the layout parameters of each first display area in the first layout and each second display area in the second layout. For the first area, stop obtaining the first video content corresponding to each first display area; obtain the second video content corresponding to each second display area in batches and draw it to the corresponding first display area. For the second area, draw each second display area in the bottom layer of the TV wall according to the layout parameters of each second display area, obtain the second video content corresponding to each second display area in batches, and draw it to the corresponding second display area. Then, modify the level of the bottom layer to the top layer so that the bottom map of the TV wall is not exposed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video surveillance technology, and in particular to a method, device, electronic device and storage medium for switching scenes on a TV wall. Background Art

[0002] A TV wall is a TV wall including an extra-large screen, which can be divided into multiple display areas. Each display area can obtain a corresponding video stream and display the video content corresponding to the video stream, so that each display area of ​​the TV wall can display different content.

[0003] Due to different display requirements, it may be necessary to switch the TV wall scene so that the TV wall can be re-divided into display areas and the display content of each display area can be adjusted. At present, when the TV wall scene needs to be switched, it is usually necessary to first stop obtaining video streams for each display area, then determine the display areas that the TV wall is re-divided into, and determine the video streams corresponding to each of the re-divided display areas, and then obtain the corresponding video streams for each of the re-divided display areas, so that each of the re-divided display areas can display corresponding content according to the new video streams.

[0004] However, in the traditional TV wall scene switching method, during the period of stopping obtaining video streams for each display area and obtaining corresponding video streams for each re-divided display area, there is a situation where no image is displayed in each display area, and the user experience is poor. Summary of the invention

[0005] Based on this, it is necessary to provide a TV wall scene switching method, device, electronic device and storage medium to address the above technical problems, which can reduce the situation where no image is displayed in each display area during the time period of stopping obtaining video streams for each display area and obtaining corresponding video streams for each re-divided display area.

[0006] In a first aspect, an embodiment of the present application provides a method for switching scenes of a TV wall, comprising:

[0007] Based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, control the TV wall to display the first video content in the first display area, and the TV wall is divided into multiple first display areas according to the first layout;

[0008] Acquire a second layout indicated by the scene switching instruction, where the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area;

[0009] Determine the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout; the first area is the area where the first display area and the second display area with the same layout parameters are located; the second area is the area where the position is different from that of each first area;

[0010] Drawing each second display area in the second area in the bottom layer of the TV wall according to the layout parameters of each second display area;

[0011] Based on the second video stream information, batch-acquire the second video content corresponding to each second display area in the second region, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer;

[0012] Stop acquiring the first video content corresponding to each first display area in the first area; batch acquire the second video content corresponding to each second display area in the first area, and draw the second video content to the corresponding first display area.

[0013] In a feasible implementation, determining the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout includes:

[0014] Obtaining the target positioning point coordinates in the layout parameters of each first display area in the first layout and each second display area in the second layout; the target positioning coordinates include the coordinates of the first positioning point and the coordinates of the second positioning point; the first positioning point and the second positioning point are located on the same diagonal line of each display area;

[0015] Based on the target positioning point coordinates, a first area and a second area are determined, wherein the first area is an area where the first display area and the second display area where the target positioning point coordinates are consistent are located, and the second area is other areas except the first area.

[0016] In a feasible implementation, determining the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout includes:

[0017] Obtaining the coordinates of the third positioning point and the size of the display area in the layout parameters of each first display area in the first layout and each second display area in the second layout; the third positioning point is located in each display area;

[0018] Based on the coordinates of the third positioning point and the size of the display area, the first area and the second area are determined, wherein the first area is the area where the first display area and the second display area where the coordinates of the third positioning point and the size of the display area are consistent are located, and the second area is the area excluding the first area.

[0019] In a second aspect, an embodiment of the present application provides a method for switching scenes of a TV wall, including:

[0020] Based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, control the TV wall to display the first video content in the first display area, and the TV wall is divided into multiple first display areas according to the first layout;

[0021] Acquire a second layout indicated by the scene switching instruction, where the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area;

[0022] Drawing each second display area in the bottom layer of the TV wall according to the layout parameters of each second display area;

[0023] Based on the second video stream information, the second video content corresponding to each second display area is obtained in batches, and after the second video content is drawn to the corresponding second display area in the bottom layer, the level of the bottom layer is modified to the top layer.

[0024] In a third aspect, an embodiment of the present application provides a TV wall scene switching device, comprising:

[0025] A first control module, configured to control the TV wall to display the first video content in the first display area based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, wherein the TV wall is divided into a plurality of first display areas according to the first layout;

[0026] A first acquisition module is used to acquire a second layout indicated by the scene switching instruction, where the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area;

[0027] A first determination module is used to determine the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout; the first area is the area where the first display area and the second display area with the same layout parameters are located; the second area is the area where the position is different from the first area;

[0028] A first drawing module, used for drawing each second display area in the second area in the bottom layer of the TV wall according to the layout parameters of each second display area;

[0029] The first display module is used to batch-acquire the second video content corresponding to each second display area in the second area based on the second video stream information, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer;

[0030] The second display module is used to stop acquiring the first video content corresponding to each first display area in the first area; batch acquire the second video content corresponding to each second display area in the first area, and draw the second video content to the corresponding first display area.

[0031] In a feasible implementation, the first determining module includes:

[0032] A first acquisition unit is used to acquire the target positioning point coordinates in the layout parameters of each first display area in the first layout and each second display area in the second layout; the target positioning coordinates include the coordinates of the first positioning point and the coordinates of the second positioning point; the first positioning point and the second positioning point are located on the same diagonal line of each display area;

[0033] The first determination unit is used to determine a first area and a second area based on the target positioning point coordinates, wherein the first area is an area where the first display area and the second display area with the same target positioning point coordinates are located, and the second area is other areas except the first area.

[0034] In a feasible implementation, the first determining module includes:

[0035] A second acquisition unit is used to acquire the coordinates of a third positioning point and the size of the display area in the layout parameters of each first display area in the first layout and each second display area in the second layout; the third positioning point is located in each display area;

[0036] The second determination unit is used to determine the first area and the second area based on the coordinates of the third positioning point and the size of the display area, wherein the first area is the area where the first display area and the second display area where the coordinates of the third positioning point and the size of the display area are consistent are located, and the second area is other areas except the first area.

[0037] In a fourth aspect, an embodiment of the present application provides a TV wall scene switching device, comprising:

[0038] A second control module is used to control the TV wall to display the first video content in the first display area based on the first video stream information corresponding to each first display area of ​​the TV wall, and the TV wall is divided into multiple first display areas according to the first layout;

[0039] A second acquisition module, used to acquire a second layout indicated by the scene switching instruction, the second layout including layout parameters of each second display area, and second video stream information corresponding to each second display area;

[0040] A second drawing module, used for drawing each second display area in the bottom layer of the TV wall according to the layout parameters of each second display area;

[0041] The third display module is used to batch obtain the second video content corresponding to each second display area based on the second video stream information, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer.

[0042] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the embodiments of the first and second aspects are implemented.

[0043] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method in any one of the embodiments of the first and second aspects above are implemented.

[0044] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method in any one of the embodiments of the first and second aspects above.

[0045] The technical solution provided by the embodiments of the present application can at least achieve the following beneficial effects:

[0046] The TV wall scene switching method, device, electronic device and storage medium provided in the embodiment of the present application can control the TV wall to display the first video content in the first display area based on the first video stream information corresponding to each first display area of ​​the TV wall. After obtaining the second layout indicated by the scene switching instruction, the first area with the same layout parameters and the second area with different layout parameters in the TV wall scene can be determined according to the layout parameters of each first display area in the first layout and each second display area in the second layout. Then, for the first area, stop obtaining the first video content corresponding to each first display area in the first area; batch obtain the second video content corresponding to each second display area in the first area, and draw the second video content to the corresponding first display area. At the same time, for the second area, according to the layout parameters of each second display area, draw each second display area in the second area in the bottom layer of the TV wall. Then, based on the second video stream information, batch obtain the second video content corresponding to each second display area in the second area, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer.

[0047] Compared with the traditional TV wall scene switching method, it is possible to distinguish the same area and different areas in the second layout corresponding to the target scene to be switched in the first layout corresponding to the current scene, and then the first and second areas can be targeted for display content switching, and different methods are used for synchronous switching to save switching time. For the second area with different layout parameters, the bottom layer drawn can be placed on top after the flow is completed, and the display of the display content in each second display area of ​​the second layout in the second area has been completed. During the entire switching process, since there is always display content to be displayed, the base map is avoided from being revealed, and the user's perception is improved. For the first area with the same layout parameters, it is possible to reduce the issuance of signaling by batching and batch stopping the flow, and the window closing time is reduced, the flow efficiency is improved, and resources are saved. At the same time, while retaining the last frame image of each display area in the first layout, the above-mentioned batch stop flow and re-flow operation for the second layout can be performed without revealing the base map, avoiding the problem of poor user perception. In summary, the embodiments of the present application can avoid as much as possible the problem of poor user experience caused by the long time spent switching each display area in sequence during scene switching in traditional technologies, resulting in the frequent opening and closing of each display area for too long, revealing the background map. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a schematic diagram of a current display scene A shown in an exemplary embodiment of the present application;

[0049] Figure 2 is a schematic diagram of a target scene B shown in an exemplary embodiment of the present application;

[0050] Figure 3 is a schematic diagram showing a background image in a traditional scene switching method according to an exemplary embodiment of the present application;

[0051] Figure 4 is an application scenario diagram of a TV wall scene switching method shown in an exemplary embodiment of the present application;

[0052] Figure 5 It is a flowchart of a method for switching scenes on a TV wall shown in an exemplary embodiment of the present application;

[0053] Figure 6 is a schematic diagram of a current scene display interface under a first layout shown in an exemplary embodiment of the present application;

[0054] Figure 7 is a schematic diagram of a first area and a second area in a first layout shown in an exemplary embodiment of the present application;

[0055] Figure 8is a schematic diagram of a first area and a second area in a second layout shown in an exemplary embodiment of the present application;

[0056] Fig. 9 is a schematic diagram of setting two target positioning points shown in an exemplary embodiment of the present application;

[0057] Fig.10 is a schematic diagram of setting a target positioning point shown in an exemplary embodiment of the present application;

[0058] Fig.11 is a schematic diagram of a top layer and a bottom layer shown in an exemplary embodiment of the present application;

[0059] Fig.12 is a schematic diagram of an interface of a target scene under a second layout shown in an exemplary embodiment of the present application;

[0060] Fig.13 is a flowchart of another TV wall scene switching method shown in an exemplary embodiment of the present application;

[0061] Fig.14 is a schematic diagram of drawing a bottom layer shown in an exemplary embodiment of the present application;

[0062] Fig.15 is a schematic diagram of another method of drawing a bottom layer according to an exemplary embodiment of the present application;

[0063] Fig.16 is a schematic diagram of a TV wall scene switching device shown in an exemplary embodiment of the present application;

[0064] Fig.17 is a schematic diagram of another TV wall scene switching device shown in an exemplary embodiment of the present application;

[0065] Fig.18 It is a schematic diagram of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0066] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0067] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "a", "an" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items.

[0068] The disclosed embodiments can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.

[0069] At present, the video display on the TV wall can be carried out by sending wall operation instructions to the streaming points of each display area of ​​the TV wall in sequence through electronic devices, wherein each display area (also called a window) corresponds to one or more Internet Protocol Cameras (IPCs). After receiving the wall operation instruction, the TV wall can initiate a network connection to the IPC of the corresponding display area to obtain the stream, and then the decoder decodes the video stream and outputs it to the corresponding display area for display.

[0070] When the TV wall scene needs to be switched, the current scene A (see Figure 1 ) Switch to target scene B (see Figure 2 ) as an example, it is necessary to first send a stop flow instruction to the flow-taking points of each display area in the current scene A in turn to stop the display of all display areas in the current scene A of the TV wall, that is, stop the flow of each display area in the current scene A to the IPC in turn (it can also be called the window closing operation of each display area). Then, after the window closing of each display area in scene A is completed, the window opening operation is performed, that is, each display area in the target scene B is created, and the flow-taking instructions are sent to the flow-taking points that control each display area in the target scene B in turn, and then each display area takes the flow from the corresponding IPC in turn, and each display area in the target scene B displays the corresponding image in turn.

[0071] However, in the traditional TV wall scene switching method, the frequent window opening and closing operations for each display area will cause the TV wall base image to be leaked when some windows have been closed but no new stream acquisition instructions have been received for stream acquisition. Figure 3For example, a blue screen appears on the TV wall (the blue screen refers to the background image in some scenes. After the window is closed, the blue background image will be exposed. It can also be set to a background image of other colors. Figure 3 In other words, during the period of stopping the acquisition of video streams for each display area and acquiring corresponding video streams for each re-divided display area, some display areas have no image display, which leads to poor user experience. In addition, since there are many operation signals and actions for opening and closing windows, each action takes time, which also causes the problem of long scene switching time.

[0072] In view of this, an embodiment of the present application proposes a TV wall scene switching method, device, electronic device and storage medium. The TV wall scene switching method of the embodiment of the present application is exemplarily described below in conjunction with the accompanying drawings.

[0073] The video wall scene switching method provided in this application can be applied to Figure 4 In the application environment shown. The application environment at least includes an electronic device 102, a server 104, and a TV wall 106 of a control center. Among them, the electronic device 102, the server 104, and the TV wall 106 communicate with each other through a network. The server 104 controls the TV wall 106 to display the content corresponding to the first video stream in the first display area based on the first video streams corresponding to each first display area of ​​the TV wall 106, wherein the first display area of ​​the TV wall 106 is divided according to the first layout. The server 104 determines the second layout of the TV wall after the switching based on the switching instruction of the electronic device 102, and the switching instruction is used to indicate the layout parameters of each second display area included in the second layout, and the second video stream information corresponding to each second display area. The server 104 determines the display content of the TV wall after the scene is switched based on the layout parameters of each second display area and the second video stream information corresponding to each second display area, and replaces the content displayed on the TV wall under the first layout with the display content after the scene is switched. Among them, the electronic device 102 can be, but is not limited to, various terminal products such as personal computers, laptops, smart phones, tablet computers, and portable wearable devices, on which client programs can be run to support user operations. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0074] Figure 5 FIG. 1 is a flow chart of a method for switching scenes on a TV wall according to an exemplary embodiment of the present application. Figure 5 As shown, the video wall scene switching method includes:

[0075] S202, based on first video stream information respectively corresponding to each first display area of ​​the TV wall, controlling the TV wall to display the first video content in the first display area, wherein the TV wall is divided into a plurality of first display areas according to a first layout.

[0076] The first layout is a layout of each display area in the TV wall in the current scene. Each display area is a first display area. Each first display area corresponds to different first video stream information, such as Figure 6 shown.

[0077] Specifically, based on the first video stream information, the TV wall may be controlled to display content corresponding to different video stream information, that is, the TV wall may be controlled to display the first video content in the first display area.

[0078] S204, obtaining a second layout indicated by the scene switching instruction, where the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area.

[0079] Among them, the switching instruction is an instruction to switch the first layout to the second layout. The switching instruction is used to indicate the layout parameters of each second display area included in the second layout, and the second video stream information corresponding to each second display area. The switching instruction may include identification information of the second layout. The specific information of the second layout can be stored in the server. After receiving the switching instruction, the specific information of the second layout can be directly obtained according to the identification information, thereby obtaining the layout parameters of each second display area in the second layout and the second video stream information corresponding to each second display area (such as IPC device identification, IP address, stream type, etc.).

[0080] The switching instruction may also include layout parameters (i.e., layout information) of the second layout, and then the scene may be created according to the layout parameters, each second display area in the second layout may be created, and the second video content may be obtained from the corresponding IPC according to the second video stream information, without limitation. The layout parameters may include the size of each display area, the coordinates of the target positioning point, etc.

[0081] Specifically, after receiving the switching instruction sent by the electronic device of the control center, the second layout of the TV wall after the switching can be determined first, and then the layout parameters and the second video stream information corresponding to each second display area in the second layout can be determined.

[0082] S206, determining the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout; the first area is the area where the first display area and the second display area with the same layout parameters are located; the second area is the area different from the position of each first area.

[0083] Optionally, based on each second display area and the second video stream information respectively corresponding to each second display area, the display content of the TV wall after the scene switching can be determined, and the content displayed on the TV wall in the first layout is replaced with the display content after the scene switching.

[0084] For example, after determining each second display area and the second video stream information corresponding to each second display area, the layout parameters of each second display area in the second layout and each first display area in the first layout can be compared, and the area where the first display area and the second display area having the same layout parameters as those in the first layout are located in the second layout, that is, the first area, can be determined. After determining the first area, other areas except the first area can be determined as the second area, or the area where other second display areas except the second display area located in the first area are located can be determined as the second area. The second area and the first area are located in a different position in the TV wall. Among them, in different actual scenarios, for the second layout, the first area may include part of the second display area or all of the second display area, and the second area may include part of the second display area or all of the second display area.

[0085] Different scene switching methods can be used for the determined first area and second area to determine the display content corresponding to each display area of ​​the TV wall in the first area, and to determine the display content corresponding to each display area of ​​the TV wall in the second area. When the TV wall displays the display content corresponding to the first video stream information playback in each first display area under the first layout, the display content in each second display area in the determined second layout replaces the display content displayed in each first display area in the first layout.

[0086] It should be noted that the target positioning point can be set as two positioning points located at the diagonal lines of each display area, or can be set as the center point, upper left corner, upper right corner, etc. of each display area without limitation.

[0087] Furthermore, according to the target positioning point coordinates and / or display area sizes of the first display areas in the first layout and the second display areas in the second layout, the area where the first display areas and the second display areas with the same layout parameters are located can be determined as the first area, and the areas other than the first area can be determined as the second area. Figure 7 and Figure 8 In the figure, the area where each area A is located is the first area, and the area where each area B is located is the second area.

[0088] Optionally, the first display content to be displayed corresponding to at least one second display area included in the first area can be further determined. After the first area of ​​the TV wall is determined, at least one second display area in the first area of ​​the second layout can be determined, and then the first display content to be displayed can be determined according to the second video stream information corresponding to each second display area included in the switching instruction. For example, the flow acquisition point (also referred to as monitoring point) corresponding to each second display area in the first area of ​​the second layout can be determined, and the corresponding second video stream content can be obtained through the flow acquisition point. Among them, the flow acquisition point corresponds to each display area in the second layout.

[0089] Then, the second display content to be displayed corresponding to at least one second display area included in the second area is determined. Specifically, after the second area of ​​the TV wall is determined, at least one second display area in the second area of ​​the second layout can be determined, and then according to the second video stream information corresponding to each second display area included in the switching instruction, the second display content to be displayed corresponding to the second display area to be displayed is determined.

[0090] It is possible to keep playing the display content of the first video stream information corresponding to each first display area in the first layout of the current scene while the scene switching is not completed, so as to avoid the problem in the traditional technology that after closing each display area in turn, some closed windows will not display the image and reveal the background map while waiting for all windows to be closed and then fetching the stream in turn, which leads to poor user experience. In addition, in the present application, it is possible to determine the second layout of the TV wall after the switch, each second display area and the second video stream information corresponding to each second display area, determine the display content of the TV wall after the scene switching, and replace the content displayed on the TV wall in the first layout with the display content after the scene switching, which can reduce the number of closing and opening windows in turn in the traditional technology, thereby shortening the scene switching time.

[0091] In an optional embodiment, step S206 specifically includes:

[0092] S206a, obtaining the target positioning point coordinates in the layout parameters of each first display area in the first layout and each second display area in the second layout. The target positioning coordinates include the coordinates of the first positioning point and the coordinates of the second positioning point. The first positioning point and the second positioning point are located on the same diagonal line of each display area.

[0093] S206b, based on the target positioning point coordinates, determine a first area and a second area, wherein the first area is an area where the first display area and the second display area having the same target positioning point coordinates are located, and the second area is other areas except the first area.

[0094] Specifically, Fig. 9As shown in FIG. 1 , the target positioning points are set to a and b. Then, the target positioning point coordinates in the layout parameters of each first display area in the first layout and each second display area in the second layout can be obtained. Then, the area where the target positioning point coordinates of the first display area and the second display area are consistent is taken as Figure 7 and Figure 8 The first area in the display area is the area where the coordinates of the target positioning points in the first display area and the second display area are inconsistent. Figure 7 and Figure 8 The second area in.

[0095] In an embodiment of the present application, by obtaining the coordinates of the first positioning point and the coordinates of the second positioning point in the layout parameters of each first display area in the first layout and each second display area in the second layout, it is possible to determine whether the sizes and positions of each display area are the same by comparing the coordinates of the two positioning points located on the diagonal line, and then determine the first area where the first display area and the second display area with consistent target positioning point coordinates are located, as well as other areas except the first area (i.e., the second area), so that in the subsequent scene switching process, different switching methods can be used to synchronously and quickly complete the scene switching of different areas in a targeted manner.

[0096] In another optional embodiment, step S206 specifically includes:

[0097] S206A, obtaining the coordinates of the third positioning point and the size of the display area in the layout parameters of each first display area in the first layout and each second display area in the second layout, wherein the third positioning point is located in each display area.

[0098] S206B, based on the coordinates of the third positioning point and the size of the display area, determine the first area and the second area, wherein the first area is the area where the first display area and the second display area where the coordinates of the third positioning point and the size of the display area are consistent are located, and the second area is the area excluding the first area.

[0099] Among them, Fig.10 As shown, the layout parameters may include a third positioning point located at the upper left corner c of each display area, and the size of each display area. The third positioning point here may also be set at the center, upper right corner, lower left corner, or lower right corner of the display area without limitation.

[0100] Specifically, after obtaining the coordinates of the third positioning points and the sizes of the display areas in the layout parameters of each first display area in the first layout and each second display area in the second layout, the coordinates of the third positioning points in the first display area in the first layout and the second display area in the second layout can be compared, and the sizes of the display areas can be compared at the same time. The area where the first display area and the second display area where the coordinates of the third positioning points and the display area sizes are consistent is taken as Figure 7 and Figure 8 The coordinates of the third positioning point and the display area size are at least different in the first display area and the second display area as the area where the first display area and the second display area are located. Figure 7 and Figure 8 The second area in.

[0101] In the embodiment of the present application, the coordinates of the third positioning point in the layout parameters of each first display area in the first layout and each second display area in the second layout and the size of the display area are obtained. Based on the coordinates of the third positioning point and the size of the display area, the first area and the second area are determined. Since the third positioning point is located in each display area, the corresponding display areas can be determined by the third positioning point, and it is determined whether the sizes are the same. If one of the two is different, it is the second area, and if both are the same, it is the first area. Then, in the subsequent scene switching process, different switching methods can be used to synchronously and quickly complete the scene switching of different areas in a targeted manner.

[0102] S208: Draw each second display area in the second area in the bottom layer of the TV wall according to the layout parameters of each second display area.

[0103] Specifically, after determining the second display content to be displayed corresponding to at least one second display area included in the second area, at this time, the current TV wall is still playing the display content corresponding to each first display area of ​​the first layout in the current scene, that is, the third display content, that is, in the process of displaying the third display content corresponding to the first video stream through the top layer of the TV wall in the second area. At this time, draw each second display area in the second layout in the bottom layer of the TV wall, that is, create a new bottom layer, and perform window opening operations in batches in the bottom layer to draw each second display area in the second layout in the second area. Fig.11 As shown, Fig.11 The top layer 1 and the bottom layer 2 are included. The top layer includes two first display areas C and D, and the bottom layer includes second display areas E, F and G.

[0104] S210, based on the second video stream information, batch-acquire the second video contents corresponding to the second display areas in the second region, and after drawing the second video contents to the corresponding second display areas in the bottom layer, modify the level of the bottom layer to the top layer.

[0105] Specifically, the server can send out batch stream acquisition instructions to the monitoring points of each second display area in the second layout in the second area drawn at the bottom layer of the TV wall, and batch acquire the second video stream from each second display area in the second area under the second layout. After acquiring the second video stream, the second video stream can be decoded by a decoder, and the second display content corresponding to the second video stream can be drawn in each second display area in the second layout, and then the drawn bottom layer image can be placed on top to replace the top layer to display the third display content corresponding to the first video stream. Fig.12 The interface displayed in area B in the figure. And close the replaced layer with the first layout.

[0106] Compared with the traditional technology of sequentially fetching streams from each display area, the bottom layer drawn can be placed on top after the stream is fetched to complete the display of the content displayed in each second display area of ​​the second layout in the second area. During the entire switching process, since the display content is always displayed, the bottom map is avoided from being revealed, which improves the user's viewing experience.

[0107] S212, stop acquiring the first video content corresponding to each first display area in the first area; batch acquire the second video content corresponding to each second display area in the first area, and draw the second video content to the corresponding first display area.

[0108] Optionally, the third display content of each first display area in the first area under the first layout can be retained, and the first video stream of each first display area in the first area under the first layout can be stopped in batches. The third display content is the content being displayed in each first display area in the TV wall in the current scene (that is, the last frame of the image displayed before stopping the stream).

[0109] For example, after determining the first display content to be displayed corresponding to at least one second display area included in the first area, at this time, the current TV wall is still playing the display content corresponding to each first display area of ​​the first layout in the current scene, that is, the third display content. Furthermore, the third display content of each first display area in the first area under the first layout can be paused so that the picture displayed in the first area of ​​the TV wall at this time is retained, and then the server sends a batch of stop stream fetching instructions to the monitoring points of each first display area in the first layout in the first area of ​​the TV wall, and batch stops fetching the first video stream of each first display area in the first area under the first layout.

[0110] Furthermore, based on the second video stream information corresponding to each second display area in the second layout, the second video content corresponding to each second display area in the first area can be obtained in batches, and the second video content can be drawn to the corresponding first display area, that is, the first display content corresponding to the first display area replaces the third display content of each first display area in the first area. Specifically, after batch stream acquisition is stopped, the start stream acquisition instruction can be issued in batches to the monitoring points of each second display area in the second layout in the first area of ​​the TV wall. After acquiring the second video stream, the second video stream can be decoded by a decoder to obtain the first display content corresponding to the second video stream. Then, without opening or closing the window, the first display content corresponding to the second video stream information corresponding to each second display area in the second layout replaces the third display content of each first display area in the first area. Fig.12 In the figure, the interface displayed in area A.

[0111] Compared with the traditional technology of stopping the acquisition of streams for each display area in turn, the present application reduces the sending of signaling by batch acquisition and batch stop of stream acquisition, reduces the window closing time, improves the efficiency of stream acquisition, and saves resources. At the same time, while retaining the last frame image of each display area in the first layout, the above-mentioned batch stop of stream acquisition and re-operation of stream acquisition for the second layout can avoid revealing the base map and avoiding the problem of poor user perception.

[0112] In an embodiment of the present application, when the TV wall is controlled to display the first video content in the first display area based on the first video stream information corresponding to each first display area of ​​the TV wall, after the second layout indicated by the scene switching instruction is obtained, the first display area and the first area where the second display area with the same layout parameters in the TV wall scene are located can be determined according to the layout parameters of each first display area in the first layout and each second display area in the second layout, as well as the second area other than the first area. Then, for the first area, the acquisition of the first video content corresponding to each first display area in the first area can be stopped, and the second video content corresponding to each second display area in the first area can be obtained in batches, and the second video content can be drawn to the corresponding first display area. At the same time, for the second area, according to the layout parameters of each second display area, each second display area in the second area is drawn in the bottom layer of the TV wall. Then, based on the second video stream information, the second video content corresponding to each second display area in the second area is obtained in batches, and after the second video content is drawn to the corresponding second display area in the bottom layer, the level of the bottom layer is modified to the top layer.

[0113] Compared with the traditional TV wall scene switching method, it is possible to distinguish the same area and different areas in the second layout corresponding to the target scene to be switched in the first layout corresponding to the current scene, and then the first and second areas can be targeted for display content switching, and different methods are used for synchronous switching to save switching time. For the second area with different layout parameters, the bottom layer drawn can be placed on top after completing the flow acquisition to complete the display of the content displayed in each second display area of ​​the second layout in the second area. During the entire switching process, since the picture is always displayed, the base map is avoided from being revealed, which improves the user's perception. For the first area with the same layout parameters, it is possible to reduce the issuance of signaling by batch acquisition and batch stop of flow acquisition, and reduce the window closing time, improve the flow acquisition efficiency, and save resources. At the same time, while retaining the last frame image of each display area in the first layout, the above-mentioned batch stop of flow acquisition and re-flow acquisition for the second layout are performed, so that the base map can not be revealed, avoiding the problem of poor user perception. In summary, the embodiments of the present application can avoid as much as possible the problem of poor user experience caused by the long time spent switching each display area in sequence during scene switching in traditional technologies, resulting in the frequent opening and closing of each display area for too long, revealing the background map.

[0114] The above embodiment describes a TV wall scene method. In the above TV wall scene method, it is necessary to first determine the same areas and different areas corresponding to each display area in the first layout and the second layout before and after the scene switching, and adopt different switching methods for different areas. Now, another TV wall scene switching method that does not need to distinguish different areas is described with an embodiment. In one embodiment, Fig.13 As shown, the video wall scene switching method includes:

[0115] S302: Based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, control the TV wall to display the first video content in the first display area, and divide the TV wall into multiple first display areas according to the first layout.

[0116] The first layout is a layout of each display area in the TV wall in the current scene. Each display area is a first display area. Each first display area corresponds to different first video stream information, such as Figure 6 shown.

[0117] Specifically, based on the first video stream information, the TV wall may be controlled to display the contents corresponding to different video streams, that is, the TV wall may be controlled to display the first video contents in the first display area.

[0118] S304, obtaining a second layout indicated by the scene switching instruction, where the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area.

[0119] Among them, the switching instruction is an instruction to switch the first layout to the second layout. The switching instruction is used to indicate the layout parameters of each second display area included in the second layout, and the second video stream information corresponding to each second display area. The switching instruction may include identification information of the second layout. The specific information of the second layout can be stored in the server. After receiving the switching instruction, the specific information of the second layout can be directly obtained according to the identification information, thereby obtaining the layout parameters of each second display area in the second layout and the second video stream information corresponding to each second display area (such as IPC device identification, IP address, stream type, etc.).

[0120] The switching instruction may also include layout parameters (i.e., layout information) of the second layout, and then the scene may be created according to the layout parameters, each second display area in the second layout may be created, and the second video content may be obtained from the corresponding IPC according to the second video stream information, without limitation. The layout parameters may include the size of each display area, the coordinates of the target positioning point, etc.

[0121] Specifically, after receiving the switching instruction sent by the electronic device of the control center, the second layout of the TV wall after the switching can be determined first, and then the layout parameters and the second video stream information corresponding to each second display area in the second layout can be determined.

[0122] S306: Draw each second display area in the bottom layer of the TV wall according to the layout parameters of each second display area.

[0123] Specifically, after obtaining the layout parameters of each second display area, the position and size of each second display area can be determined, and then each second display area can be directly drawn in the bottom layer of the TV wall. Fig.11 As shown, when the first display areas in the first layout and the second display areas in the second layout are different, the top layer 1 is the first display areas (areas C and D) in the first layout. The second display areas of areas E, F, and G are drawn in the bottom layer 2. Fig.14 As shown in FIG. 1 , when the first display areas in the first layout and the second display areas in the second layout are partially the same and partially different, the top layer 1 is the first display areas (areas C and D) in the first layout. In the bottom layer 2, area Q that is the same as area C and areas W and S that are different from area D are drawn. You can also refer to Fig.15As shown, when the first display areas in the first layout are the same as the second display areas in the second layout, the top layer 1 is the first display areas (areas C and D) in the first layout. In the bottom layer 2, areas T and Y that are the same as areas C and D are drawn.

[0124] S308, based on the second video stream information, batch-acquire the second video content corresponding to each second display area, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer.

[0125] Specifically, based on the second video stream information corresponding to each second display area in the second layout, the second video content corresponding to each second display area can be acquired in batches, and the second video content can be drawn to the corresponding second display area.

[0126] After drawing the display content of the second display area in the bottom layer, the bottom layer is directly placed on top, that is, the level of the bottom layer is changed to the top layer. Optionally, after the bottom layer is placed on top, the current bottom layer is batch-stopped from fetching streams, that is, the fetching streams of each first display area in the layer where the first layout is located is stopped.

[0127] In an embodiment of the present application, based on the first video stream information corresponding to each first display area of ​​the TV wall, the TV wall is controlled to display the first video content in a plurality of first display areas divided according to the first layout. Then, the second layout indicated by the scene switching instruction is obtained, and each second display area is drawn in the bottom layer of the TV wall according to the layout parameters of each second display area. Finally, based on the second video stream information, the second video content corresponding to each second display area is obtained in batches, and after the second video content is drawn to the corresponding second display area in the bottom layer, the level of the bottom layer is modified to the top layer. In the process of displaying the content in each first display area of ​​the first layout, each second display area of ​​the second layout can be drawn in the bottom layer, and then after the second video content is displayed in the second display area, the bottom layer is placed on top, so as to avoid the problem that in the traditional technology, after closing the windows of each display area in turn, some closed windows are waiting for all windows to be closed and then sequentially fetching the stream, and no image is displayed to reveal the base map, which leads to poor user experience.

[0128] It should be understood that although Figure 5 and Fig.13 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 5 and Fig.13At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0129] Based on the same inventive concept, an exemplary embodiment of the present application shows a schematic diagram of a TV wall scene switching device. Fig.16 As shown, the device is used to implement all or part of the functions of the aforementioned method embodiment. Specifically, the TV wall scene switching device includes:

[0130] A first control module 161, configured to control the TV wall to display the first video content in the first display area based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, wherein the TV wall is divided into a plurality of first display areas according to the first layout;

[0131] A first acquisition module 162, configured to acquire a second layout indicated by the scene switching instruction, wherein the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area;

[0132] A first determination module 163 is used to determine the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout; the first area is the area where the first display area and the second display area with the same layout parameters are located; the second area is the area where the position is different from the first area;

[0133] A first drawing module 164, used for drawing each second display area in the second area in the bottom layer of the TV wall according to the layout parameters of each second display area;

[0134] The first display module 165 is used to batch-acquire the second video content corresponding to each second display area in the second area based on the second video stream information, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer;

[0135] The second display module 166 is used to stop acquiring the first video content corresponding to each first display area in the first area; batch acquire the second video content corresponding to each second display area in the first area, and draw the second video content to the corresponding first display area.

[0136] For the specific limitations on the TV wall scene switching device, please refer to the limitations on the TV wall scene switching method mentioned above, which will not be repeated here.

[0137] In some optional implementations, the first determining module includes:

[0138] A first acquisition unit is used to acquire the target positioning point coordinates in the layout parameters of each first display area in the first layout and each second display area in the second layout; the target positioning coordinates include the coordinates of the first positioning point and the coordinates of the second positioning point; the first positioning point and the second positioning point are located on the same diagonal line of each display area;

[0139] The first determination unit is used to determine a first area and a second area based on the target positioning point coordinates, wherein the first area is an area where the first display area and the second display area with the same target positioning point coordinates are located, and the second area is other areas except the first area.

[0140] In an optional embodiment, the first determining module includes:

[0141] A second acquisition unit is used to acquire the coordinates of a third positioning point and the size of the display area in the layout parameters of each first display area in the first layout and each second display area in the second layout; the third positioning point is located in each display area;

[0142] The second determination unit is used to determine the first area and the second area based on the coordinates of the third positioning point and the size of the display area, wherein the first area is the area where the first display area and the second display area where the coordinates of the third positioning point and the size of the display area are consistent are located, and the second area is other areas except the first area.

[0143] For the specific definition of the TV wall scene switching device, please refer to the definition of the TV wall scene switching method above, which will not be repeated here. Each module in the above-mentioned TV wall scene switching device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0144] Based on the same inventive concept, an exemplary embodiment of the present application shows a schematic diagram of a TV wall scene switching device. Fig.17 As shown, the device is used to implement all or part of the functions of the aforementioned method embodiment. Specifically, the TV wall scene switching device includes:

[0145] The second control module 171 is used to control the TV wall to display the first video content in the first display area based on the first video stream information corresponding to each first display area of ​​the TV wall, and the TV wall is divided into multiple first display areas according to the first layout;

[0146] A second acquisition module 172, configured to acquire a second layout indicated by the scene switching instruction, wherein the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area;

[0147] The second drawing module 173 is used to draw each second display area in the bottom layer of the TV wall according to the layout parameters of each second display area;

[0148] The third display module 174 is used to batch obtain the second video content corresponding to each second display area based on the second video stream information, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer.

[0149] For the specific definition of the TV wall scene switching device, please refer to the definition of the TV wall scene switching method above, which will not be repeated here. Each module in the above-mentioned TV wall scene switching device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0150] In one embodiment, an electronic device is provided. The electronic device may be a server, and its internal structure diagram may be as follows: Fig.18 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the electronic device is used to store layout information data. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a TV wall switching method is implemented.

[0151] Of course, to simplify, Fig.18 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.

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

[0153] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the TV wall switching method in any of the above embodiments are implemented.

[0154] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the TV wall switching method in any of the above embodiments are implemented.

[0155] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the TV wall switching method in any of the above embodiments.

[0156] It is easy to understand that those skilled in the art can combine, split, reorganize, etc. the embodiments of the present application to obtain other embodiments based on the several embodiments provided in the present application, and these embodiments do not exceed the protection scope of the present application.

[0157] The above specific implementation methods further explain in detail the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above are only specific implementation methods of the embodiments of the present application and are not used to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims

1. A method for switching scenes on a TV wall, characterized in that: include: Based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, control the TV wall to display the first video content in the first display area, and the TV wall is divided into a plurality of first display areas according to the first layout; Acquire a second layout indicated by the scene switching instruction, where the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area; Determine the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout; the first area is the area where the first display area and the second display area with the same layout parameters are located; the second area is the area where the first display area and the second display area with different layout parameters are located; the second area is an area at a different location from the first area; Drawing each second display area in the second area in the bottom layer of the TV wall according to the layout parameters of each second display area; Based on the second video stream information, batch-acquire the second video content corresponding to each second display area in the second area, and after drawing the second video content to the corresponding second display area in the bottom layer, modify the level of the bottom layer to the top layer; Stop acquiring the first video content corresponding to each first display area in the first area; The second video contents corresponding to the second display areas in the first area are acquired in batches, and the second video contents are drawn to the corresponding first display areas.

2. The method according to claim 1, characterized in that The determining the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout includes: Obtaining target positioning point coordinates in layout parameters of each first display area in the first layout and each second display area in the second layout; the target positioning point coordinates include coordinates of the first positioning point and coordinates of the second positioning point; the first positioning point and the second positioning point are located on the same diagonal line of each display area; Based on the target positioning point coordinates, the first area and the second area are determined, wherein the first area is an area where the first display area and the second display area with consistent target positioning point coordinates are located, and the second area is other areas except the first area.

3. The method according to claim 1, characterized in that The determining the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout includes: Obtaining the coordinates of a third positioning point and the size of the display area in the layout parameters of each first display area in the first layout and each second display area in the second layout; the third positioning point is located in each display area; Based on the coordinates of the third positioning point and the size of the display area, the first area and the second area are determined, wherein the first area is the area where the first display area and the second display area, which have the same coordinates of the third positioning point and the size of the display area, are located, and the second area is the area other than the first area.

4. A TV wall scene switching device, characterized in that: include: A first control module, configured to control the TV wall to display the first video content in the first display area based on the first video stream information respectively corresponding to each first display area of ​​the TV wall, wherein the TV wall is divided into a plurality of first display areas according to a first layout; A first acquisition module is used to acquire a second layout indicated by a scene switching instruction, wherein the second layout includes layout parameters of each second display area and second video stream information corresponding to each second display area; A first determination module is used to determine the first area and the second area of ​​the TV wall according to the layout parameters of each first display area in the first layout and each second display area in the second layout; the first area is the area where the first display area and the second display area with the same layout parameters are located; the second area is the area where the first display area and the second display area with different layout parameters are located; the second area is an area at a different position from the first area; A first drawing module, configured to draw each second display area in the second area in the bottom layer of the TV wall according to the layout parameters of each second display area; A first display module, configured to batch-acquire second video contents corresponding to each second display area in the second area based on the second video stream information, and after drawing the second video contents to the corresponding second display areas in the bottom layer, modify the level of the bottom layer to the top layer; A second display module, used for stopping obtaining the first video content corresponding to each first display area in the first area; The second video contents corresponding to the second display areas in the first area are acquired in batches, and the second video contents are drawn to the corresponding first display areas.

5. The device according to claim 4, characterized in that The first determining module includes: A first acquisition unit is used to acquire the target positioning point coordinates in the layout parameters of each first display area in the first layout and each second display area in the second layout; the target positioning point coordinates include the coordinates of the first positioning point and the coordinates of the second positioning point; the first positioning point and the second positioning point are located on the same diagonal line of each display area; The first determination unit is used to determine the first area and the second area based on the target positioning point coordinates, wherein the first area is an area where the first display area and the second display area with consistent target positioning point coordinates are located, and the second area is other areas except the first area.

6. The device according to claim 4, characterized in that The first determining module includes: A second acquisition unit is used to acquire the coordinates of a third positioning point and the size of the display area in the layout parameters of each first display area in the first layout and each second display area in the second layout; the third positioning point is located in each display area; The second determination unit is used to determine the first area and the second area based on the coordinates of the third positioning point and the size of the display area, wherein the first area is the area where the first display area and the second display area are located, where the coordinates of the third positioning point and the size of the display area are consistent, and the second area is other areas except the first area.

7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.