A kind for the treatment of method and apparatus of virtual reality technology in traffic designTechnical field
The present invention relates to a kind of processing of technical field of information processing more particularly to virtual reality technology in traffic designMethod and apparatus.
Background technology
At present, with economic continuous development, the popularity rate of automobile is higher and higher, traffic problems getting worse.Traffic is advisedMeter is delineated to alleviate congested traffic condition, ensuring to play great function in the coast is clear.
But present inventor during inventive technique scheme, has found above-mentioned technology extremely in the embodiment of the present application is realizedIt has the following technical problems less:
In the prior art, it is impossible to which traffic planning and design is emulated, it is impossible to optimal traffic planning and design is found out, to roadRoad construction brings hidden danger.
Invention content
An embodiment of the present invention provides a kind for the treatment of method and apparatus of virtual reality technology in traffic design, solveTraffic planning and design is unable to analogue simulation in the prior art, it is impossible to the technical issues of finding out optimal traffic planning and design scheme,Reach and traffic planning and design has been simulated using virtual reality technology, found out the technology of optimal traffic planning and design schemeEffect.
In view of the above problems, it is proposed that the embodiment of the present application is in order to provide a kind of virtual reality technology in traffic designTreating method and apparatus.
In a first aspect, the processing method the present invention provides a kind of virtual reality technology in traffic design, the methodIncluding:Obtain the first traffic planning and design model;According to the first traffic planning and design model, the virtual reality skill is utilizedArt obtains the first virtual scene;Obtain the first parameter of first virtual scene, first parameter is used for characterizing described theFirst vehicle flowrate of one traffic programme;The vehicle quantity and vehicle speed in the first virtual scene are obtained according to the vehicle flowrate;According toThe first traffic planning and design model obtains the first rule of each traffic light and traffic lights;Referred to according to each trafficShow lamp, the first rule of traffic lights, vehicle quantity and vehicle speed, obtain the driving mode of all vehicles;According to the traveling of all vehiclesMode and first virtual scene, determine the second virtual scene, and second virtual scene is first traffic designSimulate usage scenario.
Preferably, the method further includes:Obtain the first application time of second virtual scene;Obtain described secondApplication effect of the virtual scene in first application time;When the application effect reaches expected standard, described in acquisitionSecond parameter of the first virtual scene, second parameter are used for characterizing the second vehicle flowrate of the traffic programme, wherein, it is describedVehicle quantity in second vehicle flowrate is more than the vehicle quantity in first vehicle flowrate.
Preferably, the method further includes:Obtain the second application time of second virtual scene;Obtain described secondApplication effect of the virtual scene in second application time;When the application effect reaches expected standard, traffic is obtainedLamp Second Rule, wherein the traffic lights Second Rule is different from first rule of traffic lights.
Preferably, the method further includes:The second traffic programme is obtained according to the first traffic planning and design model to setModel is counted, wherein, the second traffic planning and design model first traffic planning and design variation part traffic that compares is setIt applies;Third virtual scene is determined according to the second traffic planning and design model.
Second aspect, the present invention provides a kind of processing unit of virtual reality technology in traffic design, described devicesIncluding:
First obtains unit, the first obtains unit is for the first traffic planning and design model of acquisition;
Second obtaining unit, second obtaining unit are used for according to the first traffic planning and design model, utilize instituteIt states virtual reality technology and obtains the first virtual scene;
Third obtaining unit, the third obtaining unit is used to obtain the first parameter of first virtual scene, describedFirst parameter is used for characterizing the first vehicle flowrate of first traffic programme;
4th obtaining unit, the 4th obtaining unit are used to obtain the vehicle in the first virtual scene according to the vehicle flowrateQuantity and vehicle speed;
5th obtaining unit, the 5th obtaining unit are used to be obtained according to the first traffic planning and design model eachThe first rule of traffic light and traffic lights;
6th obtaining unit, the 6th obtaining unit are used to be advised according to each traffic light, traffic lights firstThen, vehicle quantity and vehicle speed obtain the driving mode of all vehicles;
First determination unit, first determination unit are used for driving mode and first void according to all vehiclesIntend scene, determine the second virtual scene, second virtual scene is the simulation usage scenario of first traffic design.
Preferably, described device further includes:
7th obtaining unit, the 7th obtaining unit are used to obtain the first application time of second virtual scene;
8th obtaining unit, the 8th obtaining unit are used to obtain second virtual scene when described first appliesInterior application effect;
9th obtaining unit, the 9th obtaining unit are used for when the application effect reaches expected standard, obtain instituteThe second parameter of the first virtual scene is stated, second parameter is used for characterizing the second vehicle flowrate of the traffic programme, wherein, instituteState the vehicle quantity that the vehicle quantity in the second vehicle flowrate is more than in first vehicle flowrate.
Preferably, described device further includes:
Tenth obtaining unit, the tenth obtaining unit are used to obtain the second application time of second virtual scene;
11st obtaining unit, the 11st obtaining unit should described second for obtaining second virtual sceneWith the application effect in the time;
12nd obtaining unit, the 12nd obtaining unit are used for when the application effect reaches expected standard, obtainTraffic lights Second Rule is obtained, wherein the traffic lights Second Rule is different from first rule of traffic lights.
Preferably, described device further includes;
13rd obtaining unit, 13 obtaining units of the ground are used to be obtained according to the first traffic planning and design modelSecond traffic planning and design model, wherein, the second traffic planning and design model compares the first traffic planning and design modelChange part means of transportation;
Second determination unit, second determination unit are used to determine third according to the second traffic planning and design modelVirtual scene.
The third aspect, the present invention provides a kind of information processing unit of virtual reality technology in traffic design, includingMemory, processor and storage on a memory and the computer program that can run on a processor, the processor execution instituteFollowing steps are realized when stating program:Obtain the first traffic planning and design model;According to the first traffic planning and design model, profitThe first virtual scene is obtained with the virtual reality technology;Obtain the first parameter of first virtual scene, first ginsengNumber is used for characterizing the first vehicle flowrate of first traffic programme;Vehicle number in first virtual scene is obtained according to the vehicle flowrateAmount and vehicle speed;The first rule of each traffic light and traffic lights is obtained according to the first traffic planning and design model;RootAccording to each traffic light, the first rule of traffic lights, vehicle quantity and vehicle speed, the driving mode of all vehicles is obtained;According toThe driving mode of all vehicles and first virtual scene, determine the second virtual scene, and second virtual scene is instituteState the simulation usage scenario of the first traffic design.
Said one or multiple technical solutions in the present patent application embodiment at least have following one or more technologiesEffect:
1. a kind of processing method of the virtual reality technology provided by the embodiments of the present application in traffic design, the method packetIt includes:Obtain the first traffic planning and design model;According to the first traffic planning and design model, the virtual reality technology is utilizedObtain the first virtual scene;The first parameter of first virtual scene is obtained, first parameter is used for characterizing described firstFirst vehicle flowrate of traffic programme;The vehicle quantity and vehicle speed in the first virtual scene are obtained according to the vehicle flowrate;According to instituteIt states the first traffic planning and design model and obtains the first rule of each traffic light and traffic lights;It is indicated according to each trafficLamp, the first rule of traffic lights, vehicle quantity and vehicle speed obtain the driving mode of all vehicles;According to the traveling side of all vehiclesFormula and first virtual scene, determine the second virtual scene, and second virtual scene is the mould of first traffic designIntend usage scenario.It solves traffic planning and design in the prior art and is unable to analogue simulation, it is impossible to find out optimal traffic programme and setThe technical issues of meter scheme, has been reached and traffic planning and design has been simulated using virtual reality technology, finds out optimal trafficThe technique effect of planning and design scheme.
2. the embodiment of the present application is by obtaining the first application time of second virtual scene;It is virtual to obtain described secondApplication effect of the scene in first application time;When the application effect reaches expected standard, described first is obtainedSecond parameter of virtual scene, second parameter are used for characterizing the second vehicle flowrate of the traffic programme, wherein, described secondVehicle quantity in vehicle flowrate is more than the vehicle quantity in first vehicle flowrate, reaches by changing vehicle flowrate, traffic programme is setIt counts model and carries out simulating, verifying, find the technique effect of optimal traffic planning and design model.
3. the embodiment of the present application is by obtaining the second application time of second virtual scene;It is virtual to obtain described secondApplication effect of the scene in second application time;When the application effect reaches expected standard, traffic lights the is obtainedTwo rules, wherein the traffic lights Second Rule is different from first rule of traffic lights.Reach by changing traffic lightsRule, simulating, verifying is carried out to traffic planning and design model, finds the technique effect of optimal traffic planning and design model.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage canIt is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
Fig. 1 is a kind of flow signal of processing method of virtual reality technology in traffic design in the embodiment of the present inventionFigure;
Fig. 2 is a kind of structural representation of processing unit of virtual reality technology in traffic design in the embodiment of the present inventionFigure.
Specific embodiment
An embodiment of the present invention provides a kind for the treatment of method and apparatus of virtual reality technology in traffic design, solveTraffic planning and design is unable to analogue simulation in the prior art, it is impossible to the technical issues of finding out optimal traffic planning and design scheme,Reach and traffic planning and design has been simulated using virtual reality technology, found out the technology of optimal traffic planning and design schemeEffect.
Technical solution general thought provided by the invention is as follows:
Obtain the first traffic planning and design model;According to the first traffic planning and design model, virtually showed using describedReal technology obtains the first virtual scene;The first parameter of first virtual scene is obtained, first parameter is used for characterizing instituteState the first vehicle flowrate of the first traffic programme;The vehicle quantity and vehicle speed in the first virtual scene are obtained according to the vehicle flowrate;The first rule of each traffic light and traffic lights is obtained according to the first traffic planning and design model;According to each friendshipLogical indicator light, the first rule of traffic lights, vehicle quantity and vehicle speed obtain the driving mode of all vehicles;According to all vehiclesDriving mode and first virtual scene, determine the second virtual scene, and second virtual scene is set for first trafficThe simulation usage scenario of meter.It solves traffic planning and design in the prior art by the above method and is unable to analogue simulation, it is impossible to look forThe technical issues of going out optimal traffic planning and design scheme has reached and has carried out mould to traffic planning and design using virtual reality technologyIntend, find out the technique effect of optimal traffic planning and design scheme.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the applicationSpecific features in embodiment and embodiment are to the detailed description of technical scheme rather than to present techniquesThe restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, expression may have three kinds of passesSystem, for example, A and/or B, can represent:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, hereinMiddle character "/", it is a kind of relationship of "or" to typically represent forward-backward correlation object.
Embodiment one
Fig. 1 is the flow diagram of processing method of the virtual reality technology in traffic design in the embodiment of the present invention.Such asShown in Fig. 1, the method includes:
Step 1:Obtain the first traffic planning and design model.
Specifically, according to the traffic in somewhere, the traffic planning and design model of this area, i.e. the first traffic are createdRule designs a model, and first traffic rules design a model including traffic route, vehicle flowrate, traffic rules, traffic lightEtc. information.The somewhere can be a city, a region or certain a road section, and the present invention is not limited herein.
Step 2:According to the first traffic planning and design model, the first virtual field is obtained using the virtual reality technologyScape.
Specifically, according to the information that first traffic rules design a model, virtual reality skill is utilized in a computerArt carries out three-dimensional reconstruction to the first traffic rules model, obtains first virtual scene.
Step 3:The first parameter of first virtual scene is obtained, first parameter is used for characterizing first trafficFirst vehicle flowrate of planning;
Specifically, first virtual scene is designed a model according to first traffic rules, led to by many parametersIt crosses virtual technology to rebuild, one of parameter is used for representing vehicle flowrate.Described is obtained from first virtual sceneThe information of vehicle flowrate of one traffic programme, i.e. the first information of vehicle flowrate.
Step 4:The vehicle quantity and vehicle speed in the first virtual scene are obtained according to the vehicle flowrate.
Specifically, it is obtained in first virtual scene in a certain period of time according to first information of vehicle flowrateVehicle quantity and vehicle speed, the certain time period can be one hour, one day or one week, and the present invention is not limited herein.
Step 5:The first rule of each traffic light and traffic lights is obtained according to the first traffic planning and design model.
Specifically, traffic light and the operating condition of traffic lights are directly related to the operating condition of traffic.From describedDuring first traffic rules design a model, sometime interior each traffic light and the operation rule of traffic lights, i.e. traffic are obtainedThe first rule of indicator light and traffic lights.
Step 6:According to each traffic light, the first rule of traffic lights, vehicle quantity and vehicle speed, all vehicles are obtainedDriving mode.
Specifically, the driving mode of vehicle is travelled according to the instruction of traffic light and traffic lights, vehicle quantity andCar speed influences the driving mode of vehicle.According to each traffic light, the first rule of traffic lights, vehicle quantity and speedDegree can obtain the driving mode of all vehicles.
Step 7:According to the driving mode of all vehicles and first virtual scene, the second virtual scene, institute are determinedState the simulation usage scenario that the second virtual scene is first traffic design.
Specifically, according to the driving mode of all vehicles and first virtual scene, void is utilized in a computerIntend reality technology, build the second virtual scene, first traffic design is simulated in second virtual scene, withFind out optimal traffic planning and design model.
Further, the method further includes:Obtain the first application time of second virtual scene;Obtain describedApplication effect of two virtual scenes in first application time;When the application effect reaches expected standard, institute is obtainedThe second parameter of the first virtual scene is stated, second parameter is used for characterizing the second vehicle flowrate of the traffic programme, wherein, instituteState the vehicle quantity that the vehicle quantity in the second vehicle flowrate is more than in first vehicle flowrate.
Specifically, second virtual scene is run a period of time, described a period of time is first applicationTime obtains application effect of the virtual scene in first application time.When the application effect reaches expected markOn time, the second vehicle flowrate of first virtual scene is obtained, second vehicle flowrate is first transportation planning modelLarger vehicle flowrate, and, second vehicle flowrate is more than first vehicle flowrate.Second vehicle flowrate is virtual described secondA period of time is run in scene, looks at operational effect, if operational effect reaches expected standard, it was demonstrated that first traffic programmeDesign a model qualification, if operational effect does not reach expected standard, needs to carry out the first traffic planning and design modelAdjustment, reaches expected standard.
Further, the method further includes:Obtain the second application time of second virtual scene;Obtain describedApplication effect of two virtual scenes in second application time;When the application effect reaches expected standard, handed overLogical lamp Second Rule, wherein the traffic lights Second Rule is different from first rule of traffic lights.
Specifically, second virtual scene is run a period of time, described a period of time is the second application time,Obtain application effect of second virtual scene in second application time.When the application effect reaches expected standardWhen, the Second Rule of the traffic lights is obtained, it is regular that the Second Rule is different from described first.By the second of the traffic lightsRule is simulated in second virtual scene, if operational effect reaches expected standard, it was demonstrated that the second of the traffic lightsRule is suitble to the first traffic planning and design model;If operational effect fall flat, need to advise to described secondIt is then adjusted, reaches expected standard.
Further, the method further includes:Second traffic programme is obtained according to the first traffic planning and design modelIt designs a model, wherein, the second traffic planning and design model compares the first traffic planning and design variation part trafficFacility;Third virtual scene is determined according to the second traffic planning and design model.
Specifically, the second traffic rules according to the first traffic planning and design model buildings design a model, instituteThe Second Rule settings such as road, the crossing to design a model with first rule that design a model are stated to differ.According to described secondTraffic rules design a model, and third virtual scene are created using virtual technology in a computer, in the third virtual sceneIt designs a model and simulates to the Second Rule, after running a period of time, if operational effect achieves the desired results, it was demonstrated that describedSecond Rule designs a model qualification;If operational effect fall flat designs a model to the Second Rule and adjustsIt is whole, make its qualification.
Embodiment two
Based on the same invention structure of processing method of the virtual reality technology a kind of in previous embodiment in traffic designThink, the present invention also provides a kind of processing unit of virtual reality technology in traffic design, as shown in Fig. 2, described device includes:
First obtains unit, the first obtains unit is for the first traffic planning and design model of acquisition;
Second obtaining unit, second obtaining unit are used for according to the first traffic planning and design model, utilize instituteIt states virtual reality technology and obtains the first virtual scene;
Third obtaining unit, the third obtaining unit is used to obtain the first parameter of first virtual scene, describedFirst parameter is used for characterizing the first vehicle flowrate of first traffic programme;
4th obtaining unit, the 4th obtaining unit are used to obtain the vehicle in the first virtual scene according to the vehicle flowrateQuantity and vehicle speed;
5th obtaining unit, the 5th obtaining unit are used to be obtained according to the first traffic planning and design model eachThe first rule of traffic light and traffic lights;
6th obtaining unit, the 6th obtaining unit are used to be advised according to each traffic light, traffic lights firstThen, vehicle quantity and vehicle speed obtain the driving mode of all vehicles;
First determination unit, first determination unit are used for driving mode and first void according to all vehiclesIntend scene, determine the second virtual scene, second virtual scene is the simulation usage scenario of first traffic design.
Preferably, described device further includes:
7th obtaining unit, the 7th obtaining unit are used to obtain the first application time of second virtual scene;
8th obtaining unit, the 8th obtaining unit are used to obtain second virtual scene when described first appliesInterior application effect;
9th obtaining unit, the 9th obtaining unit are used for when the application effect reaches expected standard, obtain instituteThe second parameter of the first virtual scene is stated, second parameter is used for characterizing the second vehicle flowrate of the traffic programme, wherein, instituteState the vehicle quantity that the vehicle quantity in the second vehicle flowrate is more than in first vehicle flowrate.
Preferably, described device further includes:
Tenth obtaining unit, the tenth obtaining unit are used to obtain the second application time of second virtual scene;
11st obtaining unit, the 11st obtaining unit should described second for obtaining second virtual sceneWith the application effect in the time;
12nd obtaining unit, the 12nd obtaining unit are used for when the application effect reaches expected standard, obtainTraffic lights Second Rule is obtained, wherein the traffic lights Second Rule is different from first rule of traffic lights.
Preferably, described device further includes;
13rd obtaining unit, 13 obtaining units of the ground are used to be obtained according to the first traffic planning and design modelSecond traffic planning and design model, wherein, the second traffic planning and design model compares the first traffic planning and design modelChange part means of transportation;
Second determination unit, second determination unit are used to determine third according to the second traffic planning and design modelVirtual scene.
A kind of various change side of processing method of virtual reality technology in traffic design in 1 embodiment 1 of earlier figuresFormula and specific example are equally applicable to a kind of processing unit of the virtual reality technology of the present embodiment in traffic design, by precedingA kind of detailed description of the processing method to virtual reality technology in traffic design is stated, those skilled in the art can be clearA kind of implementation of processing unit of virtual reality technology in traffic design in the present embodiment is known, so in order to illustrate bookIt is succinct, this will not be detailed here.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effectsFruit:
1. a kind of processing method of the virtual reality technology provided by the embodiments of the present application in traffic design, the method packetIt includes:Obtain the first traffic planning and design model;According to the first traffic planning and design model, the virtual reality technology is utilizedObtain the first virtual scene;The first parameter of first virtual scene is obtained, first parameter is used for characterizing described firstFirst vehicle flowrate of traffic programme;The vehicle quantity and vehicle speed in the first virtual scene are obtained according to the vehicle flowrate;According to instituteIt states the first traffic planning and design model and obtains the first rule of each traffic light and traffic lights;It is indicated according to each trafficLamp, the first rule of traffic lights, vehicle quantity and vehicle speed obtain the driving mode of all vehicles;According to the traveling side of all vehiclesFormula and first virtual scene, determine the second virtual scene, and second virtual scene is the mould of first traffic designIntend usage scenario.It solves traffic planning and design in the prior art and is unable to analogue simulation, it is impossible to find out optimal traffic programme and setThe technical issues of meter scheme, has been reached and traffic planning and design has been simulated using virtual reality technology, finds out optimal trafficThe technique effect of planning and design scheme.
2. the embodiment of the present application is by obtaining the first application time of second virtual scene;It is virtual to obtain described secondApplication effect of the scene in first application time;When the application effect reaches expected standard, described first is obtainedSecond parameter of virtual scene, second parameter are used for characterizing the second vehicle flowrate of the traffic programme, wherein, described secondVehicle quantity in vehicle flowrate is more than the vehicle quantity in first vehicle flowrate, reaches by changing vehicle flowrate, traffic programme is setIt counts model and carries out simulating, verifying, find the technique effect of optimal traffic planning and design model.
3. the embodiment of the present application is by obtaining the second application time of second virtual scene;It is virtual to obtain described secondApplication effect of the scene in second application time;When the application effect reaches expected standard, traffic lights the is obtainedTwo rules, wherein the traffic lights Second Rule is different from first rule of traffic lights.Reach by changing traffic lightsRule, simulating, verifying is carried out to traffic planning and design model, finds the technique effect of optimal traffic planning and design model.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer programProduct.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present inventionApply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present inventionThe computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program productFigure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagramThe combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be providedThe processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produceA raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for realThe device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring toEnable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram orThe function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that countedSeries of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer orThe instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hairThe spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present inventionAnd its within the scope of equivalent technologies, then the present invention is also intended to include these modifications and variations.