CN113840046B - Video polling group polling method and device - Google Patents

Video polling group polling method and device Download PDF

Info

Publication number
CN113840046B
CN113840046B CN202010510625.8A CN202010510625A CN113840046B CN 113840046 B CN113840046 B CN 113840046B CN 202010510625 A CN202010510625 A CN 202010510625A CN 113840046 B CN113840046 B CN 113840046B
Authority
CN
China
Prior art keywords
polling
video
group
switching
period
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
CN202010510625.8A
Other languages
Chinese (zh)
Other versions
CN113840046A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010510625.8A priority Critical patent/CN113840046B/en
Publication of CN113840046A publication Critical patent/CN113840046A/en
Application granted granted Critical
Publication of CN113840046B publication Critical patent/CN113840046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Abstract

The embodiment of the application provides a video polling group polling method and a device. The method comprises the following steps: when a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area performs polling switching, the polling switching of the first video polling group is at least synchronous with the polling switching of a second video polling group in the plurality of video polling groups; wherein the second video poll group is: and the video polling groups with the minimum polling switching period are used in the plurality of video polling groups. The embodiment of the application improves the synchronism of polling switching of each video polling group.

Description

Video polling set polling method and device
Technical Field
The invention relates to the technical field of video output, in particular to a polling method and a polling device of a video polling group.
Background
The video polling switching is to form a video polling group by more than 1 video source, and all the video sources in the video polling group are periodically displayed and switched on a display window at a certain time interval. The polling switching can be divided into analog video source polling switching and network video stream polling switching according to different video sources. And the video polling switching period is the time difference from the display starting time of the previous video source to the display starting time of the next video source, namely the single display time length of a single video source in the polling group.
The existing video polling switching method comprises the following steps: setting a polling trigger condition of a target polling service and a polling frequency corresponding to the polling trigger condition; and in the video playing process, judging whether the polling triggering conditions of the target polling service are met, and polling the target polling service according to the polling frequency corresponding to the polling triggering conditions.
Disclosure of Invention
The embodiment of the invention provides a polling method and a polling device of a video polling group, which are used for improving the synchronization of polling switching of the video polling group.
The technical scheme of the embodiment of the invention is realized as follows:
a video poll group polling method, the method comprising:
when a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area is in polling switching, the polling switching of the first video polling group is at least synchronous with the polling switching of a second video polling group in the plurality of video polling groups, wherein the second video polling group is: and the video polling groups with the minimum polling switching period are used in the plurality of video polling groups.
Before performing polling switching on a first video polling group in the plurality of video polling groups on the plurality of display windows on the same display area, the method further includes:
and for each video polling group in the plurality of video polling groups, selecting an integral multiple polling switching reference period closest to a preset polling switching period of the video polling group as a finally used polling switching period of the video polling group.
The polling switching reference period is determined by the following method:
selecting the minimum polling switching reference period as a polling switching reference period in one or more preset polling switching reference periods;
or, taking a preset polling switching period of the second video polling group as a polling switching reference period.
The determining a polling switching reference period according to the minimum preset polling switching period includes:
if one or more polling switching reference periods are preset, selecting a polling switching reference period closest to the preset polling switching period of the second video polling group as a polling switching reference period in all polling switching reference periods;
if the polling switching reference period is not preset, the preset polling switching period of the second video polling group is directly used as the polling switching reference period.
The selecting an integral multiple polling switching reference period closest to the preset polling switching period of the video polling group as the finally used polling switching period of the video polling group comprises:
calculating Tx/T0, and determining that m is less than or equal to Tx/T0 and less than or equal to m +1, wherein m is an integer greater than 0; wherein Tx is a preset polling switching period of the video polling group, and T0 is the polling switching reference period;
calculating d1= | Tx-m × T0|, d2= | Tx- (m + 1) × T0|, and taking d = min (d 1, d 2);
if d = d1, taking m × T0 as the usage polling switching period finally used by the video polling group; if d = d2, (m + 1) × T0 is used as the usage polling switching period finally used by the video polling group.
The selecting an integral multiple polling switching reference period closest to the preset polling switching period of the video polling group as the finally used polling switching period of the video polling group comprises:
Tx/T0 is calculated, and 2 is determined n ≤Tx/T0≤2 n+1 N is an integer greater than or equal to 0; wherein Tx is a preset polling switching period of the video polling group, and T0 is the polling switching reference period;
calculate d1= | Tx-2 n *T0|,d2=|Tx-2 n+1 * T0|, take d = min (d 1, d 2);
if d = d1, then 2 will be used n * T0 is the usage polling switching period that the video polling set ultimately uses; if d = d2, then 2 will be n+1 * T0 is the polling switch period used for the end use of the video poll group.
When a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area performs polling switching, the polling switching of the first video polling group at least comprises the following steps of:
when a first video polling group is opened in a first display window on the display area, judging whether other display windows on the display area already open the video polling groups, if so, selecting all video polling groups with the use polling switching period smaller than that of the first video polling group from the other opened video polling groups, and according to the following steps: the first polling switch time of the first video polling group is determined on the basis of the principle that the first polling switch time of the first video polling group is synchronized with the polling switches of as many selected video polling groups as possible.
When a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area performs polling switching, the polling switching of the first video polling group at least comprises the following steps of:
when a first video polling group is opened on a first display window on the display area, judging whether other display windows on the display area already open the video polling group, if so, selecting a video polling group z with the minimum use polling switching period from other opened video polling groups, synchronizing the first polling switching time of the first video polling group with the subsequent polling switching time of the video polling group z, and switching the first subsequent polling switching of the first video polling group according to the use polling switching period of the first video polling group; otherwise, the first video polling group is always polled and switched according to the polling and switching period of the first video polling group.
The synchronizing the first polling switch time of the first video polling group with the subsequent polling switch time of the video polling group z comprises:
adding the polling opening time of the first video polling group to the polling switching period of the first video polling group to obtain the scheduled first polling switching time ty of the first video polling group 1
Sequentially calculating each polling switching time tz of the video polling group z after the first video polling group starts polling p P denotes the p-th polling switch time of video poll group z after the first video poll group starts polling, and if | tz 1 -ty 1 |≤|tz 2 -ty 1 If yes, stopping calculation, and setting the first polling switching time of the first video polling group to be tz 1 (ii) a Otherwise, when | tz p -ty 1 |≤|tz p-1 -ty 1 I and I tz p -ty 1 |≤|tz p+1 -ty 1 When l, the calculation is stopped, and the first polling switching time of the first video polling group is set to tz p ,p>1。
A video poll group polling device, the device comprising:
the polling switching synchronization control module is used for synchronizing polling switching of a first video polling group in a plurality of video polling groups on a plurality of display windows in the same display area with polling switching of a second video polling group in the plurality of video polling groups when the first video polling group performs polling switching;
wherein the second video poll group is: and the video polling groups with the minimum polling switching period are used in the plurality of video polling groups.
A video poll group polling device, the device comprising: a memory and a processor accessible to the memory, the memory storing instructions that, when executed by the processor, cause the processor to perform the steps of the method as described in any one of the above.
A readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any of the preceding claims.
In the embodiment of the invention, when a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area carries out polling switching, the polling switching of the first video polling group is at least synchronous with the polling switching of a second video polling group in the plurality of video polling groups; wherein the second video polling group is: the video polling groups with the minimum polling switching period are used in the plurality of video polling groups, so that each polling switching of each other video polling group is at least synchronous with the polling switching of the second video polling group, and the synchronism of the polling switching of each video polling group is improved.
Drawings
Fig. 1 is a schematic diagram of a conventional video polling switching scheme;
fig. 2 is a flowchart of a polling method of a video poll group according to an embodiment of the present invention;
fig. 3 is a flowchart of a polling method of a video poll group according to another embodiment of the present invention;
fig. 4 is a flowchart of a polling method of a video poll group according to another embodiment of the present invention;
FIG. 5 is a diagram illustrating an exemplary implementation of video poll group polling;
fig. 6 is a schematic structural diagram of a video poll group polling apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a video poll group polling device according to another embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The inventor analyzes the existing video polling switching method and finds that the following problems exist:
the existing video polling switching method switches around a single video polling group. But in some video output scenarios such as: in a video monitoring scene, a display area is usually divided into a plurality of display windows, each display window independently plays a video source, and meanwhile, video polling switching is independently performed on each display window. The existing video polling switching method has no solution for performing video polling switching independently for a plurality of display windows on a display area. Wherein, a display area is as follows: a spliced screen.
For a scene in which a plurality of display windows independently perform video polling switching on a display area, a possible solution is shown in fig. 1, that is, each display window is respectively provided with a video polling open time and a video polling switching period, so that switching of video sources on each display window on the display area occurs irregularly because switching of video polling groups on each display window is not related, the visual effect is poor, and especially when the video polling open time and the video polling switching period of the video polling groups on each display window are different, video source switching frequently occurs on the display area.
The inventor finds out through analysis that: for a scene in which a plurality of display windows in a display area are independently switched in a polling manner, two reasons are mainly used for frequent video source switching in the display area:
firstly, the video polling starting time of the video polling groups on a plurality of display windows is asynchronous;
the video polling on times of poll group 1 and poll group 3 as in fig. 1 are not synchronized.
Secondly, the video polling switching periods of the video polling groups on the plurality of display windows are asynchronous.
The video polling switching periods of poll group 1 and poll group 2 as in fig. 1 are not synchronized. Whereas poll group 1 and poll group 4 in fig. 1 are asynchronous for both the video polling on time and the video polling switching period.
Aiming at a scene that a plurality of display windows on a display area are independently subjected to video polling switching, in order to improve the polling switching synchronism of video polling groups on the plurality of display windows, the embodiment of the invention provides the following solution:
fig. 2 is a flowchart of a video poll group polling method according to an embodiment of the present invention, which includes the following specific steps:
step 201: a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area is to perform polling switching.
Step 202: the polling switch of the first video polling group is at least synchronous with the polling switch of a second video polling group in the plurality of video polling groups, wherein the second video polling group is: the video polling set with the minimum polling switching period is used in the plurality of video polling sets.
By the embodiment, the polling switching of a plurality of video polling groups can reach the following conditions: for the video polling groups with the non-minimum polling switching period, the video polling groups are switched synchronously with at least the second video polling group with the minimum polling switching period during polling switching, so that the synchronicity of the polling switching of the video polling groups is improved.
For the embodiment shown in fig. 2, a specific implementation scheme that the polling switch of the first video polling group is at least synchronous with the polling switch of the second video polling group is given as follows:
fig. 3 is a flowchart of a polling method of a video poll group according to another embodiment of the present invention, which includes the following specific steps:
step 301: for each of a plurality of video polling groups on a plurality of display windows on the same display area, selecting an integral multiple polling switching reference period closest to a preset polling switching period of the video polling group as a finally used polling switching period of the video polling group.
In practical applications, the polling switching reference period is determined by one of the following methods:
in a first mode, in one or more preset polling switching reference periods, the smallest polling switching reference period is selected as a polling switching reference period.
And in the second mode, the preset polling switching period of the second video polling group is used as the polling switching reference period.
In an optional embodiment, if one or more polling switching reference periods are preset, a polling switching reference period closest to the minimum preset polling switching period is selected as a polling switching reference period in all polling switching reference periods; and if the polling switching reference period is not preset, directly taking the preset polling switching period of the second video polling group as the polling switching reference period.
Step 302: and a first video polling group in the plurality of video polling groups on a plurality of display windows on the same display area is subjected to polling switching.
Step 303: polling switching of the first video polling group is synchronized with polling switching of at least a second video polling group in the plurality of video polling groups; wherein the second video polling set is: the video polling group with the minimum polling switching period is used in the plurality of video polling groups.
By the embodiment, the use polling switching periods of all the video polling groups are integral multiples of the minimum use polling switching period, so that each polling switching of each other video polling group is at least synchronous with each polling switching of the second video polling group with the minimum use polling switching period, and the synchronism of the polling switching of each video polling group is ensured.
In the embodiment shown in fig. 3, the synchronicity of polling switching of each video polling group is mainly ensured by that the polling switching period of all the video polling groups is an integral multiple of the minimum polling switching period, but to achieve the synchronization, the polling on-time of each video polling group is firstly required to achieve synchronization, but in an actual scene, the polling on-time of each video polling group is usually random and cannot ensure certain synchronization, and for the scene, the embodiment of the present invention further ensures the synchronicity of polling switching of each video polling group by the following scheme:
fig. 4 is a flowchart of a polling method of a video poll group according to another embodiment of the present invention, which includes the following specific steps:
step 401: aiming at a plurality of video polling groups on a plurality of display windows on the same display area, in the preset polling switching periods of the plurality of video polling groups, selecting the minimum preset polling switching period.
Step 402: and determining a polling switching reference period T0 according to the minimum preset polling switching period.
In an optional embodiment, if one or more polling switching reference periods are preset, a polling switching reference period closest to a preset polling switching period of the second video polling group is selected as a polling switching reference period T0 in all polling switching reference periods; if the polling switching reference period is not preset, the preset polling switching period of the second video polling group is directly used as the polling switching reference period T0.
For example: 3 display windows are arranged on a display area, each display window corresponds to one video polling group 1, 2 and 3 respectively, and the preset polling switching periods of the video polling groups 1, 2 and 3 are set to be T1 respectively a 、T2 a 、T3 a Wherein, T1 a <T2 a <T3 a Then T1 a The minimum preset polling switching period is the preset polling switching period of the second video polling group;
presetting 4 polling switching reference periods T1 c 、T2 c 、T3 c 、T4 c Wherein, T1 c <T2 c <T3 c <T4 c Wherein, T1 a And T2 c Closest, i.e. T1 a And T2 c Are respectively less than or equal to T1 a And T1 c 、T3 c 、T4 c Is the absolute value of the difference, then T2 c As a polling switching reference period T0.
Step 403: the following steps 404-406 are respectively executed for the video polling group corresponding to each display window on the display area:
step 404: calculating Tx/T0, and determining that m is more than or equal to Tx/T0 and more than or equal to m +1, wherein m is an integer more than 0; x represents the current video polling group, and Tx is the preset polling switching period of the video polling group x.
Step 405: calculating d1= | Tx-m × T0|, d2= | Tx- (m + 1) × T0|, and taking d = min (d 1, d 2), wherein | | is an absolute value operator.
Step 406: if d = d1, taking m × T0 as the usage polling switching period finally used by the video polling group x; if d = d2, (m + 1) × T0 is used as the usage polling switching period finally used by the video polling group x.
Step 407: when a video polling set y is opened in a display window on the display area, whether video polling sets have been opened in other display windows on the display area is determined, if yes, step 408 is executed; otherwise, step 409 is performed.
Step 408: selecting all the video polling groups with the polling switching period smaller than that of the video polling group y from the other video polling groups which are started, and according to the following steps: and determining the first polling switching time of the video polling group y according to the principle that the first polling switching time of the video polling group y is synchronous with the polling switching of the selected video polling group as much as possible, switching the polling switching after the first polling switching of the video polling group y according to the using polling switching period of the video polling group y, and ending the process.
For example: if c video poll groups with polling switching cycles smaller than that of the video poll group y are all started, the best situation is as follows: and synchronizing the first polling switching time of the video polling group y with a certain subsequent polling switching of the c video polling groups, and if the first polling switching time of the video polling group y is not synchronized with the certain subsequent polling switching of the video polling groups as many as possible in the c video polling groups.
In an alternative embodiment, step 408 may further be: and selecting a video polling group z with the minimum use polling switching period from other video polling groups which are already started, synchronizing the first polling switching time of the video polling group y with the subsequent polling switching time of the video polling group z, switching the polling switching after the first time of the video polling group y according to the use polling switching period of the video polling group y, and ending the process.
In an alternative embodiment, synchronizing the first polling switch time of the video poll group y with the subsequent polling switch time of the video poll group z comprises:
adding the polling opening time of the video polling group y to the polling switching period of the video polling group y to obtain the scheduled first polling switching time ty of the video polling group y 1 (ii) a Sequentially calculating each polling switching time tz of the video polling group z after the video polling group y starts polling p P denotes the p-th polling switch time of video poll group z after video poll group y starts polling, and if | tz 1 -ty 1 |≤|tz 2 -ty 1 If yes, stopping calculation, and setting the first polling switching time of the video polling group y to be tz 1 (ii) a Otherwise, when | tz p -ty 1 |≤|tz p-1 -ty 1 I and I tz p -ty 1 |≤|tz p+1 -ty 1 When l, stop calculating, and set the first polling switching time of video polling group y to tz p ,p>1。
Step 409: and polling and switching the video polling set y according to the polling and switching period of the video polling set y.
In the above embodiment, when one video polling group y is turned on, all video polling groups having a polling switching period smaller than that of the video polling group y are selected, and the following steps are performed: the first polling switching time of the video polling group y is determined according to the principle that the first polling switching time of the video polling group y is synchronous with the polling switching of the selected video polling groups as many as possible, so that the video polling group y can be synchronous with other video polling groups as many as possible from the beginning of the first polling switching, and the synchronism of the polling switching of each video polling group is ensured to the greatest extent.
To further improve the synchronicity of polling switching of each video poll group, in an alternative embodiment, steps 404-406 may be replaced with:
step 4041: tx/T0 is calculated, and 2 is determined n ≤Tx/T0≤2 n+1 N is an integer greater than or equal to 0; x denotes the current video poll group, and Tx is the preset polling switching period of the video poll group x.
Step 4051: calculation of d1= | Tx-2 n *T0|,d2=|Tx-2 n+1 * T0|, take d = min (d 1, d 2).
Step 4061: if d = d1, then 2 will be used n * T0 is the usage polling switching period that the video polling group x ultimately uses; if d = d2, then 2 will be n+1 * T0 is the polling switch period used for the end use of the video polling set x.
As can be seen from the above alternative embodiment, the usage polling switching period of each video polling group is 2 of T0 n And the polling switching of one video polling group can be ensured to be always synchronous with the polling switching of all the video polling groups with polling switching periods smaller than that of the video polling groups, so that the synchronous range of the polling switching is improved.
Fig. 5 is a diagram illustrating polling of video poll groups according to an embodiment of the present invention. As shown in fig. 5, the usage polling switching period of each video polling group is as follows:
the use polling switching periods of the video polling groups 1 and 2 are minimum and same;
the use polling switching period of the video polling group 3 is 2 times that of the video polling group 1;
the usage polling switching period of the video polling group 4 is 4 times that of the video polling group 1.
The video polling group 1 starts polling firstly, the polling switching period is the minimum, the first polling switching of the video polling groups 2 and 3 is synchronized with the video polling group 1, and the first polling switching of the video polling group 4 is synchronized with the video polling groups 1, 2 and 3 simultaneously, so that the maximized synchronization of the polling switching of all the video polling groups is realized.
Fig. 6 is a schematic structural diagram of a video poll group polling apparatus according to an embodiment of the present invention, the apparatus mainly includes:
the polling switching synchronization control module 61 is configured to, when a first video polling group in multiple video polling groups on multiple display windows on the same display area performs polling switching, synchronize polling switching of the first video polling group with polling switching of at least a second video polling group in the multiple video polling groups; wherein the second video polling group is: the video polling group with the minimum polling switching period is used in the plurality of video polling groups.
In an optional embodiment, the apparatus further comprises: and the usage polling switching period determining module 62 is configured to select, for each video polling group in the multiple video polling groups, an integral multiple polling switching reference period closest to the preset polling switching period of the video polling group as the usage polling switching period finally used by the video polling group.
In an optional embodiment, the apparatus further comprises: a polling switching reference period determining module 63, configured to select a minimum polling switching reference period as a polling switching reference period in one or more preset polling switching reference periods, and send the polling switching reference period to the usage polling switching period determining module 62; alternatively, the preset polling switching period of the second video polling group is used as the polling switching reference period, and the polling switching reference period is sent to the usage polling switching period determining module 62.
In an optional embodiment, the determining module 63 for polling switching reference period to use the preset polling switching period of the second video polling group as the polling switching reference period includes:
if one or more polling switching reference periods are preset, selecting a polling switching reference period closest to the preset polling switching period of the second video polling group as a polling switching reference period in all polling switching reference periods; and if the polling switching reference period is not preset, directly taking the preset polling switching period of the second video polling group as the polling switching reference period.
In an alternative embodiment, the selecting, by the polling switch period determining module 62, an integer multiple of the polling switch reference period closest to the preset polling switch period of the video poll group as the finally used polling switch period of the video poll group includes:
calculating Tx/T0, and determining that m is less than or equal to Tx/T0 and less than or equal to m +1, wherein m is an integer greater than 0; wherein Tx is a preset polling switching period of the video polling group, and T0 is the polling switching reference period; calculating d1= | Tx-m × T0|, d2= | Tx- (m + 1) × T0|, take d = min (d 1, d 2); if d = d1, taking m × T0 as the usage polling switching period finally used by the video polling group; if d = d2, (m + 1) × T0 is used as the usage polling switching period finally used by the video polling group.
In an alternative embodiment, the selecting, by the usage polling switching period determining module 62, an integer multiple of the polling switching reference period closest to the preset polling switching period of the video poll group as the usage polling switching period finally used by the video poll group includes:
Tx/T0 is calculated, and 2 is determined n ≤Tx/T0≤2 n+1 N is an integer greater than or equal to 0; wherein Tx is a preset polling switching period of the video polling group, and T0 is the polling switching reference period; calculate d1= | Tx-2 n *T0|,d2=|Tx-2 n +1 * T0|, take d = min (d 1, d 2); if d = d1, then 2 will be used n * T0 is the usage polling switching period ultimately used by the video polling set; if d = d2, then 2 will be n+1 * T0 is the usage polling switching period ultimately used by the video polling set.
In an alternative embodiment, when the polling switch of the first video polling group in the plurality of video polling groups on the plurality of display windows on the same display area is performed by the polling switch synchronization control module 61, the synchronizing the polling switch of the first video polling group with the polling switch of at least the second video polling group in the plurality of video polling groups includes:
when a first video polling group is opened in a first display window on a display area, judging whether other display windows on the display area already open the video polling group, if so, selecting all video polling groups with the polling switching cycle smaller than that of the first video polling group from other opened video polling groups, and according to the following steps: the first polling switch time of the first video poll group is determined on the basis of the principle that the first polling switch time of the first video poll group is synchronized with the polling switches of as many selected video poll groups as possible.
In an alternative embodiment, when a first video polling group of multiple video polling groups on multiple display windows on the same display area performs polling switching, the polling switching of the first video polling group synchronized with the polling switching of at least a second video polling group of the multiple video polling groups in the polling switching synchronization control module 61 includes:
when a first video polling group is opened in a first display window on a display area, judging whether other display windows on the display area already open the video polling group, if so, selecting a video polling group z with the minimum use polling switching period from other opened video polling groups, synchronizing the first polling switching time of the first video polling group with the subsequent polling switching time of the video polling group z, and switching the first subsequent polling switching of the first video polling group according to the use polling switching period of the first video polling group; otherwise, the first video polling group is always polled and switched according to the polling and switching period of the first video polling group.
In an alternative embodiment, the synchronizing the first polling switch time of the first video polling group with the subsequent polling switch time of the video polling group z by the polling switch synchronization control module 61 includes:
adding the polling opening time of the first video polling group to the polling switching period of the first video polling group to obtain the scheduled first polling switching time ty of the first video polling group 1
Sequentially calculating the video polling groups z in the first video wheelEach polling switching time tz after polling group starts polling p P denotes the p-th polling switch time of video poll group z after the first video poll group starts polling, and if | tz 1 -ty 1 |≤|tz 2 -ty 1 If yes, stop the calculation and set the first polling switch time of the first video polling group to be tz 1 (ii) a Otherwise, when | tz p -ty 1 |≤|tz p-1 -ty 1 I and I tz p -ty 1 |≤|tz p+1 -ty 1 When l, stop calculating, and set the first polling switching time of the first video polling group to tz p ,p>1。
Fig. 7 is a schematic structural diagram of a video poll group polling device according to another embodiment of the present invention, where the device mainly includes: a memory 71 and a processor 72 having access to the memory 71, the memory 71 storing instructions which, when executed by the processor 72, cause the processor 72 to perform the steps of the method as described in steps 201 to 202, or steps 301 to 303, or steps 401 to 409.
Embodiments of the present invention further provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method as described in steps 201 to 202, or steps 301 to 303, or steps 401 to 409.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A video poll group polling method, the method comprising:
when a first video polling group in a plurality of video polling groups on a plurality of display windows on the same display area performs polling switching, the polling switching of the first video polling group is at least synchronous with the polling switching of a second video polling group in the plurality of video polling groups, in a plurality of video polling groups which are already opened, in a preset polling switching period of the plurality of video polling groups, a minimum preset polling switching period is selected, a polling switching reference period is determined according to the minimum preset polling switching period, an integral multiple polling switching reference period closest to the preset polling switching period of the first video polling group is selected as a finally-used use polling switching period of the first video polling group, and the first video polling group is switched based on the finally-used polling switching period, wherein the second video polling group is: and the video polling groups with the minimum polling switching period are used in the plurality of video polling groups.
2. The method of claim 1, wherein the polling switching reference period is determined by:
selecting the minimum polling switching reference period as a polling switching reference period in one or more preset polling switching reference periods;
or, taking a preset polling switching period of the second video polling group as a polling switching reference period.
3. The method of claim 2, wherein the determining the polling switching reference period according to the minimum preset polling switching period comprises:
if one or more polling switching reference periods are preset, selecting a polling switching reference period closest to the preset polling switching period of the second video polling group as a polling switching reference period in all polling switching reference periods;
if the polling switching reference period is not preset, the preset polling switching period of the second video polling group is directly used as the polling switching reference period.
4. The method of claim 1, wherein the selecting an integer multiple of the polling switch reference period closest to the preset polling switch period of the first video poll group as the finally used polling switch period of the first video poll group comprises:
calculating Tx/T0, and determining that m is more than or equal to Tx/T0 and more than or equal to m +1, wherein m is an integer more than 0; wherein Tx is a preset polling switching period of the first video polling group, and T0 is the polling switching reference period;
calculating d1= | Tx-m × T0|, d2= | Tx- (m + 1) × T0|, and taking d = min (d 1, d 2);
if d = d1, taking m × T0 as a usage polling switching period finally used by the first video polling group; if d = d2, (m + 1) × T0 is used as the usage polling switching period finally used by the first video polling group.
5. The method of claim 1, wherein the selecting an integer multiple of the polling switch reference period closest to the preset polling switch period of the first video poll group as the finally used polling switch period of the first video poll group comprises:
Tx/T0 is calculated, and 2 is determined n ≤Tx/T0≤2 n+1 N is an integer greater than or equal to 0; wherein Tx is a preset polling switching period of the first video polling group, and T0 is the polling switching reference period;
calculate d1= | Tx-2 n *T0|,d2=|Tx-2 n+1 * T0|, take d = min (d 1, d 2);
if d = d1, then 2 will be used n * T0 is used as a final use polling switching period of the first video polling group; if d = d2, then 2 will be used n+1 * T0 is the polling switch period used for the first video poll group.
6. The method of claim 1, wherein when a first video poll group of the plurality of video poll groups on the plurality of display windows on the same display area is polled for switching, synchronizing the polling for the first video poll group with the polling for at least a second video poll group of the plurality of video poll groups comprises:
when a first video polling group is opened in a first display window on the display area, judging whether other display windows on the display area already open the video polling groups, if so, selecting all video polling groups with the use polling switching period smaller than that of the first video polling group from the other opened video polling groups, and according to the following steps: the first polling switch time of the first video polling group is determined on the basis of the principle that the first polling switch time of the first video polling group is synchronized with the polling switches of as many selected video polling groups as possible.
7. The method of claim 1, wherein when a first video poll group of the plurality of video poll groups on the plurality of display windows on the same display area is polled for switching, synchronizing the polling for the first video poll group with the polling for at least a second video poll group of the plurality of video poll groups comprises:
when a first video polling group is opened on a first display window on the display area, judging whether other display windows on the display area already open the video polling group, if so, selecting a video polling group z with the minimum use polling switching period from other opened video polling groups, synchronizing the first polling switching time of the first video polling group with the subsequent polling switching time of the video polling group z, and switching the first subsequent polling switching of the first video polling group according to the use polling switching period of the first video polling group; otherwise, the first video polling group is always polled and switched according to the polling and switching period of the first video polling group.
8. The method of claim 7, wherein synchronizing the first polling switch time of the first video poll group with the subsequent polling switch time of the video poll group z comprises:
adding the polling opening time of the first video polling group to the polling switching period of the first video polling group to obtain the scheduled first polling switching time ty of the first video polling group 1
Calculating the start polling of the video polling group z in the first video polling group in sequenceEach subsequent polling switching time tz p ,tz p Indicates the p-th polling switching time of the video poll group z after the first video poll group starts polling, and if | tz 1 -ty 1 |≤|tz 2 -ty 1 If yes, stopping calculation, and setting the first polling switching time of the first video polling group to be tz 1 (ii) a Otherwise, when | tz p -ty 1 |≤|tz p-1 -ty 1 I and | tz p -ty 1 |≤|tz p+1 -ty 1 When l, stop calculating, and set the first polling switching time of the first video polling group to tz p ,p>1。
9. A video poll group polling device, the device comprising:
the polling switching synchronization control module is used for synchronizing polling switching of a first video polling group in a plurality of video polling groups on a plurality of display windows in the same display area with polling switching of a second video polling group in the plurality of video polling groups when the first video polling group performs polling switching; selecting a minimum preset polling switching period in preset polling switching periods of a plurality of video polling groups in a plurality of started video polling groups, determining a polling switching reference period according to the minimum preset polling switching period, and selecting an integral multiple polling switching reference period closest to the preset polling switching period of a first video polling group as a finally-used polling switching period of the first video polling group, wherein the first video polling group is switched based on the finally-used polling switching period;
wherein the second video polling set is: and the video polling groups with the minimum polling switching period are used in the plurality of video polling groups.
10. A video poll group polling device, the device comprising: a memory and a processor accessible to the memory, the memory storing instructions that, when executed by the processor, cause the processor to perform the steps of the method of any of claims 1 to 8.
11. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202010510625.8A 2020-06-08 2020-06-08 Video polling group polling method and device Active CN113840046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010510625.8A CN113840046B (en) 2020-06-08 2020-06-08 Video polling group polling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010510625.8A CN113840046B (en) 2020-06-08 2020-06-08 Video polling group polling method and device

Publications (2)

Publication Number Publication Date
CN113840046A CN113840046A (en) 2021-12-24
CN113840046B true CN113840046B (en) 2022-11-04

Family

ID=78963575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010510625.8A Active CN113840046B (en) 2020-06-08 2020-06-08 Video polling group polling method and device

Country Status (1)

Country Link
CN (1) CN113840046B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0463790A2 (en) * 1990-06-29 1992-01-02 SONY ELECTRONICS INC. (a Delaware corporation) Video synchronisation signal generation
US5162903A (en) * 1990-06-04 1992-11-10 Sony Corporation Apparatus for switching between two asynchronous video signals
CN101594539A (en) * 2009-06-24 2009-12-02 中兴通讯股份有限公司 Realize method, decoder and the supervisory control system of decoder synchronous polling
CN101616016A (en) * 2009-08-07 2009-12-30 杭州华三通信技术有限公司 Group changing method, device and system in the supervisory control system
CN105100715A (en) * 2015-06-11 2015-11-25 福建星网锐捷安防科技有限公司 Video switching method and apparatus of monitoring device
CN110557599A (en) * 2019-09-19 2019-12-10 上海赛连信息科技有限公司 Method and device for polling video conference
JP2019211638A (en) * 2018-06-05 2019-12-12 キヤノン株式会社 Processing device, output device, synchronization control system, and these control methods, as well as programs

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5162903A (en) * 1990-06-04 1992-11-10 Sony Corporation Apparatus for switching between two asynchronous video signals
EP0463790A2 (en) * 1990-06-29 1992-01-02 SONY ELECTRONICS INC. (a Delaware corporation) Video synchronisation signal generation
CN101594539A (en) * 2009-06-24 2009-12-02 中兴通讯股份有限公司 Realize method, decoder and the supervisory control system of decoder synchronous polling
CN101616016A (en) * 2009-08-07 2009-12-30 杭州华三通信技术有限公司 Group changing method, device and system in the supervisory control system
CN105100715A (en) * 2015-06-11 2015-11-25 福建星网锐捷安防科技有限公司 Video switching method and apparatus of monitoring device
JP2019211638A (en) * 2018-06-05 2019-12-12 キヤノン株式会社 Processing device, output device, synchronization control system, and these control methods, as well as programs
CN110557599A (en) * 2019-09-19 2019-12-10 上海赛连信息科技有限公司 Method and device for polling video conference

Also Published As

Publication number Publication date
CN113840046A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
US10223980B2 (en) Display device and display method
CN106843859A (en) The method for drafting and device and a kind of virtual reality device of a kind of virtual reality scenario
EP2736263A1 (en) Server, multimedia apparatus and control method thereof for synchronously playing multimedia contents through a plurality of multimedia devices
CN105100915B (en) A kind of method and television set switching audiovisual applications
CN106612452A (en) Audio-video synchronizing method and device of set top box
CN105430492A (en) Audio output control method and audio output control device
CN110149259B (en) GJB289A bus scheduling method and device based on hybrid triggering
CN112399219B (en) Material playing method and system, terminal and medium and material synchronous playing method
CN110581973A (en) data playback method and device, terminal equipment and storage medium
CN113840046B (en) Video polling group polling method and device
CN106454554A (en) Ambient light television time synchronizing method and ambient light television
CN114025107B (en) Image ghost shooting method, device, storage medium and fusion processor
US9740319B2 (en) Touch display device and driving method thereof
WO2009084128A1 (en) Synchronous signal conversion circuit, signal processing system including it, and synchronous signal conversion method
CN109669366B (en) Control method and device
CN109889860A (en) A kind of live video file demolition method, apparatus and system
JP2020036178A (en) Video signal output device, control method, and program
KR20150078354A (en) Liquid Display Device And Driving Method Of The Same
JP4234776B1 (en) Control device, control method, and control program
CN111193570A (en) Method, device, system, medium and electronic equipment for executing instructions
CN111274280A (en) Timing information feedback method and prediction system for refrigerator
CN105389217B (en) A kind of synchronous execution transaction method based on android system
CN106534981B (en) A kind of generation method and generating means of the ASCII stream file ASCII of set top box testing
JP6635381B2 (en) Playback device, playback instruction device, playback system, playback device control method, playback instruction device control method, and playback system control method
CN110809091A (en) Mode switching method of intelligent terminal and related device

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