Background technology
The automobile popularity rate is more and more higher, and riding time is more and more longer, and how the passenger kills time onboard is a problem of being paid attention to by the people just gradually.More existing car entertainment platforms are exactly that display screen and controller are installed on automobile, coordinate automobile audio, in essence or a gaming platform that is limited to entertainment software.
State Intellectual Property Office of the People's Republic of China discloses the patent documentation that publication No. is CN101890923A on November 24th, 2010, title is vehicle-mounted multimedia advertisement recreational interactive equipment system, it comprises central processing module, and it is connected 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 module respectively; Signal input module receives and processes taximeter signal, taxi engine ignition signal, driver's remote control signal, data is reached to central processing module and processed; The touch sensible module by central processing module from each wireless communication module download, upload, lastest imformation, central processing module shows data and play from LCD MODULE, audio output interface module.This scheme by bus in way, providing amusement and recreation, also for the advertiser, provide the platform of advertisement information play and collection, but it remains the software be limited in the system of being arranged on to the passenger, and can't carry out combination with the environment such as real road.
Summary of the invention
The present invention solves the existing technical problem that is limited to software of prior art, and a kind of car entertainment platform and the control method thereof that can be combined with real road is provided.
The present invention is directed to above-mentioned technical problem is mainly solved by following technical proposals: a kind of car entertainment platform comprises:
Camera, take vehicle-surroundings information and send to on-vehicle host;
Navigator, determine the vehicle position, extracts road ahead information and send on-vehicle host from database;
Velocity radar, detect the speed of nearby vehicle and send to on-vehicle host;
Vehicle speed sensor, detect the speed of a motor vehicle of this car and send to on-vehicle host;
On-vehicle host, send to smart mobile phone by the information received;
Smart mobile phone, the Information generation virtual racetrack sended over according to on-vehicle host, virtual car, virtual nearby vehicle, and control travelling of virtual this locality according to player's instruction.
As preferably, described on-vehicle host is connected with smart mobile phone by the usb data line.Smart mobile phone can transmit data by the usb data line, also can charge, and keeps the permanent flying power of mobile phone.
As preferably, described on-vehicle host comprises wireless module, and on-vehicle host is connected with smart mobile phone by wireless module.Connect and can make the smart mobile phone binding character little by wireless mode, ease for use is better.
A kind of car entertainment platform control method comprises the following steps:
Step 1, smart mobile phone read the vehicle information of this car, this car of generating virtual from on-vehicle host;
Step 2, navigator, camera and velocity radar will extract separately the road information that obtains or detect and send to on-vehicle host;
Step 3, on-vehicle host send to smart mobile phone by road information;
Step 4, smart mobile phone be according to road information generating virtual racing track, if generating virtual racing track for the first time enters step 5; Otherwise the virtual racetrack that newly-generated virtual racetrack is superimposed upon on original virtual racetrack after making to superpose is corresponding with real road, then enters step 6;
Step 5, smart mobile phone are placed on virtual car on virtual racetrack, and the position of virtual vehicle on racing track is with corresponding when the position of vehicle in front on road, and speed is identical with current car speed, enters step 6;
Step 6, smart mobile phone is according to road information generating virtual nearby vehicle and be placed on virtual racetrack;
Repeating step two to six, smart mobile phone constantly generates the virtual racetrack corresponding with real road, and virtual racetrack is presented on the smart mobile phone screen, and virtual the car of control command control that smart mobile phone receives the player travels on virtual racetrack.
As preferably, after the player controls virtual car, smart mobile phone is adjusted virtual racetrack length and the ratio of real road length and the ratio of virtual nearby vehicle speed and actual nearby vehicle speed according to the speed of virtual car with the velocity ratio of actual this car.
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 quantity, position and the speed of nearby vehicle.
Provided by the present invention is a kind of driving class method operated on smart mobile phone, can be used as drive simulating exercise or amusement used.Anyone smart mobile phone can connect with on-vehicle host by authentication later, thus the platform rights of using, and a chassis carries main frame and can be connected with many smart mobile phones simultaneously, realizes the contest between the passenger.
Camera has several, and the surrounding enviroment that the shooting direction is this car, comprise road, vehicle etc.The ground surface material picture that canned data photographs in conjunction with camera in navigator carries out graphical analysis and obtains later, and the width of road, sideways pitch, the gradient, straight way length, turning radius, bend position and bend length are all extracted in the navigator database.Velocity radar also has several, is arranged on this car periphery, realizes testing the speed to the outer full angle of car.Each object speed information that the picture that camera photographs detects in conjunction with velocity radar can realize the location of nearby vehicle and know its speed.Carry out by the picture that camera is photographed the model that graphical analysis can draw nearby vehicle, and generate corresponding virtual vehicle on virtual racetrack, improve fidelity.
Virtual car and the velocity ratio of actual this car are made as to K, smart mobile phone is regulated the ratio of length and the real road length of virtual racetrack at set intervals, also make it remain K, smart mobile phone is also adjusted the velocity ratio of virtual nearby vehicle and actual nearby vehicle simultaneously, makes it remain K.The position of virtual vehicle on virtual racetrack reaches with the position relationship of virtual nearby vehicle and can be consistent with actual conditions like this, and the smart mobile phone holder can accelerate heartily and can not cause virtual racetrack and real road to lose corresponding relation.
The smart mobile phone holder, when virtual car of control travels, can observe the variation of virtual racetrack from the smart mobile phone picture.Because virtual racetrack and real road have corresponding relation, virtual vehicle means that actual vehicle is also excessively curved during through bend, and the smart mobile phone holder can experience the inclination sense that turning brings simultaneously like this; Virtual vehicle smart mobile phone holder when upward slope or descending also has corresponding somatosensory, makes virtual driving have more interesting and emulation.
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 is institute's canned data in being limited to software not, but can immediately generate according to external environment condition, variability is strong, repeat to feel low, the passenger on car can have corresponding body-feeling when controlling virtual car through bend, climb and fall, realizes " 4D " game effect.
The specific embodiment
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 and vehicle speed sensor 4 are connected with on-vehicle host 5 respectively, 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 control method of the present embodiment as shown in Figure 2, comprises the following steps:
Step 1, smart mobile phone read the vehicle information of this car, this car of generating virtual from on-vehicle host;
Step 2, navigator, camera and velocity radar will extract separately the road information that obtains or detect and send to on-vehicle host;
Step 3, on-vehicle host send to smart mobile phone by road information;
Step 4, smart mobile phone be according to road information generating virtual racing track, if generating virtual racing track for the first time enters step 5; Otherwise the virtual racetrack that newly-generated virtual racetrack is superimposed upon on original virtual racetrack after making to superpose is corresponding with real road, then enters step 6;
Step 5, smart mobile phone are placed on virtual car on virtual racetrack, and the position of virtual vehicle on racing track is with corresponding when the position of vehicle in front on road, and speed is identical with current car speed, enters step 6;
Step 6, smart mobile phone is according to road information generating virtual nearby vehicle and be placed on virtual racetrack;
Repeating step two to six, smart mobile phone constantly generates the virtual racetrack corresponding with real road, and virtual racetrack is presented on the smart mobile phone screen, and virtual the car of control command control that smart mobile phone receives the player travels on virtual racetrack.
After the player controls virtual car, smart mobile phone is adjusted virtual racetrack length and the ratio of real road length and the ratio of virtual nearby vehicle speed and actual nearby vehicle speed according to the speed of virtual car with the velocity ratio of actual this car.
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 quantity, position and the speed of nearby vehicle.
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 modifications or supplement or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present invention or surmount the defined scope of appended claims.
Although this paper has more been used the terms such as camera, on-vehicle host, smart mobile phone, do not get rid of the possibility of using other term.Using these terms is only in order to describe more easily and explain essence of the present invention; They are construed to any additional restriction is all contrary with spirit of the present invention.