Disclosure of Invention
In view of the above, the invention provides a wireless screen projection module and a screen projection method for an all-in-one machine, which can simultaneously project the pictures of a plurality of intelligent terminals onto the screen of the all-in-one machine and simultaneously unify the video quality, thereby improving the user experience of audiences.
In order to achieve the purpose, the invention provides the following technical scheme:
an embodiment of the present invention provides a wireless screen projection module of an all-in-one machine, including:
the connection unit is used for establishing wireless screen projection connection with a server, and the server stores audio and video data uploaded by a plurality of intelligent terminals;
the storage unit is used for receiving the audio and video data uploaded by the intelligent terminals from the server and respectively storing the audio and video data;
the video quality analysis unit is used for analyzing the video quality of the audio and video data corresponding to the intelligent terminals;
the encoding unit is used for recoding the video data corresponding to the intelligent terminals according to the uniform video quality;
the decoding unit is used for simultaneously decoding the recoded video data corresponding to the plurality of intelligent terminals;
the display unit is used for displaying videos corresponding to the intelligent terminals, and the audio playing unit is used for simultaneously playing the audios of the intelligent terminals.
In an embodiment of the present invention, the connection unit in the all-in-one wireless screen projection module is configured to connect to the server through a wireless access point in a wireless local area network.
In one embodiment of the invention, the video quality of the audio-visual data comprises resolution, bit rate and frame rate.
In an embodiment of the present invention, the video quality analysis unit is configured to analyze video quality of audio and video data corresponding to each of the plurality of intelligent terminals, and obtain a lowest resolution of all the intelligent terminals;
and the encoding unit is used for uniformly re-encoding the video data corresponding to the intelligent terminals according to the lowest resolution ratio of all the intelligent terminals.
In an embodiment of the invention, the all-in-one machine further includes a function customizing unit, which is used for displaying videos corresponding to the plurality of intelligent terminals on a screen of the all-in-one machine in a split screen mode, and configuring a selection button displayed in a full screen mode and a corresponding volume adjusting button for each video.
In another aspect, an embodiment of the present invention provides a wireless screen projection method for an all-in-one machine, including:
establishing wireless screen projection connection with a server, wherein the server stores audio and video data uploaded by a plurality of intelligent terminals;
receiving the audio and video data uploaded by the intelligent terminals from the server and respectively storing the audio and video data;
analyzing the video quality of the audio and video data corresponding to the plurality of intelligent terminals;
recoding the video data corresponding to the intelligent terminals according to the uniform video quality;
and simultaneously decoding the recoded video data corresponding to the plurality of intelligent terminals, displaying the recoded video data on a screen, and simultaneously playing the audios of the plurality of intelligent terminals.
In an embodiment of the present invention, the step of establishing a wireless screen-projection connection with a server includes:
the all-in-one machine is connected to the server through a wireless access point in a wireless local area network.
In one embodiment of the invention, the video quality of the audio-visual data comprises resolution, bit rate and frame rate.
In an embodiment of the present invention, the re-encoding the video data corresponding to each of the plurality of intelligent terminals according to the uniform video quality includes:
and uniformly recoding the video data corresponding to the intelligent terminals according to the lowest resolution ratio of all the intelligent terminals.
In one embodiment of the invention, the method further comprises:
and displaying videos corresponding to the multiple intelligent terminals on the screen of the all-in-one machine in a split screen mode uniformly, and configuring a selection button displayed in a full screen mode and a corresponding volume adjusting button for each video.
The wireless screen projection module and the screen projection method of the all-in-one machine provided by the embodiment of the invention have the advantages that the wireless screen projection connection is established with the server, the audio and video data uploaded by the plurality of intelligent terminals are received from the server and are respectively stored, the video quality of the audio and video data corresponding to the plurality of intelligent terminals is analyzed, the video data corresponding to the plurality of intelligent terminals are recoded according to the uniform video quality, the recoded videos corresponding to the plurality of intelligent terminals are decoded and displayed, the audios of the plurality of intelligent terminals are played simultaneously, the pictures of the plurality of intelligent terminals can be simultaneously projected onto the screen of the all-in-one machine, and the video quality is unified simultaneously, so that the user experience of audiences is improved.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It should be noted that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and all other embodiments obtained by those skilled in the art without any inventive work based on the embodiments of the present invention belong to the protection scope of the present invention.
In the description herein, it is to be understood that the terms "upper," "lower," "left," "right," and the like are used in an orientation or positional relationship merely for convenience in description and simplicity of operation, and do not indicate or imply that the referenced device or element must have a particular orientation, configuration, and operation in a particular orientation, and therefore should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used merely for descriptive purposes and are not intended to have any special meaning.
In the description herein, references to the description of "an embodiment," "an example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example.
Example one
Fig. 1 is a wireless screen projection system (referred to as a system in this embodiment) according to an embodiment of the present invention. Specifically, the system in fig. 1 includes an intelligent terminal, a server, and an all-in-one machine.
The smart terminal in this embodiment may be, but is not limited to, an electronic device such as a mobile phone, a tablet, a personal computer, a desktop computer, and a VR game device. In one scenario, where the smart terminal is used by a user to execute game software, different video and audio data may be generated locally at the smart terminal. In FIG. 1, the intelligent terminal is illustrated by mobile terminals 111-114.
Theserver 120 itself in this embodiment may be a large-scale computer device, which is connected to the mobile terminals 111-114 through a network. The network may be a mobile network or a WiFi network. In an application scenario of a sports game, theserver 120 serves as a game host of themobile terminals 111 to 114, for example, a "room" may be established at the server, so that themobile terminals 111 to 114 may join in the "room" to play the game. In the process of the game, each mobile terminal needs to upload local audio/video data to theserver 120, so as to view the picture of the mobile terminal at the server.
Thekiosk 130 establishes a wireless screen-casting connection with theserver 120, and the connection may be, for example and without limitation, WiFi P2P technology. The all-in-onemachine 130 receives the audio and video data of each mobile terminal from theserver 120 and displays the audio and video data on the screen of the all-in-one machine. In the application scenario of live electronic sports, the all-in-onemachine 130 has an ultra-clear and ultra-large screen, and can also support a touch function, so that the pictures on different mobile terminals can be displayed in a focused manner.
In the embodiment, the all-in-one machine is in wireless screen projection connection with the server, the server is used as a game host of a plurality of intelligent terminals, audio and video data generated by the intelligent terminals running game programs are uploaded to the server and then transmitted to the all-in-one machine by the server, and then game pictures of the plurality of game terminals can be projected wirelessly at the end of the all-in-one machine.
Example two
Referring to fig. 2, in a second embodiment of the present invention, a wireless screen projection method for an all-in-one machine is provided. The method is a flow method suitable for an all-in-one machine end.
Specifically, the wireless screen projection method of the all-in-one machine in the embodiment includes:
step 201, establishing wireless screen projection connection with a server.
Specifically, in this step, the server stores audio and video data uploaded by the plurality of intelligent terminals. The intelligent terminals run the same program to generate corresponding pictures and sounds, and the server serves as a host to receive and store the audios and videos of the intelligent terminals.
The all-in-one machine and the server in the step establish a wireless screen projection technology, which can be based on different technical schemes and can utilize different wireless screen projection protocols. In this embodiment, the server and the all-in-one machine may be disposed in the same wireless lan, and the all-in-one machine and the server are both connected to the same wireless access point in the lan at the same time, so that the all-in-one machine is connected to the server through the wireless access point in the wireless lan, thereby establishing wireless screen-projection connection.
And 202, receiving audio and video data uploaded by a plurality of intelligent terminals from a server and respectively storing the audio and video data.
In the embodiment, the all-in-one machine needs to display the picture of each intelligent terminal, and audio and video data uploaded by a plurality of intelligent terminals needs to be received from the server and stored respectively.
And 203, analyzing the video quality of the audio and video data corresponding to the plurality of intelligent terminals.
In this step, because the software and hardware environments of each intelligent terminal are different, the video quality of the respective audio and video data is also different. In this step, the video quality includes: resolution, bit rate, and frame rate. Taking the resolution as an example and taking the mobile terminal as an example, the sizes of the screens of the mobile terminals are different, and if the pictures of the mobile terminals are directly displayed on the screen of the all-in-one machine, the impression of the audience is reduced.
And step 204, recoding the video data corresponding to the plurality of intelligent terminals according to the uniform video quality.
In the step, in order to improve the user experience of the user on the screen-projecting pictures of the all-in-one machine to a plurality of terminals, after the video quality of each intelligent terminal is analyzed in the previous step, each video is coded again according to the unified video quality standard, so that the pictures with unified quality are displayed on the screen of the all-in-one machine.
And step 205, decoding the recoded video data corresponding to the plurality of intelligent terminals at the same time, displaying the recoded video data on a screen, and playing the audios of the plurality of intelligent terminals at the same time.
In the wireless screen projection method of the all-in-one machine in the embodiment, the wireless screen projection connection is established with the server, the audio and video data uploaded by the plurality of intelligent terminals are received from the server and are respectively stored, the video quality of the audio and video data corresponding to the plurality of intelligent terminals is analyzed, the video data corresponding to the plurality of intelligent terminals is recoded according to the unified video quality, the recoded videos corresponding to the plurality of intelligent terminals are decoded and displayed, the audio of the plurality of intelligent terminals is played simultaneously, the pictures of the plurality of intelligent terminals can be simultaneously projected onto the screen of the all-in-one machine, the video quality is unified simultaneously, and therefore user experience of audiences is improved.
EXAMPLE III
The embodiment in fig. 3 also provides a wireless screen projection method of the all-in-one machine. In this embodiment, the method specifically includes:
step 301, establishing wireless screen projection connection with a server.
Specifically, in this step, the server stores audio and video data uploaded by the plurality of intelligent terminals. The intelligent terminals run the same program to generate corresponding pictures and sounds, and the server serves as a host to receive and store the audios and videos of the intelligent terminals.
The all-in-one machine and the server in the step establish a wireless screen projection technology, which can be based on different technical schemes and can utilize different wireless screen projection protocols. In this embodiment, the server and the all-in-one machine may be disposed in the same wireless lan, and the all-in-one machine and the server are both connected to the same wireless access point in the lan at the same time, so that the all-in-one machine is connected to the server through the wireless access point in the wireless lan, thereby establishing wireless screen-projection connection.
And step 302, receiving the audio and video data uploaded by the plurality of intelligent terminals from the server and respectively storing the audio and video data.
In the embodiment, the all-in-one machine needs to display the picture of each intelligent terminal, and audio and video data uploaded by a plurality of intelligent terminals needs to be received from the server and stored respectively.
And 303, analyzing the video quality of the audio and video data corresponding to the plurality of intelligent terminals, and acquiring the lowest resolution of all the intelligent terminals.
In this step, because the software and hardware environments of each intelligent terminal are different, the video quality of the respective audio and video data is also different. In this step, the video quality includes: resolution, bit rate, and frame rate. Taking the resolution as an example and taking the mobile terminal as an example, the sizes of the screens of the mobile terminals are different, and if the pictures of the mobile terminals are directly displayed on the screen of the all-in-one machine, the impression of the audience is reduced.
In this embodiment, the resolution is used as an important parameter of the video quality. The video and audio data of each intelligent terminal are acquired by the all-in-one machine end and are analyzed, so that the image resolution of each intelligent terminal is sequenced, the lowest screen resolution is selected as a parameter of uniform video quality, and the video images of all intelligent terminals displayed at the all-in-one machine end subsequently have uniform image size, and the video experience of audiences is improved conveniently.
And step 304, recoding the video data corresponding to each of the plurality of intelligent terminals according to the lowest resolution of all the intelligent terminals.
In the step, in order to improve the user experience of the user on the screen-projecting pictures of the all-in-one machine to a plurality of terminals, after the video quality of each intelligent terminal is analyzed in the previous step, each video is coded again according to the unified video quality standard, so that the pictures with unified quality are displayed on the screen of the all-in-one machine. The parameter selected by the video quality in this step is resolution, and certainly, other parameters may be selected by the video quality, and as for the resolution, other uniform resolution may be selected.
And 305, simultaneously decoding the recoded video data corresponding to the plurality of intelligent terminals, displaying the recoded video data on a screen, and simultaneously playing the audios of the plurality of intelligent terminals.
Specifically, in this step, each terminal picture displayed on the kiosk screen has the same video quality, such as image size.
Example four
The fourth embodiment is basically similar to the third embodiment, and also provides a wireless screen projection method of an all-in-one machine, which specifically includes:
step 301, establishing wireless screen projection connection with a server.
And step 302, receiving the audio and video data uploaded by the plurality of intelligent terminals from the server and respectively storing the audio and video data.
And 303, analyzing the video quality of the audio and video data corresponding to the plurality of intelligent terminals, and acquiring the lowest resolution of all the intelligent terminals.
And step 304, recoding the video data corresponding to each of the plurality of intelligent terminals according to the lowest resolution of all the intelligent terminals.
And 305, simultaneously decoding the recoded video data corresponding to the plurality of intelligent terminals, displaying the recoded video data on a screen, and simultaneously playing the audios of the plurality of intelligent terminals.
The steps 301-305 are the same as the previous embodiment.
In the four embodiments, the wireless screen projection method of the all-in-one machine further includes:
and step 306, uniformly displaying videos corresponding to the multiple intelligent terminals on the screen of the all-in-one machine, and configuring a selection button displayed in a full screen mode and a corresponding volume adjusting button for each video.
Specifically, the application scenario of this step is shown in fig. 4, taking the scenario of live-broadcast electronic game competition at the integrated terminal as an example, it is assumed that there are 4 mobile terminals participating in the competition: after the integrated machine end acquires the audio and video data of each mobile terminal, the integrated machine end divides the screen into four areas, and displays a picture of one mobile terminal in each area. Taking the resolution as the parameter of the video quality as an example, the pictures of the four mobile terminals will have the same size, so that the viewer can clearly see the operation pictures of the respective mobile terminals. And when the full-screen button is detected to be touched, the corresponding mobile terminal picture is in a full-screen mode, and the picture entering the full-screen mode provides a button for exiting the full screen. In addition, each mobile terminal picture is provided with a volume adjusting button on the lower side of the full screen button, the volume adjusting button is displayed in a horn graph, and when the horn button is detected to be touched, a volume adjusting frame is popped up for a user to adjust.
EXAMPLE five
The fifth embodiment of the invention provides a wireless screen projection module of an all-in-one machine, which can be but is not limited to be applied to live video pictures of a plurality of intelligent terminals.
Specifically, the wirelessscreen projection module 500 of the all-in-one machine in this embodiment includes:
the connection unit is used for establishing wireless screen projection connection with a server, and the server stores audio and video data uploaded by a plurality of intelligent terminals;
the storage unit is used for receiving the audio and video data uploaded by the intelligent terminals from the server and respectively storing the audio and video data;
the video quality analysis unit is used for analyzing the video quality of the audio and video data corresponding to the intelligent terminals;
the encoding unit is used for recoding the video data corresponding to the intelligent terminals according to the uniform video quality;
the decoding unit is used for simultaneously decoding the recoded video data corresponding to the plurality of intelligent terminals;
the display unit is used for displaying videos corresponding to the intelligent terminals, and the audio playing unit is used for simultaneously playing the audios of the intelligent terminals.
EXAMPLE six
The embodiment also provides a wireless screen projection module of the all-in-one machine.
Thiswireless screen module 600 of throwing includes:
the connection unit is used for establishing wireless screen projection connection with a server, and the server stores audio and video data uploaded by a plurality of intelligent terminals;
the storage unit is used for receiving the audio and video data uploaded by the intelligent terminals from the server and respectively storing the audio and video data;
the video quality analysis unit is used for analyzing the video quality of the audio and video data corresponding to the plurality of intelligent terminals and acquiring the lowest resolution ratio of all the intelligent terminals;
the encoding unit is used for uniformly recoding the video data corresponding to the intelligent terminals according to the lowest resolution ratio in all the intelligent terminals;
the decoding unit is used for simultaneously decoding the recoded video data corresponding to the plurality of intelligent terminals;
the display unit is used for displaying videos corresponding to the intelligent terminals, and the audio playing unit is used for simultaneously playing the audios of the intelligent terminals; and
and the function customizing unit is used for uniformly displaying the videos corresponding to the multiple intelligent terminals on the screen of the all-in-one machine in a split screen mode, and configuring a selection button displayed in a full screen mode and a corresponding volume adjusting button for each video.
To sum up, the wireless screen projection module and the screen projection method of the all-in-one machine provided by the embodiments of the present invention receive, from the server, the audio and video data uploaded by the plurality of intelligent terminals through establishing a wireless screen projection connection with the server, store the audio and video data respectively, analyze the video quality of the audio and video data corresponding to the plurality of intelligent terminals, re-encode the video data corresponding to the plurality of intelligent terminals according to a uniform video quality, decode the re-encoded video corresponding to the plurality of intelligent terminals, display the video, and play the audio of the plurality of intelligent terminals simultaneously, so that the pictures of the plurality of intelligent terminals can be projected onto the screen of the all-in-one machine simultaneously, and the video quality is uniform at the same time, thereby improving the user experience of the audience.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be appropriately combined to form other embodiments as will be appreciated by those skilled in the art.
In summary, the above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims. As mentioned above, the present invention can be further modified and several modifications and refinements without departing from the principle of the present device should be considered as the protection scope of the present invention.