CN114125526A - Screen mirroring method and device - Google Patents
Screen mirroring method and device Download PDFInfo
- Publication number
- CN114125526A CN114125526A CN202111600647.4A CN202111600647A CN114125526A CN 114125526 A CN114125526 A CN 114125526A CN 202111600647 A CN202111600647 A CN 202111600647A CN 114125526 A CN114125526 A CN 114125526A
- Authority
- CN
- China
- Prior art keywords
- video
- data
- display
- mirror image
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000001360 synchronised effect Effects 0.000 claims abstract description 26
- 238000004891 communication Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 15
- 238000005192 partition Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000013078 crystal Substances 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/268—Signal 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 on the video data to obtain first video output data; transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data; and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment. The invention can mirror the content displayed by the first display device to the second display device in a completely consistent manner, and any operation performed on the content displayed by the first display device can be displayed on the second display device in a same manner, so that the accuracy of the synchronized content can be improved, and the display effect and the user experience of the synchronized content can be further improved.
Description
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 splicing mirror image is a very practical function, and a splicing mirror image system is divided into a main large screen and a plurality of auxiliary large screens. The splicing mirror image system transmits the data frames received or sent by a certain port to the main large screen and the plurality of slave large screens in the same way, so that the main large screen and the plurality of slave large screens display the same content and only have difference in screen size. In specific operation, a user generally deploys a main large screen in an operation hall and deploys a secondary large screen in a small conference room. When the mirror image system is used, an operator looks at the large screen in a small conference room to operate the main large screen, so that the functions of operation and remote large screen operation are realized.
The splicing mirror image system in the market is centralized equipment at present, and in a distributed splicing system, a simulated splicing mirror image realization technology exists, namely, a video is obtained from an input node of a certain port or a main large screen, and windowing is performed on the main large screen by imitating a mode of the main large screen.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for mirroring a screen, which overcome the technical problem of difference in displayed content among a plurality of screens, can mirror the content displayed by a first display device to a second display device in a completely consistent manner, and can improve the accuracy of synchronized content, thereby improving the display effect of the synchronized content and user experience.
In a first aspect, the present invention provides a screen mirroring method, which specifically includes:
acquiring video data for mirroring and performing superposition processing on the video data to obtain first video output data;
transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
In one embodiment, before transmitting the first video output data to the first display device, the method further comprises:
cutting the video of the first video output data to obtain at least two video stream data;
correspondingly, the transmitting the first video output data to a first display device includes:
transmitting at least two video stream data to first display equipment in a synchronous transmission mode so as to enable the first display equipment to display in a regional display mode;
each piece of video stream data and one display area on the first display device are in one-to-one correspondence.
In one embodiment, encoding the first video output data to obtain mirror 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 obtaining the video data for mirroring, the method further includes:
the method comprises the steps of obtaining 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 an embodiment, after the encoding processing of the first video output data to obtain the mirror 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 device comprises an acquisition unit, a storage unit and a display unit, wherein the acquisition unit is used for acquiring video data for mirroring and performing 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 coding 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 decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
In one embodiment, the screen mirroring apparatus further includes:
and the control unit is used for acquiring the 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 apparatus 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 mutual communication through a communication bus;
the processor is used to call 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.
The invention provides a screen mirroring method and device, which are used for obtaining video data for mirroring and performing superposition processing on the video data to obtain first video output data; transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data; and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment. The mirror image that can be completely unanimous with the content that first display device shows arrives second display device, and any operation that carries out the demonstration content of first display device all can carry out same demonstration at second display device, can improve the degree of accuracy of synchronous content, and then improve synchronous content show effect and user experience.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate embodiments of the present invention or solutions in the prior art, the drawings that are needed in the embodiments or solutions in the prior art will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and are therefore not to be considered limiting of scope, and that other relevant drawings can be derived from those drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first flowchart of a screen mirroring method according to the present invention;
FIG. 2 is a second flowchart of a screen mirroring method according to the present invention;
FIG. 3 is a third flowchart of a screen mirroring method according to the present invention;
FIG. 4 is a fourth flowchart illustrating 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 structural diagram of a screen mirroring apparatus according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by 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 only a part of the embodiments of the present invention, and not all of the embodiments. The components of 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 present invention, 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 derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection 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 contents:
s101: acquiring video data for mirroring and performing superposition processing on the video data to obtain first video output data;
in this step, the video data is data that needs to be displayed as a mirror image. In the process of displaying the video corresponding to the video data, there is a processing process of superimposing a plurality of marks on the video data. The overlaying process of the video data is to overlay the contents to be displayed on the Screen, such as the scroll caption, the pop Screen or the osd (on Screen display) annotation, on the video corresponding to the video data.
In the step, the video data is subjected to the marked superposition processing to obtain first video output data, and the video corresponding to the first video output data is the content required to be displayed by the 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 obtained from a transmitting port of a transmitting device and the received data is already encoded. Therefore, it is necessary to decode the received data to obtain the 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 processing and video stitching processing need to be performed on the video data.
It is understood that the video cropping process and the video splicing process may be performed on the video data first, and then the superimposition process of the identifier may be performed. Or the superposition processing of the marks can be carried out firstly, and then the video cutting processing and the video splicing processing are carried out on the video data.
S102: transmitting the first video output data to first display equipment and coding 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 the video corresponding to the first video output data.
It should be noted that the video displayed by the first display device includes the contents to be displayed on the screen, such as the scroll subtitles, the pop-up screen or the OSD marks.
In this step, the first video output data is further encoded to obtain mirror image video data. The encoding process is performed on the first video output data in order to transmit the first video output data to another display device so that the other display device 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 splicing of the video data. The video data is subjected to video cutting processing and video splicing processing, the videos corresponding to the video data can be partitioned, each partition corresponds to one display screen, the 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 splicing process on the first video output data, and displays a video corresponding to the first video output data after the splicing process.
Further, if the video cropping processing and the video splicing processing are performed on the video data, the encoding processing of the first video output data includes a process of performing synchronous processing on 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 clipping processing and video splicing processing are performed on the video data, and then encoding processing is performed on the first video output data, synchronization processing needs to be performed. And in the process of carrying out synchronization processing, 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 data is the same frame data can be identified only through the synchronization process, and the synchronization is the time stamp synchronization of the video frames. After the encoder receives a frame of data, a time is required to be synchronized, the time is added into the attribute of the video frame, and after the decoding end decodes the data, the splicing time stamp can judge whether the data is the same video frame of different boxes.
S103: and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
In this step, the mirror image video data is transmitted to the decoding device, and the decoding device performs decoding processing on the mirror image 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, the decoding device performs decoding and synchronization processing, and forms a video of the received video streams of the plurality of partitions into a single video to be sent to the second display device, so that the content displayed by the second display device is completely the same as the content displayed by the first display device.
It should be noted that, if the second display device is a large display screen formed by a plurality of display screens, or the second display device is divided into a plurality of display areas;
the decoding device performs decoding and synchronization processing, and the received video streams of the plurality of 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 acquired, the identifier for being superimposed on 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 coding the identifier to obtain mirror image video data, and transmitting the mirror image video data to decoding equipment, so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to 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 not be generated locally based on the video data, i.e., the mirrored video data is an output of the mirrored device, and can be mirrored if the large screen corresponding to the mirrored device does not output a video picture, regardless of the video data of the video input.
As can be seen from the above description, in the screen mirroring method provided in the embodiment of the present invention, first video output data is obtained by obtaining video data for mirroring and performing overlay processing on the video data for identification; transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data; and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment. The mirror image that can be completely unanimous with the content that first display device shows arrives second display device, and any operation that carries out the demonstration content of first display device all can carry out same demonstration at second display device, can improve the degree of accuracy of synchronous content, and then improve synchronous content show effect and user experience.
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 contents:
s104: cutting the video of 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 first display equipment in a synchronous transmission mode so as to enable the first display equipment to display in a regional display mode;
each piece of 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 formed by a plurality of display screens, or the first display device is divided into a plurality of display areas; cutting the video of the first video output data to obtain a plurality of video stream data; wherein each video stream data corresponds to a display screen or a display area.
Wherein, the cutting treatment comprises: video cropping and video stitching. It is understood that, in step S101, video cropping and video splicing may be performed on the video data, and then the overlay processing of the identifier may be performed. Or the superposition processing of the marks can be carried out firstly, and then the video cutting and the video splicing are carried out 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 contents:
s100: the method comprises the steps of obtaining 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 this step, the multi-channel video input data may be spliced to obtain one channel of video data. The video data is the video data for mirroring.
Specifically, according to a window corresponding to one path of video data, windowing is performed on the window. And splicing at least two paths of video input data in the multi-path video input data according to the position of the window, so that each path of video input data in the at least two paths of video input data corresponds to one window. And after the video processing is finished, obtaining a path of video data through splicing processing as video data for mirroring.
It should be noted that, if the 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 contents:
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 mirrored video count may be sent 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 explain the present invention, 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: the system comprises an input node, an output node, a switch and display equipment;
each input node is connected with one video source, performs video coding and transmits the video coding to the switch;
the switch is respectively interconnected with the input node and the output node and performs video transmission and instruction transmission;
wherein, the instruction in the instruction transmission refers to a control instruction; let for example the video of the input node a be transmitted to the output node B.
The output nodes comprise a main output node and a slave output node and are used for video coding and decoding and video processing;
the video coding and decoding refers to video format conversion and video synchronization, the main output node receives video to be decoded from the input node, the decoded video is processed and then encoded, and the video processing mainly refers to adding rolling subtitles, OSD labels and the like to the video.
And the display equipment receives and displays the video data sent by the output node.
It should be noted that there may be a plurality of input nodes, each input node accesses a video source signal, and the input node performs video encoding on the received video and then sends the video encoded video to the switch through the network cable.
In this embodiment, the output node is divided into two parts, namely a master output node and a slave output node, the number of the master output nodes may be multiple, and the number of the master output nodes is the same as the number of the divided master large screen. Each main output node can receive multiple paths of input videos, and the splicing display of the main large-screen display equipment is completed by a plurality of output nodes which are connected to one output screen of the splicing screen and correspond to each output node. The number of the slave output nodes can also be multiple, and each slave output node is connected with one slave display screen.
Specifically, the method comprises the following steps: and the main output node receives and decodes the video transmitted by the input node, and processes the video according to the video cutting and splicing parameters. And cutting the rectangular area of the video source to be displayed on the corresponding spliced screen. For a single output node, the cutting is performed, and for a plurality of output nodes, the cutting areas are all displayed and spliced.
And all the main output nodes synchronously output the processed video to the main large-screen display equipment A for splicing display.
And the main output node outputs the processed video to the main large-screen display device A, and simultaneously copies one copy of the output content to perform coding processing, wherein the coding comprises video synchronization processing. The video synchronization processing refers to time synchronization, and is used for enabling videos of all output nodes to be output synchronously. The encoders are independently encoded, have no physical relationship with each other, and can identify whether the data is the same frame data only by the time stamp, wherein the synchronization is the time stamp synchronization of the video frames. After the encoder receives a frame of data, a time is required to be synchronized, the time is added into the attribute of the video frame, and after the decoding end decodes the data, the splicing time stamp can judge whether the data is the same video frame of different boxes.
Outputting all output nodes of the group A, and after any output node sends a synchronization signal to all other output nodes in the group A, the output nodes perform time synchronization, and then, the synchronized time is beaten into 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 to the slave output node.
The mirrored video stream is received from the output node B1, decoded and synchronized by the decode synchronization video module. Wherein, carry on the synchronism according to the time stamp, the detailed mechanism of synchronization: synchronization is divided into time synchronization and clock synchronization. The frequency of the output of each box is driven by the clock generated by the crystal oscillators, but there are slight differences 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 data is output. And forming a video by the received multiple video streams and sending the 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 the mirror image video stream to the multiple slave output nodes in a multicast mode to ensure synchronous output of the multiple slave output nodes.
Example (b):
a plurality of main output nodes and main large-screen display devices connected with the main output nodes are defined as an output A group, the system can have a plurality of output A groups, slave output nodes and slave large-screen display devices connected with the slave output nodes are defined as an output B group, and similarly, the system can have a plurality of output B groups.
S1: a user windows a video of an input node A from a large screen B, the video is coded by the input node A and is sent to output nodes A1, A2, A3 and A4 of an output group A of a main large screen through a network, the video A is decoded by the output nodes of the output group A, then a base map, a label and the like are synthesized with the video A, the video A is processed according to the position of the window, and after the video is processed, the video is sent to a display device A of the main large screen.
S2: the node of output group a loops back the video to itself while sending the video to display device a, then encodes it and sends the encoded video as a mirrored video stream to output node B1.
S3: b1 decodes the mirror video stream of the output group A, and after decoding, the mirror videos A1, A2, A3 and A4 are spliced according to the physical position layout of the nodes A1, A2, A3 and A4 in the output group A, and then are output to a display device B.
Outputting the loop video of the node device of the group A ensures that the content of the display device A is consistent with the content of the mirror image video stream, and splicing and outputting the mirror image video stream to the output node B1 ensures that the content of the display device B is completely consistent with that of the display device A. All the operations of the user on the main large screen are fed back to the secondary large screen.
An embodiment of the present invention provides a specific implementation of a screen mirroring device capable of implementing all contents in the screen mirroring method, and referring to fig. 6, the screen mirroring device specifically includes the following contents:
the device comprises an acquisition unit 10, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring video data for mirroring and performing superposition processing of identification on the video data to obtain first video output data;
the mirror image unit 20 is configured to transmit the first video output data to a first display device and encode the first video output data to obtain mirror image video data;
and the transmission unit 30 is configured to transmit the mirror image video data to a decoding device, so that the decoding device performs decoding processing on the mirror image video data and transmits decoded second video output data to a second display device.
Further, still include:
the processing unit is used for performing video cutting processing on the first video output data to obtain at least two video stream data;
correspondingly, the mirroring unit 20 includes:
the system comprises a partitioning module, a first display device and a second display device, wherein the partitioning module is used for transmitting at least two pieces of video stream data to the first display device in a synchronous transmission mode so as to display the first display device in a partitioned display mode;
each piece of 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 coding module is used for coding the synchronous data of at least two video streams to obtain mirror image video data.
Further, still include:
and the control unit is used for acquiring the 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, still include:
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 apparatus provided by the present invention may be specifically configured to execute the processing flow of the embodiment of the screen mirroring method in the foregoing embodiment, and the functions thereof are not described herein again, and refer to the detailed description of the embodiment of the method.
As can be seen from the above description, the screen mirroring device according to the embodiment of the present invention obtains first video output data by obtaining video data for mirroring and performing overlay processing on the video data by using an identifier; transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data; and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment. The mirror image that can be completely unanimous with the content that first display device shows arrives second display device, and any operation that carries out the demonstration content of first display device all can carry out same demonstration at second display device, can improve the degree of accuracy of synchronous content, and then improve synchronous content show effect and user experience.
An embodiment of the present invention provides an embodiment of an electronic device for implementing all or part of contents in the screen mirroring method embodiment, and referring to fig. 7, the electronic device specifically includes the following contents:
a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call the computer instructions in the memory 830 to perform the following method:
acquiring video data for mirroring and performing superposition processing on the video data to obtain first video output data;
transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
An embodiment of the present invention provides a computer-readable storage medium for implementing all or part of the contents in the screen mirroring method embodiment, where the computer-readable storage medium has stored thereon computer instructions, and when the computer instructions are executed, the computer instructions cause the computer to perform all the steps of the screen mirroring method in the foregoing embodiment, for example, when the processor executes the computer instructions, the following steps are implemented:
acquiring video data for mirroring and performing superposition processing on the video data to obtain first video output data;
transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
Although the present invention provides method steps as described in the examples or flowcharts, more or fewer steps may be included based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the 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 such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus (system) embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to part of the description of the method embodiment for relevant points.
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. Also, 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 meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention is not limited to any single aspect, nor is it limited to any single embodiment, nor is it limited to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the present invention may be utilized alone or in combination with one or more other aspects and/or embodiments thereof.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the present invention in its spirit and scope. Are intended to be covered by 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 method of screen mirroring, comprising:
acquiring video data for mirroring and performing superposition processing on the video data to obtain first video output data;
transmitting the first video output data to first display equipment and coding the first video output data to obtain mirror image video data;
and transmitting the mirror image video data to decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
2. The screen mirroring method of claim 1, wherein prior to transmitting the first video output data to the first display device, further comprising:
cutting the video of the first video output data to obtain at least two video stream data;
correspondingly, the transmitting the first video output data to a first display device includes:
transmitting at least two video stream data to first display equipment in a synchronous transmission mode so as to enable the first display equipment to display in a regional display mode;
each piece of video stream data and one display area on the first display device are in one-to-one correspondence.
3. The screen mirroring method of claim 2, wherein 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 of claim 1, wherein before the acquiring the video data for mirroring, further comprising:
the method comprises the steps of obtaining 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.
5. The screen mirroring method of claim 1, 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 device comprises an acquisition unit, a storage unit and a display unit, wherein the acquisition unit is used for acquiring video data for mirroring and performing 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 coding 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 decoding equipment so that the decoding equipment decodes the mirror image video data and transmits second video output data obtained by decoding to second display equipment.
7. The screen mirroring apparatus of claim 6, further comprising:
and the control unit is used for acquiring the 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 apparatus 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 mutual communication through a communication bus;
the processor is for invoking computer instructions in the memory for performing the steps of the screen mirroring method of any one of claims 1 to 5.
10. A computer readable storage medium storing computer instructions that, when executed, cause the computer to perform the steps of the screen mirroring method of any one of claims 1 to 5.
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 true CN114125526A (en) | 2022-03-01 |
CN114125526B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115297281A (en) * | 2022-10-08 | 2022-11-04 | 威创集团股份有限公司 | Screen sharing cloud platform display method, system, equipment and storage medium |
Citations (15)
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 |
US20110060993A1 (en) * | 2009-09-08 | 2011-03-10 | Classified Ventures, Llc | Interactive Detailed Video Navigation System |
CN104243932A (en) * | 2014-09-29 | 2014-12-24 | 杭州中威电子股份有限公司 | Video image encoding system for large-screen image transmission |
US20150042882A1 (en) * | 2013-08-06 | 2015-02-12 | Samsung Electronics Co., Ltd. | Method of acquiring information about contents, image display apparatus using the method, and server system for providing information about contents |
US20150082241A1 (en) * | 2013-09-17 | 2015-03-19 | Samsung Electronics Co., Ltd. | Method for screen mirroring and source device thereof |
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 |
US20150326923A1 (en) * | 2014-05-07 | 2015-11-12 | Lg Electronics Inc. | Digital device and method of processing service thereof |
US20150339524A1 (en) * | 2014-05-23 | 2015-11-26 | Samsung Electronics Co., Ltd. | Method and device for reproducing partial handwritten content |
CN109413366A (en) * | 2018-12-24 | 2019-03-01 | 杭州欣禾工程管理咨询有限公司 | A kind of with no paper wisdom video conferencing system based on condition managing |
US20200065048A1 (en) * | 2018-08-25 | 2020-02-27 | International Business Machines Corporation | Integrated multi-monitor setup |
CN110996039A (en) * | 2019-11-28 | 2020-04-10 | 浙江华创视讯科技有限公司 | Electronic whiteboard sharing method, system and computer-readable storage medium |
US20200285438A1 (en) * | 2017-02-06 | 2020-09-10 | Hewlett-Packard Development Company, L.P. | Mirroring of screens |
CN113438527A (en) * | 2021-06-25 | 2021-09-24 | 北京奇艺世纪科技有限公司 | Video screen projection method, device, equipment and storage medium |
US20210334060A1 (en) * | 2020-04-22 | 2021-10-28 | Lg Electronics Inc. | Wireless device |
JP2021179972A (en) * | 2020-05-29 | 2021-11-18 | ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド | Method and device for mirroring, electronic device, computer readable storage medium, and computer program |
-
2021
- 2021-12-24 CN CN202111600647.4A patent/CN114125526B/en active Active
Patent Citations (15)
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 |
US20110060993A1 (en) * | 2009-09-08 | 2011-03-10 | Classified Ventures, Llc | Interactive Detailed Video Navigation System |
US20150042882A1 (en) * | 2013-08-06 | 2015-02-12 | Samsung Electronics Co., Ltd. | Method of acquiring information about contents, image display apparatus using the method, and server system for providing information about contents |
US20150082241A1 (en) * | 2013-09-17 | 2015-03-19 | Samsung Electronics Co., Ltd. | Method for screen mirroring and source device thereof |
US20150326923A1 (en) * | 2014-05-07 | 2015-11-12 | Lg Electronics Inc. | Digital device and method of processing service thereof |
US20150339524A1 (en) * | 2014-05-23 | 2015-11-26 | Samsung Electronics Co., Ltd. | Method and device for reproducing partial handwritten content |
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 |
CN104243932A (en) * | 2014-09-29 | 2014-12-24 | 杭州中威电子股份有限公司 | Video image encoding system for large-screen image transmission |
US20200285438A1 (en) * | 2017-02-06 | 2020-09-10 | 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 |
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 |
US20210334060A1 (en) * | 2020-04-22 | 2021-10-28 | Lg Electronics Inc. | Wireless device |
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)
Title |
---|
潘红艳;陶霖密;杨陈科;张军;徐光;: "Th-Notes多通道共享笔记系统的设计与实现", 计算机工程与应用, no. 1, 26 January 2007 (2007-01-26) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115297281A (en) * | 2022-10-08 | 2022-11-04 | 威创集团股份有限公司 | Screen sharing cloud platform display method, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114125526B (en) | 2024-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102710982B (en) | The method making Media Stream synchronous, the method and system of buffer media stream, router | |
CN111107411A (en) | Distributed cross-node video synchronization method and system | |
CN102637120B (en) | System and method for controlling synchronous display of spliced screens | |
US20170344330A1 (en) | Multi-display device | |
CN103369411A (en) | Multiscreen video playing system dynamically generating scaled video, and related device | |
CN114125526B (en) | Screen mirroring method and device | |
CN106354462B (en) | A kind of the document method of simultaneous display, equipment and system in multiple equipment | |
US20160078664A1 (en) | Image synthesizing apparatus and method | |
CN111638861B (en) | Splicing wall signal synchronization method and device | |
JP5818353B2 (en) | Screen display control system and screen display control method | |
CN114745514A (en) | Video signal expansion method, video signal expansion device, computer equipment and storage medium | |
CN111163312A (en) | Signal source synchronous detection method | |
CN108650541A (en) | Realize that the method and system of video is played simultaneously in distinct device | |
JP2016142761A (en) | Multi-projection system, information processing device and program | |
JP2003009101A (en) | Multi-screen reproducing equipment and method therefor | |
CN104808976B (en) | File sharing method | |
CN104918010A (en) | Signal redisplay method and system of spliced wall | |
JP2000098999A (en) | Video display device | |
CN114938463A (en) | Video display system and method | |
CN112019853A (en) | Image processing method, system, device, storage medium and processor | |
KR101700821B1 (en) | Scalable remote screen providing method and apparatus | |
CN114915798A (en) | Real-time video generation method, multi-camera live broadcast method and device | |
JP2010278983A (en) | Apparatus and method of transmitting images | |
CN112995737B (en) | Distributed network screen-on-screen synchronization method, system and equipment for multi-screen display card output | |
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 |