CN111447361B - Display switching method, device, equipment and storage medium - Google Patents

Display switching method, device, equipment and storage medium Download PDF

Info

Publication number
CN111447361B
CN111447361B CN202010245196.6A CN202010245196A CN111447361B CN 111447361 B CN111447361 B CN 111447361B CN 202010245196 A CN202010245196 A CN 202010245196A CN 111447361 B CN111447361 B CN 111447361B
Authority
CN
China
Prior art keywords
instruction
video
pressing
lifting
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
CN202010245196.6A
Other languages
Chinese (zh)
Other versions
CN111447361A (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.)
Anhui Wenxiang Technology Co.,Ltd.
Original Assignee
Anhui Wenxiang 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 Anhui Wenxiang Technology Co ltd filed Critical Anhui Wenxiang Technology Co ltd
Priority to CN202010245196.6A priority Critical patent/CN111447361B/en
Publication of CN111447361A publication Critical patent/CN111447361A/en
Application granted granted Critical
Publication of CN111447361B publication Critical patent/CN111447361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a display switching method, a device, equipment and a storage medium, wherein the display switching method comprises the following steps: when the received first pressing instruction is in a first preset range, determining a preview video corresponding to the first pressing instruction; receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction; when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; and switching the preview video to the main video when the second instruction belongs to the video switching instruction. Through above-mentioned scheme with camera equipment's control and video switching separation, realize these two kinds of functions respectively through different operations, solved when needs switch preview video into main video, included the problem of the picture when rotating cloud platform camera in the main video after the switching, eliminated simultaneously because of mistake touches the problem that the main video that preview video produced unusually switches, promoted and watched experience.

Description

Display switching method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of audio and video processing, in particular to a display switching method, a display switching device, display switching equipment and a storage medium.
Background
With the continuous development and growth of modern teaching, recording and broadcasting classrooms almost become an indispensable part of teaching resources of each school, wherein recording and broadcasting equipment serves as an 'integration and manager' of a system, a camera holder is controlled to rotate through a specific protocol, and camera images are collected or camera code streams are decoded to carry out multi-picture display. In recent years, the field of education recording and broadcasting generally adopts multiple cameras to carry out video acquisition on teachers and students attending classes from multiple angles (common features of teachers, students and classroom panorama) so as to better display teaching contents and comprehensively acquire classroom conditions. Therefore, pan-tilt control and multi-view video switching for multiple cameras are important.
At present, as shown in fig. 1, portable PAD recording and broadcasting products and dual-screen recording and broadcasting products adopt a touch display screen to perform human-computer interaction with a user. And carrying out the pan-tilt control of the camera in the functional area of the interactive page, and controlling the setting and calling of the rotating direction, the rotating speed and the preset position of each camera pan-tilt. The video picture display is divided into two parts: a preview region and a main region. The preview area independently displays the video picture of each pan-tilt camera, the displayed picture resolution is small, and the area is mainly convenient for a user to check all pictures in real time; the main area displays the picture of a certain pan-tilt camera which is currently interested in by the user in the preview area, the displayed picture has high resolution, and the area is mainly used for the user to watch.
When a user clicks one video in the preview area on the touch display screen through a finger, the main area displays the selected video picture. At this time, the pan-tilt control is performed in the functional area, and then the pan-tilt camera corresponding to the main area rotates. During the use of the product, the above operating method has been found to have some disadvantages. When a user wants to control a certain pan/tilt/zoom camera to rotate, the user needs to click a certain video picture in a corresponding preview area, at the moment, the main picture is switched, and other users also view the picture when the pan/tilt/zoom camera is rotated, so that the viewing experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention provide a display switching method, apparatus, device, and storage medium, so as to solve the problem that when a preview video needs to be switched to a main video, a picture of a pan-tilt camera is included in the switched main video.
According to a first aspect, an embodiment of the present invention provides a display switching method, including:
when a received first pressing instruction is in a first preset range, determining a preview video corresponding to the first pressing instruction;
receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction;
when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; and when the second instruction belongs to a video switching instruction, switching the preview video into a main video.
According to the display switching method provided by the embodiment of the invention, when a first press instruction is received and is in a first preset range, a preview video corresponding to the first press instruction is determined; receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction; when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; and when the second instruction belongs to the video switching instruction, switching the preview video to the main video. That is, the control of the image pickup apparatus is separated from the video switching by the above-described procedure, and the two functions are respectively realized by different operations; therefore, before the preview video is switched to the main video, the camera equipment corresponding to the preview video is firstly used as the camera equipment which needs to be controlled currently, so that the control of the camera equipment is completed, the camera equipment is made to adapt to the display requirement of the main video, then the preview video is switched to the main video, and the problem that when the preview video needs to be switched to the main video, the picture when the pan-tilt camera is rotated is included in the switched main video is solved. Furthermore, as the preview video can be switched to the main video only through double-click operation and dragging operation, and the simple single-click operation cannot be completed, the problem of abnormal switching of the main video caused by mistakenly touching the preview video in the preview area is solved, and the watching experience of a user is greatly improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the determining whether the second instruction belongs to a device control instruction or a video switching instruction includes:
judging whether a first lifting instruction and a first pressing instruction are in the same area or not, wherein the first lifting instruction is an instruction corresponding to the first pressing instruction;
and when the area where the first lifting instruction and the first pressing instruction are located is different, taking the first lifting instruction in a second preset range as the second instruction, wherein the second instruction belongs to a video switching instruction.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first method, the display switching method further includes:
when the area where the first lifting instruction and the first pressing instruction are located is the same, judging whether a second pressing instruction is received within a preset time period after the first lifting instruction;
when the second pressing instruction is received within a preset time period after the first lifting instruction, the first lifting instruction and the second pressing instruction form the second instruction, and the second instruction is judged to be a video switching instruction;
and when the second press instruction is not received within a preset time period after the first lifting instruction, taking the first lifting instruction as the second instruction, and judging that the second instruction is an equipment control instruction.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the display switching method further includes: when the first lifting instruction is received, activating a preset timer, wherein the activity duration of the timer is the preset time period;
further, determining whether a second press command is received within a preset time period after the first lift command includes:
when the second pressing instruction is received and the timer is in a timing state, judging that the second pressing instruction is received in a preset time period after the first lifting instruction, and closing the timer;
when the second pressing instruction is received, the timer is not in a timing state, and it is determined that the second pressing instruction is not received within a preset time period after the first lifting instruction.
With reference to the first aspect, in a fourth embodiment of the first aspect, after the image capturing apparatus corresponding to the preview video is taken as the image capturing apparatus currently needing to be controlled, the method further includes: and marking the preview video.
According to a second aspect, an embodiment of the present invention provides a video switching apparatus, including:
the preview video determining module is used for determining a preview video corresponding to a first pressing instruction when the first pressing instruction is received;
the classification module is used for receiving a second instruction and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction;
the processing module is used for taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently when the second instruction belongs to the equipment control instruction; and when the second instruction belongs to a video switching instruction, switching the preview video into a main video.
According to a third aspect, an embodiment of the present invention provides a video switching apparatus, including a memory and a processor, where the memory and the processor are communicatively connected to each other, the memory stores therein computer instructions, and the processor executes the computer instructions to perform the display switching method according to the first aspect or any one of the implementation manners of the first aspect.
With reference to the third aspect, in a first implementation manner of the third aspect, the video switching device is a recording device.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause a computer to execute the display switching method described in the first aspect or any one implementation manner of the first aspect.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
fig. 1 is a schematic view of a display screen in a recording and playing device;
fig. 2 is a schematic flow chart of a display switching method according to the present invention;
FIG. 3 is a schematic diagram illustrating coordinates of a main view video and a preview video in a display screen according to the present invention;
FIG. 4 is a schematic flow chart of finger-down event processing according to the present invention;
FIG. 5 is a schematic flow chart of a finger lift event process provided by the present invention;
fig. 6 is a schematic structural diagram of a video switching apparatus according to the present invention;
fig. 7 is a schematic structural diagram of a computer-readable storage medium according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Embodiment 1 of the present invention provides a display switching method, which is specifically described below with reference to the accompanying drawings.
Referring to fig. 2, the figure is a schematic flow chart of a display switching method provided by the present invention. The display switching method specifically comprises the following steps:
s201: when the received first pressing instruction is in a first preset range, determining a preview video corresponding to the first pressing instruction.
As a possible embodiment, the first pressing instruction may be a direct pressing of a finger on the display screen, or an indirect pressing of a cursor on the display screen, where the cursor may be controlled by a mouse, or may be controlled by another method.
As a possible implementation manner, when a first press instruction is received and is within a first preset range, the following technical solutions may be adopted for determining a preview video corresponding to the first press instruction:
receiving a first pressing instruction, and judging whether the first pressing instruction is in a first preset range;
and when the first pressing instruction is in a first preset range, taking a video displayed in the first preset range as a preview video corresponding to the first pressing instruction.
For example, FIG. 3 is a schematic diagram of the coordinates of the main video and the preview video (i.e., video X) on the display screen, as shown in FIG. 3, with the upper left of the touch screenThe angle is the origin of coordinates, the right is the positive direction of the X axis, the downward is the positive direction of the Y axis, a rectangular coordinate system is established, and then the coordinates of four top points of the main area are respectively (X)m1,Ym1)、(Xm2,Ym2)、(Xm3,Ym3)、(Xm4,Ym4). The four vertex coordinates of the video X in the preview area are (X)p1,Yp1)、(Xp2,Yp2)、(Xp3,Yp3)、(Xp4,Yp4). Suppose the coordinates of the first press command are (X, Y), if X ism1<=X<=Xm2And Y ism1<=Y<=Ym4This indicates that the point is within the main video area. Suppose the coordinates of the first press command are (X, Y), if X isP1<=X<=XP2And Y isP1<=Y<=YP4If the point is in the range of the video X in the preview area, the video X is the preview video corresponding to the first press instruction.
S202: and receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction.
As a possible implementation manner, the following technical solution may be adopted to determine whether the second instruction belongs to the device control instruction or the video switching instruction: judging whether a first lifting instruction and a first pressing instruction are in the same area or not, wherein the first lifting instruction is an instruction corresponding to the first pressing instruction; when the area where the first lifting instruction and the first pressing instruction are located is different, judging whether the first lifting instruction is in a second preset range; and when the first lifting instruction is in the second preset range, taking the first lifting instruction as the second instruction, and judging that the second instruction belongs to a video switching instruction. In the above embodiment, the second preset range may be understood as the main region. That is, when the first press command is in the preview area and the first lift command is in the main area, that is, when the user's finger presses and drags in the main area in a certain video screen of the preview area, the main screen is switched to the screen of the preview video.
As a further embodiment, the display switching method further includes: when the area where the first lifting instruction and the first pressing instruction are located is the same, judging whether a second pressing instruction is received within a preset time period after the first lifting instruction; when the second pressing instruction is received within a preset time period after the first lifting instruction, the first lifting instruction and the second pressing instruction form the second instruction, and the second instruction is judged to be a video switching instruction; and when the second press instruction is not received within a preset time period after the first lifting instruction, taking the first lifting instruction as the second instruction, and judging that the second instruction is an equipment control instruction. In the above embodiment, it is determined whether the single-click operation or the double-click operation is performed by determining that the second press instruction is not received within a preset time period after the first lift instruction.
When the second press instruction is received within a preset time period after the first lifting instruction, taking the first lifting instruction and the second press instruction as the second instruction, and judging that the second instruction is a video switching instruction; namely, the first pressing instruction, the first lifting instruction and the second pressing instruction form a double-click operation, and when a user finger quickly and continuously clicks a certain video picture in a preview area twice, the main picture video is switched to the picture of the preview video. When the second pressing instruction is not received within a preset time period after the first lifting instruction, taking the first lifting instruction as the second instruction, and judging that the second instruction is an equipment control instruction; namely, the first pressing instruction and the first lifting instruction form clicking operation, when a certain video picture in a preview area is clicked on the touch display screen by a finger of a user, the PTZ camera corresponding to the video is selected, the PTZ camera can be controlled in a functional area, and at the moment, the main picture video is not switched.
In the embodiment of the present invention, the first press command corresponds to a press at the time of a single-click operation or a first press at the time of a double-click operation, and the second press command corresponds to a second press at the time of a double-click operation.
As a possible embodiment, a timer is used to implement the control of the preset time period after the first lift instruction. The activity duration of the timer is the preset time period, namely after the timer is activated and the preset time period passes, the timer is automatically closed. For example: when the first lifting instruction is received, activating a preset timer; when the second pressing instruction is received, if the timer is in an active state, judging that the second pressing instruction is received within a preset time period after the first lifting instruction; when the second pressing instruction is received, the timer is in a closed state, and it is determined that the second pressing instruction is not received within a preset time period after the first lifting instruction.
Further, when the second pressing instruction is received, the timer is in an active state, and the timer is further turned off. Thereby, a closed-loop control of the timer can be accomplished.
S203: when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; and when the second instruction belongs to a video switching instruction, switching the preview video into a main video.
As a further embodiment, after the image capturing apparatus corresponding to the preview video is taken as the image capturing apparatus currently needing to be controlled, the method further comprises marking the preview video to be distinguished from other preview videos, so that which image capturing apparatus the currently controlled image capturing apparatus is can be displayed more clearly. The manner of marking may be any manner, for example, the border of the preview screen is changed to a different color from the borders of the other preview screens.
By adopting the technical scheme, the video switching and the pan-tilt control in the recording and playing equipment can be separated, and the two functions can be respectively realized through different operations of a user, so that the pan-tilt corresponding to the main video displayed in the main area can be controlled, the pan-tilt corresponding to the preview video displayed in the preview area can be controlled, the display in the main area is not required to be switched, and the viewing experience is improved.
For example, the display switching method according to embodiment 1 of the present invention may be divided into three parts, namely, a finger-down event process, a finger-up event process, and a timer event process.
As shown in fig. 4, the finger-down event processing includes the following steps:
(a1) if the coordinates of the pressed point are within a certain video area in the preview area and the timer is active (indicating that this is a second press within 500 milliseconds), then step b1 is performed; if the timer is not activated (pressed for the first time), the pressing event processing is finished;
(b1) the timer is closed and the double click variable is marked to inform the system that a double click event has occurred.
As shown in fig. 5, the finger lift event processing includes the steps of:
(a2) if the coordinates of the lifting point are still in a certain video area in the same preview area, executing step b 2; otherwise, performing step c 2;
(b2) if the double-click variable is not marked, starting a 500 millisecond timer; otherwise cancel double click variable mark;
(c2) if the coordinates of the lifting point are in the main area, the user generates a dragging behavior, and the main picture is switched into a video picture corresponding to the video area in the preview area when the user presses down the finger.
The timer event processing comprises the following steps: if the timing time is up (no second click is performed within 500 milliseconds), the color of a frame of a certain video area in the preview area clicked by the finger of the user is changed into yellow, and the system is notified that a click event is generated.
Specifically, when a click event occurs, the currently controlled pan/tilt is switched to a pan/tilt camera corresponding to a certain video clicked by a user; when a double-click event is generated, the main picture is switched to a video picture corresponding to a certain video double-clicked by the user.
According to the display switching method provided by the embodiment of the invention, when a first press instruction is received and is in a first preset range, a preview video corresponding to the first press instruction is determined; receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction; when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; and when the second instruction belongs to the video switching instruction, switching the preview video to the main video. That is to say, the control of the camera device is separated from the video switching through the above process, and the two functions are respectively realized through different operations, so that before the preview video is switched to the main video, the camera device corresponding to the preview video is firstly used as the camera device which needs to be currently controlled, the control of the camera device is completed, the camera device is adapted to the display requirement of the main video, then the preview video is switched to the main video, and the problem that when the preview video needs to be switched to the main video, the picture when the pan-tilt camera is rotated is included in the switched main video is solved. Furthermore, as the preview video can be switched to the main video only through double-click operation and dragging operation, the simple single-click operation can not be completed, the problem of abnormal switching of the main video caused by mistakenly touching the preview video in the preview area is solved, and the watching experience is greatly improved.
Example 2
Embodiment 2 of the present invention provides a video switching apparatus, which is described in detail below with reference to the accompanying drawings.
Referring to fig. 4, the figure is a schematic structural diagram of a video switching apparatus according to the present invention. The video switching apparatus includes a preview video determination module 60, a classification module 62 and a processing module 64.
And a preview video determining module 60, configured to determine, when a first press instruction is received, a preview video corresponding to the first press instruction.
And the classification module 62 is configured to receive a second instruction, and determine whether the second instruction belongs to the device control instruction or the video switching instruction.
A processing module 64, configured to, when the second instruction belongs to an apparatus control instruction, take the image capturing apparatus corresponding to the preview video as an image capturing apparatus that needs to be currently controlled; and when the second instruction belongs to a video switching instruction, switching the preview video into a main video.
As a possible implementation manner, the preview video determining module 60 is specifically configured to use a video displayed in the first preset range as a preview video corresponding to the first press instruction.
As a possible implementation, the classification module 62 is specifically configured to: judging whether a first lifting instruction and a first pressing instruction are in the same area or not, wherein the first lifting instruction is an instruction corresponding to the first pressing instruction; when the area where the first lifting instruction and the first pressing instruction are located is different, judging whether the first lifting instruction is in a second preset range; and when the first lifting instruction is in the second preset range, taking the first lifting instruction as the second instruction, and judging that the second instruction belongs to a video switching instruction.
As another possible implementation, the classification module 62 is further configured to: when the area where the first lifting instruction and the first pressing instruction are located is the same, judging whether a second pressing instruction is received within a preset time period after the first lifting instruction; when the second pressing instruction is received within a preset time period after the first lifting instruction, the first lifting instruction and the second pressing instruction form the second instruction, and the second instruction is judged to be a video switching instruction; and when the second press instruction is not received within a preset time period after the first lifting instruction, taking the first lifting instruction as the second instruction, and judging that the second instruction is an equipment control instruction.
As a possible implementation manner, the classification module 62 is further configured to activate a preset timer when the first lift instruction is received, where an active duration of the timer is the preset time period; when the second pressing instruction is received, if the timer is in an active state, judging that the second pressing instruction is received within a preset time period after the first lifting instruction; when the second pressing instruction is received, the timer is in a closed state, and it is determined that the second pressing instruction is not received within a preset time period after the first lifting instruction.
As a further embodiment, the classification module 62 is further configured to close the timer when the timer is in an active state when the second pressing instruction is received.
According to the video switching device provided by the embodiment of the invention, when a received first press instruction is in a first preset range, a preview video corresponding to the first press instruction is determined; receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction; when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; and when the second instruction belongs to the video switching instruction, switching the preview video to the main video. That is to say, the control of the image pickup apparatus is separated from the video switching through the above-mentioned process, and the two functions are respectively realized through different operations, so that the problem that when the preview video needs to be switched to the main video, the picture when the pan-tilt camera is rotated is included in the switched main video is solved. Furthermore, as the preview video can be switched to the main video only through double-click operation and dragging operation, the simple single-click operation can not be completed, the problem of abnormal switching of the main video caused by mistakenly touching the preview video in the preview area is solved, and the watching experience is greatly improved.
Example 3
Embodiments of the present invention further provide a video switching device, where the video switching device may include a processor and a memory, where the processor and the memory may be connected by a bus or in another manner.
As a possible implementation, the video switching device is a recording device.
The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof.
The memory, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to video switching in embodiments of the present invention (e.g., preview video determination module 60, classification module 62, and processing module 64 shown in fig. 4). The processor executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory, that is, the display switching method in the above method embodiment is implemented.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via 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 one or more modules are stored in the memory and, when executed by the processor, perform the display switching method in the embodiments shown in fig. 2-5.
The details of the attention detection device may be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1 to fig. 5, which are not described herein again.
Those skilled in the art will appreciate that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program to instruct associated hardware, as shown in fig. 7, and the computer program 701 can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (7)

1. A display switching method, comprising:
when a received first pressing instruction is in a first preset range, determining a preview video corresponding to the first pressing instruction;
receiving a second instruction, and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction;
when the second instruction belongs to the equipment control instruction, taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently; when the second instruction belongs to a video switching instruction, switching the preview video into a main video;
judging whether the second instruction belongs to a device control instruction or a video switching instruction, including:
judging whether a first lifting instruction and a first pressing instruction are in the same area or not, wherein the first lifting instruction is an instruction corresponding to the first pressing instruction;
when the area where the first lifting instruction and the first pressing instruction are located is different, taking the first lifting instruction in a second preset range as the second instruction, wherein the second instruction belongs to a video switching instruction;
when the area where the first lifting instruction and the first pressing instruction are located is the same, judging whether a second pressing instruction is received within a preset time period after the first lifting instruction;
when the second pressing instruction is received within a preset time period after the first lifting instruction, taking the first lifting instruction and the second pressing instruction as the second instruction, and judging that the second instruction is a video switching instruction;
and when the second press instruction is not received within a preset time period after the first lifting instruction, taking the first lifting instruction as the second instruction, and judging that the second instruction is an equipment control instruction.
2. The display switching method according to claim 1, further comprising:
when the first lifting instruction is received, activating a preset timer, wherein the activity duration of the timer is the preset time period;
determining whether a second press command is received within a preset time period after the first lift command comprises:
when the second pressing instruction is received and the timer is in a timing state, judging that the second pressing instruction is received in a preset time period after the first lifting instruction, and closing the timer;
when the second pressing instruction is received, the timer is not in a timing state, and it is determined that the second pressing instruction is not received within a preset time period after the first lifting instruction.
3. The display switching method according to claim 1, further comprising, after taking the image pickup apparatus corresponding to the preview video as an image pickup apparatus currently needing to be controlled: and marking the preview video.
4. A display switching apparatus, comprising:
the preview video determining module is used for receiving a first pressing instruction, and determining a preview video corresponding to the first pressing instruction when the received first pressing instruction is in a first preset range;
the classification module is used for receiving a second instruction and judging whether the second instruction belongs to an equipment control instruction or a video switching instruction;
wherein, judge that the second instruction belongs to equipment control instruction or video switching instruction, include: judging whether a first lifting instruction and a first pressing instruction are in the same area or not, wherein the first lifting instruction is an instruction corresponding to the first pressing instruction; when the area where the first lifting instruction and the first pressing instruction are located is different, taking the first lifting instruction in a second preset range as the second instruction, wherein the second instruction belongs to a video switching instruction;
when the area where the first lifting instruction and the first pressing instruction are located is the same, judging whether a second pressing instruction is received within a preset time period after the first lifting instruction;
when the second pressing instruction is received within a preset time period after the first lifting instruction, taking the first lifting instruction and the second pressing instruction as the second instruction, and judging that the second instruction is a video switching instruction;
when the second press instruction is not received within a preset time period after the first lifting instruction, taking the first lifting instruction as the second instruction, and judging that the second instruction is an equipment control instruction;
the processing module is used for taking the camera equipment corresponding to the preview video as the camera equipment needing to be controlled currently when the second instruction belongs to the equipment control instruction; and when the second instruction belongs to a video switching instruction, switching the preview video into a main video.
5. A display switching apparatus, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the display switching method according to any one of claims 1 to 3.
6. The display switching device of claim 5, wherein the video switching device is a recording device.
7. A computer-readable storage medium storing computer instructions for causing a computer to execute the display switching method according to any one of claims 1 to 3.
CN202010245196.6A 2020-03-31 2020-03-31 Display switching method, device, equipment and storage medium Active CN111447361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010245196.6A CN111447361B (en) 2020-03-31 2020-03-31 Display switching method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010245196.6A CN111447361B (en) 2020-03-31 2020-03-31 Display switching method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111447361A CN111447361A (en) 2020-07-24
CN111447361B true CN111447361B (en) 2021-08-13

Family

ID=71652698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010245196.6A Active CN111447361B (en) 2020-03-31 2020-03-31 Display switching method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111447361B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110300328A (en) * 2018-03-21 2019-10-01 腾讯科技(深圳)有限公司 A kind of video playing control method, device and readable storage medium storing program for executing
CN110869882A (en) * 2017-06-21 2020-03-06 Smr专利有限公司 Method for operating a display device for a motor vehicle and motor vehicle

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656873A (en) * 2008-08-18 2010-02-24 北京创先泰克科技有限公司 System and method for controlling camera and holder in location shooting
CN201252615Y (en) * 2008-08-18 2009-06-03 北京创先泰克科技有限公司 Control system for TV camera and cradle head in case of location shooting
US9684435B2 (en) * 2014-01-13 2017-06-20 Disney Enterprises, Inc. Camera selection interface for producing a media presentation
CN106412463B (en) * 2015-08-03 2020-04-21 北京鸿合智能系统有限公司 Director method and device for dynamically switching videos
US10416776B2 (en) * 2015-09-24 2019-09-17 International Business Machines Corporation Input device interaction
US20170195734A1 (en) * 2015-12-31 2017-07-06 Opentv, Inc. Systems and methods for enabling transitions between items of content based on multi-level gestures
CN105700812B (en) * 2016-02-26 2018-11-23 北京臻迪机器人有限公司 The control method and device of movable equipment
CN108600842A (en) * 2018-05-04 2018-09-28 康佳集团股份有限公司 A kind of video source switch method and TV
US10547790B2 (en) * 2018-06-14 2020-01-28 Google Llc Camera area locking
CN110896448B (en) * 2019-10-23 2021-02-05 安徽文香信息技术有限公司 Teaching video shooting method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110869882A (en) * 2017-06-21 2020-03-06 Smr专利有限公司 Method for operating a display device for a motor vehicle and motor vehicle
CN110300328A (en) * 2018-03-21 2019-10-01 腾讯科技(深圳)有限公司 A kind of video playing control method, device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN111447361A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN111866423B (en) Screen recording method for electronic terminal and corresponding equipment
US10528239B2 (en) Display processing method, display processing apparatus and electronic device
CN110072087B (en) Camera linkage method, device, equipment and storage medium based on 3D map
CN111935532B (en) Video interaction method and device, electronic equipment and storage medium
US20140223490A1 (en) Apparatus and method for intuitive user interaction between multiple devices
EP2690550A1 (en) Method and apparatus for displaying a multi-task interface
CN104468741A (en) Cloud desktop processing method and device
NO20092407L (en) Procedure, processing instructions and device for changing a video conferencing layout
CN112099707A (en) Display method and device and electronic equipment
US20170142372A1 (en) Method of displaying surveillance video and computer program product therefor
CN103595715A (en) Information sharing method and device for desktop live broadcasting
TW201428685A (en) Image processor and display method for fisheye image thereof
CN108260011B (en) Method and system for realizing painting on display equipment
WO2022156667A1 (en) Application control method and apparatus, and electronic device
WO2024017236A1 (en) Shooting interface display method and apparatus, electronic device and readable storage medium
WO2023169305A1 (en) Special effect video generating method and apparatus, electronic device, and storage medium
CN112911147A (en) Display control method, display control device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
US20220337745A1 (en) Method for playing video
WO2018059552A1 (en) Screen display control method, device and mobile terminal, and computer storage medium
WO2022068721A1 (en) Screen capture method and apparatus, and electronic device
CN111064930A (en) Split screen display method, display terminal and storage device
WO2017113713A1 (en) Method and device for adjusting display interface
WO2024066538A1 (en) Display device and display device control method
CN110737385B (en) Video mouse interaction method, intelligent terminal 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
TA01 Transfer of patent application right

Effective date of registration: 20210719

Address after: 247000 workshop C2, science and Technology Incubation Park, Jiangnan industrial concentration zone, Chizhou City, Anhui Province

Applicant after: Anhui Wenxiang Technology Co.,Ltd.

Address before: 247126 factory building C2, science and Technology Incubation Park, Jiangnan industrial concentration zone, Chizhou City, Anhui Province

Applicant before: Anhui Wenxiang Information Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant