Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of virtual screen methods of exhibiting and devices.The technical solution is as follows:
In a first aspect, a kind of virtual screen methods of exhibiting is provided, the method includes:
When the virtual screen for receiving terminal transmission in channel builds request, at least one environmental data is obtained;
According at least one environmental data, virtual background is built;
When receiving the video pictures that the terminal is sent, the background in the video pictures is replaced with described virtualBackground obtains virtual screen;
The virtual screen is shown in the channel.
Optionally, described according at least one environmental data, after building virtual background, the method further includes:
Establish the correspondence between the user identifier of the terminal and the virtual background.
Optionally, described when the virtual screen for receiving terminal transmission in channel builds request, it obtains at least oneEnvironmental data, including:
When receiving the virtual screen structure request, judge in established correspondence whether to include the userIdentify corresponding virtual background;
If not including the corresponding virtual background of the user identifier in the correspondence, obtain described at least oneEnvironmental data.
Optionally, it is described judge in established correspondence whether include the corresponding virtual background of the user identifier itAfterwards, the method further includes:
If the correspondence includes the corresponding virtual background of the user identifier, the user identifier pair is obtainedThe virtual background answered.
Optionally, described when the virtual screen for receiving terminal transmission in channel builds request, it obtains at least oneBefore environmental data, the method further includes:
Obtain at least one environmental data that the terminal uploads;
Establish the correspondence between the user identifier of the terminal and at least one environmental data.
Optionally, described when the virtual screen for receiving terminal transmission in channel builds request, it obtains at least oneEnvironmental data, including:
When receiving the environmental data request that the terminal is sent, multiple environment are obtained from stored environmental dataData;
The multiple environmental data is sent to the terminal so that the multiple environmental data of terminal display obtainsAt least one environmental data that user selects from the multiple environmental data;
The virtual screen structure request that the terminal is sent is received, includes user in the virtual screen structure requestAt least one environmental data selected from the multiple environmental data.
Optionally, described when receiving the environmental data request that the terminal is sent, from stored environmental dataMultiple environmental datas are obtained, including:
When receiving the environmental data request, the corresponding subscriber information message of the terminal is obtained;
From stored environmental data, obtain and the matched multiple environmental datas of the subscriber information message.
Second aspect provides a kind of virtual screen methods of exhibiting, the method includes:
Virtual screen structure request is sent to server so that the server is according at least one environmental data, structureVirtual background;
When detecting live streaming confirmation operation, environment is presently in user and is shot, video pictures are obtained;
The video pictures are sent to the server so that the server replaces the background in the video picturesFor the virtual background, virtual screen is obtained, and returns to the virtual screen;
When receiving the virtual screen, the virtual screen is shown.
Optionally, the method further includes:
The image of input is obtained, includes multiple environmental datas in described image;
In detecting to described image when the selection operation of any environment data, the selection is sent to the serverOperate corresponding environmental data so that the server establishes the correspondence between user identifier and the environmental data.
Optionally, described to send virtual screen structure request to server, including:
When detecting the selection operation to virtual screen structure option, environmental data request is sent to the server,So that the server obtains multiple environmental datas from stored environmental data, and return to the multiple environmental data;
When receiving the multiple environmental data, the multiple environmental data is shown;
Obtain at least one environmental data that user selects from the multiple environmental data;
The virtual screen is sent to the server and builds request, and the virtual screen structure is asked comprising described at leastOne environmental data.
The third aspect, provides a kind of virtual screen displaying device, and described device includes:
Acquisition module, for when the virtual screen for receiving terminal transmission in channel builds request, obtaining at least oneA environmental data;
Module is built, for according at least one environmental data, building virtual background;
Replacement module, for when receiving the video pictures that the terminal is sent, by the background in the video picturesThe virtual background is replaced with, virtual screen is obtained;
Display module, for showing the virtual screen in the channel.
Optionally, described device further includes:
First corresponding relation building module, pair between user identifier and the virtual background for establishing the terminalIt should be related to.
Optionally, the acquisition module is additionally operable to, when receiving the virtual screen structure request, judge establishedWhether include the corresponding virtual background of the user identifier in correspondence;If in the correspondence not including the userCorresponding virtual background is identified, then obtains at least one environmental data.
Optionally, if it includes that the user identifier is corresponding virtual that the acquisition module, which is additionally operable to the correspondence,Background then obtains the corresponding virtual background of the user identifier.
Optionally, described device further includes:
The acquisition module is additionally operable to obtain at least one environmental data that the terminal uploads;
Second corresponding relation building module, the user identifier for establishing the terminal and at least one environmental dataBetween correspondence.
Optionally, the acquisition module is additionally operable to when receiving the environmental data request that the terminal is sent, from having depositedMultiple environmental datas are obtained in the environmental data of storage;The multiple environmental data is sent to the terminal so that the terminal exhibitionShow the multiple environmental data, obtains at least one environmental data that user selects from the multiple environmental data;Receive instituteThe virtual screen structure request for stating terminal transmission, comprising user from the multiple environment in virtual screen structure requestAt least one environmental data selected in data.
Optionally, the acquisition module is additionally operable to, when receiving the environmental data request, obtain the terminal-pair and answerSubscriber information message;From stored environmental data, obtain and the matched multiple environmental datas of the subscriber information message.
Fourth aspect, provides a kind of virtual screen displaying device, and described device includes:
Build request sending module, for server send virtual screen structure request so that the server according toAt least one environmental data builds virtual background;
Taking module, for when detecting live streaming confirmation operation, being presently in environment to user and shooting, depending onFrequency picture;
Video pictures sending module, for sending the video pictures to the server so that the server is by instituteIt states the background in video pictures and replaces with the virtual background, obtain virtual screen, and return to the virtual screen;
Display module, for when receiving the virtual screen, showing the virtual screen.
Optionally, described device further includes:
Acquisition module includes multiple environmental datas in described image for obtaining the image inputted;
Environmental data sending module, in detecting to described image when the selection operation of any environment data, toThe server sends the corresponding environmental data of the selection operation so that the server establishes user identifier and the environmentCorrespondence between data.
Optionally, the structure request sending module is additionally operable to work as the selection operation for detecting and building virtual screen optionWhen, send environmental data request to the server so that the server obtains multiple rings from stored environmental dataBorder data, and return to the multiple environmental data;When receiving the multiple environmental data, the multiple environment number is shownAccording to;Obtain at least one environmental data that user selects from the multiple environmental data;The void is sent to the serverQuasi- picture structure request, the virtual screen structure request includes at least one environmental data.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Method and apparatus provided in an embodiment of the present invention, by when the virtual screen structure for receiving terminal transmission in channelWhen building request, at least one environmental data is obtained, according at least one environmental data, builds virtual background, when receiving thisWhen the video pictures that terminal is sent, the background in the video pictures is replaced with into the virtual background, obtains virtual screen, by the voidQuasi- picture is shown as net cast picture in the channel, ensure that the background in net cast picture is not benefited fromFamily is presently in the limitation of environment, enhances diversity, improves flexibility.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hairEmbodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative effortsExample, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of structural schematic diagram of interactive system provided in an embodiment of the present invention, referring to Fig. 1, the interactive system packetIt includes:Terminal and server passes through network connection between the terminal and the server.
The terminal is used to send virtual screen structure request to the server in channel.
The server is used to, when receiving virtual screen structure request, obtain at least one environmental data, the serviceDevice builds virtual background according at least one environmental data.
The terminal is additionally operable to, when detecting live streaming confirmation operation, be presently in environment to user and shoot, depending onFrequency picture sends the video pictures to the server.
The server is additionally operable to when receiving the video pictures, and the background in the video pictures is replaced with the virtual back of the bodyScape obtains virtual screen, and the virtual screen is sent to the terminal.
The terminal is additionally operable to, when receiving the virtual screen, show the virtual screen.
Fig. 2 is a kind of flow chart of virtual screen methods of exhibiting provided in an embodiment of the present invention.The inventive embodiments are heldRow main body is server, and referring to Fig. 2, this method includes:
201, when the virtual screen for receiving terminal transmission in channel builds request, at least one environment number is obtainedAccording to.
202, according at least one environmental data, virtual background is built.
203, when receiving the video pictures of terminal transmission, the background in the video pictures is replaced with into the virtual back of the bodyScape obtains virtual screen.
204, the virtual screen is shown in the channel.
Method provided in an embodiment of the present invention, by building request when the virtual screen for receiving terminal transmission in channelWhen, at least one environmental data is obtained, according at least one environmental data, builds virtual background, is sent out when receiving the terminalWhen the video pictures sent, the background in the video pictures is replaced with into the virtual background, obtains virtual screen, by the virtual screenIt as net cast picture, and is shown in the channel, ensure that the background in net cast picture is not current by userThe limitation of local environment, enhances diversity, improves flexibility.
Optionally, this is according at least one environmental data, and after building virtual background, this method further includes:
Establish the correspondence between the user identifier of the terminal and the virtual background.
Optionally, when should receive the virtual screen structure request of terminal transmission in channel, at least one ring is obtainedBorder data, including:
When receiving virtual screen structure request, judge in established correspondence whether to include the user identifierCorresponding virtual background;
If not including the corresponding virtual background of the user identifier in the correspondence, at least one environment number is obtainedAccording to.
Optionally, this judges in established correspondence after whether including the corresponding virtual background of the user identifier,This method further includes:
If the correspondence includes the corresponding virtual background of the user identifier, the corresponding void of the user identifier is obtainedQuasi- background.
Optionally, when should receive the virtual screen structure request of terminal transmission in channel, at least one ring is obtainedBefore the data of border, this method further includes:
Obtain at least one environmental data of terminal upload;
Establish the correspondence between the user identifier of the terminal and at least one environmental data.
Optionally, when should receive the virtual screen structure request of terminal transmission in channel, at least one ring is obtainedBorder data, including:
When receiving the environmental data request of terminal transmission, multiple environment numbers are obtained from stored environmental dataAccording to;
Send multiple environmental data to the terminal so that the multiple environmental data of the terminal display, obtain user from thisAt least one environmental data selected in multiple environmental datas;
The virtual screen structure request of terminal transmission is received, it is more from this comprising user in virtual screen structure requestAt least one environmental data selected in a environmental data.
Optionally, it when should receive the environmental data request of terminal transmission, is obtained from stored environmental dataMultiple environmental datas, including:
When receiving environmental data request, the corresponding subscriber information message of the terminal is obtained;
From stored environmental data, obtain and the matched multiple environmental datas of the subscriber information message.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutionsIt repeats one by one.
Fig. 3 is a kind of flow chart of virtual screen methods of exhibiting provided in an embodiment of the present invention.The inventive embodiments are heldRow main body is terminal, and referring to Fig. 3, this method includes:
301, virtual screen structure request is sent to server so that the server is according at least one environmental data, structureBuild virtual background.
302, when detecting live streaming confirmation operation, environment is presently in user and is shot, video pictures are obtained.
303, the video pictures are sent to the server so that the background in the video pictures is replaced with this by the serverVirtual background obtains virtual screen, and returns to the virtual screen.
304, when receiving the virtual screen, the virtual screen is shown.
Method provided in an embodiment of the present invention, by sending virtual screen structure request to server so that the serverAccording at least one environmental data, build virtual background, when detecting live streaming confirmation operation, to user be presently in environment intoRow shooting, obtains video pictures, the video pictures is sent to the server so that the server is by the background in the video picturesThe virtual background is replaced with, virtual screen is obtained, using the virtual screen as net cast picture, and returns to the virtual screen,When receiving the virtual screen, the virtual screen is shown, ensure that the background in net cast picture not by the current institute of userThe limitation for locating environment, enhances diversity, improves flexibility.
Optionally, this method further includes:
The image of input is obtained, includes multiple environmental datas in the image;
When detecting to the selection operation of any environment data in the image, the selection operation pair is sent to the serverThe environmental data answered so that the server establishes the correspondence between user identifier and the environmental data.
Optionally, this sends virtual screen structure request to server, including:
When detecting the selection operation to virtual screen structure option, environmental data request is sent to the server, is madeIt obtains the server and obtains multiple environmental datas from stored environmental data, and return to multiple environmental data;
When receiving multiple environmental data, multiple environmental data is shown;
Obtain at least one environmental data that user selects from multiple environmental data;
Virtual screen structure request is sent to the server, virtual screen structure request includes at least one environmentData.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutionsIt repeats one by one.
Fig. 4 is a kind of flow chart of virtual screen methods of exhibiting provided in an embodiment of the present invention.The friendship of the inventive embodimentsMutual main body is terminal and server, and referring to Fig. 4, this method includes:
401, the terminal sends virtual screen structure request in channel to server.
In embodiments of the present invention, which distributes a channel mark for creating multiple channels, and for each channelKnow, channel identication can be channel number, channel designation etc., the embodiment of the present invention does not do this for uniquely determining the channelIt limits.The channel identication that terminal can be selected according to user enters corresponding channel, in the channel, with other in the channelTerminal interacts.For example, a terminal can carry out net cast in the channel, other-end can be seen in the channelThe operations such as see the video of the live streaming, and the video of live streaming commented on, recorded.
Before user is broadcast live, it can will be connected to terminal for the camera of live streaming, terminal installs the cameraDriver can control the camera and shot by calling the driver.When user will be broadcast live in channelWhen, self-timer can be carried out by the camera of terminal, obtain video pictures, which includes user, and this is regardedThe background of frequency picture is the environment that user is presently in.If the user desired that breaking away from the limitation for being presently in environment and using virtualWhen background, virtual screen structure request can be triggered in terminal, then terminal sends virtual screen structure request to the server,Virtual screen structure request is for asking the server construction virtual screen.
Wherein, the request of virtual screen structure may include the user identifier of the terminal, and the user identifier is for unique trueThe fixed user can be the pet name, the account etc. of the user, and it is not limited in the embodiment of the present invention.In addition, the virtual screen structureIt can also includes channel identication to build request, which is used to indicate the channel where the terminal.
Specifically, terminal shows the scene interface of channel, which includes live streaming option, when user will be broadcast liveWhen, the selection operation to the live streaming option can be triggered, at this point, terminal can show that virtual screen builds option, prompts userIt is broadcast live using virtual background.If the user desired that using virtual background, you can trigger and build option to the virtual screenWhen the terminal detects that user builds the virtual screen selection operation of option, virtual draw is sent to server for selection operationFace structure request, to ask the server first to build virtual screen before being broadcast live.
Certainly, which can also directly display virtual screen structure option, the embodiment of the present invention pair in scene interfaceThe displaying opportunity of virtual screen structure option does not limit.
402, when the server receives virtual screen structure request, at least one environmental data is obtained.
In the embodiment of the present invention, which can prestore multiple environmental datas, when the server receives the voidWhen quasi- picture structure request, at least one environmental data can be obtained from stored multiple environmental datas, so that basis shouldAt least one environmental data builds virtual screen.Wherein, environmental data is the virtual data for referring to simulation virtual environment, according toWhen the environmental data builds virtual environment, the scene that user is located in the virtual environment can be simulated.The environmental data can be withIncluding the corresponding virtual data of seat, window, bed, cloth doll and other items, it is not limited in the embodiment of the present invention.
Specifically, when the server storage environmental data, environment number can be obtained according to the image for being uploaded to the serverAccording to, can also obtain user upload environmental data.
I.e. the server can obtain multiple images, and whether for each image, it includes environmental data to detect in the image,If including environmental data in the image, the environmental data is extracted from the image, and store the environmental data.Alternatively, shouldTerminal obtains the image of input, includes multiple environmental datas in the image, at this point, user can select any ring from the imageIt is corresponding to extract the selection operation when the terminal detects the selection operation to the environmental data from the image for border dataEnvironmental data, and the environmental data is sent to the server, which can obtain the environmental data, and establish the terminalCorrespondence between user identifier and the environmental data.Wherein, the image for inputting the terminal can be the camera shooting of terminal configurationThe photo that head shooting obtains, or be sent to the photo of the terminal after camera shooting, can also be the terminal downloadsImage etc., it is not limited in the embodiment of the present invention.
Specifically, which obtains multiple environmental datas from stored environmental data and may comprise steps ofAt least one of in (1)-(4):
(1) server obtains multiple environmental datas at random from stored environmental data.
(2) include the user identifier of the terminal in the request of virtual screen structure, the server is according to established userCorrespondence between mark and environmental data obtains the corresponding multiple environmental datas of user identifier.
(3) server obtains corresponding with terminal subscriber information message, from stored environmental data, obtain andThe matched multiple environmental datas of the subscriber information message.
The server can prestore the subscriber information message of each terminal, then when the server receives the virtual pictureWhen the structure request of face, subscriber information message corresponding with the terminal can be obtained, stored each environmental data is judged and is somebody's turn to doWhether subscriber information message matches, to get and the matched multiple environmental datas of the subscriber information message.
Wherein, which may include age, gender, constellation, hobby of user etc., the embodiment of the present invention pairThis is not limited.
(4) server obtains the history environment data record of the terminal, according to the history environment data record, obtains moreA environmental data.
For example, the server analyzes the history environment data record, obtains and used in the history environment data recordThe common environmental data in family, alternatively, according to the history environment data record, the acquisition common environmental data type of user, then fromEnvironmental data corresponding with the environmental data type is obtained in stored multiple environmental datas.
In addition, the server can also be combined wantonly two or two or more in above-mentioned steps (1)-(4), to obtainEnvironmental data is taken, it is not limited in the embodiment of the present invention.
It should be noted that above-mentioned steps 401-402 only by the server automatically be user select environmental data for intoRow explanation, and in practical applications, it can also be selected from multiple environmental datas of server by user.It that is to say,In another embodiment provided in an embodiment of the present invention, step 401-402 can be replaced by following steps 4021 or 4022:
4021, when the terminal, which is detected, builds the selection operation of option to virtual screen, environment is sent to the serverRequest of data obtains multiple environment numbers when the server receives environmental data request from stored environmental dataAccording to, and send multiple environmental data to the terminal and show multiple environment when the terminal receives multiple environmental dataData obtain at least one environmental data that user selects from multiple environmental data, the virtual picture are sent to the serverFace structure request, virtual screen structure request includes at least one environmental data.
When the terminal, which is detected, builds the selection operation of option to virtual screen, can not sent to the server first emptyQuasi- picture structure request, but first provide multiple environmental datas to the user, by user come required when selecting structure virtual screenEnvironmental data sends virtual screen structure request to the server again later.
Specifically, which can prestore multiple environmental datas, which can provide the server to the userPre-stored environmental data.It that is to say, when which detects the selection operation to virtual screen structure option, first to the clothesBusiness device sends environmental data request, then the server obtains multiple environmental datas from stored environmental data, returns to endEnd, terminal can be that user shows multiple environmental data, at least one environmental data be selected by user, which getsAfter at least one environmental data of user's selection, you can send virtual screen structure request, the virtual picture to the serverFace structure request includes at least one environmental data, then when the server receives virtual screen structure request, directly obtainsTake at least one of virtual screen structure request environmental data.
4022, the terminal sends virtual screen structure request to the server, which receives the virtual screen structureWhen building request, obtain multiple environmental datas, be sent to the terminal, the multiple environmental data of the terminal display, obtain user from thisAt least one environmental data selected in multiple environmental datas, is sent to the server, which obtains user's selection extremelyA few environmental data.
In the embodiment of the present invention, can also terminal to server send virtual screen structure request, the server according toVirtual screen structure acquisition request therefrom selects this for building virtual screen to multiple environmental datas and then by userAt least one environmental data.
The embodiment of the present invention selects user before terminal sends virtual screen structure request, or is sent out in terminalVirtual screen structure request is sent to be selected not limit later.
403, the server builds virtual background according at least one environmental data, is built successfully to terminal transmissionMessage.
Each environmental data corresponds to a kind of article, which can determine the corresponding object of at least one environmental dataProduct, and determine the placement position of at least one article, according to determining placement position, which is carried outSynthesis, obtains virtual background, which can be used in net cast picture.Later, which can be to the terminalStructure success message is sent, to prompt user's virtual background to build successfully.
In addition, the server can also establish the correspondence between the user identifier of the terminal and the virtual background.ExampleSuch as, " storage virtual background " and the option of " not storing virtual background " when which receives structure success message, can be shown,When the user clicks when " storage virtual background " option, terminal to server sends storage request, which can establish the endCorrespondence between the user identifier at end and the virtual background, when being broadcast live again so as to subsequent user, additionally it is possible to use thisThe virtual background of structure.
For each terminal, server can establish the user of terminal after building virtual background for the terminalCorrespondence between mark and virtual background, then subsequently whenever the virtual screen structure that the server receives a certain terminal is askedWhen asking, the user identifier for including in request can be built according to the virtual screen, judge whether wrapped in established correspondenceIt is directly obtained when virtual background corresponding comprising the user identifier in correspondence containing the corresponding virtual background of the user identifierThe corresponding virtual background of the user identifier is taken, step 404 is executed, it is corresponding virtual when not including the user identifier in correspondenceWhen background, then execute step 402-403.
404, the terminal receives the structure success message, and when detecting live streaming confirmation operation, ring is presently in userBorder is shot, and video pictures are obtained.
405, the terminal sends the video pictures to the server.
When the terminal receives the structure success message, the structure success message can be shown in scene interface, to carryShow that user's virtual background is built successfully, the virtual background may be used and be broadcast live.When the terminal is detected to the virtual backgroundLive streaming confirmation operation when, determine user confirm be broadcast live using the virtual background, then the terminal proceeds by net cast.Specifically, which is presently in environment to user and is shot by camera, obtains video pictures, and send out to serverGive the video pictures.
Wherein, which can show that the live streaming to the virtual background of structure confirms option in the scene interface, this is straightIt can be the operation clicked the live streaming and confirm option to broadcast confirmation operation, alternatively, the live streaming confirmation operation can also be other operations,It is not limited in the embodiment of the present invention.
406, when the server receives the video pictures, the background in the video pictures is replaced with into the virtual back of the bodyScape obtains virtual screen.
Specifically, when the server receives the video pictures, the figure and ground in the video pictures is dividedIt cuts, and the background being partitioned into is replaced with into the virtual background, then the personage being partitioned into and the virtual background are synthesized, obtainVirtual screen.
407, each terminal of the server into the channel sends the virtual screen.
408, when the terminal receives the virtual screen, the virtual screen is shown.
When the server gets the virtual screen, the virtual screen is shown in the channel, that is to say into the channelEach terminal send the virtual screen so that each terminal display virtual screen in the channel.
The server can safeguard the user identifier list of the channel, comprising in the current channel in the user identifier listEach terminal user identifier, which can be according to the user identifier list, to the corresponding terminal of each user identifierThe virtual screen is sent, when any terminal in channel receives the virtual screen, displaying should in the scene interface of channelVirtual screen.
Optionally, can be in the net cast region at the scene interface when which shows the scene interface, showing shouldVirtual screen, can also comment of each user to live video in display channel in commenting on region.
It should be noted that the embodiment of the present invention is concerned only with the processing procedure to video pictures under live scene, and it is practicalOn, terminal can also acquire the audio-frequency information that user sends out while obtaining video pictures by camera by microphone, andThe video pictures and the audio-frequency information are sent to server, which receives the video pictures and the audio-frequency information, is inciting somebody to actionThe video pictures are handled after obtaining virtual screen, by the virtual screen and the audio-frequency information synchronize be sent in the channelTerminal, then the terminal in the channel can synchronously play the audio-frequency information, realization regards while showing the virtual screenFrequency is broadcast live.
Method provided in an embodiment of the present invention, by building request when the virtual screen for receiving terminal transmission in channelWhen, at least one environmental data is obtained, according at least one environmental data, builds virtual background, is sent out when receiving the terminalWhen the video pictures sent, the background in the video pictures is replaced with into the virtual background, obtains virtual screen, by the virtual screenIt as net cast picture, and is shown in the channel, ensure that the background in net cast picture is not current by userThe limitation of local environment, enhances diversity, improves flexibility.
Fig. 5 is a kind of structural schematic diagram of virtual screen displaying device provided in an embodiment of the present invention, referring to Fig. 5, the dressSet including:
Acquisition module 501, for when the virtual screen for receiving terminal transmission in channel builds request, obtaining at leastOne environmental data;
Module 502 is built, for according at least one environmental data, building virtual background;
Replacement module 503, for when receiving the video pictures of terminal transmission, the background in the video pictures to be replacedIt is changed to the virtual background, obtains virtual screen;
Display module 504, for showing the virtual screen in the channel.
Device provided in an embodiment of the present invention, by building request when the virtual screen for receiving terminal transmission in channelWhen, at least one environmental data is obtained, according at least one environmental data, builds virtual background, is sent out when receiving the terminalWhen the video pictures sent, the background in the video pictures is replaced with into the virtual background, obtains virtual screen, by the virtual screenIt as net cast picture, and is shown in the channel, ensure that the background in net cast picture is not current by userThe limitation of local environment, enhances diversity, improves flexibility.
Optionally, which further includes:
First corresponding relation building module, for establishing the corresponding pass between the user identifier of the terminal and the virtual backgroundSystem.
Optionally, which is additionally operable to when receiving virtual screen structure request, and it is established right to judgeWhether include the corresponding virtual background of the user identifier in should being related to;If not including that the user identifier corresponds in the correspondenceVirtual background, then obtain at least one environmental data.
Optionally, if it includes the corresponding virtual back of the body of the user identifier that the acquisition module 501, which is additionally operable to the correspondence,Scape then obtains the corresponding virtual background of the user identifier.
Optionally, which further includes:
The acquisition module 501 is additionally operable to obtain at least one environmental data of terminal upload;
Second corresponding relation building module, between the user identifier and at least one environmental data for establishing the terminalCorrespondence.
Optionally, which is additionally operable to when receiving the environmental data request of terminal transmission, from having storedEnvironmental data in obtain multiple environmental datas;Multiple environmental data is sent to the terminal so that the terminal display is multipleEnvironmental data obtains at least one environmental data that user selects from multiple environmental data;Receive being somebody's turn to do for terminal transmissionVirtual screen structure request is selected comprising user from multiple environmental data at least one in virtual screen structure requestEnvironmental data.
Optionally, which is additionally operable to, when receiving environmental data request, obtain the corresponding use of the terminalFamily data information;From stored environmental data, obtain and the matched multiple environmental datas of the subscriber information message.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutionsIt repeats one by one.
Fig. 6 is a kind of structural schematic diagram of virtual screen displaying device provided in an embodiment of the present invention, referring to Fig. 6, the dressSet including:
Build request sending module 601, for server send virtual screen structure request so that the server according toAt least one environmental data builds virtual background;
Taking module 602, for when detecting live streaming confirmation operation, being presently in environment to user and shooting, obtainTo video pictures;
Video pictures sending module 603, for sending the video pictures to the server so that the server is by the videoBackground in picture replaces with the virtual background, obtains virtual screen, and returns to the virtual screen;
Display module 604, for when receiving the virtual screen, showing the virtual screen.
Device provided in an embodiment of the present invention, by sending virtual screen structure request to server so that the serverAccording at least one environmental data, build virtual background, when detecting live streaming confirmation operation, to user be presently in environment intoRow shooting, obtains video pictures, the video pictures is sent to the server so that the server is by the background in the video picturesThe virtual background is replaced with, virtual screen is obtained, using the virtual screen as net cast picture, and returns to the virtual screen,When receiving the virtual screen, the virtual screen is shown, ensure that the background in net cast picture not by the current institute of userThe limitation for locating environment, enhances diversity, improves flexibility.
Optionally, which further includes:
Acquisition module includes multiple environmental datas in the image for obtaining the image inputted;
Environmental data sending module, for when detecting to the selection operation of any environment data in the image, to thisServer sends the selection and operates corresponding environmental data so that the server is established between user identifier and the environmental dataCorrespondence.
Optionally, which is additionally operable to work as the selection behaviour for detecting and building virtual screen optionWhen making, environmental data request is sent to the server so that the server obtains multiple environment from stored environmental dataData, and return to multiple environmental data;When receiving multiple environmental data, multiple environmental data is shown;It obtains and usesAt least one environmental data that family is selected from multiple environmental data;Virtual screen structure request is sent to the server,Virtual screen structure request includes at least one environmental data.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutionsIt repeats one by one.
It should be noted that:Above-described embodiment provide virtual screen show device when showing virtual screen, only more thanThe division progress of each function module is stated for example, in practical application, it can be as needed and by above-mentioned function distribution by differenceFunction module complete, i.e., the internal structure of equipment is divided into different function modules, with complete it is described above whole orPerson's partial function.In addition, the virtual screen displaying device that above-described embodiment provides belongs to virtual screen methods of exhibiting embodimentSame design, specific implementation process refer to embodiment of the method, and which is not described herein again.
Fig. 7 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, which can be because of configuration or propertyEnergy is different and generates bigger difference, may include one or more central processing units (central processingUnits, CPU) 722 (for example, one or more processors) and memory 732, one or more storages apply journeyThe storage medium 730 (such as one or more mass memory units) of sequence 742 or data 744.Wherein, 732 He of memoryStorage medium 730 can be of short duration storage or persistent storage.The program for being stored in storage medium 730 may include one or oneWith upper module (diagram does not mark), each module may include to the series of instructions operation in server.Further, inCentral processor 722 could be provided as communicating with storage medium 730, be executed on server 700 a series of in storage medium 730Instruction operation.
Server 700 can also include one or more power supplys 726, one or more wired or wireless networksInterface 750, one or more input/output interfaces 758, one or more keyboards 756, and/or, one or oneThe above operating system 741, such as Windows ServerTM, Mac OS XTM, UnixTM,LinuxTM, FreeBSDTMEtc..
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.The terminal can be used for implementing above-mentioned realityApply the function performed by the terminal in the virtual screen methods of exhibiting shown by example.Specifically:
Terminal 800 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more metersThe memory 120 of calculation machine readable storage medium storing program for executing, display unit 140, sensor 150, voicefrequency circuit 160, passes input unit 130Defeated module 170, include there are one or more than one processing core processor 180 and the components such as power supply 190.This fieldTechnical staff is appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 8, may include than illustrate it is more orLess component either combines certain components or different components arrangement.Wherein:
RF circuits 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base stationAfter downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent toBase station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, useFamily identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexDevice etc..In addition, RF circuits 110 can also be communicated with network and other-end by radio communication.The wireless communication can makeWith any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirelyBall mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (CodeDivision Multiple Access, CDMA), WCDMA (Wideband Code Division MultipleAccess, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (ShortMessaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, the terminal institute as shown by the above exemplary embodimentsCorresponding software program and module, processor 180 are stored in the software program and module of memory 120 by operation, fromAnd application and data processing are performed various functions, such as realize the interaction based on video.Memory 120 can include mainly storageProgram area and storage data field, wherein storing program area can storage program area, the application program needed at least one function(such as sound-playing function, image player function etc.) etc.;Storage data field can be stored to be created according to using for terminal 800Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 120 may include high-speed random access memoryIncluding nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-statesPart.Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to storageThe access of device 120.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and functionControl related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touchingSensitive surfaces 131 and other input terminals 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are usedFamily on it or neighbouring touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive tableOperation on face 131 or near touch sensitive surface 131), and corresponding linked set is driven according to preset formula.It is optional, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is usedThe touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touchTouch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wavesRealize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input terminals 132.Specifically,Other input terminals 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for showing information input by user or the information and terminal 800 that are supplied to userVarious graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be usedShow device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touchesAfter touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch eventCorresponding visual output is provided on display panel 141.Although in fig. 8, touch sensitive surface 131 and display panel 141 are conductsTwo independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and displayPanel 141 is integrated and realizes and outputs and inputs function.
Terminal 800 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensingsDevice.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 800 is moved in one's earPanel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generallyThree axis) acceleration size, size and the direction of gravity are can detect that when static, can be used to identify mobile phone posture application (ratioSuch as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);ExtremelyIn other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 800 can also configure, hereinIt repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 800.AudioThe transformed electric signal of the audio data received can be transferred to loud speaker 161 by circuit 160, and sound is converted to by loud speaker 161Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160Audio data is converted to, then by after the processing of audio data output processor 180, through RF circuits 110 to be sent to such as another endEnd, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack,To provide the communication of peripheral hardware earphone and terminal 800.
Terminal 800 can help user to send and receive e-mail, browse webpage and access streaming video by transmission module 170Deng, it provided to the user broadband internet wirelessly or non-wirelessly access.It, can be with although Fig. 8 shows transmission module 170Understand, and is not belonging to must be configured into for terminal 800, it completely can be as needed in the range for the essence for not changing inventionIt is interior and omit.
Processor 180 is the control centre of terminal 800, and each portion of whole mobile phone is linked using various interfaces and circuitPoint, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120Interior data execute the various functions and processing data of terminal 800, to carry out integral monitoring to mobile phone.Optionally, processor180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothingLine communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 800 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricityManagement system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management systemThe functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply eventHinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 800 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this realityIt applies in example, the display unit of terminal is touch-screen display, and terminal further includes having memory and one or more than oneProgram, either more than one program is stored in memory and is configured to by one or more than one processing for one of themIt includes for implementing the instruction operated performed by terminal in above-described embodiment that device, which executes said one or more than one program,.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardwareIt completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readableIn storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit andWithin principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.