Background technology
Automobile popularity rate is more and more higher, and riding time is more and more longer, passenger how to kill time onboard be one just gradually by problem that people payes attention to.More existing car entertainment platform installs display screen and controller exactly on automobile, coordinates automobile audio, basically or a gaming platform being limited to entertainment software.
State Intellectual Property Office of the People's Republic of China discloses on November 24th, 2010 patent document that publication No. is CN101890923A, title is vehicle-mounted multimedia advertisement recreational interactive equipment system, it comprises central processing module, its respectively with signal input module, peripheral interface module, sensor assembly, LCD MODULE, touch sensible module, audio output interface module, Wifi wireless communication module, Bluetooth wireless communication module, GPRS wireless communication module, global positioning satellite communication module, infrared radio model calling; Signal input module receives and processes taximeter signal, taxi engine ignition signal, driver's remote control signal, data is reached central processing module and processes; Touch sensible module is downloaded from each wireless communication module by central processing module, upload, lastest imformation, central processing module by data from LCD MODULE, the display of audio output interface module with play.This scheme provides amusement and recreation to passenger in by bus way, and also for advertiser provides the platform of advertisement information play and collection, but it remains and is limited to installation software in systems in which, and cannot combine with the environment such as real road.
Summary of the invention
The present invention mainly solves the technical problem being limited to software existing for prior art, provides a kind of car entertainment platform that can be combined with real road and control method thereof.
The present invention is directed to that above-mentioned technical problem mainly solved by following technical proposals: a kind of car entertainment platform, comprising:
Camera, shooting vehicle-surroundings information is also sent to on-vehicle host;
Navigator, determines vehicle position, extracts road ahead information and send on-vehicle host from database;
Velocity radar, detects the speed of nearby vehicle and is sent to on-vehicle host;
Vehicle speed sensor, detects the speed of a motor vehicle of this car and is sent to on-vehicle host;
On-vehicle host, is sent to smart mobile phone by the information received;
Smart mobile phone, the information generating virtual racing track sended over according to on-vehicle host, virtual car, virtual nearby vehicle, and the traveling of virtual this locality is controlled according to player's instruction.
As preferably, described on-vehicle host is connected with smart mobile phone by USB data line.Smart mobile phone can transmit data by USB data line, also can charge, and keeps the flying power that mobile phone is permanent.
As preferably, described on-vehicle host comprises wireless module, and on-vehicle host is connected with smart mobile phone by wireless module.Wirelessly connecting to make smart mobile phone binding character little, and ease for use is better.
A kind of car entertainment platform courses method, comprises the following steps:
Step one, smart mobile phone read the vehicle information of this car from on-vehicle host, this car of generating virtual;
Step 2, navigator, camera and velocity radar are sent to on-vehicle host by extracting the road information obtaining or detect separately;
Road information is sent to smart mobile phone by step 3, on-vehicle host;
Step 4, smart mobile phone according to road information generating virtual racing track, if first time generating virtual racing track, then enter step 5; Otherwise newly-generated virtual racetrack being superimposed upon in original virtual racetrack makes the virtual racetrack after superposition corresponding with real road, then enters step 6;
Virtual car is placed in virtual racetrack by step 5, smart mobile phone, and the position of virtual vehicle on racing track is corresponding with the position of Current vehicle on road, and speed is identical with Current vehicle speed, enters step 6;
Step 6, smart mobile phone are according to road information generating virtual nearby vehicle and be placed in virtual racetrack;
Repeat step 2 to six, namely smart mobile phone constantly generates the virtual racetrack corresponding with real road, virtual racetrack is presented on smart mobile phone screen, and the control command of smart mobile phone reception player controls virtual car and travels in virtual racetrack.
As preferably, after player controls virtual car, smart mobile phone adjusts the ratio of virtual racetrack length and real road length and the ratio of virtual nearby vehicle speed and actual nearby vehicle speed according to the speed of virtual car and the velocity ratio of this car actual.
As preferably, the vehicle information of this car comprises engine power, car weight and appearance and size.
As preferably, road information comprises information of road surface and nearby vehicle information, and information of road surface comprises: ground surface material, width, sideways pitch, the gradient, straight way length, turning radius, bend position and bend length; Nearby vehicle information comprises the quantity of nearby vehicle, position and speed.
Provided by the present invention is a kind of driving class method operated on smart mobile phone, can as drive simulating exercise or amusement used.Anyone smart mobile phone can be connected with on-vehicle host by authentication later, thus platform rights of using, and an on-vehicle host can be connected with multiple stage smart mobile phone simultaneously, realizes the contest between passenger.
Camera has several, and shooting direction is the surrounding enviroment of this car, comprises road, vehicle etc.Ground surface material obtains after carrying out graphical analysis by the information stored in navigator in conjunction with the picture that camera photographs, and the width of road, sideways pitch, the gradient, straight way length, turning radius, bend position and bend length are all extracted by navigator database.Velocity radar also has several, is arranged on this car peripheral, realizes testing the speed to the outer full angle of car.The picture that camera photographs can realize the location of nearby vehicle in conjunction with each object speed information that velocity radar detects and know its speed.Carry out by the picture photographed camera the model that graphical analysis can draw nearby vehicle, and in virtual racetrack, generate corresponding virtual vehicle, improve fidelity.
Virtual car and the velocity ratio of this car actual are set to K, smart mobile phone regulates the length of virtual racetrack and the ratio of real road length at set intervals, also make it remain K, smart mobile phone also adjusts the velocity ratio of virtual nearby vehicle and actual nearby vehicle simultaneously, makes it remain K.The position of such virtual vehicle in virtual racetrack and can being consistent with actual conditions with the position relationship of virtual nearby vehicle, and smart mobile phone holder can accelerate heartily and virtual racetrack and real road can not be caused to lose corresponding relation.
Smart mobile phone holder, when control virtual car travels, can observe the change of virtual racetrack from smart mobile phone picture.Because virtual racetrack and real road have corresponding relation, virtual vehicle means actual vehicle also excessively curved through bend, and such smart mobile phone holder can experience the inclination sense of turning and bringing simultaneously; Virtual vehicle smart mobile phone holder when upward slope or descending also has corresponding somatosensory, makes virtual driving have more interesting and emulation property.
The substantial effect that the present invention brings is, make the passenger on car can carry out higher, corresponding with the real road driving game of fidelity, racing track be not limited to the information stored in software, but can according to external environment condition in-time generatin, variability is strong, repeat sense low, the passenger on car can have corresponding body-feeling at control virtual car through bend, climb and fall, realizes " 4D " game effect.
Detailed description of the invention
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment: a kind of car entertainment platform of the present embodiment, as shown in Figure 1, comprises camera 1, navigator 2, velocity radar 3, vehicle speed sensor 4, on-vehicle host 5 and smart mobile phone 6.Camera 1, navigator 2, velocity radar 3 are connected with on-vehicle host 5 respectively with vehicle speed sensor 4, and on-vehicle host 5 is connected with smart mobile phone 6 by USB data line or wireless network.
A kind of car entertainment platform courses method of the present embodiment, as shown in Figure 2, comprises the following steps:
Step one, smart mobile phone read the vehicle information of this car from on-vehicle host, this car of generating virtual;
Step 2, navigator, camera and velocity radar are sent to on-vehicle host by extracting the road information obtaining or detect separately;
Road information is sent to smart mobile phone by step 3, on-vehicle host;
Step 4, smart mobile phone according to road information generating virtual racing track, if first time generating virtual racing track, then enter step 5; Otherwise newly-generated virtual racetrack being superimposed upon in original virtual racetrack makes the virtual racetrack after superposition corresponding with real road, then enters step 6;
Virtual car is placed in virtual racetrack by step 5, smart mobile phone, and the position of virtual vehicle on racing track is corresponding with the position of Current vehicle on road, and speed is identical with Current vehicle speed, enters step 6;
Step 6, smart mobile phone are according to road information generating virtual nearby vehicle and be placed in virtual racetrack;
Repeat step 2 to six, namely smart mobile phone constantly generates the virtual racetrack corresponding with real road, virtual racetrack is presented on smart mobile phone screen, and the control command of smart mobile phone reception player controls virtual car and travels in virtual racetrack.
After player controls virtual car, smart mobile phone adjusts the ratio of virtual racetrack length and real road length and the ratio of virtual nearby vehicle speed and actual nearby vehicle speed according to the speed of virtual car and the velocity ratio of this car actual.
The vehicle information of this car comprises engine power, car weight and appearance and size.
Road information comprises information of road surface and nearby vehicle information, and information of road surface comprises: ground surface material, width, sideways pitch, the gradient, straight way length, turning radius, bend position and bend length; Nearby vehicle information comprises the quantity of nearby vehicle, position and speed.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.
Although more employ the terms such as camera, on-vehicle host, smart mobile phone herein, do not get rid of the possibility using other term.These terms are used to be only used to describe and explain essence of the present invention more easily; The restriction that they are construed to any one additional is all contrary with spirit of the present invention.