The content of the invention
The purpose of the present invention is what is be achieved through the following technical solutions.
According to the embodiment of the present invention, a kind of Distributed Virtual Reality System is proposed, the system comprises multiple distributions
Formula mobile terminal and cloud server, virtual machine, the mobile terminal and high in the clouds clothes are provided with the mobile terminal
Business device passes through LTE-A wireless network connections;Wherein,
The virtual machine includes the first LTE-A wireless transmit/receive units, response interface, instruction demodulating unit, outdoor scene and obtains list
Member, standard point determination unit, information package transmission unit, realtime graphic frame decoding demodulating unit, real-time virtual image are drawn single
Member;
The cloud server includes the 2nd LTE-A wireless transmit/receive units, data packet demodulating unit, actual situation conversion foundation list
Member, assembled unit, virtual reality construction unit, virtual reality collision detection unit, virtual reality reliability judging unit, actual situation
Update adjustment unit and realtime graphic frame coded modulation unit;
The first LTE-A wireless transmit/receive units input terminal connects the 2nd LTE-A wireless transmit/receive units, and output terminal connects respectively
Connect the 2nd LTE-A wireless transmit/receive units, response interface and realtime graphic frame decoding demodulating unit, the output of the response interface
End is sequentially connected instruction demodulating unit, outdoor scene obtaining unit, standard point determination unit, information package transmission unit, described information
Pack transmission unit output terminal connect the first LTE-A wireless transmit/receive units, the realtime graphic frame decoding demodulating unit it is defeated
Outlet connects real-time virtual image image-drawing unit;
The output terminal of the 2nd LTE-A wireless transmit/receive units is sequentially connected data packet demodulating unit, actual situation conversion is established
Unit, assembled unit, virtual reality construction unit, the output terminal of virtual reality construction unit connect virtual reality conflict inspection respectively
Survey unit, virtual reality reliability judging unit and actual situation renewal adjustment unit, the virtual reality collision detection unit and
Virtual reality reliability judging unit obtains output terminal and connects actual situation renewal adjustment unit respectively, the actual situation renewal adjustment unit
Output terminal connects realtime graphic frame coded modulation unit, the output terminal connection second of the realtime graphic frame coded modulation unit
LTE-A wireless transmit/receive units.
According to the embodiment of the present invention, the first LTE-A wireless transmit/receive units be used for realization with cloud server and
The transmitting-receiving operation of other mobile terminals;
The response interface, the operation requests for receiving cloud server instruct or the cooperation of other mobile terminals request
Message;
Described instruction demodulating unit, for the operation requests instruction or the cooperation of other mobile terminals of cloud server to be asked
Seek the execute instruction that message demodulation is virtual machine;
The outdoor scene obtaining unit is used for according to the image acquisition execute instruction that demodulates of instruction demodulating unit, and acquisition will be into
The live true picture of row actual situation conversion;
The standard point determination unit is used for images acquisition locations and view direction according to the outdoor scene, obtains predetermined model
Standard point and corresponding standard point information in enclosing, the standard point information include the positional information of corresponding standard point;
Described information packing transmission unit, live true picture and standard point for outdoor scene unit to be obtained determine list
The definite standard point of member and corresponding standard point information are packed, and are sent by the first LTE-A wireless transmit/receive units to cloud
Hold server.
According to the embodiment of the present invention, the realtime graphic frame decoding demodulating unit, for the cloud service to reception
The accurate virtual view data that device is sent is decoded and demodulated;
The real-time virtual image image-drawing unit, for the map data after being demodulated to decoding and shows interactive virtual field
Scape.
According to the embodiment of the present invention, the 2nd LTE-A wireless transmit/receive units are used for realization with distributed movement eventually
The wireless communication at end;
The data packet demodulating unit, for the packaged data bag of reception to be stored and demodulated, and will demodulate
True picture information and standard point information are sent to the actual situation conversion and establish unit;
The actual situation conversion establishes unit and is used to establish actual situation mapping graph, by acquired standard point according between standard point
Mutual alignment relationship map on the actual situation mapping graph, and corresponding standard point letter is added in the position for being mapped with standard point
Breath identification mark;
The assembled unit is used for the actual situation mapping graph added with standard point information identification mark and the real scene image
Combination, to form gain combination image.
According to the embodiment of the present invention, the virtual reality construction unit, for according to default constructing plan and institute
Gain combination image is stated, performs corresponding computing and virtual drawing, and virtual drawing is sent to actual situation renewal adjustment unit, void
Intend realistic collisions detection unit and virtual reality reliability judging unit;The virtual reality construction unit includes one by scheming
The virtual image-drawing unit of joint formed as processing unit group;After all virtual realities of task convert, the joint
Virtual image-drawing unit carries out 3D and virtually draws, and 3D is virtually drawn and is sent to actual situation renewal adjustment unit, virtual reality conflict
Detection unit and virtual reality reliability judging unit.
According to the embodiment of the present invention, the virtual reality collision detection unit is used for according to virtual reality construction unit
Virtual draw perform virtual reality collision detection, and testing result is exported to actual situation and updates adjustment unit;
The virtual reality reliability judging unit is used to be performed to obtaining according to virtual draw of virtual reality construction unit
The detection of the virtual image reliability taken, and testing result is exported to actual situation and updates adjustment unit.
According to the embodiment of the present invention, the actual situation renewal adjustment unit is used for according to the virtual reality construction unit
The virtual drawing of generation and the testing result of virtual reality collision detection unit and virtual reality reliability judging unit are to void
Intend drawing and be updated adjusting, to generate accurate virtual image;
The realtime graphic frame coded modulation unit, for carrying out coded modulation to the accurate virtual image of generation, and will
It is sent to the realtime graphic frame decoding demodulating unit of the mobile terminal.
The Distributed Virtual Reality System of the present invention includes multiple distributed mobile terminals and cloud server, the shifting
Virtual machine is installed, the virtual machine includes outdoor scene obtaining unit, standard point determination unit, information package transmission list in dynamic terminal
Member, realtime graphic frame decoding demodulating unit, real-time virtual image image-drawing unit;The cloud server includes actual situation conversion and establishes
Unit, assembled unit, virtual reality construction unit, virtual reality collision detection unit, virtual reality reliability judging unit, void
Real renewal adjustment unit and realtime graphic frame coded modulation unit, by the design of the present invention, solve in actual situation conversion
Conflict and unreliability problem, improve user experience.
Embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although this public affairs is shown in attached drawing
The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here
The mode of applying is limited.Conversely, there is provided these embodiments are to be able to be best understood from the disclosure, and can be by this public affairs
The scope opened completely is communicated to those skilled in the art.
According to the embodiment of the present invention, a kind of Distributed Virtual Reality System is proposed, as shown in Figure 1, the system
Including multiple distributed mobile terminals and cloud server, virtual machine, the mobile terminal are installed on the mobile terminal
Pass through LTE-A wireless network connections with the cloud server;Wherein,
The virtual machine includes the first LTE-A wireless transmit/receive units, response interface, instruction demodulating unit, outdoor scene and obtains list
Member, standard point determination unit, information package transmission unit, realtime graphic frame decoding demodulating unit, real-time virtual image are drawn single
Member;
The cloud server includes the 2nd LTE-A wireless transmit/receive units, data packet demodulating unit, actual situation conversion foundation list
Member, assembled unit, virtual reality construction unit, virtual reality collision detection unit, virtual reality reliability judging unit, actual situation
Update adjustment unit and realtime graphic frame coded modulation unit;
The first LTE-A wireless transmit/receive units input terminal connects the 2nd LTE-A wireless transmit/receive units, and output terminal connects respectively
Connect the 2nd LTE-A wireless transmit/receive units, response interface and realtime graphic frame decoding demodulating unit, the output of the response interface
End is sequentially connected instruction demodulating unit, outdoor scene obtaining unit, standard point determination unit, information package transmission unit, described information
Pack transmission unit output terminal connect the first LTE-A wireless transmit/receive units, the realtime graphic frame decoding demodulating unit it is defeated
Outlet connects real-time virtual image image-drawing unit;
The output terminal of the 2nd LTE-A wireless transmit/receive units is sequentially connected data packet demodulating unit, actual situation conversion is established
Unit, assembled unit, virtual reality construction unit, the output terminal of virtual reality construction unit connect virtual reality conflict inspection respectively
Survey unit, virtual reality reliability judging unit and actual situation renewal adjustment unit, the virtual reality collision detection unit and
Virtual reality reliability judging unit obtains output terminal and connects actual situation renewal adjustment unit respectively, the actual situation renewal adjustment unit
Output terminal connects realtime graphic frame coded modulation unit, the output terminal connection second of the realtime graphic frame coded modulation unit
LTE-A wireless transmit/receive units.
According to the embodiment of the present invention, the first LTE-A wireless transmit/receive units be used for realization with cloud server and
The transmitting-receiving operation of other mobile terminals;
The response interface, the operation requests for receiving cloud server instruct or the cooperation of other mobile terminals request
Message;
Described instruction demodulating unit, for the operation requests instruction or the cooperation of other mobile terminals of cloud server to be asked
Seek the execute instruction that message demodulation is virtual machine;
Outdoor scene obtaining unit is used for the image acquisition execute instruction demodulated according to instruction demodulating unit, and acquisition will carry out void
The live true picture that real-turn is changed;
Standard point determination unit is used for images acquisition locations and view direction according to the outdoor scene, obtains in preset range
Standard point and corresponding standard point information, the standard point information include the positional information of corresponding standard point;
Described information packing transmission unit, live true picture and standard point for outdoor scene unit to be obtained determine list
The definite standard point of member and corresponding standard point information are packed, and are sent by the first LTE-A wireless transmit/receive units to cloud
Hold server;
The realtime graphic frame decoding demodulating unit, the accurate virtual picture number for the cloud server transmission to reception
According to being decoded and demodulated;
The real-time virtual image image-drawing unit, for the map data after being demodulated to decoding and shows interactive virtual field
Scape.
According to the embodiment of the present invention, the 2nd LTE-A wireless transmit/receive units are used for realization with distributed movement eventually
The wireless communication at end;
The data packet demodulating unit, for the packaged data bag of reception to be stored and demodulated, and will demodulate
True picture information and standard point information are sent to the actual situation conversion and establish unit;
The actual situation conversion establishes unit and is used to establish actual situation mapping graph, by acquired standard point according between standard point
Mutual alignment relationship map on the actual situation mapping graph, and corresponding standard point letter is added in the position for being mapped with standard point
Breath identification mark;
The assembled unit is used for the actual situation mapping graph added with standard point information identification mark and the real scene image
Combination, to form gain combination image;
The virtual reality construction unit, for according to default constructing plan and the gain combination image, performing phase
The computing answered and it is virtual draw, and virtual will draw be sent to actual situation renewal adjustment unit, virtual reality collision detection unit, with
And virtual reality reliability judging unit;The virtual reality construction unit includes a connection being made of image processing unit group
Close virtual image-drawing unit;After all virtual realities of task convert, it is virtual that the virtual image-drawing unit of joint carries out 3D
Draw, and 3D is virtually drawn into transmission to actual situation renewal adjustment unit, virtual reality collision detection unit and virtual reality can
By property judging unit;
The virtual reality collision detection unit is used to be performed according to the virtual drawing of virtual reality construction unit virtual existing
Real collision detection, and testing result is exported to actual situation and updates adjustment unit;
The virtual reality reliability judging unit is used to be performed to obtaining according to virtual draw of virtual reality construction unit
The detection of the virtual image reliability taken, and testing result is exported to actual situation and updates adjustment unit;
The actual situation updates virtual drawing and the void that adjustment unit is used to generate according to the virtual reality construction unit
The testing result for intending realistic collisions detection unit and virtual reality reliability judging unit is updated adjusting to virtual drawing, with
Generate accurate virtual image;
The realtime graphic frame coded modulation unit, for carrying out coded modulation to the accurate virtual image of generation, and will
It is sent to the realtime graphic frame decoding demodulating unit of the mobile terminal.
According to the embodiment of the present invention, the actual situation conversion is established unit and is specifically included:
Compartmentalization unit, for establishing the actual situation mapping graph, and the actual situation mapping graph is divided into multiple uniform
Region;
Standard point map unit, for by acquired standard point according to the mutual alignment relation between standard point by adopting
Sample conversion is mapped in the corresponding region of the actual situation mapping graph respectively;
Identification mark adding device, for adding corresponding standard point information identification mark on the region for be mapped with standard point
Note.
According to the embodiment of the present invention, unit is established in the actual situation conversion can also further include:Region parameter is set
Put unit, for setting the parameter in the region, the parameter include showing when showing the virtual image region or
Hide the region.
According to the embodiment of the present invention, the assembled unit specifically includes:
Target image establishes unit, for choosing the image of a secondary outdoor scene as target image;
Unit is established at basic angle, for calculating the actual situation mapping graph visually parallel to flat in the target image
During face, the angle between the actual situation mapping graph and physical plane, sets the angle as basic angle;
Deflection matrix operation unit, for the direction angular moment between real scene image described in computing and the target image
Battle array;
Recombiner unit, for that according to the deflection matrix and the basic angle, standard point information will be added with and identified
The actual situation mapping graph of mark is compound in the real scene image.
According to the embodiment of the present invention, the virtual reality collision detection unit is according to the void of virtual reality construction unit
Intend drawing execution virtual reality collision detection to specifically include:
The calibration point extraction of A1, target frame, target two field picture is extracted from virtual Drawing image, carries out image in the picture
Segmentation, obtains the coordinate (X of calibration point in displaing coordinate system1、X2、X3、X4);
Scenery movement estimation in A2, actual scene, the conversion by computing reality coordinate system to displaing coordinate system
Matrix, obtains the coordinate (Y under corresponding real coordinate system1、Y2、Y3、Y4);After calibration point is obtained, calculate and obtain conflict plane
Normal vector;Then calculate the quality point C of entry/exit conflicts plane;And the actual scenery of particular moment is tried to achieve by the movement of quality point
Motion vector;
A3, the space geometric from for establishing virtual scene, are considered as sphere by virtual scene, using ball as space geometric from,
Space geometric from tree is established to virtual scene;
A4, based on cloud computing be detected actual situation conflict, specifically includes:
A41, the quantity according to actual situation collision detection node, are grouped virtual scene space geometric from tree;Will be each
The identifier of space geometric from is denoted as ID, its quality point G and radius r are denoted as Gr, obtain initial data<ID, Gr>;
A42, by each group initial data<ID, Gr>It is sent into actual situation collision detection node and carries out actual situation collision detection;
It is approximately a sphere by virtual scene, virtual scene conflicts with actual scenery regards conflicting for ball and plane as;
The distance of the quality point G of virtual scene ball to conflict plane is vectorial Y1Projection ds of the G on normal vector;At this time
The precondition of collision detection is:D≤τ r, wherein r are the radius of ball, and τ is that the distance of G to conflict plane accounts for the ratio of r;
Such as it is unsatisfactory for condition and does not produce actual situation conflict.When meeting this condition, then quality point G is calculated in conflict plane
Project G ';And judge whether that G ' inside the conflict area for having calibration point to be surrounded, is rushed if this condition is met
It is prominent;Quality point G is charged in Gr in the projection G ' of conflict plane, obtains new data<ID, Gr '>;
A43, general<ID, Gr '>Actual situation conflict response node is sent into, judges the information of conflict point whether is included in Gr ', is
It is no there occurs actual situation conflict, if actual situation conflict does not occur, the motion vector of next frame virtual scene and this frame virtual scene
Motion vector it is identical;Such as there occurs actual situation conflict, then send collision detection result to actual situation and update adjustment unit.
According to the embodiment of the present invention, the virtual reality reliability judging unit is according to virtual reality construction unit
The virtual detection performed to the virtual image reliability of acquisition of drawing specifically includes:
C1, virtually drawing as main with reference to collecting using virtual reality construction unit, real scene image collects as auxiliary reference, structure
Virtual reality scenario iterative data is grouped;And using the optical imagery difference of virtual objects and true picture, choose actual situation packet
Feature;The actual situation grouping feature of the selection includes partial statistics, plane of delineation gradient or second fundamental form etc., in image
It can extract to obtain the corresponding above-mentioned actual situation grouping feature of the point at each pixel;
C2, in iterative data packet, using actual situation grouping feature, extract the region of virtual reality scenario and outdoor scene respectively
Main body characteristic, builds stage resolution ratio actual situation burster;It is right in iterative data packet during the structure stage resolution ratio burster
Virtual reality scenario image, only chooses virtual objects region as main with reference to collection region;And to real scene image, only choose and main ginseng
Collect region as auxiliary reference according to the region that virtual objects are similar is concentrated;For given image-region, calculate every in region
The actual situation grouping feature of a bit;The given just auxiliary actual situation grouping feature with reference to collection region is pressed away from compression method using used
Contracting, obtains the corresponding region main body characteristic in the region;By the just auxiliary region main body characteristic set input support vector machines with reference to collection
Packet is trained, and obtains stage resolution ratio actual situation burster;
C3, in iterative data packet, using actual situation grouping feature, extract the region of virtual reality scenario and outdoor scene respectively
Contrast characteristic, builds region class actual situation burster;It is right in iterative data packet during the structure region class actual situation burster
In just auxiliary with reference to collection region, subject area to be determined itself will be considered as;And by the homalographic outside regional space solid
Rectangular area is considered as the background area residing for object;Extracting object region and the actual situation packet of every bit in background area are special respectively
Sign;Objects of statistics region actual situation grouping feature corresponding with all the points in background area, respectively constitutes the connection of subject area feature
Close distribution histogram and the joint distribution histogram of background area feature;Normal state squared-distance between two histograms of computing,
It is regarded as weighing poor another characteristic between object and its residing background, is known as regional correlation feature;By the just auxiliary reference of extraction
The regional correlation characteristic set input support vector machines packet of collection is trained, and obtains region class actual situation burster;
C4, given test virtual reality scenario, are examined using stage resolution ratio actual situation burster and small-bore detected envelope
Survey, obtain the Virtual matching figure for reflecting each pixel actual situation group result;The Virtual matching figure construction step includes:For defeated
The virtual reality scenario image entered, entire image is scanned using small-bore detected envelope with less stride;The each osculum of computing
The region main body characteristic of small image block in the detected envelope of footpath;The region main body characteristic of all small image blocks is input to resolution ratio
In level actual situation burster, the region main body characteristic evaluation of each small image block is obtained, evaluating high expression stage resolution ratio burster will
The degree of certainty that the image block is grouped into virtual region is high;Since the size of detected envelope with respect to entire image very little and is distributed close
Collection, therefore the region main body characteristic evaluation of each small image block can be mapped to the center pixel of the image block, and made
For the Virtual matching of the central pixel point;Thus constitute the Virtual matching figure of whole virtual reality scenario image;
C5, define virtual reliability graph, and on the basis of Virtual matching figure, splits to obtain test virtually using image
The virtual reliability graph of reality scene;The virtual reliability graph structure includes:Virtual for virtual reality scenario image is commented
Valency figure carries out image dividing processing, and it is positive point to record all Virtual matchings;One fixed percentage N% is set, records institute
Having Virtual matching, the location on original image, these points are known as high Virtual Calibration for the preceding N% of positive point and these points
Point;One fixation and relatively small constant M are set, record preceding M point and these points that all Virtual matchings are positive point
The location of on original image, these points are known as highest Virtual Calibration point;It can ensure that highest is virtually marked by parameter setting
Fixed point is also contained in the set where high Virtual Calibration point at the same time, i.e. highest Virtual Calibration point is virtually commented in high Virtual Calibration point
It is worth a highest part;Positional information on comprehensive high Virtual Calibration point, highest Virtual Calibration point and its place original image, structure
Into virtual reliability graph;
C6, based on virtual reliability graph, carry out virtual objects and obscure positioning, obtain obscuring for virtual object space solid
Shape and position;The blurred shapes for obtaining virtual object space solid and position are specially:It is virtual reliable to what is obtained
Property figure is classified as multiple subgraphs, tries to achieve the distribution center of the high Virtual Calibration point in each subgraph respectively;Subgraph center is regarded
For the virtual objects central point of candidate, distinguish outside expanded search from each central point, it is densely distributed to obtain high Virtual Calibration point
Region;For the densely distributed region of high Virtual Calibration point, Approximate Calculation goes out the candidate target shape in the region respectively, ties
The positional information in the region is closed, forms virtual objects preliminary candidate region;It is each according to its in virtual objects preliminary candidate region
The number of self-contained high Virtual Calibration point and highest Virtual Calibration point, selects one of weighted number at most, as
Virtual objects candidate region, the region contain virtual object space solid blurred shapes and positional information;
C7, obscure on the basis of positioning in virtual objects, empty using region class in virtual reality scenario image is tested
Real burster and heavy caliber detected envelope is detected, and obtains the final detection result of virtual objects;The virtual objects detection
Method is specially:The intensive sampling around the virtual objects candidate region in testing virtual reality scenario, constructs multiple phase mutual respects
Folded detected envelope, and using area level actual situation burster is grouped, and is chosen and is evaluated best detected envelope as virtual right
The final detection result of elephant.
According to the embodiment of the present invention, the actual situation renewal adjustment unit is generated according to the virtual reality construction unit
Virtual draw and the testing result of virtual reality collision detection unit and virtual reality reliability judging unit is to virtually painting
Figure is updated adjusting, is specifically included with generating accurate virtual image:When actual situation collision detection result is actual situation conflict or void
When the real reliability judging result of plan is unreliable, selection abandons the virtual image frame being currently generated, and estimates that next frame is virtual
The movement position of scenery, reacquires real scene image and generates new virtual image.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art the invention discloses technical scope in, the change or replacement that can readily occur in,
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should the protection model with claim
Subject to enclosing.