CN114125526B - Screen mirroring method and device - Google Patents

Screen mirroring method and device Download PDF

Info

Publication number
CN114125526B
CN114125526B CN202111600647.4A CN202111600647A CN114125526B CN 114125526 B CN114125526 B CN 114125526B CN 202111600647 A CN202111600647 A CN 202111600647A CN 114125526 B CN114125526 B CN 114125526B
Authority
CN
China
Prior art keywords
video
data
mirror image
display device
video data
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
CN202111600647.4A
Other languages
Chinese (zh)
Other versions
CN114125526A (en
Inventor
张亚南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tricolor Technology Co ltd
Original Assignee
Beijing Tricolor Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tricolor Technology Co ltd filed Critical Beijing Tricolor Technology Co ltd
Priority to CN202111600647.4A priority Critical patent/CN114125526B/en
Publication of CN114125526A publication Critical patent/CN114125526A/en
Application granted granted Critical
Publication of CN114125526B publication Critical patent/CN114125526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a screen mirroring method and device. The method comprises the following steps: acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data; transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data; and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device. The invention can mirror the content displayed by the first display device to the second display device completely in a consistent way, and any operation performed on the display content of the first display device can perform the same display on the second display device, thereby improving the accuracy of the synchronous content and further improving the display effect and the user experience of the synchronous content.

Description

Screen mirroring method and device
Technical Field
The invention relates to the technical field of display control, in particular to a screen mirroring method and device.
Background
In the field of large screen splicing, a spliced mirror image is a very practical function, and a spliced mirror image system is divided into a master large screen and a plurality of slave large screens. The splice mirror image system enables the master large screen and the plurality of slave large screens to display the same content by transmitting the data frames received or transmitted by a certain port to the master large screen and the plurality of slave large screens in an identical mode, and only the difference in screen size is achieved. In a specific operation, a user generally deploys a main large screen in an operation hall, and a secondary large screen in a small conference room. When the mirror image system is used, an operator looks at the slave large screen to operate the master large screen in the small conference room, so that the functions of operation and remote operation of the large screen are realized.
In the distributed splicing system, a technology for realizing splicing mirror images is simulated, namely video is acquired from a certain port or an input node of a main large screen, and window opening is performed on a slave large screen in a mode of imitating the main large screen.
Disclosure of Invention
Accordingly, the present invention is directed to a method and an apparatus for mirroring a screen, which overcome the technical problem that the content displayed among a plurality of screens is different, and mirror the content displayed by a first display device to a second display device completely in a consistent manner, so as to improve the accuracy of the synchronized content, and further improve the display effect and user experience of the synchronized content.
In a first aspect, the present invention provides a screen mirroring method, which specifically includes:
acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data;
transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device.
In one embodiment, before the transmitting the first video output data to the first display device, the method further includes:
performing video clipping processing on the first video output data to obtain at least two video stream data;
correspondingly, transmitting the first video output data to a first display device, comprising:
transmitting at least two video stream data to a first display device in a synchronous transmission mode, so that the first display device displays the video stream data in a split-area display mode;
wherein each video stream data and one display area on the first display device are in one-to-one correspondence.
In one embodiment, the encoding the first video output data to obtain mirrored video data includes:
performing video synchronization processing on at least two video stream data to obtain at least two video stream synchronization data;
and encoding at least two video stream synchronous data to obtain mirror image video data.
In one embodiment, before the capturing the video data for mirroring, the method further includes:
at least two paths of video input data are acquired and video data for mirroring is generated based on at least one of the at least two paths of video input data.
In one embodiment, after the first video output data is encoded to obtain mirrored video data, the method further includes:
and transmitting the mirror image video data to at least two displays through a switch, so that each display decodes the mirror image video data and displays the video.
In a second aspect, the present invention provides a screen mirroring apparatus, comprising:
the acquisition unit is used for acquiring video data for mirroring and carrying out superposition processing of identification on the video data to obtain first video output data;
the mirror image unit is used for transmitting the first video output data to first display equipment and carrying out coding processing on the first video output data to obtain mirror image video data;
and the transmission unit is used for transmitting the mirror image video data to the decoding equipment so that the decoding equipment decodes the mirror image video data and transmits the second video output data obtained by decoding to the second display equipment.
In one embodiment, the screen mirroring device specifically further includes:
and the control unit is used for acquiring at least two paths of video input data and generating video data for mirroring based on at least one path of video input data in the at least two paths of video input data.
In one embodiment, the screen mirroring device specifically further includes:
and the display unit is used for transmitting the mirror image video data to at least two displays through the switch, so that each display decodes the mirror image video data and displays the video.
In a third aspect, the present invention provides an electronic device, comprising: a processor, a memory, a communication interface, and a communication bus; wherein,
the processor, the communication interface and the memory complete communication with each other through a communication bus;
the processor is configured to invoke the computer instructions in the memory to perform the steps of the screen mirroring method described above.
In a fourth aspect, the present invention provides a computer readable storage medium storing computer instructions that, when executed, cause the computer to perform the steps of the screen mirroring method described above.
According to the screen mirroring method and device, first video output data are obtained through the superposition processing of obtaining video data for mirroring and identifying the video data; transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data; and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device. The method and the device have the advantages that the content displayed by the first display device can be completely and consistently mirrored to the second display device, and any operation performed on the display content of the first display device can perform the same display on the second display device, so that the accuracy of the synchronous content can be improved, and the display effect and the user experience of the synchronous content are further improved.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
For a clearer description of embodiments of the invention or of solutions in the prior art, reference will be made below for a brief description of the drawings used in the embodiments or in the prior art, it being understood that the following drawings illustrate only some embodiments of the invention and are therefore not to be considered limiting of the scope, from which other relevant drawings can be obtained, without the inventive effort of a person skilled in the art.
FIG. 1 is a schematic view of a first process of a screen mirroring method according to the present invention;
FIG. 2 is a schematic diagram of a second process of a screen mirroring method according to the present invention;
FIG. 3 is a schematic view of a third flow chart of a screen mirroring method according to the present invention;
FIG. 4 is a fourth flow chart of a screen mirroring method according to the present invention;
FIG. 5 is a schematic diagram of a screen mirroring system according to the present invention;
FIG. 6 is a schematic diagram of a screen mirroring device according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The embodiment of the invention provides a screen mirroring method, which is shown in fig. 1, and specifically comprises the following steps:
s101: acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data;
in this step, the video data is data that needs to be mirror-displayed. In the process of displaying the video corresponding to the video data, there is a process of superimposing a plurality of identifications on the video data. The superimposition processing of the identification of the video data is to superimpose the content to be displayed on the screen, such as the rolling caption, the pop-up screen, or the OSD (On Screen Display) label, on the video corresponding to the video data.
The method comprises the steps of carrying out identification superposition processing on video data to obtain first video output data, wherein videos corresponding to the first video output data are contents which need to be displayed by a plurality of display devices. That is, the first video output data is data corresponding to a video to be displayed.
It should be noted that the video data for mirroring in this step is obtained by decoding the received data.
The received data is acquired from a transmitting port of the transmitting device and the received data has been encoded. It is necessary to decode the received data to obtain video data for mirroring in this step.
Further, if the video data for mirroring is sent to a large display screen formed by splicing a plurality of display screens; video cropping and video stitching processes are required for the video data.
It will be appreciated that video cropping and video stitching may be performed on the video data prior to the identified overlay process. The identification superposition processing can be performed first, and then the video clipping processing and the video splicing processing can be performed on the video data.
S102: transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data;
in this step, the first video output data is transmitted to the first display device, so that the first display device can display a video corresponding to the first video output data.
It should be noted that, the video displayed by the first display device includes contents that need to be displayed on the screen, such as a rolling caption, a flicking screen, or an OSD annotation.
In this step, the first video output data is also encoded to obtain mirrored video data. The encoding process is performed on the first video output data in order to transmit the first video output data to other display devices so that the other display devices can display the same content as the first display device.
Further, if the first display device is a large display screen formed by splicing a plurality of display screens, or the first display device is divided into a plurality of display areas; step S101 requires video cropping and video stitching of the video data. Video data is subjected to video clipping processing and video splicing processing, videos corresponding to the video data can be partitioned, each partition corresponds to one display screen, a plurality of display screens form a large display screen, and then the large display screen can display complete videos. In this step, the first display device needs to perform a stitching process on the first video output data, and after the stitching process, display a video corresponding to the first video output data.
Further, if the video data is subjected to video cropping and video splicing, the encoding process of the first video output data includes a process of synchronizing the first video output data, which specifically includes: performing video synchronization processing on at least two video stream data to obtain at least two video stream synchronization data; and encoding at least two video stream synchronous data to obtain mirror image video data.
Further, if video cropping and video splicing are performed on the video data, and then encoding is performed on the first video output data, synchronization is required. In the synchronization process, the synchronized time stamp is stamped into the network message of the video stream of each partition to form a mirror image video stream. And synchronously outputting the videos of all the partitions. Whether the same frame of data is the same frame of data can be identified only after the synchronization process, wherein the synchronization is the time stamp synchronization of the video frames. After the encoder receives a frame of data, it needs to synchronize a time, and adds the time to the attribute of the video frame, and when the decoding end decodes the video frame, the splicing timestamp can determine whether the video frame is the same video frame of different boxes.
S103: and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device.
In this step, the mirror video data is transmitted to the decoding apparatus, which decodes the mirror video data. And transmitting the decoded second video output data to the second display device so that the content displayed by the second display device is identical to the content displayed by the first display device.
Further, if the received mirror image video is formed by synchronously processing the video streams of the plurality of partitions in step S102, decoding and synchronizing the received mirror image video streams of the plurality of partitions by a decoding device, and sending the video streams of the plurality of partitions to a second display device, so that the content displayed by the second display device is identical to the content displayed by the first display device.
It should be noted that, if the second display device is a large display screen composed of a plurality of display screens, or the second display device is divided into a plurality of display areas;
decoding and synchronizing are carried out by the decoding device, and the received video streams of the partitions are respectively corresponding to a plurality of display screens or display areas of the second display device, so that the content displayed by the second display device is identical to the content displayed by the first display device.
It should be noted that, in this embodiment, if the video data for mirroring is not obtained, the identifier for superimposing the video data may be separately transmitted to the first display device, so as to achieve the purpose of the large-screen drawing board. And the identification is coded to obtain mirror image video data, the mirror image video data is transmitted to the decoding equipment, so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to the second display equipment, and the purpose that the second display equipment synchronously mirrors the first display equipment is achieved.
That is, the mirrored video data may be generated locally without being based on the video data, i.e., the mirrored video data is output from the mirrored device, and can be mirrored if the large screen corresponding to the mirrored device does not output video pictures, regardless of the video data input.
As can be seen from the above description, in the screen mirroring method provided by the embodiment of the present invention, the first video output data is obtained by obtaining video data for mirroring and performing an overlapping process of identifying the video data; transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data; and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device. The method and the device have the advantages that the content displayed by the first display device can be completely and consistently mirrored to the second display device, and any operation performed on the display content of the first display device can perform the same display on the second display device, so that the accuracy of the synchronous content can be improved, and the display effect and the user experience of the synchronous content are further improved.
In an embodiment of the present invention, referring to fig. 2, before step S102 in the embodiment of the screen mirroring method, step S104 is further included, which specifically includes the following:
s104: performing video clipping processing on the first video output data to obtain at least two video stream data;
correspondingly, S102 transmits the first video output data to a first display device, including:
s1021: transmitting at least two video stream data to a first display device in a synchronous transmission mode, so that the first display device displays the video stream data in a split-area display mode;
wherein each video stream data and one display area on the first display device are in one-to-one correspondence.
In this embodiment, if the first display device is a large display screen composed of a plurality of display screens, or the first display device is divided into a plurality of display areas; then the first video output data is subjected to video clipping processing to obtain a plurality of video stream data; wherein each video stream data corresponds to a display screen or a display area.
The clipping process comprises the following steps: video cropping and video stitching. It will be appreciated that in step S101, video cropping and video stitching may be performed on the video data, and then the identified superimposition processing may be performed. The identification superposition processing can be performed first, and then video cropping and video splicing can be performed on the video data.
In an embodiment of the present invention, referring to fig. 3, before step S101 in the embodiment of the screen mirroring method, step S100 is further included, which specifically includes the following:
s100: at least two paths of video input data are acquired and video data for mirroring is generated based on at least one of the at least two paths of video input data.
In this step, the multiple paths of video input data may be spliced to obtain one path of video data. The one path of video data is the video data for mirroring.
Specifically, according to a window corresponding to one path of video data, windowing processing is performed on the window. And splicing at least two paths of video input data in the multiple paths of video input data according to the window opening positions, so that each path of video input data in the at least two paths of video input data corresponds to one window. After the video processing is completed, one path of video data obtained by the splicing processing is used as video data for mirroring.
It should be noted that, if video data for mirroring is generated based on one of the at least two paths of video input data, one of the at least two paths of video input data is directly used as the video data for mirroring.
In an embodiment of the present invention, referring to fig. 4, before step S102 in the embodiment of the screen mirroring method, step S105 is further included, which specifically includes the following:
s105: and transmitting the mirror image video data to at least two displays through a switch, so that each display decodes the mirror image video data and displays the video.
In this embodiment, the number of mirror images may be transmitted to the plurality of displays so that the content displayed by the plurality of displays is identical to the content displayed by the first display device.
To further illustrate the present solution, the present invention provides a screen mirroring system applying the screen mirroring method in the above embodiment, referring to fig. 5, which specifically includes the following contents:
the screen mirroring system includes: input nodes, output nodes, switches and display equipment;
each input node is connected with one path of video source, performs video coding and transmits the video coding to the switch;
the switch is respectively connected with the input node and the output node to carry out video transmission and instruction transmission;
wherein, the instruction in instruction transmission refers to a control instruction; for example, letting the video of input node a be transmitted to output node B.
The output node comprises a master output node and a slave output node and is used for video encoding and decoding and video processing;
the video encoding and decoding means video format conversion and video synchronization, the main output node receives the video sent by the input node and needs to decode, processes the decoded video, encodes the processed video, and mainly refers to adding a rolling caption, an OSD label and the like to the video.
And the display equipment is used for receiving the video data sent by the output node and displaying the video data.
It should be noted that there may be a plurality of input nodes, each input node accesses a path of video source signal, and the input nodes perform video encoding on the received video and then send the video to the switch through the network cable.
In this embodiment, the output nodes are divided into two parts, namely a master output node and a slave output node, where there may be multiple master output nodes, and the number of the master output nodes is the same as the number of the master large screen divided. Each main output node can receive multiple paths of input videos, and the plurality of output nodes of one output screen, which are correspondingly connected to the spliced screen, of each output node finish the spliced display of the main large-screen display device. There may be a plurality of slave output nodes, each slave output node being connected to a slave display screen.
Specifically: and the main output node receives the video transmitted by the input node, decodes the video and processes the video according to the video clipping and splicing parameters. The window covering area and the area where the output node is located are intersected, the intersection part is a rectangular area, and the rectangular area of the video source is cut off to be displayed on the corresponding spliced screen. For a single output node, clipping is performed, and for a plurality of output nodes, clipping regions are displayed, that is, clipping is performed.
And all the main output nodes synchronously output the processed video to the main large-screen display equipment A for splicing display.
The main output node outputs the processed video to the main large screen display device A, and meanwhile, the main output node copies the output content to a copy for encoding, wherein the encoding comprises video synchronization processing. The video synchronization processing refers to time synchronization, and is used for synchronously outputting videos of all output nodes. The multiple encoders are independently encoded and have no physical relationship, and only by the time stamp can identify whether the same frame of data is the same frame of data, and synchronization is that of the time stamps of the video frames. After the encoder receives a frame of data, it needs to synchronize a time, and adds the time to the attribute of the video frame, and when the decoding end decodes the video frame, the splicing timestamp can determine whether the video frame is the same video frame of different boxes.
Outputting all output nodes of the group A, wherein any one output node can send a synchronizing signal to all other output nodes in the group A, after time synchronization is carried out on the output nodes, the synchronized time is transmitted to a network message of a video stream to form a mirror image video stream, and the mirror image video stream is sent to a switch; the switch forwards the mirrored video stream from the output node.
The mirrored video stream is received from the output node B1 and decoded and synchronized by a decoding synchronization video module. Wherein, the synchronization is performed according to the timestamp, the detailed mechanism of synchronization: synchronization is classified into time synchronization and clock synchronization. The frequency of the output of each box is driven by a clock generated by the crystal oscillator, but there is a slight difference between the crystal oscillators, and a synchronization method is required to synchronize the clock frequency. Clock synchronization also includes phase synchronization. After the phase synchronization, the same time point can be ensured, and one frame of data is output at the same time. Time synchronization may ensure that the same frame of data is output. And forming one path of video by the received multiple paths of video streams, and transmitting the one path of video to the slave large-screen display equipment for synchronous display.
The number of the slave output nodes can be multiple, and the switch can send mirror image video streams to the plurality of slave output nodes in a multicast mode so as to ensure synchronous output of the plurality of slave output nodes.
Examples:
the system may have a plurality of output groups a by defining a plurality of master output nodes and master large screen display devices connected thereto as output groups a, and a plurality of slave output groups B by defining slave output nodes and slave large screen display devices connected thereto as output groups B.
S1: the user windows the video of the input node A on the large screen B, the input node A encodes the video, the video is transmitted to output nodes A1, A2, A3 and A4 of an output A group of the main large screen through a network, the output node of the output A group decodes the video A, then the base map, the labels and the like are synthesized with the video A, the video A is processed according to the window position, and the processed video is transmitted to the main large screen display equipment A.
S2: the node outputting the group A sends the video to the display equipment A, loops the video to the node, then encodes the video, and sends the encoded video to the output node B1 as a mirror image video stream.
S3: and B1, decoding the image video stream of the output A group, splicing the image videos A1, A2, A3 and A4 according to the physical position layout of the nodes A1, A2, A3 and A4 in the output A group after decoding, and outputting the image video stream to the display equipment B.
The output A group node equipment loop video ensures that the content of the display equipment A is consistent with the content of the mirror image video stream, and the mirror image video stream is spliced and output to the output node B1, so that the content of the display equipment B is completely consistent with the content of the display equipment A. All operations of the master large screen by the user are fed back to the slave large screen.
The embodiment of the invention provides a specific implementation manner of a screen mirroring device capable of realizing all contents in the screen mirroring method, and referring to fig. 6, the screen mirroring device specifically comprises the following contents:
an obtaining unit 10, configured to obtain video data for mirroring and perform superposition processing for identifying the video data to obtain first video output data;
a mirroring unit 20, configured to transmit the first video output data to a first display device and perform encoding processing on the first video output data to obtain mirrored video data;
and a transmission unit 30, configured to transmit the mirrored video data to a decoding device, so that the decoding device decodes the mirrored video data and transmits the decoded second video output data to a second display device.
Further, the method further comprises the following steps:
the processing unit is used for carrying out video clipping processing on the first video output data to obtain at least two video stream data;
correspondingly, the mirroring unit 20 includes:
the partition module is used for transmitting at least two video stream data to the first display equipment in a synchronous transmission mode so that the first display equipment displays the video stream data in a partition display mode;
wherein each video stream data and one display area on the first display device are in one-to-one correspondence.
Wherein the mirror image unit 20 includes:
the synchronization module is used for carrying out video synchronization processing on at least two video stream data to obtain at least two video stream synchronization data;
and the encoding module is used for encoding the synchronous data of at least two video streams to obtain mirror image video data.
Further, the method further comprises the following steps:
and the control unit is used for acquiring at least two paths of video input data and generating video data for mirroring based on at least one path of video input data in the at least two paths of video input data.
Further, the method further comprises the following steps:
and the display unit is used for transmitting the mirror image video data to at least two displays through the switch, so that each display decodes the mirror image video data and displays the video.
The embodiment of the screen mirroring device provided by the invention can be specifically used for executing the processing flow of the embodiment of the screen mirroring method in the embodiment, and the functions of the embodiment of the screen mirroring device are not repeated herein, and reference can be made to the detailed description of the embodiment of the method.
As can be seen from the above description, the screen mirroring device provided by the embodiment of the present invention obtains the first video output data by obtaining the video data for mirroring and performing the superposition processing of identifying the video data; transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data; and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device. The method and the device have the advantages that the content displayed by the first display device can be completely and consistently mirrored to the second display device, and any operation performed on the display content of the first display device can perform the same display on the second display device, so that the accuracy of the synchronous content can be improved, and the display effect and the user experience of the synchronous content are further improved.
The embodiment of the invention provides an embodiment of an electronic device for realizing all or part of contents in the embodiment of the screen mirroring method, referring to fig. 7, the electronic device specifically comprises the following contents:
processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. Processor 810 may call computer instructions in memory 830 to perform the following method:
acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data;
transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device.
An embodiment of the present invention provides a computer readable storage medium for implementing all or part of the content in the embodiment of the screen mirroring method, where the computer readable storage medium stores computer instructions, where the computer instructions, when executed, cause the computer to perform all the steps of the screen mirroring method in the above embodiment, for example, where the processor implements the following steps when executing the computer instructions:
acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data;
transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device.
Although the invention provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an actual device or client product, the instructions may be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment) as shown in the embodiments or figures.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device (system) embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the section of the method embodiments for relevance.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The present invention is not limited to any single aspect, nor to any single embodiment, nor to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the invention may be used alone or in combination with one or more other aspects and/or embodiments.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A screen mirroring method comprising:
acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data;
transmitting the first video output data to a first display device, and performing coding processing on the first video output data to obtain mirror image video data;
transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device;
if the video data for mirroring is not acquired, the identification for superposition on the video data is independently transmitted to the first display device;
and encoding the identifier to obtain mirror image video data, transmitting the mirror image video data to a decoding device so that the decoding device decodes the mirror image video data and transmits second video output data obtained by decoding to a second display device, so that the second display device synchronously mirrors the first display device.
2. The screen mirroring method of claim 1, wherein prior to transmitting the first video output data to a first display device, further comprising:
performing video clipping processing on the first video output data to obtain at least two video stream data;
correspondingly, transmitting the first video output data to a first display device, comprising:
transmitting at least two video stream data to a first display device in a synchronous transmission mode, so that the first display device displays the video stream data in a split-area display mode;
wherein each video stream data and one display area on the first display device are in one-to-one correspondence.
3. The screen mirroring method according to claim 2, wherein the encoding the first video output data to obtain mirrored video data comprises:
performing video synchronization processing on at least two video stream data to obtain at least two video stream synchronization data;
and encoding at least two video stream synchronous data to obtain mirror image video data.
4. The screen mirroring method according to claim 1, further comprising, before the acquiring the video data for mirroring:
at least two paths of video input data are acquired and video data for mirroring is generated based on at least one of the at least two paths of video input data.
5. The screen mirroring method according to claim 1, wherein after encoding the first video output data to obtain mirrored video data, further comprising:
and transmitting the mirror image video data to at least two displays through a switch, so that each display decodes the mirror image video data and displays the video.
6. A screen mirroring apparatus, comprising:
the acquisition unit is used for acquiring video data for mirroring and carrying out superposition processing of identification on the video data to obtain first video output data;
the mirror image unit is used for transmitting the first video output data to first display equipment and carrying out coding processing on the first video output data to obtain mirror image video data;
the transmission unit is used for transmitting the mirror image video data to the decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to the second display equipment;
if the obtaining unit does not obtain the video data for mirroring, the mirroring unit is further configured to separately transmit an identifier for superimposing the video data to a first display device;
the transmission unit is further used for carrying out coding processing on the identification to obtain mirror image video data, transmitting the mirror image video data to the decoding device, so that the decoding device carries out decoding processing on the mirror image video data and transmits second video output data obtained by decoding to the second display device, and the second display device synchronously mirrors the first display device.
7. The screen mirroring device of claim 6, further comprising:
and the control unit is used for acquiring at least two paths of video input data and generating video data for mirroring based on at least one path of video input data in the at least two paths of video input data.
8. The screen mirroring device of claim 6, further comprising:
and the display unit is used for transmitting the mirror image video data to at least two displays through the switch, so that each display decodes the mirror image video data and displays the video.
9. An electronic device, comprising: a processor, a memory, a communication interface, and a communication bus; wherein,
the processor, the communication interface and the memory complete communication with each other through a communication bus;
the processor is configured to invoke computer instructions in the memory to perform the steps of the screen mirroring method of any of claims 1-5.
10. A computer readable storage medium storing computer instructions which, when executed, cause the computer to perform the steps of the screen mirroring method of any one of claims 1 to 5.
CN202111600647.4A 2021-12-24 2021-12-24 Screen mirroring method and device Active CN114125526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111600647.4A CN114125526B (en) 2021-12-24 2021-12-24 Screen mirroring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111600647.4A CN114125526B (en) 2021-12-24 2021-12-24 Screen mirroring method and device

Publications (2)

Publication Number Publication Date
CN114125526A CN114125526A (en) 2022-03-01
CN114125526B true CN114125526B (en) 2024-03-15

Family

ID=80362870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111600647.4A Active CN114125526B (en) 2021-12-24 2021-12-24 Screen mirroring method and device

Country Status (1)

Country Link
CN (1) CN114125526B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297281B (en) * 2022-10-08 2023-04-21 威创集团股份有限公司 Screen sharing cloud platform display method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462826B1 (en) * 2004-01-13 2004-12-24 (주)미와기 A portable multimedia playing device of synchronizing independently produced at least two multimedia data, a method for controlling the device, and a system of providing the multimedia data with the device
CN104243932A (en) * 2014-09-29 2014-12-24 杭州中威电子股份有限公司 Video image encoding system for large-screen image transmission
CN204316654U (en) * 2014-09-29 2015-05-06 杭州中威电子股份有限公司 A kind of video mirror for the transmission of large-size screen monitors mirror image is as coded system
CN109413366A (en) * 2018-12-24 2019-03-01 杭州欣禾工程管理咨询有限公司 A kind of with no paper wisdom video conferencing system based on condition managing
CN110996039A (en) * 2019-11-28 2020-04-10 浙江华创视讯科技有限公司 Electronic whiteboard sharing method, system and computer-readable storage medium
CN113438527A (en) * 2021-06-25 2021-09-24 北京奇艺世纪科技有限公司 Video screen projection method, device, equipment and storage medium
JP2021179972A (en) * 2020-05-29 2021-11-18 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Method and device for mirroring, electronic device, computer readable storage medium, and computer program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110060993A1 (en) * 2009-09-08 2011-03-10 Classified Ventures, Llc Interactive Detailed Video Navigation System
KR102123062B1 (en) * 2013-08-06 2020-06-15 삼성전자주식회사 Method of aquiring information about contents, image display apparatus using thereof and server system of providing information about contents
KR102084633B1 (en) * 2013-09-17 2020-03-04 삼성전자주식회사 Method for screen mirroring, and source device thereof
KR102218908B1 (en) * 2014-05-07 2021-02-23 엘지전자 주식회사 Digital device and method of processing a service thereof
US10528249B2 (en) * 2014-05-23 2020-01-07 Samsung Electronics Co., Ltd. Method and device for reproducing partial handwritten content
WO2018144027A1 (en) * 2017-02-06 2018-08-09 Hewlett-Packard Development Company, L.P. Mirroring of screens
US20200065048A1 (en) * 2018-08-25 2020-02-27 International Business Machines Corporation Integrated multi-monitor setup
KR20210130424A (en) * 2020-04-22 2021-11-01 엘지전자 주식회사 Wireless device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462826B1 (en) * 2004-01-13 2004-12-24 (주)미와기 A portable multimedia playing device of synchronizing independently produced at least two multimedia data, a method for controlling the device, and a system of providing the multimedia data with the device
CN104243932A (en) * 2014-09-29 2014-12-24 杭州中威电子股份有限公司 Video image encoding system for large-screen image transmission
CN204316654U (en) * 2014-09-29 2015-05-06 杭州中威电子股份有限公司 A kind of video mirror for the transmission of large-size screen monitors mirror image is as coded system
CN109413366A (en) * 2018-12-24 2019-03-01 杭州欣禾工程管理咨询有限公司 A kind of with no paper wisdom video conferencing system based on condition managing
CN110996039A (en) * 2019-11-28 2020-04-10 浙江华创视讯科技有限公司 Electronic whiteboard sharing method, system and computer-readable storage medium
JP2021179972A (en) * 2020-05-29 2021-11-18 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Method and device for mirroring, electronic device, computer readable storage medium, and computer program
CN113438527A (en) * 2021-06-25 2021-09-24 北京奇艺世纪科技有限公司 Video screen projection method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Th-Notes多通道共享笔记系统的设计与实现;潘红艳;陶霖密;杨陈科;张军;徐光;;计算机工程与应用;20070126(S1);全文 *

Also Published As

Publication number Publication date
CN114125526A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN111107411B (en) Distributed cross-node video synchronization method and system
CN102637120B (en) System and method for controlling synchronous display of spliced screens
CN114125526B (en) Screen mirroring method and device
CN102710982A (en) Synchronizing media streams using time signal(s) from an independent time source
CN103369411A (en) Multiscreen video playing system dynamically generating scaled video, and related device
JP2011087268A (en) Terminal, relay node, and stream processing method for video conference system
WO2018121012A1 (en) Method and apparatus for controlling synchronization output of digital matrix, and electronic device
US20160078664A1 (en) Image synthesizing apparatus and method
CN111638861B (en) Splicing wall signal synchronization method and device
CN114745514A (en) Video signal expansion method, video signal expansion device, computer equipment and storage medium
JP5818353B2 (en) Screen display control system and screen display control method
US8896596B2 (en) Image signal processing apparatus, image signal processing method, program, and image signal processing system
JP2016142761A (en) Multi-projection system, information processing device and program
CN111355861A (en) Multi-screen video synchronous splicing device and method
CN115380539A (en) Apparatus and system for processing video
JP2003009101A (en) Multi-screen reproducing equipment and method therefor
JP3656897B2 (en) Image display device and image display system
CN104918010A (en) Signal redisplay method and system of spliced wall
CN111417005B (en) Video signal synchronous encoding method, device, system and encoding end
US9794534B2 (en) Image processing methods, and image processing devices and system for a scalable multi-projection system
CN114915798A (en) Real-time video generation method, multi-camera live broadcast method and device
JP2010278983A (en) Apparatus and method of transmitting images
CN112019853A (en) Image processing method, system, device, storage medium and processor
CN111031194A (en) Multi-channel decoder synchronization control method, equipment and storage medium
CN114339188B (en) Multi-view virtual reality immersive display method, device, medium and electronic equipment

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