CN112672079B - Split screen switching method, device, equipment and storage medium - Google Patents

Split screen switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN112672079B
CN112672079B CN202011510925.2A CN202011510925A CN112672079B CN 112672079 B CN112672079 B CN 112672079B CN 202011510925 A CN202011510925 A CN 202011510925A CN 112672079 B CN112672079 B CN 112672079B
Authority
CN
China
Prior art keywords
display page
video
target
split
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011510925.2A
Other languages
Chinese (zh)
Other versions
CN112672079A (en
Inventor
曾维干
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Feixun Digital Technology Co ltd
Original Assignee
Beijing Feixun Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Feixun Digital Technology Co ltd filed Critical Beijing Feixun Digital Technology Co ltd
Priority to CN202011510925.2A priority Critical patent/CN112672079B/en
Publication of CN112672079A publication Critical patent/CN112672079A/en
Application granted granted Critical
Publication of CN112672079B publication Critical patent/CN112672079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a split screen switching method, a split screen switching device, split screen switching equipment and a storage medium. The method is applied to a command terminal client and comprises the following steps: in the playing process of each video in the current display page corresponding to the current split-screen layout, determining a target split-screen layout and a video record of each target display page according to a split-screen switching request; determining a target switching display page corresponding to the current display page in each target display page; determining a multiplexing video set in each video in the current display page according to the current video record of the current display page and the target video record of the target switching display page; and switching the current display page into a target switching display page, and moving the multiplexed video set to a matched playing position in the target switching display page under the continuous playing state of each video in the multiplexed video set. According to the technical scheme of the embodiment of the invention, in the split-screen switching process, the displayed video in the current display page is fully reused, and the operation efficiency of split-screen switching is improved.

Description

Split screen switching method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a split screen switching method, a split screen switching device, split screen switching equipment and a storage medium.
Background
At present, the main service functions of a command terminal client are presented based on videos, and each video is displayed to a user in a video split-screen display mode, and video paging is also supported.
In the prior art, when a user wants to perform split screen switching, that is, adjust a current split screen display layout, for example, a 4-split screen layout is switched to a 9-split screen layout, a client of a command terminal stops all videos on the current split screen layout, then adjusts the current split screen display layout and a current display page, and finally plays all videos stopped before playing on the adjusted split screen layout. However, the implementation process of switching the split screens consumes more system resources, and the time spent on switching the split screens is longer.
Disclosure of Invention
The invention provides a split screen switching method, a split screen switching device, split screen switching equipment and a storage medium, which are used for fully multiplexing a video displayed in a current display page in the split screen switching process and improving the operation efficiency of split screen switching.
In a first aspect, an embodiment of the present invention provides a split screen switching method, applied to a command terminal client, including:
in the playing process of each video in the current display page corresponding to the current split-screen layout, determining a target split-screen layout and a video record of each target display page in the target split-screen layout according to the split-screen switching request;
determining a target switching display page corresponding to the current display page in each target display page;
determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page;
and switching the current display page into a target switching display page, and moving the multiplexed video set to a matched playing position in the target switching display page under the continuous playing state of each video in the multiplexed video set.
Optionally, after determining the multiplexed video set in the videos in the current display page, the method further includes:
and if the multiplexed video set is a proper subset of all the videos in the current display page, stopping playing other videos except the multiplexed video set in the current display page.
Optionally, after moving the multiplexed video set to the playing position matched in the switching display page, the method further includes:
and if the target video record of the target switching display page comprises at least one associated video except the multiplexed video set, requesting each associated video at the matched playing position in the target switching display page.
Optionally, in each target display page, determining a target display switching page corresponding to the current display page includes:
acquiring a target video sequence number corresponding to a current display page and the number of screens to be split from the split screen switching request;
calculating a target number corresponding to a target switching display page according to the target video sequence number and the number of the to-be-split screens;
and taking the target display page with the page number equal to the target number as the target switching display page.
Optionally, determining a multiplexed video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page, where the determining includes:
acquiring the same multiplexing video record in the current video record and the target video record;
and acquiring videos corresponding to the multiplexed video records from the videos in the current display page to form a multiplexed video set.
Optionally, in a continuous playing state of each video in the multiplexed video set, moving the multiplexed video set to a playing position matched in the target switching display page includes:
inquiring a target video record of a target switching display page aiming at each video in the multiplexing video set, and determining a matched split screen number of the video in the target switching display page; and/or
Aiming at each video in the multiplexing video set, calculating a matched split screen number of the video in a target switching display page according to the video sequence number of the video and the number of to-be-split screens;
and moving the video to a split screen corresponding to the split screen number in the target switching display page.
Optionally, after moving the multiplexed video set to the playing position matched in the target switching display page, the method further includes:
and if the target switching display page is switched to the appointed display page, acquiring the video to be displayed included in the video record of the appointed display page, and requesting the corresponding video to be displayed at the playing position matched in the appointed display page.
In a second aspect, an embodiment of the present invention further provides a split-screen switching device, which is applied to a client of a command terminal, and includes:
the request module is used for determining a target split screen layout and video records of each target display page in the target split screen layout according to the split screen switching request in the playing process of each video in the current display page corresponding to the current split screen layout;
the positioning module is used for determining a target switching display page corresponding to the current display page in each target display page;
the set determining module is used for determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page;
and the switching module is used for switching the current display page into a target switching display page and moving the multiplexing video set to the matched playing position in the target switching display page under the continuous playing state of each video in the multiplexing video set.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the split screen switching method provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the split-screen switching method provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the command terminal client determines the target split screen layout and the video record of each target display page in the target split screen layout according to the split screen switching request in the playing process of each video in the current display page corresponding to the current split screen layout; in each target display page, determining a target switching display page corresponding to the current display page; determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page; the method comprises the steps of switching a current display page into a target switching display page, moving a multiplexing video set to a playing position matched with the target switching display page under the continuous playing state of each video in the multiplexing video set, solving the problems of more system resources and longer time consumption in the prior art of split screen switching, and fully multiplexing the displayed video in the current display page in the split screen switching process to improve the operation efficiency of split screen switching.
Drawings
Fig. 1 is a flowchart of a split-screen switching method according to an embodiment of the present invention;
fig. 2a is a flowchart of a split screen switching method according to a second embodiment of the present invention;
FIG. 2b is a diagram of a current split-screen layout according to a second embodiment of the present invention;
FIG. 2c is a diagram of a currently displayed page according to a second embodiment of the present invention;
FIG. 2d is a schematic diagram of a target split-screen layout according to a second embodiment of the present invention;
FIG. 2e is a diagram illustrating a target switch display page after moving multiplexed video according to a second embodiment of the present invention;
FIG. 2f is a diagram illustrating a target display page after switching according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a split-screen switching device in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of a split-screen switching method in an embodiment of the present invention, where this embodiment is applicable to a case of performing fast split-screen switching on an interface, and the method may be executed by a split-screen switching device, where the device may be implemented by hardware and/or software, and may be generally integrated in an electronic device providing a split-screen switching service, for example, a command terminal client. As shown in fig. 1, the method includes:
and step 110, in the playing process of each video in the current display page corresponding to the current split-screen layout, determining a target split-screen layout and a video record of each target display page in the target split-screen layout according to the split-screen switching request.
The client of the command terminal can perform related processing, monitoring and control on equipment and resources in the system, and realizes the functions of monitoring, command scheduling, bidirectional calling, talkback and the like on the video of the equipment by utilizing digital voice communication and high-definition compressed video coding and network transmission control.
The maximum number of videos that the command terminal client can simultaneously present to the user is limited due to the limited decoding capability of the hardware device carrying the command terminal client, and when the number of videos to be displayed exceeds the decoding capability of the hardware device, the client presents all the videos to be displayed by paging the videos.
In this embodiment, the current split-screen layout refers to an interface split-screen layout before the user switches split-screen, and the target switch split-screen layout refers to an interface split-screen layout after the user switches split-screen. The currently displayed page refers to the page in the current split-screen layout where the video is being presented to the user. The video records record videos to be displayed by each split screen, all target display pages in the target split screen layout can correspond to one video record together, and each target display page can also correspond to one video record respectively.
In this embodiment, in the playing process of each video in the current display page, if it is detected that the user clicks the split screen button in the current display page to generate a split screen switching request, the target split screen layout after switching is determined according to the split screen switching request, and the video record of each target display page in the target split screen layout is determined according to the video record before switching.
And step 120, determining a target switching display page corresponding to the current display page in each target display page.
In this embodiment, in order to provide a good screen-splitting switching experience for a user, if the user clicks a screen-splitting button to request screen-splitting switching after selecting a target video in a current display page, after switching, a target display page where the target video is located should be a target switching display page where the video is being displayed to the user.
And step 130, determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page.
In this embodiment, considering that the on-demand video being played on the current split-screen layout can be directly moved to the target switching display page after switching without stopping playing, in order to reduce the number of times of stopping and playing the video and reduce the video split-screen switching time, a video set that can be multiplexed in the current display page can be obtained by comparing the current video record corresponding to the current display page and the target video record of the target switching display page before the split-screen switching.
And 140, switching the current display page to a target switching display page, and moving the multiplexed video set to a playing position matched with the target switching display page in the continuous playing state of each video in the multiplexed video set.
In this embodiment, after determining the reusable videos in the current display page, the interface may be switched from the current split-screen layout to the target split-screen layout in a state where each reusable video is continuously played, for example, from 2 pages of 4 split-screens to 1 page of 9 split-screens, and the current display page is switched to the target switch display page, that is, the target switch display page is displayed to the user after switching. And then sequentially determining the corresponding relation between each multiplexed video and each split screen in the target switching display page according to the split screen sequence from left to right, from top to bottom and the video matching sequence from small to large in sequence number, for example, the No. 5 video corresponds to the first split screen on the 2 nd page in the 4-split screen layout, and correspondingly moving each multiplexed video to the matched playing position in the target switching display page for playing.
According to the embodiment, the multiplexing video which is being played on the current split-screen layout is fully multiplexed, namely, the multiplexing video which is being played in the current display page is directly moved to the target switching display page, so that the stop times and the on-demand times of the video are reduced, the video split-screen switching time is shortened, and the video switching is smoother.
According to the technical scheme of the embodiment of the invention, the command terminal client determines the target split screen layout and the video record of each target display page in the target split screen layout according to the split screen switching request in the playing process of each video in the current display page corresponding to the current split screen layout; determining a target switching display page corresponding to the current display page in each target display page; determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page; the current display page is switched to the target switching display page, the multiplexing video set is moved to the playing position matched with the target switching display page under the continuous playing state of each video in the multiplexing video set, the problems that in the prior art, the system resources consumed by screen switching are more, and the time spent is longer are solved, and the displayed video in the current display page is fully multiplexed in the screen-splitting switching process, so that the operating efficiency of screen-splitting switching is improved.
Example two
Fig. 2a is a flowchart of a split-screen switching method in a second embodiment of the present invention, which is further refined based on the above embodiment, and the following describes, with reference to fig. 2a, the split-screen switching method provided in the second embodiment of the present application, and includes the following steps:
step 210, in the process of playing each video in the current display page corresponding to the current split-screen layout, determining a target split-screen layout and a video record of each target display page in the target split-screen layout according to the split-screen switching request.
For example, assuming that the user sets up a 4-split screen display of the interface in the command terminal client and requests 8 videos, the current split screen layout may be 2 pages and 4 split screens as shown in fig. 2b, and the second page of the video being played is taken as the current display page as shown in fig. 2 c. If the user clicks the 9-split screen button during the playing process of each video in the current display page, the target switching split screen layout corresponding to the split screen switching request may be 1 page 9 split screen as shown in fig. 2 d.
And step 220, determining a target switching display page corresponding to the current display page in each target display page.
In this embodiment, the target split-screen layout after switching may include multiple target display pages, but because the decoding capability of the hardware device that carries the command terminal client is limited, the command terminal client can only play each video in one target display page at the same time, and therefore, it is necessary to determine a target switching display page corresponding to the current display page in each target display page.
Optionally, in each target display page, determining a target display switching page corresponding to the current display page may include: acquiring a target video sequence number corresponding to a current display page and the number of screens to be split from the split screen switching request; calculating a target number corresponding to a target switching display page according to the target video sequence number and the number of the to-be-split screens; and taking the target display page with the page number equal to the target number as the target switching display page.
For example, assuming that a user selects a target video with a sequence number of 5 in a current display page and clicks a 9-split-screen button, the client may obtain the sequence number of the target video of 5 and the number of to-be-split-screen 9 from the split-screen switching request. Since the videos are sequentially displayed in each display page from left to right and from top to bottom, the quotient obtained by dividing 5 by 9 plus 1 can be used as the target number, that is, the target video with the sequence number of 5 can be displayed in the first page in the switched target split-screen layout, and accordingly, the first page is the target switched display page.
And step 230, determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page.
Optionally, determining a multiplexed video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page, where the determining may include: acquiring the same multiplexing video record in the current video record and the target video record; and acquiring videos corresponding to the multiplexed video records from the videos in the current display page to form a multiplexed video set.
In this embodiment, the video record includes a corresponding relationship between each video and each split screen, and for example, the current video record may be used to record the split screens corresponding to the videos 5 to 8 in the current display page, including: video 5-split screen 2-1 (page 2, 1 st split screen), video 6-split screen 2-2, video 7-split screen 2-3, and video 8-split screen 2-4. The target video record is used for recording the split screens corresponding to the videos 1-8 in the target display page. By comparing the current video record with the target video record, it can be determined that the videos 5-8 in the current display page are all in the target video record, i.e., the videos 5-8 are multiplexed videos in the current display page.
Optionally, after determining the multiplexed video set in the videos in the current display page, the method may further include: and if the multiplexed video set is a proper subset of all the videos in the current display page, stopping playing other videos except the multiplexed video set in the current display page.
In this embodiment, it is considered that only the target switching display page can play the video after switching, and other target display pages cannot play the video, so if other videos except the multiplexed video exist in the current display page, the other videos need to be stopped from being played.
Illustratively, if there is a video 5-8 in the current display page that is playing, but only a video 6-8 belongs to the multiplexed video, i.e., the video 5 will not be played in the target switch display page, the video 5 in the current display page will be stopped from playing.
And 240, switching the current display page to a target switching display page, and moving the multiplexed video set to a matched playing position in the target switching display page under the continuous playing state of each video in the multiplexed video set.
Optionally, in a continuous playing state of each video in the multiplexed video set, moving the multiplexed video set to a playing position matched in the target switching display page may include: inquiring a target video record of a target switching display page aiming at each video in the multiplexing video set, and determining a split screen number matched with the video in the target switching display page; and/or calculating the screen splitting number matched with the video in the target switching display page according to the video sequence number of the video and the number of the to-be-split screens of each video in the multiplexing video set; and moving the video to a split screen corresponding to the split screen number in the target switching display page.
In this embodiment, the correspondence between all videos in the target switching display page and each split screen is considered to be included in the target video record, so that the split screen numbers matched with each multiplexed video can be queried in the target video record. Alternatively, the remainder of the division of the multiplexed video sequence number by the number to be split may be calculated, and the remainder is taken as the split number matched with the multiplexed video, for example, the remainder of the division of the video sequence number 5 by the book to be split 9 is taken as the corresponding split number of the video 5 in the target switching display page. And then moving the multiplexed video to a split screen corresponding to the split screen number in the target switching display page. For example, as shown in FIG. 2e, multiplexed videos 5-8 are moved to corresponding split screens within the target switching display page, respectively.
In the embodiment, on the basis of realizing the split screen function, the number of times of video on demand and video stop is reduced by multiplexing the existing video being played, so that the probability of video abnormity is reduced, the system resource consumption is reduced greatly, the efficiency of split screen switching operation is improved, the split screen switching operation time is shortened, the effect of smoother split screen switching operation is achieved, and better user experience is provided for a user.
Optionally, after moving the multiplexed video set to the playing position matched in the switching display page, the method may further include: and if the target video record of the target switching display page comprises at least one associated video except the multiplexed video set, requesting each associated video at the matched playing position in the target switching display page.
In this embodiment, after the multiplexed video is moved to the target switching display page, if the target video record further includes other associated videos, that is, other videos need to be displayed in the target switching display page, the target video record may be queried to determine the split screen number matched with each associated video, and then on the split screen corresponding to the split screen number in the target switching display page, the corresponding associated video is requested, so as to complete the switching process from the current display page to the target switching display page.
For example, suppose that, in addition to multiplexing videos 5-8, related videos 1-4 need to be displayed in the target switching display page, at this time, videos 1-4 need to be respectively requested on split screens of No. 1-4 in the target switching display page, so as to complete switching from the current display page to the target switching display page, and obtain a switched target switching display page, as shown in fig. 2 f.
Optionally, after moving the multiplexed video set to the playing position matched in the target switching display page, the method may further include: and if the target switching display page is switched to the appointed display page, acquiring the video to be displayed included in the video record of the appointed display page, and requesting the corresponding video to be displayed at the playing position matched in the appointed display page.
In this embodiment, if a display page of a video is played in a target split-screen layout and the display page is to be switched from the target switched display page to an assigned display page, all videos to be displayed on the assigned display page and split-screen numbers corresponding to the videos need to be determined according to video records of the assigned display page, and then a corresponding video to be displayed is requested on a split screen corresponding to the split-screen number in the assigned display page, so that switching from the target switched display page to the assigned display page is achieved.
According to the technical scheme of the embodiment of the invention, the client of the command terminal determines the target split screen layout and the video record of each target display page in the target split screen layout according to the split screen switching request in the playing process of each video in the current display page corresponding to the current split screen layout; determining a target switching display page corresponding to the current display page in each target display page; determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page; the current display page is switched to the target switching display page, the multiplexing video set is moved to the playing position matched with the target switching display page under the continuous playing state of each video in the multiplexing video set, the problems that in the prior art, the system resources consumed by screen switching are more, and the time spent is longer are solved, and the displayed video in the current display page is fully multiplexed in the screen-splitting switching process, so that the operating efficiency of screen-splitting switching is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a split-screen switching device in a third embodiment of the present invention, where this embodiment is applicable to a situation where an interface is switched in a split-screen manner quickly, and the device may be implemented by hardware and/or software, and may be generally integrated in an electronic device that provides a split-screen switching service, for example, in a command terminal client. As shown in fig. 3, the apparatus is applied to a command terminal client, and includes:
a request module 310, configured to determine, according to a split-screen switching request, a target split-screen layout and a video record of each target display page in the target split-screen layout in a playing process of each video in a current display page corresponding to a current split-screen layout;
a positioning module 320, configured to determine, in each target display page, a target switching display page corresponding to the current display page;
a set determining module 330, configured to determine a multiplexed video set in each video in the current display page according to the current video record corresponding to the current display page and a target video record of a target switching display page;
the switching module 340 is configured to switch the current display page to a target switching display page, and move the multiplexed video set to a playing position matched with the target switching display page in the continuous playing state of each video in the multiplexed video set.
According to the technical scheme of the embodiment of the invention, the client of the command terminal determines the target split screen layout and the video record of each target display page in the target split screen layout according to the split screen switching request in the playing process of each video in the current display page corresponding to the current split screen layout; determining a target switching display page corresponding to the current display page in each target display page; determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page; the method comprises the steps of switching a current display page into a target switching display page, moving a multiplexing video set to a playing position matched with the target switching display page under the continuous playing state of each video in the multiplexing video set, solving the problems of more system resources and longer time consumption in the prior art of split screen switching, and fully multiplexing the displayed video in the current display page in the split screen switching process to improve the operation efficiency of split screen switching.
Optionally, the switching module 340 is further configured to: after the multiplexed video set is determined in each video in the current display page, if the multiplexed video set is a proper subset of all videos in the current display page, stopping playing other videos except the multiplexed video set in the current display page.
Optionally, the switching module 340 is further configured to: after the multiplexed video set is moved to the matched playing position in the switching display page, if the target video record of the target switching display page is determined to include at least one associated video except the multiplexed video set, the associated videos are requested at the matched playing position in the target switching display page.
Optionally, the positioning module 320 is configured to: acquiring a target video sequence number corresponding to a current display page and the number of screens to be split from the split screen switching request; calculating a target number corresponding to a target switching display page according to the target video sequence number and the number of the to-be-split screens; and taking the target display page with the page number equal to the target number as the target switching display page.
Optionally, the set determining module 330 is configured to: acquiring the same multiplexing video record in the current video record and the target video record; and acquiring videos corresponding to the multiplexed video records from the videos in the current display page to form a multiplexed video set.
Optionally, the switching module 340 is configured to:
inquiring a target video record of a target switching display page aiming at each video in the multiplexing video set, and determining a split screen number matched with the video in the target switching display page; and/or
Aiming at each video in the multiplexing video set, calculating a screen splitting number matched with the video in a target switching display page according to the video sequence number of the video and the number of to-be-split screens;
and moving the video to a split screen corresponding to the split screen number in the target switching display page.
Optionally, the method further includes:
and the video-on-demand module is used for acquiring the video to be displayed included in the video record of the specified display page and playing the corresponding video to be displayed at the playing position matched in the specified display page if the target switching display page is switched to the specified display page after the multiplexing video set is moved to the playing position matched in the target switching display page.
The split screen switching device provided by the embodiment of the invention can execute the split screen switching method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic apparatus according to a fourth embodiment of the present invention, and as shown in fig. 4, the electronic apparatus includes a digital signal processor 410, a memory 420, an input device 430, and an output device 440; the digital signal processor 410 in the device supports vector programming, and the digital signal processor 410 comprises at least one vector arithmetic unit; the number of the digital signal processors 410 may be one or more, and one digital signal processor 410 is taken as an example in fig. 4; the digital signal processor 410, the memory 420, the input device 430 and the output device 440 in the apparatus may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The memory 420 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the split-screen switching method in the embodiment of the present invention (for example, the request module 310, the positioning module 320, the set determination module 330, and the switching module 340 in the split-screen switching apparatus). The digital signal processor 410 executes various functional applications of the device and data processing by running software programs, instructions, and modules stored in the memory 420, that is, implements the above-described split screen switching method.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 420 can further include memory located remotely from the processor 410, which can be connected to the devices over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus. The output device 440 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method for performing split-screen switching is implemented, and is applied to a command terminal client, where the method includes:
in the playing process of each video in the current display page corresponding to the current split-screen layout, determining a target split-screen layout and a video record of each target display page in the target split-screen layout according to the split-screen switching request;
in each target display page, determining a target switching display page corresponding to the current display page;
determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page;
and switching the current display page into a target switching display page, and moving the multiplexed video set to a matched playing position in the target switching display page under the continuous playing state of each video in the multiplexed video set.
Of course, the computer program of the computer-readable storage medium provided in the embodiments of the present invention may execute the operations of the method not limited to the above, and may also execute the related operations in the split screen switching method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present invention.
It should be noted that, in the embodiment of the split-screen switching device, each included unit and each included module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (7)

1. A split screen switching method is applied to a client of a command terminal, and comprises the following steps:
in the playing process of each video in the current display page corresponding to the current split-screen layout, determining a target split-screen layout and a video record of each target display page in the target split-screen layout according to the split-screen switching request;
in each target display page, determining a target switching display page corresponding to the current display page;
determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page;
switching the current display page to the target switching display page, and moving the multiplexed video set to a matched playing position in the target switching display page under the continuous playing state of each video in the multiplexed video set;
determining a multiplexed video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page, wherein the determining comprises the following steps:
acquiring the same multiplexing video record in the current video record and the target video record;
acquiring videos corresponding to the multiplexed video records from the videos in the current display page to form a multiplexed video set;
in each target display page, determining a target switching display page corresponding to the current display page, including:
acquiring a target video sequence number corresponding to the current display page and the number of to-be-split screens from the split screen switching request;
calculating a target number corresponding to the target switching display page according to the target video sequence number and the number of the to-be-split screens;
taking a target display page with the page number equal to the target number as a target switching display page;
in the continuous playing state of each video in the multiplexed video set, moving the multiplexed video set to the playing position matched with the target switching display page, wherein the method comprises the following steps:
inquiring a target video record of the target switching display page aiming at each video in the multiplexing video set, and determining a screen splitting number matched with the video in the target switching display page; and/or
Aiming at each video in the multiplexing video set, calculating a matched split screen number of the video in the target switching display page according to the video sequence number of the video and the number of to-be-split screens;
and moving the video to a split screen corresponding to the split screen number in the target switching display page.
2. The method of claim 1, wherein after determining the set of multiplexed videos among the videos in the current display page, further comprising:
and if the multiplexed video set is a proper subset of all the videos in the current display page, stopping playing other videos except the multiplexed video set in the current display page.
3. The method of claim 1, further comprising, after moving the multiplexed video collection to a matching playback position in the switching display page:
and if the target video record of the target switching display page comprises at least one associated video except the multiplexed video set, requesting each associated video at the matched playing position in the target switching display page.
4. The method of claim 3, further comprising, after moving the multiplexed video set to the matching playback position in the target switching display page:
and if the target switching display page is switched to the appointed display page, acquiring the video to be displayed included in the video record of the appointed display page, and ordering the corresponding video to be displayed at the playing position matched in the appointed display page.
5. The utility model provides a split screen auto-change over device which characterized in that is applied to commander terminal customer end, includes:
the request module is used for determining a target split screen layout and video records of each target display page in the target split screen layout according to the split screen switching request in the playing process of each video in the current display page corresponding to the current split screen layout;
the positioning module is used for determining a target switching display page corresponding to the current display page in each target display page;
the set determining module is used for determining a multiplexing video set in each video in the current display page according to the current video record corresponding to the current display page and the target video record of the target switching display page;
the switching module is used for switching the current display page into the target switching display page and moving the multiplexing video set to a matched playing position in the target switching display page under the continuous playing state of each video in the multiplexing video set;
the set determination module to: acquiring the same multiplexing video record in the current video record and the target video record; acquiring videos corresponding to the multiplexed video records from the videos in the current display page to form a multiplexed video set;
a positioning module to: acquiring a target video sequence number corresponding to a current display page and the number of screens to be split from the split screen switching request; calculating a target number corresponding to a target switching display page according to the target video sequence number and the number of the to-be-split screens; taking the target display page with the page number equal to the target number as a target switching display page;
a switching module to:
inquiring a target video record of a target switching display page aiming at each video in the multiplexing video set, and determining a matched split screen number of the video in the target switching display page; and/or
Aiming at each video in the multiplexing video set, calculating a screen splitting number matched with the video in a target switching display page according to the video sequence number of the video and the number of to-be-split screens;
and moving the video to a split screen corresponding to the split screen number in the target switching display page.
6. An electronic device, characterized in that the device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the split screen switching method of any of claims 1-4.
7. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the split screen switching method according to any one of claims 1 to 4.
CN202011510925.2A 2020-12-18 2020-12-18 Split screen switching method, device, equipment and storage medium Active CN112672079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011510925.2A CN112672079B (en) 2020-12-18 2020-12-18 Split screen switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011510925.2A CN112672079B (en) 2020-12-18 2020-12-18 Split screen switching method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112672079A CN112672079A (en) 2021-04-16
CN112672079B true CN112672079B (en) 2023-01-06

Family

ID=75406236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011510925.2A Active CN112672079B (en) 2020-12-18 2020-12-18 Split screen switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112672079B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365117B (en) * 2008-09-18 2010-12-29 中兴通讯股份有限公司 Method for customized screen splitting mode
KR102099646B1 (en) * 2012-09-25 2020-04-13 삼성전자 주식회사 Apparatus and method for switching an application displayed split view in portable terminal
CN103324457B (en) * 2013-06-21 2016-09-21 东莞宇龙通信科技有限公司 Terminal and multi-task data display method
CN107888859B (en) * 2016-09-30 2020-07-03 杭州海康威视数字技术股份有限公司 Video playing processing method and device
CN108845778B (en) * 2018-06-15 2021-09-24 广州视源电子科技股份有限公司 Layout adjustment method and device for split screen picture, display device and storage medium
CN111182352B (en) * 2018-11-09 2022-06-14 浙江宇视科技有限公司 Adaptive code stream control device and method for video playing

Also Published As

Publication number Publication date
CN112672079A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
US10448082B2 (en) Information exchanging method and device, audio terminal and computer-readable storage medium
CN104486339A (en) Method and device for displaying recommendation data in social application
CN105786473A (en) Task management method and device of multi-task interface as well as terminal equipment
KR102565857B1 (en) Service request processing method and related device
US20160269795A1 (en) Instructing mode switching method and device based on smart television interface
CN107197342B (en) Data processing method, intelligent terminal and storage medium
CN111372115B (en) Application program access method and device and communication system
WO2017156983A1 (en) List callup method and device
US20210327426A1 (en) Voice control method for applet and device, and storage medium
KR101919257B1 (en) Application program switch method, apparatus and electronic terminal
CN106658142A (en) Interface configuration method and device
KR20230144582A (en) Live streaming video-based interaction method and apparatus, device and storage medium
JP7058795B2 (en) Video processing methods, devices, terminals and storage media
CN114415894A (en) Terminal split screen processing method, device, equipment and medium
CN112672079B (en) Split screen switching method, device, equipment and storage medium
CN108882004B (en) Video recording method, device, equipment and storage medium
CN115904183A (en) Interface display process, apparatus, device and storage medium
US20170171269A1 (en) Media content playback method, apparatus and system
CN112052377B (en) Resource recommendation method, device, server and storage medium
CN107484006A (en) A kind of interface processing method, set top box and storage medium
CN112052376A (en) Resource recommendation method, device, server, equipment and medium
CN104090911A (en) Information processing method and electronic equipment
CN110955461A (en) Processing method, device and system of computing task, server and storage medium
CN106899757A (en) The control method for playing back of audio-video document, device and terminal device
CN110691256B (en) Video associated information processing method and device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant