[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2019114019A1 - Scene generation method for self-driving vehicle and intelligent glasses - Google Patents

Scene generation method for self-driving vehicle and intelligent glasses Download PDF

Info

Publication number
WO2019114019A1
WO2019114019A1 PCT/CN2017/117686 CN2017117686W WO2019114019A1 WO 2019114019 A1 WO2019114019 A1 WO 2019114019A1 CN 2017117686 W CN2017117686 W CN 2017117686W WO 2019114019 A1 WO2019114019 A1 WO 2019114019A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
scene
virtual
smart glasses
self
Prior art date
Application number
PCT/CN2017/117686
Other languages
French (fr)
Chinese (zh)
Inventor
蔡任轩
Original Assignee
广州德科投资咨询有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州德科投资咨询有限公司 filed Critical 广州德科投资咨询有限公司
Publication of WO2019114019A1 publication Critical patent/WO2019114019A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B2027/0178Eyeglass type

Definitions

  • the present invention relates to the field of smart glasses, and in particular to a scene generating method and smart glasses for automatically driving a vehicle.
  • the mature autopilot technology allows occupants to freely do what they want in an autonomous vehicle.
  • the occupant will feel sleepy and weak due to the dimly sealed tunnel environment, so that the occupant cannot take the time when the self-driving vehicle encounters an emergency.
  • Emergency measures thereby increasing the probability of a traffic accident.
  • the embodiment of the invention discloses a scene generating method for an autonomous driving vehicle and smart glasses, which can generate a racing scene for an occupant of an autonomous driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can view the racing scene.
  • the occupant In order to remain awake, and in the event of an emergency in an autonomous vehicle, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
  • a first aspect of an embodiment of the present invention discloses a method for generating a scene for an autonomous vehicle, including:
  • the smart glasses When the self-driving vehicle enters the tunnel, the smart glasses acquire a virtual tunnel scene corresponding to the tunnel, and acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel Length, the driving information includes at least a driving speed;
  • the smart glasses increase the length of the tunnel according to a preset increase multiple, and obtain an adjusted length
  • the smart glasses extend the length of the virtual tunnel scenario to the adjusted length to obtain an extended tunnel scenario
  • the smart glasses calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed, and calculate a virtual speed according to the adjusted length and the travel time;
  • the smart glasses add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  • the smart glasses when the self-driving vehicle enters the tunnel, acquire the virtual tunnel scenario corresponding to the tunnel, including:
  • the smart glasses When the self-driving vehicle enters the tunnel, the smart glasses acquire a tunnel real scene corresponding to the tunnel;
  • the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and the An external vehicle scene outside the self-driving vehicle;
  • the smart glasses virtualize the tunnel structure scenario to obtain a virtual tunnel structure scenario
  • the smart glasses generate an internal scene of the virtual favorite vehicle according to the preference of the wearer of the smart glasses; the favorite vehicle of the smart glasses is pre-stored by the smart glasses;
  • the smart glasses virtualize an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle;
  • the smart glasses replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene;
  • the smart glasses virtualize an external vehicle scene other than the self-driving vehicle in the tunnel to obtain a virtual external vehicle scene;
  • the smart glasses generate a virtual tunnel scenario corresponding to the tunnel; wherein the virtual tunnel scenario includes the virtual tunnel structure scenario, the virtual vehicle interior scenario, and the virtual external vehicle scenario.
  • the smart glasses virtualize the tunnel structure scenario to obtain a virtual tunnel structure scenario, including:
  • the smart glasses virtualize the tunnel structure scenario to obtain a first tunnel structure scenario
  • the smart glasses acquire location information of the tunnel
  • the smart glasses acquire an administrative area to which the location information belongs according to the location information;
  • the smart glasses acquire a first virtual scene corresponding to the first attraction in the administrative area;
  • the smart glasses superimpose the first virtual scene into the first tunnel structure scene to obtain a virtual tunnel structure scene.
  • the smart glasses add the adjusted length and the virtual speed in the extended tunnel scenario, and after generating a virtual racing scene, the method Also includes:
  • the smart glasses calculate a magnification of the virtual speed and the traveling speed
  • the smart glasses change a speed of backward movement of the extended tunnel structure scene included in the extended tunnel scene according to the magnification
  • the smart glasses blur-render the extended tunnel structure scene such that the wearer generates a feeling of advancing at the virtual speed when riding the self-driving vehicle.
  • the smart glasses add the adjusted length and the virtual speed in the extended tunnel scenario to generate a virtual racing scene, including:
  • the smart glasses locate a current location of the tunnel according to a GPS positioning system
  • the smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map;
  • the smart glasses acquire a position of the self-driving vehicle and a position of other vehicles in the tunnel through a real-time cloud database of the self-driving vehicle, and add a position and a location of the self-driving vehicle to the racing map Generate a new racing map by referring to the signs corresponding to other vehicles in the tunnel;
  • the smart glasses add the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  • a second aspect of the embodiments of the present invention discloses a smart glasses, where the smart glasses include:
  • a first acquiring unit configured to acquire a virtual tunnel scenario corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle;
  • a second acquiring unit configured to acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a traveling speed;
  • a length adjustment unit configured to increase the length of the tunnel according to a preset multiple, to obtain an adjusted length
  • An extension unit configured to extend a length of the virtual tunnel scenario to the adjusted length, to obtain an extended tunnel scenario
  • a calculating unit configured to calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed, and calculate a virtual speed according to the adjusted length and the travel time;
  • an adding unit configured to add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  • the first acquiring unit includes:
  • a first acquisition subunit configured to acquire a tunnel real scene corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the autopilot vehicle;
  • the tunnel real scene includes a tunnel structure scene, and the autopilot vehicle An internal scene and an external vehicle scene in the tunnel other than the self-driving vehicle;
  • a first processing sub-unit configured to perform virtualization processing on the tunnel structure scenario to obtain a virtual tunnel structure scenario
  • a first generating subunit configured to generate an internal scene of the virtual favorite vehicle according to the wearer's favorite vehicle; the favorite vehicle of the smart glasses is pre-stored by the smart glasses;
  • a second processing sub-unit configured to perform virtualization processing on an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle
  • a replacement subunit configured to replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene
  • a third processing subunit configured to virtualize an external vehicle scene other than the autopilot vehicle in the tunnel to obtain a virtual external vehicle scene
  • a second generation sub-unit configured to generate a virtual tunnel scenario corresponding to the tunnel, where the virtual tunnel scenario includes the virtual tunnel structure scenario, the virtual vehicle interior scenario, and the virtual external vehicle scenario.
  • the first processing subunit includes:
  • a processing module configured to perform virtualization processing on the tunnel structure scenario to obtain a first tunnel structure scenario
  • a first acquiring module configured to acquire location information of the tunnel
  • a second acquiring module configured to acquire, according to the location information, an administrative area to which the location information belongs;
  • a third acquiring module configured to acquire a first virtual scene corresponding to the first attraction in the administrative area
  • a superimposing module configured to superimpose the first virtual scene into the first tunnel structure scenario to obtain a virtual tunnel structure scenario.
  • the smart glasses further includes:
  • the calculating unit is further configured to calculate a magnification of the virtual speed and the traveling speed;
  • a speed adjustment unit configured to change a speed of backward movement of the extended tunnel structure scene included in the extended tunnel scene according to the magnification
  • a rendering unit configured to perform fuzzy rendering on the extended tunnel structure scene, so that the wearer generates a feeling of advancing at the virtual speed when riding the self-driving vehicle.
  • the adding unit includes:
  • a positioning subunit configured to locate a current location of the tunnel according to a GPS positioning system
  • a second acquiring subunit configured to acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map
  • a third generation subunit configured to acquire, by a real-time cloud database of the self-driving vehicle, a location of the autopilot vehicle and a location of other vehicles in the tunnel, and add the autopilot vehicle to the racing map a location corresponding to other vehicles in the tunnel to generate a new racing map;
  • Adding a subunit for adding the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene Adding a subunit for adding the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  • a third aspect of the embodiments of the present invention discloses a smart glasses, including:
  • a processor coupled to the memory
  • the processor invokes the executable program code stored in the memory to execute a scene generation method for automatically driving a vehicle disclosed in the first aspect of the embodiments of the present invention.
  • a fourth aspect of the embodiments of the present invention discloses a computer readable storage medium storing a computer program, the computer program causing a computer to generate a scene generation method for an autonomous vehicle disclosed in the first aspect of the embodiments of the present invention.
  • the embodiment of the invention has the following beneficial effects:
  • the smart glasses when the smart glasses determine that the self-driving vehicle enters the tunnel, the smart glasses acquire the tunnel scene of the tunnel, and the tunnel information of the tunnel and the driving information of the self-driving vehicle, and the smart glasses are based on the pre-stored magnification.
  • the length of the tunnel is enlarged to obtain an adjusted length, and the tunnel scene is extended according to the adjusted length to obtain an extended tunnel scene, and the virtual speed is obtained according to the tunnel information and the driving information, so that the smart glasses can add the above adjustment in the extended tunnel scene. Length and virtual speed to generate a virtual racing scene.
  • the smart glasses can acquire the scene and tunnel information of the current tunnel and the driving information of the current self-driving vehicle when the self-driving vehicle enters the tunnel, so that according to the above scenario, the tunnel information and the driving information,
  • the occupant of the self-driving vehicle generates a racing scene, so that the occupant can watch the racing scene and feel the experience brought by the racing scene, so as to remain awake, and then the occupant can take timely when the self-driving vehicle encounters an emergency situation.
  • FIG. 1 is a schematic flow chart of a method for generating a scene for an automatically driving vehicle according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of another method for generating a scene for an autonomous vehicle according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a smart glasses disclosed in an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention.
  • the embodiment of the invention discloses a scene generating method for an autonomous driving vehicle and smart glasses, which can generate a racing scene for an occupant of an autonomous driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can view the racing scene.
  • the occupant In order to remain awake, and in the event of an emergency in an autonomous vehicle, the occupant can take emergency measures in time to reduce the probability of a traffic accident. The details are described below separately.
  • FIG. 1 is a schematic flowchart diagram of a method for generating a scene for an automatically driven vehicle according to an embodiment of the present invention.
  • the scene generation method for automatically driving a vehicle may include the following steps:
  • the smart glasses acquire the virtual tunnel scene corresponding to the tunnel, and acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving The information includes at least the speed of travel.
  • the smart glasses acquiring the virtual tunnel scenario corresponding to the tunnel may include:
  • the smart glasses detect whether the self-driving vehicle enters the tunnel, and if so, obtain the virtual tunnel scene corresponding to the tunnel; if not, the process ends.
  • the smart glasses detecting whether the self-driving vehicle enters the tunnel may include:
  • the smart glasses acquire the field of view information of the smart glasses wearer through the camera device built in the smart glasses, and determine whether the self-driving vehicle enters the tunnel based on the field of view information.
  • a method of using the built-in camera to determine whether the current self-driving vehicle is driving into the tunnel can be added to the smart glasses.
  • the smart glasses detect whether the self-driving vehicle enters the tunnel, and may include:
  • the smart glasses establish a data connection with the self-driving vehicle, and the smart glasses acquire image information obtained by imaging the built-in camera of the self-driving vehicle, and the smart glasses determine whether the self-driving vehicle enters the tunnel according to the image information.
  • the smart glasses can be connected with the self-driving vehicle, so that the smart glasses can acquire various information acquired by the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the various information, thereby making the smart The glasses determine whether the self-driving vehicle enters the tunnel with a higher degree of accuracy, which improves the reliability of the smart glasses.
  • the smart glasses establish a data connection with the self-driving vehicle, and the smart glasses acquire image information obtained by the camera device built in the self-driving vehicle, and the smart glasses determine, according to the image information, whether the self-driving vehicle enters the tunnel.
  • the smart glasses establish a data connection with the self-driving vehicle, wherein the data connection between the smart glasses and the self-driving vehicle is a smart glasses data connection data cloud, the data cloud data connection automatically drives the vehicle, and the smart glasses acquire the built-in camera device of the self-driving vehicle through the data cloud.
  • the data cloud is a real-time database of the self-driving vehicle.
  • the smart glasses are connected to the data cloud of the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the data in the data cloud, thereby providing the first-level buffer for the smart glasses to determine whether the self-driving vehicle enters the tunnel.
  • the smart glasses are judged based on the data in the data cloud, thereby improving the reliability of the smart glasses to determine whether the automatic timed vehicle enters the tunnel.
  • the smart glasses increase the length of the tunnel according to a preset multiple increase, and obtain an adjustment length.
  • the smart glasses increase the length of the tunnel according to a preset multiple, and before the adjustment length is obtained, the smart glasses may further include:
  • the smart glasses get the car ride and get the ratio between the above car ride and the tunnel length as a preset increase factor.
  • the smart glasses can be calculated according to the actual racing distance, so that the tunnel length can be more similar to the driving of the car when the processing is increased, thereby improving the reduction degree of the racing scene and enriching the intelligence.
  • the functional details of the glasses enhance the user experience.
  • the smart glasses acquiring the driving distance of the car may include:
  • the smart glasses get a lot of racing car data through the network, and the smart glasses get the average racing car data based on the above-mentioned large number of racing car data, as a racing car.
  • the smart glasses can be averaged by a large amount of data to obtain a most suitable car ride, thereby improving the intelligence of the smart glasses and the effect experience provided to the user.
  • the smart glasses extend the length of the virtual tunnel scene to the adjusted length to obtain an extended tunnel scenario.
  • the smart glasses extend the length of the virtual tunnel scene to the adjusted length, and the length of the virtual tunnel structure in the virtual tunnel scene is adjusted, and the lengths of the self-driving vehicles and other vehicles are not changed.
  • the smart glasses calculate the travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the traveling speed, and calculate the virtual speed according to the adjusted length and the travel time.
  • the smart glasses add an adjustment length and a virtual speed in the extended tunnel scene to generate a virtual racing scene.
  • the adjustment length and the virtual speed added by the smart glasses in the extended tunnel scene may be avatars, and may be placed at any position of the extended tunnel scene, and the position of the adjusted length and the virtual speed avatar is
  • the embodiments of the invention are not limited.
  • the smart glasses may acquire the tunnel information of the tunnel and the driving information of the autonomous driving vehicle when detecting that the self-driving vehicle enters the tunnel, and the smart glasses increase the tunnel length of the tunnel information.
  • the processing length is adjusted, and the length of the virtual tunnel scene is extended to the length of the adjustment.
  • the extended tunnel scene is obtained.
  • the virtual speed is calculated, and the virtual image of the virtual speed and the adjusted length is displayed in the extended tunnel scene. .
  • the method described in FIG. 1 can display the racing scene for the occupant of the self-driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can experience the feeling of the racing car and keep the occupant awake while being entertained. Therefore, when an autonomous vehicle encounters an emergency, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
  • FIG. 2 is a schematic flowchart diagram of another method for generating a scene for an autonomous vehicle according to an embodiment of the present invention.
  • the scene generation method for the self-driving vehicle may include the following steps:
  • the smart glasses acquire a tunnel real scene corresponding to the tunnel;
  • the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and an external vehicle scene other than the self-driving vehicle in the tunnel.
  • the tunnel structure scenario may include a structural frame of the tunnel, a coating structure on the structural frame, and a decoration in a tunnel scene such as a decoration on the mechanism frame, except for the vehicle, which is not limited in this embodiment of the present invention.
  • the smart glasses virtualize the tunnel structure scenario to obtain a first tunnel structure scenario.
  • the smart glasses acquire location information of the tunnel.
  • the smart glasses acquire an administrative area to which the location information belongs according to the location information.
  • the smart glasses acquire a first virtual scene corresponding to the first attraction in the administrative area.
  • the smart glasses superimpose the first virtual scene into the first tunnel structure scenario to obtain a virtual tunnel structure scenario.
  • Steps 202 to 206 are performed, and the smart glasses can cover the virtual scene of the corresponding attraction in the current city in the tunnel structure scene, thereby enriching the structure of the tunnel structure, and enabling the wearer of the smart glasses to watch that they are in the current city.
  • the racing experience in the scenic spots enhances the user's interactive experience and provides users with a new type of entertainment.
  • the smart glasses generate an internal scene of the virtual favorite vehicle according to the preference of the wearer of the smart glasses; the favorite vehicle of the wearer of the smart glasses is pre-stored by the smart glasses.
  • the smart glasses virtualize an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle.
  • the smart glasses replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene.
  • the smart glasses virtualize an external vehicle scene other than the self-driving vehicle in the tunnel to obtain a virtual external vehicle scene.
  • the smart glasses generate a virtual tunnel scenario corresponding to the tunnel.
  • the virtual tunnel scenario includes a virtual tunnel structure scenario, a virtual vehicle interior scenario, and a virtual external vehicle scenario.
  • Steps 207 to 211 are implemented, and the smart glasses can change the internal scene of the self-driving vehicle that the occupant rides according to the occupant's preference, so that the occupant can more easily obtain satisfaction when wearing the smart glasses to view the scene, thereby increasing the intelligence.
  • the smart glasses acquire tunnel information of the tunnel and driving information of the self-driving vehicle, wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a driving speed.
  • the smart glasses increase the length of the tunnel according to a preset multiple increase, and obtain an adjustment length.
  • the smart glasses extend the length of the virtual tunnel scene to the adjusted length to obtain an extended tunnel scenario.
  • the smart glasses calculate the travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the traveling speed, and calculate the virtual speed according to the adjusted length and the travel time.
  • the smart glasses locate the current location of the tunnel according to the GPS positioning system.
  • the smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map.
  • the smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map, which may include:
  • the smart glasses acquire the tunnel map corresponding to the tunnel according to the current location, the smart glasses extract the route of the tunnel map, and perform the map adjustment of the extracted route (widening the line adjustment and the protruding line adjustment, etc.) to obtain the racing map.
  • the smart glasses can generate a corresponding racing map according to the actual tunnel map, and provide the user with map information of the current tunnel, so that the user knows the current location and the length of the tunnel, thereby improving the information provided by the smart device. Amount, which is convenient for the user to understand the current scene.
  • the smart glasses acquire the position of the self-driving vehicle and the position of other vehicles in the tunnel through the real-time cloud database of the self-driving vehicle, and add a flag corresponding to the position of the self-driving vehicle and other vehicles in the tunnel in the racing map to generate a new racing car. map.
  • the smart glasses when the smart glasses acquire the position information of the racing map and the vehicle, the smart glasses mark the points in the racing map according to the position information of the above-mentioned vehicles, wherein the self-driving vehicle is a red dot, and the other vehicles are black dots.
  • a new racing map is thus formed, and the new racing map is a real-time map, thereby enabling the user to clearly understand the current tunnel vehicle situation based on the new racing map.
  • the smart glasses add a new racing map, adjust the length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  • Steps 216 to 219 are implemented, and the smart glasses can obtain the tunnel map of the current tunnel, adjust the tunnel map of the current tunnel, obtain a new racing map, and add the new racing map in the extended tunnel scene, so that the user can automatically Watching the new racing map in the timed vehicle and knowing where you are, thus increasing the richness of the user's information from the smart glasses.
  • the smart glasses calculate the virtual speed and the speed of the driving speed.
  • the smart glasses change the rate of backward movement of the extended tunnel structure scene included in the tunnel scene according to the magnification change.
  • the smart glasses blur-render the extended tunnel structure scene, so that the wearer generates a feeling of advancing at a virtual speed when riding the self-driving vehicle.
  • the smart glasses can acquire the real scene of the tunnel when the self-driving vehicle enters the tunnel, and virtualize the real scene of the tunnel, generate a virtual scene of the tunnel, and acquire the tunnel.
  • the tunnel information and the driving information of the self-driving vehicle, the smart glasses increase the tunnel length of the tunnel information to obtain an adjustment length, and extend the length of the virtual tunnel scene to the adjustment length to obtain an extended tunnel scene.
  • the smart glasses acquire the map information of the tunnel, generate a new racing map, and display the virtual speed, the adjusted length avatar and the new racing map in the extended tunnel scene, and extend the extension after the extended tunnel scene is output.
  • the tunnel scene is speed-adjusted and rendered so that the user feels that the self-driving vehicle is moving at a high speed, creating a racing scene.
  • the method described in FIG. 2 enables the smart glasses to virtualize the tunnel scene when the self-driving vehicle enters the tunnel, thereby to the virtual racing scene and display the racing scene for the occupant of the self-driving vehicle, and further
  • the fuzzy rendering process is performed in the racing scene, so that the smart glasses can make the wearer feel the real racing scene by changing the visual information of the wearer, and enable the occupant to remain awake while being entertained, thereby encountering an emergency in the self-driving vehicle.
  • the occupants can take emergency measures in time to reduce the probability of traffic accidents.
  • FIG. 3 is a schematic structural diagram of a smart glasses according to an embodiment of the present invention.
  • the smart glasses may include:
  • the first obtaining unit 301 is configured to acquire a virtual tunnel scenario corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle.
  • the first obtaining unit 301 may include:
  • the detection subunit is configured to detect whether the self-driving vehicle enters the tunnel, and if so, obtain the virtual tunnel scenario corresponding to the tunnel; if not, the process ends.
  • the detecting subunit may include:
  • a field of view information acquiring module configured to acquire, by using an image capturing device built in the smart glasses, field of view information of the smart glasses wearer;
  • the judging module is configured to judge, according to the field of view information, whether the self-driving vehicle enters the tunnel.
  • a method of using the built-in camera to determine whether the current self-driving vehicle is driving into the tunnel can be added to the smart glasses.
  • the detecting subunit may include:
  • connection module for establishing a data connection with an autonomous vehicle
  • An image acquisition module configured to acquire image information obtained by imaging an imaging device built in the self-driving vehicle
  • the judging module is configured to judge, according to the image information, whether the self-driving vehicle enters the tunnel.
  • the smart glasses can be connected with the self-driving vehicle, so that the smart glasses can acquire various information acquired by the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the various information, thereby making the smart The glasses determine whether the self-driving vehicle enters the tunnel with a higher degree of accuracy, which improves the reliability of the smart glasses.
  • connection module is specifically configured to establish a data connection with the self-driving vehicle, wherein the data connection between the smart glasses and the self-driving vehicle is a smart glasses data connection data cloud, the data cloud data connection automatically drives the vehicle;
  • the image acquisition module specific The image information obtained by acquiring the built-in camera device of the self-driving vehicle through the data cloud;
  • the determining module is specifically configured to determine, according to the image information, whether the self-driving vehicle enters the tunnel; wherein the data cloud is a real-time database of the self-driving vehicle.
  • the smart glasses are connected to the data cloud of the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the data in the data cloud, thereby providing the first-level buffer for the smart glasses to determine whether the self-driving vehicle enters the tunnel.
  • the smart glasses are judged based on the data in the data cloud, thereby improving the reliability of the smart glasses to determine whether the automatic timed vehicle enters the tunnel.
  • the second obtaining unit 302 is configured to acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a traveling speed.
  • the length adjustment unit 303 is configured to perform an increase process on the tunnel length acquired by the second obtaining unit 302 according to the preset increase multiple to obtain an adjusted length.
  • the smart glasses may further include:
  • a ride acquisition unit for obtaining a car ride
  • the multiplier calculating unit is configured to obtain a ratio between the driving distance of the above-mentioned car and the length of the tunnel as a preset increasing multiple.
  • the smart glasses can be calculated according to the actual racing distance, so that the tunnel length can be more similar to the driving of the car when the processing is increased, thereby improving the reduction degree of the racing scene and enriching the intelligence.
  • the functional details of the glasses enhance the user experience.
  • the driving acquisition unit can be specifically used to obtain a large amount of racing driving data through the network, and the smart glasses obtain the average racing driving data according to the above-mentioned large number of racing driving data as a racing driving.
  • the smart glasses can be averaged by a large amount of data to obtain a most suitable car ride, thereby improving the intelligence of the smart glasses and the effect experience provided to the user.
  • the extension unit 304 is configured to extend the length of the virtual tunnel scenario acquired by the first acquiring unit 301 to the adjustment length adjusted by the length adjustment unit 303 to obtain an extended tunnel scenario.
  • the smart glasses extend the length of the virtual tunnel scene to the adjusted length, and the length of the virtual tunnel structure in the virtual tunnel scene is adjusted, and the lengths of the self-driving vehicles and other vehicles are not changed.
  • the calculation unit 305 is configured to calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed acquired by the second acquisition unit 302, and calculate the virtual speed according to the adjusted length and the travel time.
  • the adding unit 306 is configured to add the adjustment length obtained by the length adjusting unit 303 and the virtual speed calculated by the calculating unit 305 in the extended tunnel scene adjusted by the extension unit 304 to generate a virtual racing scene.
  • the adjustment length and the virtual speed added by the smart glasses in the extended tunnel scene may be avatars, and may be placed at any position of the extended tunnel scene, and the position of the adjusted length and the virtual speed avatar is
  • the embodiments of the invention are not limited.
  • the smart glasses described in FIG. 3 can display the racing scene for the occupant of the self-driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can experience the feeling of the racing car and keep the occupant awake while being entertained. Therefore, when an autonomous vehicle encounters an emergency, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
  • FIG. 4 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention.
  • the smart glasses shown in FIG. 4 are optimized by the smart glasses shown in FIG. 3.
  • the first obtaining unit 301 may include:
  • the first obtaining sub-unit 3011 is configured to acquire a tunnel real scene corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle;
  • the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and a tunnel An external vehicle scene other than an autonomous vehicle.
  • the first processing sub-unit 3012 is configured to perform virtualization processing on the tunnel structure scenario acquired by the first obtaining sub-unit 3011 to obtain a virtual tunnel structure scenario.
  • the tunnel structure scenario may include a structural frame of the tunnel, a coating structure on the structural frame, and a decoration in a tunnel scene such as a decoration on the mechanism frame, except for the vehicle, which is not limited in this embodiment of the present invention.
  • the first generation subunit 3013 is configured to generate an internal scene of the virtual favorite vehicle according to the preference of the wearer; the favorite vehicle of the wearer of the smart glasses is pre-stored by the smart glasses.
  • the second processing sub-unit 3014 is configured to perform virtualization processing on the internal scene of the self-driving vehicle acquired by the first acquiring sub-unit 3011 to obtain a virtual internal scene of the self-driving vehicle.
  • the replacement sub-unit 3015 is configured to replace the virtual internal scene processed by the second processing sub-unit 3014 with the internal scene of the virtual favorite vehicle generated by the first generation sub-unit 3013 as a virtual vehicle internal scene.
  • the third processing sub-unit 3016 is configured to perform virtualization processing on an external vehicle scene other than the self-driving vehicle in the tunnel acquired by the first acquiring unit 3011 to obtain a virtual external vehicle scene.
  • the second generation sub-unit 3017 is configured to generate a virtual tunnel scenario corresponding to the tunnel, where the virtual tunnel scenario includes the virtual tunnel structure scenario processed by the first processing sub-unit 3012, the virtual vehicle internal scenario obtained by the replacement sub-unit 3015, and the first The three processing sub-units 3016 process the resulting virtual external vehicle scene.
  • the smart glasses described in the embodiments of the present invention can change the internal scene of the self-driving vehicle that the occupant rides according to the occupant's preference, so that the occupant can more easily obtain satisfaction when wearing the smart glasses to view the scene, thereby High the functional richness of smart glasses.
  • the first processing subunit 3012 may include:
  • the processing module 30121 is configured to perform virtualization processing on the tunnel structure scenario to obtain a first tunnel structure scenario.
  • the first obtaining module 30122 is configured to acquire location information where the tunnel is located.
  • the second obtaining module 30123 is configured to obtain an administrative area to which the location information belongs according to the location information acquired by the first obtaining module 30122.
  • the third obtaining module 30124 is configured to acquire the first virtual scene corresponding to the first attraction in the administrative area acquired by the second obtaining module 30123.
  • the superimposition module 30125 is configured to superimpose the first virtual scene acquired by the third obtaining module 30124 into the first tunnel structure scene processed by the processing module 30121 to obtain a virtual tunnel structure scene.
  • the smart glasses described in the embodiments of the present invention can cover the virtual scenes of the corresponding spots in the current city in the tunnel structure scenario, thereby enriching the tunnel structure scene, and enabling the wearer of the smart glasses to watch that they are A racing experience in the current city's attractions enhances the user's interactive experience and provides users with a new form of entertainment.
  • the smart glasses described in FIG. 3 can display the racing scene for the occupant of the self-driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can experience the feeling of the racing car and keep the occupant awake while being entertained. Therefore, when an autonomous vehicle encounters an emergency, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
  • FIG. 5 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention.
  • the smart glasses shown in FIG. 5 are optimized by the smart glasses shown in FIG. 4.
  • the smart glasses may further include:
  • the calculating unit 305 is further configured to calculate a virtual speed and a magnification of the traveling speed.
  • the speed adjustment unit 307 is configured to perform a backward movement speed of the extended tunnel structure scene included in the extended tunnel scene obtained by the magnification change extension unit 304 calculated by the calculation unit 305.
  • the extended tunnel scene is included in a virtual racing scene, wherein the virtual racing scene further includes an adjustment length and a virtual speed.
  • the virtual racing scene may be a dynamic scene
  • the extended tunnel scene included in the virtual racing scene may also be a dynamic scene
  • the extended tunnel structure included in the extended tunnel scene may also be a dynamic scene
  • the adjusted back speed may be For the above, the backing speed of the tunnel structure scene is extended.
  • the rendering unit 308 is configured to perform fuzzy rendering on the extended tunnel structure scene obtained by the extension unit 304, so that the smart glasses wearer generates a feeling of advancing at a virtual speed when riding the self-driving vehicle.
  • the adding unit 306 may include:
  • the positioning subunit 3061 is configured to locate a current location of the tunnel according to the GPS positioning system.
  • the second obtaining subunit 3062 is configured to obtain a tunnel map corresponding to the tunnel according to the current location located by the positioning subunit 3061, and adjust the tunnel map to a racing map.
  • the third generation subunit 3063 is configured to acquire the location of the autopilot vehicle and the location of other vehicles in the tunnel by the real-time cloud database of the autopilot vehicle, and add the autopilot vehicle to the racing map obtained by the second acquisition subunit 3062.
  • the location corresponds to the signs of other vehicles in the tunnel, generating a new racing map.
  • the adding sub-unit 3064 is configured to add a new racing map generated by the third generating sub-unit 3063, adjust the length and the virtual speed in the extended unit 304 extended tunnel scene to generate a virtual racing scene.
  • the smart glasses described in the embodiments of the present invention can acquire the tunnel map of the current tunnel, adjust the tunnel map of the current tunnel, obtain a new racing map, and add the new racing map to the extended tunnel scene, so that the user You can view the new racing map in the auto-timed vehicle and learn where you are, which increases the richness of the user's information from the smart glasses.
  • the smart glasses described in FIG. 5 can virtualize the tunnel scene when the self-driving vehicle enters the tunnel, thereby to the virtual racing scene, and display the racing scene for the occupant of the self-driving vehicle, and further The blur rendering process is performed in the racing scene, so that the smart glasses can make the wearer feel the real racing scene by changing the visual information of the wearer, and enable the occupant to remain awake while being entertained, thereby encountering an emergency in the self-driving vehicle. In the case of the situation, the occupant can take emergency measures in time to reduce the probability of traffic accidents.
  • FIG. 6 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention. As shown in FIG. 6, the smart glasses may include:
  • a memory 601 storing executable program code
  • processor 602 coupled to the memory 601;
  • the processor 602 calls the executable program code stored in the memory 601 to execute a scene generation method for the self-driving vehicle of any of FIGS. 1 to 2.
  • the embodiment of the invention discloses a computer readable storage medium storing a computer program, wherein the computer program causes the computer to execute the scene generation method for the self-driving vehicle of any of FIGS. 1 to 2.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • OTPROM One-Time Programmable Read-Only Memory
  • EEPROM Electronically-Erasable Programmable Read-Only Memory
  • CD-ROM Compact Disc Read-Only Memory

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Traffic Control Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A scene generation method for a self-driving vehicle and intelligent glasses, comprising: when a self-driving vehicle drives into a tunnel, intelligent glasses obtain a virtual tunnel scene corresponding to the tunnel and obtain tunnel information of the tunnel and driving information of the self-driving vehicle, wherein the tunnel information at least comprises tunnel length, and the driving information at least comprises driving speed (101); and the intelligent glasses generate a virtual car racing-like scene according to the virtual tunnel scene, the tunnel information and the driving information. With the present invention, when the self-driving vehicle drives into a tunnel, the car racing-like scene may be generated for a passenger of the self-driving vehicle, wherein the passenger may watch the car racing-like scene so that a conscious state may be maintained. Therefore, the passenger may take emergency measures in time when the self-driving vehicle encounters an emergency situation, and the probability of traffic accidents is thus reduced.

Description

一种用于自动驾驶车辆的场景生成方法及智能眼镜Scene generating method and smart glasses for self-driving vehicle 技术领域Technical field
本发明涉及智能眼镜技术领域,具体涉及一种用于自动驾驶车辆的场景生成方法及智能眼镜。The present invention relates to the field of smart glasses, and in particular to a scene generating method and smart glasses for automatically driving a vehicle.
背景技术Background technique
目前,逐渐成熟的自动驾驶技术使得乘坐者可以在自动驾驶车辆中自由地做他们自己想做的事情。然而,在实践中发现,当自动驾驶车辆驶入隧道时,乘坐者会因为处于昏暗密封的隧道环境而产生困倦、乏力的感觉,使得在自动驾驶车辆遇到紧急情况时,乘坐者不能及时采取紧急措施,从而增加了交通事故发生的概率。At present, the mature autopilot technology allows occupants to freely do what they want in an autonomous vehicle. However, in practice, it is found that when the self-driving vehicle enters the tunnel, the occupant will feel sleepy and weak due to the dimly sealed tunnel environment, so that the occupant cannot take the time when the self-driving vehicle encounters an emergency. Emergency measures, thereby increasing the probability of a traffic accident.
发明内容Summary of the invention
本发明实施例公开一种用于自动驾驶车辆的场景生成方法及智能眼镜,能够在自动驾驶车辆驶入隧道时,为自动驾驶车辆的乘坐者生成赛车场景,使得乘坐者可以观看到该赛车场景,从而保持清醒的状态,进而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。The embodiment of the invention discloses a scene generating method for an autonomous driving vehicle and smart glasses, which can generate a racing scene for an occupant of an autonomous driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can view the racing scene. In order to remain awake, and in the event of an emergency in an autonomous vehicle, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
本发明实施例第一方面公开了一种用于自动驾驶车辆的场景生成方法,包括:A first aspect of an embodiment of the present invention discloses a method for generating a scene for an autonomous vehicle, including:
当所述自动驾驶车辆驶入隧道时,智能眼镜获取所述隧道对应的虚拟隧道场景,以及获取所述隧道的隧道信息和所述自动驾驶车辆的行驶信息;其中,所述隧道信息至少包括隧道长度,所述行驶信息至少包括行驶速度;When the self-driving vehicle enters the tunnel, the smart glasses acquire a virtual tunnel scene corresponding to the tunnel, and acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel Length, the driving information includes at least a driving speed;
所述智能眼镜按照预设增大倍数对所述隧道长度进行增大处理,得到调整长度;The smart glasses increase the length of the tunnel according to a preset increase multiple, and obtain an adjusted length;
所述智能眼镜将所述虚拟隧道场景的长度延长到所述调整长度,得到延长隧道场景;The smart glasses extend the length of the virtual tunnel scenario to the adjusted length to obtain an extended tunnel scenario;
所述智能眼镜根据所述隧道长度和所述行驶速度计算所述自动驾驶车辆驶离所述隧道所需的行驶时间,并根据所述调整长度和所述行驶时间计算出虚拟速度;The smart glasses calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed, and calculate a virtual speed according to the adjusted length and the travel time;
所述智能眼镜在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景。The smart glasses add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
作为一种可选的实施方式,在本发明实施例第一方面中,所述当所述自动驾驶车辆驶入隧道时,智能眼镜获取所述隧道对应的虚拟隧道场景,包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, when the self-driving vehicle enters the tunnel, the smart glasses acquire the virtual tunnel scenario corresponding to the tunnel, including:
当所述自动驾驶车辆驶入隧道时,智能眼镜获取所述隧道对应的隧道现实场景;所述隧道现实场景包括隧道结构场景、所述自动驾驶车辆的内部场景和所述隧道中的除所述自动驾驶车辆之外的外部车辆场景;When the self-driving vehicle enters the tunnel, the smart glasses acquire a tunnel real scene corresponding to the tunnel; the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and the An external vehicle scene outside the self-driving vehicle;
所述智能眼镜对所述隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景;The smart glasses virtualize the tunnel structure scenario to obtain a virtual tunnel structure scenario;
所述智能眼镜根据所述智能眼镜的佩戴者的喜好车辆生成虚拟喜好车辆的内部场景;所述智能眼镜的佩戴者的喜好车辆为所述智能眼镜预先存储的;The smart glasses generate an internal scene of the virtual favorite vehicle according to the preference of the wearer of the smart glasses; the favorite vehicle of the smart glasses is pre-stored by the smart glasses;
所述智能眼镜对所述自动驾驶车辆的内部场景进行虚拟化处理,得到所述自动驾驶车辆的虚拟内部场景;The smart glasses virtualize an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle;
所述智能眼镜将所述虚拟内部场景替换为所述虚拟喜好车辆的内部场景,作为虚拟车辆内部场景;The smart glasses replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene;
所述智能眼镜将所述隧道中的除所述自动驾驶车辆之外的外部车辆场景进行虚拟化处理,得到虚拟外部车辆场景;The smart glasses virtualize an external vehicle scene other than the self-driving vehicle in the tunnel to obtain a virtual external vehicle scene;
所述智能眼镜生成所述隧道对应的虚拟隧道场景;其中,所述虚拟隧道场景包括所述虚拟隧道结构场景、所述虚拟车辆内部场景和所述虚拟外部车辆场景。The smart glasses generate a virtual tunnel scenario corresponding to the tunnel; wherein the virtual tunnel scenario includes the virtual tunnel structure scenario, the virtual vehicle interior scenario, and the virtual external vehicle scenario.
作为一种可选的实施方式,在本发明实施例第一方面中,所述智能眼镜对所述隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景,包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, the smart glasses virtualize the tunnel structure scenario to obtain a virtual tunnel structure scenario, including:
所述智能眼镜对所述隧道结构场景进行虚拟化处理,得到第一隧道结构场景;The smart glasses virtualize the tunnel structure scenario to obtain a first tunnel structure scenario;
所述智能眼镜获取所述隧道所处的位置信息;The smart glasses acquire location information of the tunnel;
所述智能眼镜根据所述位置信息获取所述位置信息所属的行政区域;The smart glasses acquire an administrative area to which the location information belongs according to the location information;
所述智能眼镜获取所述行政区域内的第一景点对应的第一虚拟场景;The smart glasses acquire a first virtual scene corresponding to the first attraction in the administrative area;
所述智能眼镜将所述第一虚拟场景叠加到所述第一隧道结构场景中,得到虚拟隧道结构场景。The smart glasses superimpose the first virtual scene into the first tunnel structure scene to obtain a virtual tunnel structure scene.
作为一种可选的实施方式,在本发明实施例第一方面中,所述智能眼镜在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景之后,所述方法还包括:As an optional implementation manner, in the first aspect of the embodiments of the present invention, the smart glasses add the adjusted length and the virtual speed in the extended tunnel scenario, and after generating a virtual racing scene, the method Also includes:
所述智能眼镜计算所述虚拟速度和所述行驶速度的倍率;The smart glasses calculate a magnification of the virtual speed and the traveling speed;
所述智能眼镜按照所述倍率改变所述延长隧道场景包括的延长隧道结构场景向后移动的速度;The smart glasses change a speed of backward movement of the extended tunnel structure scene included in the extended tunnel scene according to the magnification;
所述智能眼镜对所述延长隧道结构场景进行模糊渲染,使得所述佩戴者在乘坐所述自动驾驶车辆时产生以所述虚拟速度前进的感觉。The smart glasses blur-render the extended tunnel structure scene such that the wearer generates a feeling of advancing at the virtual speed when riding the self-driving vehicle.
作为一种可选的实施方式,在本发明实施例第一方面中,所述智能眼镜在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景,包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, the smart glasses add the adjusted length and the virtual speed in the extended tunnel scenario to generate a virtual racing scene, including:
所述智能眼镜根据GPS定位系统定位所述隧道的当前位置;The smart glasses locate a current location of the tunnel according to a GPS positioning system;
所述智能眼镜根据所述当前位置获取与所述隧道对应的隧道地图,并调整所述隧道地图为赛车地图;The smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map;
所述智能眼镜通过所述自动驾驶车辆的实时云数据库获取所述自动驾驶车辆的位置和所述隧道中其它车辆的位置,并在所述赛车地图中添加与所述自动驾驶车辆的位置和所述隧道中其它车辆对应的标志,生成新赛车地图;The smart glasses acquire a position of the self-driving vehicle and a position of other vehicles in the tunnel through a real-time cloud database of the self-driving vehicle, and add a position and a location of the self-driving vehicle to the racing map Generate a new racing map by referring to the signs corresponding to other vehicles in the tunnel;
所述智能眼镜在所述延长隧道场景中添加所述新赛车地图、所述调整长度和所述虚拟速度,生成虚拟赛车场景。The smart glasses add the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
本发明实施例第二方面公开了一种智能眼镜,所述智能眼镜包括:A second aspect of the embodiments of the present invention discloses a smart glasses, where the smart glasses include:
第一获取单元,用于在所述智能眼镜的佩戴者乘坐自动驾驶车辆驶入隧道时,获取所述隧道对应的虚拟隧道场景;a first acquiring unit, configured to acquire a virtual tunnel scenario corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle;
第二获取单元,用于获取所述隧道的隧道信息和所述自动驾驶车辆的行驶信息;其中,所述隧道信息至少包括隧道长度,所述行驶信息至少包括行驶速度;a second acquiring unit, configured to acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a traveling speed;
长度调整单元,用于按照预设增大倍数对所述隧道长度进行增大处理,得到调整长度;a length adjustment unit, configured to increase the length of the tunnel according to a preset multiple, to obtain an adjusted length;
延长单元,用于将所述虚拟隧道场景的长度延长到所述调整长度,得到延长隧道场景;An extension unit, configured to extend a length of the virtual tunnel scenario to the adjusted length, to obtain an extended tunnel scenario;
计算单元,用于根据所述隧道长度和所述行驶速度计算所述自动驾驶车辆驶离所述隧道所需的行驶时间,并根据所述调整长度和所述行驶时间计算出虚拟速度;a calculating unit, configured to calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed, and calculate a virtual speed according to the adjusted length and the travel time;
添加单元,用于在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景。And an adding unit, configured to add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
作为一种可选的实施方式,在本发明实施例第二方面中,所述第一获取单元包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first acquiring unit includes:
第一获取子单元,用于在所述智能眼镜的佩戴者乘坐自动驾驶车辆驶入隧道时,获取所述隧道对应的隧道现实场景;所述隧道现实场景包括隧道结构场景、所述自动驾驶车辆的内部场景和所述隧道中的除所述自动驾驶车辆之外的外部车辆场景;a first acquisition subunit, configured to acquire a tunnel real scene corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the autopilot vehicle; the tunnel real scene includes a tunnel structure scene, and the autopilot vehicle An internal scene and an external vehicle scene in the tunnel other than the self-driving vehicle;
第一处理子单元,用于对所述隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景;a first processing sub-unit, configured to perform virtualization processing on the tunnel structure scenario to obtain a virtual tunnel structure scenario;
第一生成子单元,用于根据所述佩戴者的喜好车辆生成虚拟喜好车辆的内部场景;所述智能眼镜的佩戴者的喜好车辆为所述智能眼镜预先存储的;a first generating subunit, configured to generate an internal scene of the virtual favorite vehicle according to the wearer's favorite vehicle; the favorite vehicle of the smart glasses is pre-stored by the smart glasses;
第二处理子单元,用于对所述自动驾驶车辆的内部场景进行虚拟化处理,得到所述自动驾驶车辆的虚拟内部场景;a second processing sub-unit, configured to perform virtualization processing on an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle;
替换子单元,用于将所述虚拟内部场景替换为所述虚拟喜好车辆的内部场景,作为虚拟车辆内部场景;a replacement subunit, configured to replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene;
第三处理子单元,用于将所述隧道中的除所述自动驾驶车辆之外的外部车辆场景进行虚拟化处理,得到虚拟外部车辆场景;a third processing subunit, configured to virtualize an external vehicle scene other than the autopilot vehicle in the tunnel to obtain a virtual external vehicle scene;
第二生成子单元,用于生成所述隧道对应的虚拟隧道场景;其中,所述虚拟隧道场景包括所述虚拟隧道结构场景、所述虚拟车辆内部场景和所述虚拟外部车辆场景。a second generation sub-unit, configured to generate a virtual tunnel scenario corresponding to the tunnel, where the virtual tunnel scenario includes the virtual tunnel structure scenario, the virtual vehicle interior scenario, and the virtual external vehicle scenario.
作为一种可选的实施方式,在本发明实施例第二方面中,所述第一处理子单元包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first processing subunit includes:
处理模块,用于对所述隧道结构场景进行虚拟化处理,得到第一隧道结构场景;a processing module, configured to perform virtualization processing on the tunnel structure scenario to obtain a first tunnel structure scenario;
第一获取模块,用于获取所述隧道所处的位置信息;a first acquiring module, configured to acquire location information of the tunnel;
第二获取模块,用于根据所述位置信息获取所述位置信息所属的行政区域;a second acquiring module, configured to acquire, according to the location information, an administrative area to which the location information belongs;
第三获取模块,用于获取所述行政区域内的第一景点对应的第一虚拟场景;a third acquiring module, configured to acquire a first virtual scene corresponding to the first attraction in the administrative area;
叠加模块,用于将所述第一虚拟场景叠加到所述第一隧道结构场景中,得到虚拟隧道结构场景。And a superimposing module, configured to superimpose the first virtual scene into the first tunnel structure scenario to obtain a virtual tunnel structure scenario.
作为一种可选的实施方式,在本发明实施例第二方面中,所述智能眼镜还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart glasses further includes:
所述计算单元,还用于计算所述虚拟速度和所述行驶速度的倍率;The calculating unit is further configured to calculate a magnification of the virtual speed and the traveling speed;
速度调整单元,用于按照所述倍率改变所述延长隧道场景包括的延长隧道结构场景向后移动的速度;a speed adjustment unit, configured to change a speed of backward movement of the extended tunnel structure scene included in the extended tunnel scene according to the magnification;
渲染单元,用于对所述延长隧道结构场景进行模糊渲染,使得所述佩戴者在乘坐所述自动驾驶车辆时产生以所述虚拟速度前进的感觉。And a rendering unit, configured to perform fuzzy rendering on the extended tunnel structure scene, so that the wearer generates a feeling of advancing at the virtual speed when riding the self-driving vehicle.
作为一种可选的实施方式,在本发明实施例第二方面中,所述添加单元包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the adding unit includes:
定位子单元,用于根据GPS定位系统定位所述隧道的当前位置;a positioning subunit, configured to locate a current location of the tunnel according to a GPS positioning system;
第二获取子单元,用于根据所述当前位置获取与所述隧道对应的隧道地图,并调整所述隧道地图为赛车地图;a second acquiring subunit, configured to acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map;
第三生成子单元,用于通过所述自动驾驶车辆的实时云数据库获取所述自动驾驶车辆的位置和所述隧道中其它车辆的位置,并在所述赛车地图中添加与所述自动驾驶车辆的位置和所述隧道中其它车辆对应的标志,生成新赛车地图;a third generation subunit, configured to acquire, by a real-time cloud database of the self-driving vehicle, a location of the autopilot vehicle and a location of other vehicles in the tunnel, and add the autopilot vehicle to the racing map a location corresponding to other vehicles in the tunnel to generate a new racing map;
添加子单元,用于在所述延长隧道场景中添加所述新赛车地图、所述调整长度和所述虚拟速度,生成虚拟赛车场景。Adding a subunit for adding the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
本发明实施例第三方面公开一种智能眼镜,包括:A third aspect of the embodiments of the present invention discloses a smart glasses, including:
存储有可执行程序代码的存储器;a memory storing executable program code;
与所述存储器耦合的处理器;a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,执行本发明实施例第一方面公开的一种用于自动驾驶车辆的场景生成方法。The processor invokes the executable program code stored in the memory to execute a scene generation method for automatically driving a vehicle disclosed in the first aspect of the embodiments of the present invention.
本发明实施例第四方面公开一种计算机可读存储介质,其存储计算机程序,所述计算机程序使得计算机本发明实施例第一方面公开的一种用于自动驾驶车辆的场景生成方法。A fourth aspect of the embodiments of the present invention discloses a computer readable storage medium storing a computer program, the computer program causing a computer to generate a scene generation method for an autonomous vehicle disclosed in the first aspect of the embodiments of the present invention.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiment of the invention has the following beneficial effects:
本发明实施例中,智能眼镜在确定出自动驾驶车辆驶入隧道时,智能眼镜获取该隧道的隧道场景,以该隧道的隧道信息和自动驾驶车辆的行驶信息,智能眼镜根据预存的放大倍数,对隧道的长度进行放大,得到调整长度,并根据该调整长度对隧道场景进行延长处理得到延长隧道场景,并根据隧道信息和行驶信息得到虚拟速度,使得智能眼镜可以在延长隧道场景中添加上述调整长度和虚拟速度,从而生成虚拟赛车场景。可见,实施本发明实施例,智能眼镜能够在自动驾驶车辆驶入隧道时,获取当前隧道的场景和隧道信息以及当前自动驾驶车辆的行驶信息,从而根据上述场景、上述隧道信息和上述行驶信息为自动驾驶车辆的乘坐者生成赛车场景,使得乘坐者可以观看到该赛车场景,感受赛车场景带来的体验,从而保持清醒的状态,进而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。In the embodiment of the present invention, when the smart glasses determine that the self-driving vehicle enters the tunnel, the smart glasses acquire the tunnel scene of the tunnel, and the tunnel information of the tunnel and the driving information of the self-driving vehicle, and the smart glasses are based on the pre-stored magnification. The length of the tunnel is enlarged to obtain an adjusted length, and the tunnel scene is extended according to the adjusted length to obtain an extended tunnel scene, and the virtual speed is obtained according to the tunnel information and the driving information, so that the smart glasses can add the above adjustment in the extended tunnel scene. Length and virtual speed to generate a virtual racing scene. It can be seen that, in the embodiment of the present invention, the smart glasses can acquire the scene and tunnel information of the current tunnel and the driving information of the current self-driving vehicle when the self-driving vehicle enters the tunnel, so that according to the above scenario, the tunnel information and the driving information, The occupant of the self-driving vehicle generates a racing scene, so that the occupant can watch the racing scene and feel the experience brought by the racing scene, so as to remain awake, and then the occupant can take timely when the self-driving vehicle encounters an emergency situation. Emergency measures to reduce the probability of traffic accidents.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种用于自动驾驶车辆的场景生成方法的流程示意图;1 is a schematic flow chart of a method for generating a scene for an automatically driving vehicle according to an embodiment of the present invention;
图2是本发明实施例公开的另一种用于自动驾驶车辆的场景生成方法的流程示意图;2 is a schematic flow chart of another method for generating a scene for an autonomous vehicle according to an embodiment of the present invention;
图3是本发明实施例公开的一种智能眼镜的结构示意图;3 is a schematic structural diagram of a smart glasses disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种智能眼镜的结构示意图;4 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种智能眼镜的结构示意图;FIG. 5 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention; FIG.
图6是本发明实施例公开的另一种智能眼镜的结构示意图。FIG. 6 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
需要说明的是,本发明实施例及附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "comprises" and "comprising" and "the" For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
本发明实施例公开一种用于自动驾驶车辆的场景生成方法及智能眼镜,能够在自动驾驶车辆驶入隧道时,为自动驾驶车辆的乘坐者生成赛车场景,使得乘坐者可以观看到该赛车场景,从而保持清醒的状态,进而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。以下分别进行详细说明。The embodiment of the invention discloses a scene generating method for an autonomous driving vehicle and smart glasses, which can generate a racing scene for an occupant of an autonomous driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can view the racing scene. In order to remain awake, and in the event of an emergency in an autonomous vehicle, the occupant can take emergency measures in time to reduce the probability of a traffic accident. The details are described below separately.
实施例一Embodiment 1
请参阅图1,图1是本发明实施例公开的一种用于自动驾驶车辆的场景生成方法的流程示意图。如图1所示,该用于自动驾驶车辆的场景生成方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of a method for generating a scene for an automatically driven vehicle according to an embodiment of the present invention. As shown in FIG. 1, the scene generation method for automatically driving a vehicle may include the following steps:
101、当自动驾驶车辆驶入隧道时,智能眼镜获取上述隧道对应的虚拟隧道场景,以及获取上述隧道的隧道信息和上述自动驾驶车辆的行驶信息;其中,上述隧道信息至少包括隧道长度,上述行驶信息至少包括行驶速度。101. When the self-driving vehicle enters the tunnel, the smart glasses acquire the virtual tunnel scene corresponding to the tunnel, and acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving The information includes at least the speed of travel.
作为一种可选的实施方式,当自动驾驶车辆驶入隧道时,智能眼镜获取上述隧道对应的虚拟隧道场景可以包括:As an optional implementation manner, when the self-driving vehicle enters the tunnel, the smart glasses acquiring the virtual tunnel scenario corresponding to the tunnel may include:
智能眼镜检测自动驾驶车辆是否驶入隧道,若是,则获取上述隧道对应的虚拟隧道场景;若否,则结束本流程。The smart glasses detect whether the self-driving vehicle enters the tunnel, and if so, obtain the virtual tunnel scene corresponding to the tunnel; if not, the process ends.
实施这种实施方式,为智能眼镜提供一种判断自动驾驶车辆是否驶入隧道的方法,使得智能眼镜的功能更加丰富。Implementing such an embodiment provides a method for judging whether the self-driving vehicle enters the tunnel for the smart glasses, so that the functions of the smart glasses are more abundant.
作为一种可选的实施方式,智能眼镜检测自动驾驶车辆是否驶入隧道,可以包括:As an optional implementation manner, the smart glasses detecting whether the self-driving vehicle enters the tunnel may include:
智能眼镜通过智能眼镜内置的摄像装置获取智能眼镜佩戴者的视场信息,并根据该视场信息判断自动驾驶车辆是否驶入隧道。The smart glasses acquire the field of view information of the smart glasses wearer through the camera device built in the smart glasses, and determine whether the self-driving vehicle enters the tunnel based on the field of view information.
实施这种实施方式,可以为智能眼镜添加一种使用内置摄像装置来判断当前自动驾驶车辆是否驶入隧道的方法。By implementing such an embodiment, a method of using the built-in camera to determine whether the current self-driving vehicle is driving into the tunnel can be added to the smart glasses.
作为一种可选的实施方式,智能眼镜检测自动驾驶车辆是否驶入隧道,可以 包括:As an optional implementation manner, the smart glasses detect whether the self-driving vehicle enters the tunnel, and may include:
智能眼镜与自动驾驶车辆建立数据连接,智能眼镜获取自动驾驶车辆内置的摄像设摄像得到的图像信息,智能眼镜根据该图像信息判断自动驾驶车辆是否驶入隧道。The smart glasses establish a data connection with the self-driving vehicle, and the smart glasses acquire image information obtained by imaging the built-in camera of the self-driving vehicle, and the smart glasses determine whether the self-driving vehicle enters the tunnel according to the image information.
实施这种实施方式,智能眼镜可以与自动驾驶车辆进行数据连接,使得智能眼镜可以获取自动驾驶车辆获取到的各种信息,并根据该各种信息判断自动驾驶车辆是否驶入隧道,从而使得智能眼镜判断自动驾驶车辆是否进入隧道的准确程度更高,提高了智能眼镜的可靠程度。By implementing such an embodiment, the smart glasses can be connected with the self-driving vehicle, so that the smart glasses can acquire various information acquired by the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the various information, thereby making the smart The glasses determine whether the self-driving vehicle enters the tunnel with a higher degree of accuracy, which improves the reliability of the smart glasses.
作为一种可选的实施方式,智能眼镜与自动驾驶车辆建立数据连接,智能眼镜获取自动驾驶车辆内置的摄像设备摄像得到的图像信息,智能眼镜根据该图像信息判断自动驾驶车辆是否驶入隧道,可以包括:As an optional implementation manner, the smart glasses establish a data connection with the self-driving vehicle, and the smart glasses acquire image information obtained by the camera device built in the self-driving vehicle, and the smart glasses determine, according to the image information, whether the self-driving vehicle enters the tunnel. Can include:
智能眼镜与自动驾驶车辆建立数据连接,其中智能眼镜与自动驾驶车辆的数据连接为智能眼镜数据连接数据云端,数据云端数据连接自动驾驶车辆,智能眼镜通过数据云端获取自动驾驶车辆的内置摄像设备摄像得到的图像信息,并根据该图像信息判断自动驾驶车辆是否驶入隧道;其中数据云端是自动驾驶车辆的实时数据库。The smart glasses establish a data connection with the self-driving vehicle, wherein the data connection between the smart glasses and the self-driving vehicle is a smart glasses data connection data cloud, the data cloud data connection automatically drives the vehicle, and the smart glasses acquire the built-in camera device of the self-driving vehicle through the data cloud. Obtaining image information, and judging whether the self-driving vehicle enters the tunnel according to the image information; wherein the data cloud is a real-time database of the self-driving vehicle.
实施这种实施方式,智能眼镜连接自动驾驶车辆的数据云端,并根据上述数据云端内的数据对自动驾驶车辆是否进入隧道进行判断,从而为智能眼镜判断自动驾驶车辆是否进入隧道提供一级缓冲,使得智能眼镜基于数据云端中的数据进行判断,进而提高了智能眼镜判断自动计时车辆是否进入隧道的可靠性。Implementing such an implementation manner, the smart glasses are connected to the data cloud of the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the data in the data cloud, thereby providing the first-level buffer for the smart glasses to determine whether the self-driving vehicle enters the tunnel. The smart glasses are judged based on the data in the data cloud, thereby improving the reliability of the smart glasses to determine whether the automatic timed vehicle enters the tunnel.
102、智能眼镜按照预设增大倍数对隧道长度进行增大处理,得到调整长度。102. The smart glasses increase the length of the tunnel according to a preset multiple increase, and obtain an adjustment length.
作为一种可选的实施方式,智能眼镜按照预设增大倍数对隧道长度进行增大处理,得到调整长度之前,还可以包括:As an optional implementation manner, the smart glasses increase the length of the tunnel according to a preset multiple, and before the adjustment length is obtained, the smart glasses may further include:
智能眼镜获取赛车车程,并获取上述赛车车程与隧道长度之间的比值,作为预设增大倍数。The smart glasses get the car ride and get the ratio between the above car ride and the tunnel length as a preset increase factor.
实施这种实施方式,智能眼镜可以根据实际的赛车车程计算增大倍数,使得隧道长度在进行增大处理的时候,可以与赛车的车程更加相似,从而提高了赛车场景的还原程度,丰富了智能眼镜的功能细节,提高了用户的体验。By implementing this embodiment, the smart glasses can be calculated according to the actual racing distance, so that the tunnel length can be more similar to the driving of the car when the processing is increased, thereby improving the reduction degree of the racing scene and enriching the intelligence. The functional details of the glasses enhance the user experience.
作为一种可选的实施方式,智能眼镜获取赛车车程可以包括:As an optional implementation manner, the smart glasses acquiring the driving distance of the car may include:
智能眼镜通过网络获取大量赛车车程数据,智能眼镜根据上述大量赛车车程数据得到平均赛车车程数据,作为赛车车程。The smart glasses get a lot of racing car data through the network, and the smart glasses get the average racing car data based on the above-mentioned large number of racing car data, as a racing car.
实施这种实施方式,智能眼镜可以通过大量数据进行平均计算,得到一个最适合赛车车程,从而提高了智能眼镜的智能程度以及为用户提供的效果体验。By implementing this embodiment, the smart glasses can be averaged by a large amount of data to obtain a most suitable car ride, thereby improving the intelligence of the smart glasses and the effect experience provided to the user.
103、智能眼镜将虚拟隧道场景的长度延长到调整长度,得到延长隧道场景。103. The smart glasses extend the length of the virtual tunnel scene to the adjusted length to obtain an extended tunnel scenario.
本发明实施例中,智能眼镜将虚拟隧道场景的长度延长到调整长度,调整的而是虚拟隧道场景中虚拟隧道结构的长度,其中自动驾驶车辆、其它车辆的长度不做更改。In the embodiment of the present invention, the smart glasses extend the length of the virtual tunnel scene to the adjusted length, and the length of the virtual tunnel structure in the virtual tunnel scene is adjusted, and the lengths of the self-driving vehicles and other vehicles are not changed.
104、智能眼镜根据隧道长度和行驶速度计算自动驾驶车辆驶离隧道所需的行驶时间,并根据调整长度和行驶时间计算出虚拟速度。104. The smart glasses calculate the travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the traveling speed, and calculate the virtual speed according to the adjusted length and the travel time.
105、智能眼镜在延长隧道场景中添加调整长度和虚拟速度,生成虚拟赛车场景。105. The smart glasses add an adjustment length and a virtual speed in the extended tunnel scene to generate a virtual racing scene.
在本发明实施例中,智能眼镜在延长隧道场景中添加的调整长度和虚拟速度可以是虚拟形象,可以放置在延长隧道场景种的任意位置,对调整长度和虚拟速度虚拟形象的放置位置,本发明实施例不做限定。In the embodiment of the present invention, the adjustment length and the virtual speed added by the smart glasses in the extended tunnel scene may be avatars, and may be placed at any position of the extended tunnel scene, and the position of the adjusted length and the virtual speed avatar is The embodiments of the invention are not limited.
在图1所描述的方法中,智能眼镜可以在检测到自动驾驶车辆驶入隧道时,获取上述隧道的隧道信息和上述自动驾驶车辆的行驶信息,智能眼镜对上述隧道信息的隧道长度进行增大处理得到调整长度,并延长虚拟隧道场景的长度到调整长度,得到延长隧道场景,在得到延长隧道场景之后,再对虚拟速度进行计算,并在延长隧道场景中显示虚拟速度和调整长度的虚拟形象。可见,图1所描述的方法能够在自动驾驶车辆驶入隧道时,为自动驾驶车辆的乘坐者显示赛车场景,使得乘坐者可以体验赛车的感觉,并使乘坐者在娱乐的同时保持清醒状态,从而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。In the method described in FIG. 1, the smart glasses may acquire the tunnel information of the tunnel and the driving information of the autonomous driving vehicle when detecting that the self-driving vehicle enters the tunnel, and the smart glasses increase the tunnel length of the tunnel information. The processing length is adjusted, and the length of the virtual tunnel scene is extended to the length of the adjustment. The extended tunnel scene is obtained. After the extended tunnel scene is obtained, the virtual speed is calculated, and the virtual image of the virtual speed and the adjusted length is displayed in the extended tunnel scene. . It can be seen that the method described in FIG. 1 can display the racing scene for the occupant of the self-driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can experience the feeling of the racing car and keep the occupant awake while being entertained. Therefore, when an autonomous vehicle encounters an emergency, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
实施例二Embodiment 2
请参阅图2,图2是本发明实施例公开的另一种用于自动驾驶车辆的场景生成方法的流程示意图。如图2所示,该用于自动驾驶车辆的场景生成方法可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another method for generating a scene for an autonomous vehicle according to an embodiment of the present invention. As shown in FIG. 2, the scene generation method for the self-driving vehicle may include the following steps:
201、当自动驾驶车辆驶入隧道时,智能眼镜获取隧道对应的隧道现实场景;该隧道现实场景包括隧道结构场景、自动驾驶车辆的内部场景和隧道中的除自动驾驶车辆之外的外部车辆场景。201. When the self-driving vehicle enters the tunnel, the smart glasses acquire a tunnel real scene corresponding to the tunnel; the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and an external vehicle scene other than the self-driving vehicle in the tunnel. .
本发明实施例中,隧道结构场景可以包括隧道的结构框架、该结构框架上的涂覆结构、以及机构框架上的装饰等隧道场景中除车辆以外的事物,对此本发明实施例不做限定。In the embodiment of the present invention, the tunnel structure scenario may include a structural frame of the tunnel, a coating structure on the structural frame, and a decoration in a tunnel scene such as a decoration on the mechanism frame, except for the vehicle, which is not limited in this embodiment of the present invention. .
202、智能眼镜对隧道结构场景进行虚拟化处理,得到第一隧道结构场景。202. The smart glasses virtualize the tunnel structure scenario to obtain a first tunnel structure scenario.
203、智能眼镜获取隧道所处的位置信息。203. The smart glasses acquire location information of the tunnel.
204、智能眼镜根据位置信息获取位置信息所属的行政区域。204. The smart glasses acquire an administrative area to which the location information belongs according to the location information.
205、智能眼镜获取行政区域内的第一景点对应的第一虚拟场景。205. The smart glasses acquire a first virtual scene corresponding to the first attraction in the administrative area.
206、智能眼镜将第一虚拟场景叠加到第一隧道结构场景中,得到虚拟隧道 结构场景。206. The smart glasses superimpose the first virtual scene into the first tunnel structure scenario to obtain a virtual tunnel structure scenario.
实施步骤202~步骤206,智能眼镜可以在隧道结构场景中,覆盖叠加当前城市对应景点的虚拟场景,达到丰富隧道结构场景的作用,并使得智能眼镜的佩戴者可以观看到自己是在当前城市的景点中进行赛车体验,从而提高了用户的交互体验,为用户提供一种新型的娱乐方式。 Steps 202 to 206 are performed, and the smart glasses can cover the virtual scene of the corresponding attraction in the current city in the tunnel structure scene, thereby enriching the structure of the tunnel structure, and enabling the wearer of the smart glasses to watch that they are in the current city. The racing experience in the scenic spots enhances the user's interactive experience and provides users with a new type of entertainment.
207、智能眼镜根据智能眼镜的佩戴者的喜好车辆生成虚拟喜好车辆的内部场景;上述智能眼镜的佩戴者的喜好车辆为智能眼镜预先存储的。207. The smart glasses generate an internal scene of the virtual favorite vehicle according to the preference of the wearer of the smart glasses; the favorite vehicle of the wearer of the smart glasses is pre-stored by the smart glasses.
208、智能眼镜对自动驾驶车辆的内部场景进行虚拟化处理,得到自动驾驶车辆的虚拟内部场景。208. The smart glasses virtualize an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle.
209、智能眼镜将虚拟内部场景替换为虚拟喜好车辆的内部场景,作为虚拟车辆内部场景。209. The smart glasses replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene.
210、智能眼镜将隧道中的除自动驾驶车辆之外的外部车辆场景进行虚拟化处理,得到虚拟外部车辆场景。210. The smart glasses virtualize an external vehicle scene other than the self-driving vehicle in the tunnel to obtain a virtual external vehicle scene.
211、智能眼镜生成隧道对应的虚拟隧道场景;其中,该虚拟隧道场景包括虚拟隧道结构场景、虚拟车辆内部场景和虚拟外部车辆场景。211. The smart glasses generate a virtual tunnel scenario corresponding to the tunnel. The virtual tunnel scenario includes a virtual tunnel structure scenario, a virtual vehicle interior scenario, and a virtual external vehicle scenario.
实施步骤207~步骤211,智能眼镜可以根据乘坐者的喜好来更改乘坐者所乘坐的自动驾驶车辆的内部场景,使得乘坐者在佩戴智能眼镜观看该场景时更容易获得满足感,从而高了智能眼镜的功能丰富性。 Steps 207 to 211 are implemented, and the smart glasses can change the internal scene of the self-driving vehicle that the occupant rides according to the occupant's preference, so that the occupant can more easily obtain satisfaction when wearing the smart glasses to view the scene, thereby increasing the intelligence. The functional richness of the glasses.
212、智能眼镜获取上述隧道的隧道信息和上述自动驾驶车辆的行驶信息;其中,上述隧道信息至少包括隧道长度,上述行驶信息至少包括行驶速度。212. The smart glasses acquire tunnel information of the tunnel and driving information of the self-driving vehicle, wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a driving speed.
213、智能眼镜按照预设增大倍数对隧道长度进行增大处理,得到调整长度。213. The smart glasses increase the length of the tunnel according to a preset multiple increase, and obtain an adjustment length.
214、智能眼镜将虚拟隧道场景的长度延长到调整长度,得到延长隧道场景。214. The smart glasses extend the length of the virtual tunnel scene to the adjusted length to obtain an extended tunnel scenario.
215、智能眼镜根据隧道长度和行驶速度计算自动驾驶车辆驶离隧道所需的行驶时间,并根据调整长度和行驶时间计算出虚拟速度。215. The smart glasses calculate the travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the traveling speed, and calculate the virtual speed according to the adjusted length and the travel time.
216、智能眼镜根据GPS定位系统定位隧道的当前位置。216. The smart glasses locate the current location of the tunnel according to the GPS positioning system.
217、智能眼镜根据当前位置获取与隧道对应的隧道地图,并调整隧道地图为赛车地图。217. The smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map.
作为一种可选的实施方式,智能眼镜根据当前位置获取与隧道对应的隧道地图,并调整隧道地图为赛车地图,可以包括:As an optional implementation manner, the smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map, which may include:
智能眼镜根据当前位置获取与隧道对应的隧道地图,智能眼镜对该隧道地图进行线路提取,并对提取出来的线路进行赛车地图化调整(加宽线路调整与突出线路调整等),得到赛车地图。The smart glasses acquire the tunnel map corresponding to the tunnel according to the current location, the smart glasses extract the route of the tunnel map, and perform the map adjustment of the extracted route (widening the line adjustment and the protruding line adjustment, etc.) to obtain the racing map.
实施这种实施方式,智能眼镜可以根据实际的隧道地图生成相应的赛车地图,为用户提供当前隧道的地图信息,使得用户知道当前所在的位置与隧道长度 等信息,从而提高了智能设备提供的信息量,进而便于用户对当前场景进行了解。By implementing such an implementation manner, the smart glasses can generate a corresponding racing map according to the actual tunnel map, and provide the user with map information of the current tunnel, so that the user knows the current location and the length of the tunnel, thereby improving the information provided by the smart device. Amount, which is convenient for the user to understand the current scene.
218、智能眼镜通过自动驾驶车辆的实时云数据库获取自动驾驶车辆的位置和隧道中其它车辆的位置,并在赛车地图中添加与自动驾驶车辆的位置和隧道中其它车辆对应的标志,生成新赛车地图。218. The smart glasses acquire the position of the self-driving vehicle and the position of other vehicles in the tunnel through the real-time cloud database of the self-driving vehicle, and add a flag corresponding to the position of the self-driving vehicle and other vehicles in the tunnel in the racing map to generate a new racing car. map.
举例来说,智能眼镜获取到赛车地图和车辆的位置信息时,智能眼镜根据上述车辆的位置信息在赛车地图中以点的形式进行标记,其中自动驾驶车辆是红点,其他车辆是黑点,从而形成新赛车地图,并且该新赛车地图为实时地图,进而使得用户可以根据该新赛车地图清楚地了解当前的隧道车辆情况。For example, when the smart glasses acquire the position information of the racing map and the vehicle, the smart glasses mark the points in the racing map according to the position information of the above-mentioned vehicles, wherein the self-driving vehicle is a red dot, and the other vehicles are black dots. A new racing map is thus formed, and the new racing map is a real-time map, thereby enabling the user to clearly understand the current tunnel vehicle situation based on the new racing map.
219、智能眼镜在延长隧道场景中添加新赛车地图、调整长度和虚拟速度,生成虚拟赛车场景。219. The smart glasses add a new racing map, adjust the length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
实施步骤216~步骤219,智能眼镜可以获取到当前隧道的隧道地图,并对当前隧道的隧道地图进行调整,得到新赛车地图,并在延长隧道场景中添加该新赛车地图,使得用户可以在自动计时车辆内观看到新赛车地图,并了解到自己所在的位置,从而提高了用户从智能眼镜获知信息的丰富程度。 Steps 216 to 219 are implemented, and the smart glasses can obtain the tunnel map of the current tunnel, adjust the tunnel map of the current tunnel, obtain a new racing map, and add the new racing map in the extended tunnel scene, so that the user can automatically Watching the new racing map in the timed vehicle and knowing where you are, thus increasing the richness of the user's information from the smart glasses.
220、智能眼镜计算虚拟速度和行驶速度的倍率。220. The smart glasses calculate the virtual speed and the speed of the driving speed.
221、智能眼镜按照倍率改变延长隧道场景包括的延长隧道结构场景向后移动的速度。221. The smart glasses change the rate of backward movement of the extended tunnel structure scene included in the tunnel scene according to the magnification change.
222、智能眼镜对延长隧道结构场景进行模糊渲染,使得佩戴者在乘坐自动驾驶车辆时产生以虚拟速度前进的感觉。222. The smart glasses blur-render the extended tunnel structure scene, so that the wearer generates a feeling of advancing at a virtual speed when riding the self-driving vehicle.
在图2所描述的方法中,智能眼镜可以在检测到自动驾驶车辆驶入隧道时,获取隧道的现实场景,并对隧道的现实场景进行虚拟化处理,生成隧道的虚拟场景,并获取隧道的隧道信息和自动驾驶车辆的行驶信息,智能眼镜对上述隧道信息的隧道长度进行增大处理得到调整长度,并延长虚拟隧道场景的长度到调整长度,得到延长隧道场景,在得到延长隧道场景之后,再对虚拟速度进行计算,智能眼镜获取隧道的地图信息,并生成新赛车地图,并在延长隧道场景中显示虚拟速度、调整长度的虚拟形象和新赛车地图,并在输出延长隧道场景之后对延长隧道场景进行速度调整与渲染处理,使得用户感觉出自动驾驶车辆正在以高速前进,从而营造了赛车的场景。可见,图2所描述的方法能够在自动驾驶车辆驶入隧道时,智能眼镜对隧道场景进行虚拟化调整,从而到虚拟赛车场景,并为自动驾驶车辆的乘坐者显示赛车场景,并进一步的在赛车场景之中进行模糊渲染处理,使得智能眼镜可以通过改变佩戴者的视觉信息使得佩戴者感受真实的赛车场景,并使乘坐者在娱乐的同时保持清醒状态,从而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。In the method described in FIG. 2, the smart glasses can acquire the real scene of the tunnel when the self-driving vehicle enters the tunnel, and virtualize the real scene of the tunnel, generate a virtual scene of the tunnel, and acquire the tunnel. The tunnel information and the driving information of the self-driving vehicle, the smart glasses increase the tunnel length of the tunnel information to obtain an adjustment length, and extend the length of the virtual tunnel scene to the adjustment length to obtain an extended tunnel scene. After the extended tunnel scene is obtained, Then calculate the virtual speed, the smart glasses acquire the map information of the tunnel, generate a new racing map, and display the virtual speed, the adjusted length avatar and the new racing map in the extended tunnel scene, and extend the extension after the extended tunnel scene is output. The tunnel scene is speed-adjusted and rendered so that the user feels that the self-driving vehicle is moving at a high speed, creating a racing scene. It can be seen that the method described in FIG. 2 enables the smart glasses to virtualize the tunnel scene when the self-driving vehicle enters the tunnel, thereby to the virtual racing scene and display the racing scene for the occupant of the self-driving vehicle, and further The fuzzy rendering process is performed in the racing scene, so that the smart glasses can make the wearer feel the real racing scene by changing the visual information of the wearer, and enable the occupant to remain awake while being entertained, thereby encountering an emergency in the self-driving vehicle. When the occupants can take emergency measures in time to reduce the probability of traffic accidents.
实施例三Embodiment 3
请参阅图3,图3是本发明实施例公开的一种智能眼镜的结构示意图。如图3所示,该智能眼镜可以包括:Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a smart glasses according to an embodiment of the present invention. As shown in FIG. 3, the smart glasses may include:
第一获取单元301,用于在智能眼镜的佩戴者乘坐自动驾驶车辆驶入隧道时,获取隧道对应的虚拟隧道场景。The first obtaining unit 301 is configured to acquire a virtual tunnel scenario corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle.
作为一种可选的实施方式,第一获取单元301可以包括:As an optional implementation manner, the first obtaining unit 301 may include:
检测子单元,用于检测自动驾驶车辆是否驶入隧道,若是,则获取上述隧道对应的虚拟隧道场景;若否,则结束本流程。The detection subunit is configured to detect whether the self-driving vehicle enters the tunnel, and if so, obtain the virtual tunnel scenario corresponding to the tunnel; if not, the process ends.
实施这种实施方式,为智能眼镜提供一种判断自动驾驶车辆是否驶入隧道的方法,使得智能眼镜的功能更加丰富。Implementing such an embodiment provides a method for judging whether the self-driving vehicle enters the tunnel for the smart glasses, so that the functions of the smart glasses are more abundant.
作为一种可选的实施方式,检测子单元可以包括:As an optional implementation manner, the detecting subunit may include:
视场信息获取模块,用于通过智能眼镜内置的摄像装置获取智能眼镜佩戴者的视场信息;a field of view information acquiring module, configured to acquire, by using an image capturing device built in the smart glasses, field of view information of the smart glasses wearer;
判断模块,用于根据该视场信息判断自动驾驶车辆是否驶入隧道。The judging module is configured to judge, according to the field of view information, whether the self-driving vehicle enters the tunnel.
实施这种实施方式,可以为智能眼镜添加一种使用内置摄像装置来判断当前自动驾驶车辆是否驶入隧道的方法。By implementing such an embodiment, a method of using the built-in camera to determine whether the current self-driving vehicle is driving into the tunnel can be added to the smart glasses.
作为一种可选的实施方式,检测子单元可以包括:As an optional implementation manner, the detecting subunit may include:
连接模块,用于与自动驾驶车辆建立数据连接;a connection module for establishing a data connection with an autonomous vehicle;
图像获取模块,用于获取自动驾驶车辆内置的摄像设备摄像得到的图像信息;An image acquisition module, configured to acquire image information obtained by imaging an imaging device built in the self-driving vehicle;
判断模块,用于根据该图像信息判断自动驾驶车辆是否驶入隧道。The judging module is configured to judge, according to the image information, whether the self-driving vehicle enters the tunnel.
实施这种实施方式,智能眼镜可以与自动驾驶车辆进行数据连接,使得智能眼镜可以获取自动驾驶车辆获取到的各种信息,并根据该各种信息判断自动驾驶车辆是否驶入隧道,从而使得智能眼镜判断自动驾驶车辆是否进入隧道的准确程度更高,提高了智能眼镜的可靠程度。By implementing such an embodiment, the smart glasses can be connected with the self-driving vehicle, so that the smart glasses can acquire various information acquired by the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the various information, thereby making the smart The glasses determine whether the self-driving vehicle enters the tunnel with a higher degree of accuracy, which improves the reliability of the smart glasses.
进一步可选的,连接模块,具体用于与自动驾驶车辆建立数据连接,其中智能眼镜与自动驾驶车辆的数据连接为智能眼镜数据连接数据云端,数据云端数据连接自动驾驶车辆;图像获取模块,具体用于通过数据云端获取自动驾驶车辆的内置摄像设备摄像得到的图像信息;判断模块,具体用于根据该图像信息判断自动驾驶车辆是否驶入隧道;其中数据云端是自动驾驶车辆的实时数据库。Further optionally, the connection module is specifically configured to establish a data connection with the self-driving vehicle, wherein the data connection between the smart glasses and the self-driving vehicle is a smart glasses data connection data cloud, the data cloud data connection automatically drives the vehicle; the image acquisition module, specific The image information obtained by acquiring the built-in camera device of the self-driving vehicle through the data cloud; the determining module is specifically configured to determine, according to the image information, whether the self-driving vehicle enters the tunnel; wherein the data cloud is a real-time database of the self-driving vehicle.
实施这种实施方式,智能眼镜连接自动驾驶车辆的数据云端,并根据上述数据云端内的数据对自动驾驶车辆是否进入隧道进行判断,从而为智能眼镜判断自动驾驶车辆是否进入隧道提供一级缓冲,使得智能眼镜基于数据云端中的数据进行判断,进而提高了智能眼镜判断自动计时车辆是否进入隧道的可靠性。Implementing such an implementation manner, the smart glasses are connected to the data cloud of the self-driving vehicle, and judge whether the self-driving vehicle enters the tunnel according to the data in the data cloud, thereby providing the first-level buffer for the smart glasses to determine whether the self-driving vehicle enters the tunnel. The smart glasses are judged based on the data in the data cloud, thereby improving the reliability of the smart glasses to determine whether the automatic timed vehicle enters the tunnel.
第二获取单元302,用于获取隧道的隧道信息和自动驾驶车辆的行驶信息; 其中,隧道信息至少包括隧道长度,行驶信息至少包括行驶速度。The second obtaining unit 302 is configured to acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a traveling speed.
长度调整单元303,用于按照预设增大倍数对第二获取单元302获取到的隧道长度进行增大处理,得到调整长度。The length adjustment unit 303 is configured to perform an increase process on the tunnel length acquired by the second obtaining unit 302 according to the preset increase multiple to obtain an adjusted length.
作为一种可选的实施方式,智能眼镜还可以包括:As an optional implementation manner, the smart glasses may further include:
车程获取单元,用于获取赛车车程;a ride acquisition unit for obtaining a car ride;
增大倍数计算单元,用于获取上述赛车车程与隧道长度之间的比值,作为预设增大倍数。The multiplier calculating unit is configured to obtain a ratio between the driving distance of the above-mentioned car and the length of the tunnel as a preset increasing multiple.
实施这种实施方式,智能眼镜可以根据实际的赛车车程计算增大倍数,使得隧道长度在进行增大处理的时候,可以与赛车的车程更加相似,从而提高了赛车场景的还原程度,丰富了智能眼镜的功能细节,提高了用户的体验。By implementing this embodiment, the smart glasses can be calculated according to the actual racing distance, so that the tunnel length can be more similar to the driving of the car when the processing is increased, thereby improving the reduction degree of the racing scene and enriching the intelligence. The functional details of the glasses enhance the user experience.
作为一种可选的实施方式,车程获取单元具体可以用于通过网络获取大量赛车车程数据,智能眼镜根据上述大量赛车车程数据得到平均赛车车程数据,作为赛车车程。As an optional implementation manner, the driving acquisition unit can be specifically used to obtain a large amount of racing driving data through the network, and the smart glasses obtain the average racing driving data according to the above-mentioned large number of racing driving data as a racing driving.
实施这种实施方式,智能眼镜可以通过大量数据进行平均计算,得到一个最适合赛车车程,从而提高了智能眼镜的智能程度以及为用户提供的效果体验。By implementing this embodiment, the smart glasses can be averaged by a large amount of data to obtain a most suitable car ride, thereby improving the intelligence of the smart glasses and the effect experience provided to the user.
延长单元304,用于将第一获取单元301获取到的虚拟隧道场景的长度延长到长度调整单元303调整得到的调整长度,得到延长隧道场景。The extension unit 304 is configured to extend the length of the virtual tunnel scenario acquired by the first acquiring unit 301 to the adjustment length adjusted by the length adjustment unit 303 to obtain an extended tunnel scenario.
本发明实施例中,智能眼镜将虚拟隧道场景的长度延长到调整长度,调整的而是虚拟隧道场景中虚拟隧道结构的长度,其中自动驾驶车辆、其它车辆的长度不做更改。In the embodiment of the present invention, the smart glasses extend the length of the virtual tunnel scene to the adjusted length, and the length of the virtual tunnel structure in the virtual tunnel scene is adjusted, and the lengths of the self-driving vehicles and other vehicles are not changed.
计算单元305,用于根据第二获取单元302获取到的隧道长度和行驶速度计算自动驾驶车辆驶离隧道所需的行驶时间,并根据调整长度和行驶时间计算出虚拟速度。The calculation unit 305 is configured to calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed acquired by the second acquisition unit 302, and calculate the virtual speed according to the adjusted length and the travel time.
添加单元306,用于在延长单元304调整得到的延长隧道场景中添加长度调整单元303得到的调整长度和计算单元305计算出的虚拟速度,生成虚拟赛车场景。The adding unit 306 is configured to add the adjustment length obtained by the length adjusting unit 303 and the virtual speed calculated by the calculating unit 305 in the extended tunnel scene adjusted by the extension unit 304 to generate a virtual racing scene.
在本发明实施例中,智能眼镜在延长隧道场景中添加的调整长度和虚拟速度可以是虚拟形象,可以放置在延长隧道场景种的任意位置,对调整长度和虚拟速度虚拟形象的放置位置,本发明实施例不做限定。In the embodiment of the present invention, the adjustment length and the virtual speed added by the smart glasses in the extended tunnel scene may be avatars, and may be placed at any position of the extended tunnel scene, and the position of the adjusted length and the virtual speed avatar is The embodiments of the invention are not limited.
可见,图3所描述的智能眼镜能够在自动驾驶车辆驶入隧道时,为自动驾驶车辆的乘坐者显示赛车场景,使得乘坐者可以体验赛车的感觉,并使乘坐者在娱乐的同时保持清醒状态,从而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。It can be seen that the smart glasses described in FIG. 3 can display the racing scene for the occupant of the self-driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can experience the feeling of the racing car and keep the occupant awake while being entertained. Therefore, when an autonomous vehicle encounters an emergency, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
实施例四Embodiment 4
请参阅图4,图4是本发明实施例公开的另一种智能眼镜的结构示意图。其中,图4所示的智能眼镜是由图3所示的智能眼镜进行优化得到的。与图3所示的智能眼镜相比,图4所示的智能眼镜中,第一获取单元301可以包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention. The smart glasses shown in FIG. 4 are optimized by the smart glasses shown in FIG. 3. Compared with the smart glasses shown in FIG. 3, in the smart glasses shown in FIG. 4, the first obtaining unit 301 may include:
第一获取子单元3011,用于在智能眼镜的佩戴者乘坐自动驾驶车辆驶入隧道时,获取隧道对应的隧道现实场景;该隧道现实场景包括隧道结构场景、自动驾驶车辆的内部场景和隧道中的除自动驾驶车辆之外的外部车辆场景。The first obtaining sub-unit 3011 is configured to acquire a tunnel real scene corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle; the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and a tunnel An external vehicle scene other than an autonomous vehicle.
第一处理子单元3012,用于对第一获取子单元3011获取到的隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景。The first processing sub-unit 3012 is configured to perform virtualization processing on the tunnel structure scenario acquired by the first obtaining sub-unit 3011 to obtain a virtual tunnel structure scenario.
本发明实施例中,隧道结构场景可以包括隧道的结构框架、该结构框架上的涂覆结构、以及机构框架上的装饰等隧道场景中除车辆以外的事物,对此本发明实施例不做限定。In the embodiment of the present invention, the tunnel structure scenario may include a structural frame of the tunnel, a coating structure on the structural frame, and a decoration in a tunnel scene such as a decoration on the mechanism frame, except for the vehicle, which is not limited in this embodiment of the present invention. .
第一生成子单元3013,用于根据佩戴者的喜好车辆生成虚拟喜好车辆的内部场景;该智能眼镜的佩戴者的喜好车辆为所述智能眼镜预先存储的。The first generation subunit 3013 is configured to generate an internal scene of the virtual favorite vehicle according to the preference of the wearer; the favorite vehicle of the wearer of the smart glasses is pre-stored by the smart glasses.
第二处理子单元3014,用于对第一获取子单元3011获取到的自动驾驶车辆的内部场景进行虚拟化处理,得到自动驾驶车辆的虚拟内部场景。The second processing sub-unit 3014 is configured to perform virtualization processing on the internal scene of the self-driving vehicle acquired by the first acquiring sub-unit 3011 to obtain a virtual internal scene of the self-driving vehicle.
替换子单元3015,用于将第二处理子单元3014处理得到的虚拟内部场景替换为第一生成子单元3013生成的虚拟喜好车辆的内部场景,作为虚拟车辆内部场景。The replacement sub-unit 3015 is configured to replace the virtual internal scene processed by the second processing sub-unit 3014 with the internal scene of the virtual favorite vehicle generated by the first generation sub-unit 3013 as a virtual vehicle internal scene.
第三处理子单元3016,用于将第一获取单元3011获取到的隧道中的除所述自动驾驶车辆之外的外部车辆场景进行虚拟化处理,得到虚拟外部车辆场景。The third processing sub-unit 3016 is configured to perform virtualization processing on an external vehicle scene other than the self-driving vehicle in the tunnel acquired by the first acquiring unit 3011 to obtain a virtual external vehicle scene.
第二生成子单元3017,用于生成隧道对应的虚拟隧道场景;其中,该虚拟隧道场景包括第一处理子单元3012处理得到的虚拟隧道结构场景、替换子单元3015得到的虚拟车辆内部场景和第三处理子单元3016处理得到的虚拟外部车辆场景。The second generation sub-unit 3017 is configured to generate a virtual tunnel scenario corresponding to the tunnel, where the virtual tunnel scenario includes the virtual tunnel structure scenario processed by the first processing sub-unit 3012, the virtual vehicle internal scenario obtained by the replacement sub-unit 3015, and the first The three processing sub-units 3016 process the resulting virtual external vehicle scene.
可见,本发明实施例中所描述的智能眼镜可以根据乘坐者的喜好来更改乘坐者所乘坐的自动驾驶车辆的内部场景,使得乘坐者在佩戴智能眼镜观看该场景时更容易获得满足感,从而高了智能眼镜的功能丰富性。It can be seen that the smart glasses described in the embodiments of the present invention can change the internal scene of the self-driving vehicle that the occupant rides according to the occupant's preference, so that the occupant can more easily obtain satisfaction when wearing the smart glasses to view the scene, thereby High the functional richness of smart glasses.
作为一种可选的实施方式,在图4所示的智能眼镜中,第一处理子单元3012可以包括:As an optional implementation manner, in the smart glasses shown in FIG. 4, the first processing subunit 3012 may include:
处理模块30121,用于对隧道结构场景进行虚拟化处理,得到第一隧道结构场景。The processing module 30121 is configured to perform virtualization processing on the tunnel structure scenario to obtain a first tunnel structure scenario.
第一获取模块30122,用于获取隧道所处的位置信息。The first obtaining module 30122 is configured to acquire location information where the tunnel is located.
第二获取模块30123,用于根据第一获取模块30122获取到的位置信息获取上述位置信息所属的行政区域。The second obtaining module 30123 is configured to obtain an administrative area to which the location information belongs according to the location information acquired by the first obtaining module 30122.
第三获取模块30124,用于获取第二获取模块30123获取到的行政区域内的第一景点对应的第一虚拟场景。The third obtaining module 30124 is configured to acquire the first virtual scene corresponding to the first attraction in the administrative area acquired by the second obtaining module 30123.
叠加模块30125,用于将第三获取模块30124获取到的第一虚拟场景叠加到处理模块30121处理得到的第一隧道结构场景中,得到虚拟隧道结构场景。The superimposition module 30125 is configured to superimpose the first virtual scene acquired by the third obtaining module 30124 into the first tunnel structure scene processed by the processing module 30121 to obtain a virtual tunnel structure scene.
可见,本发明实施例中所描述的智能眼镜可以在隧道结构场景中,覆盖叠加当前城市对应景点的虚拟场景,达到丰富隧道结构场景的作用,并使得智能眼镜的佩戴者可以观看到自己是在当前城市的景点中进行赛车体验,从而提高了用户的交互体验,为用户提供一种新型的娱乐方式。It can be seen that the smart glasses described in the embodiments of the present invention can cover the virtual scenes of the corresponding spots in the current city in the tunnel structure scenario, thereby enriching the tunnel structure scene, and enabling the wearer of the smart glasses to watch that they are A racing experience in the current city's attractions enhances the user's interactive experience and provides users with a new form of entertainment.
可见,图3所描述的智能眼镜能够在自动驾驶车辆驶入隧道时,为自动驾驶车辆的乘坐者显示赛车场景,使得乘坐者可以体验赛车的感觉,并使乘坐者在娱乐的同时保持清醒状态,从而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。It can be seen that the smart glasses described in FIG. 3 can display the racing scene for the occupant of the self-driving vehicle when the self-driving vehicle enters the tunnel, so that the occupant can experience the feeling of the racing car and keep the occupant awake while being entertained. Therefore, when an autonomous vehicle encounters an emergency, the occupant can take emergency measures in time to reduce the probability of a traffic accident.
实施例五Embodiment 5
请参阅图5,图5是本发明实施例公开的另一种智能眼镜的结构示意图。其中,图5所示的智能眼镜是由图4所示的智能眼镜进行优化得到的。与图4所示的智能眼镜相比,图5所示的智能眼镜中,智能眼镜还可以包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention. The smart glasses shown in FIG. 5 are optimized by the smart glasses shown in FIG. 4. Compared with the smart glasses shown in FIG. 4, in the smart glasses shown in FIG. 5, the smart glasses may further include:
计算单元305,还用于计算虚拟速度和所述行驶速度的倍率。The calculating unit 305 is further configured to calculate a virtual speed and a magnification of the traveling speed.
速度调整单元307,用于按照计算单元305计算出的倍率改变延长单元304得到的延长隧道场景包括的延长隧道结构场景向后移动的速度。The speed adjustment unit 307 is configured to perform a backward movement speed of the extended tunnel structure scene included in the extended tunnel scene obtained by the magnification change extension unit 304 calculated by the calculation unit 305.
本发明实施例中,延长隧道场景被包括于虚拟赛车场景,其中虚拟赛车场景还包括调整长度和虚拟速度。In an embodiment of the invention, the extended tunnel scene is included in a virtual racing scene, wherein the virtual racing scene further includes an adjustment length and a virtual speed.
本发明实施例中,虚拟赛车场景可以是动态场景,该虚拟赛车场景包括的延长隧道场景也可以是动态场景,延长隧道场景包括的延长隧道结构场景同样可以是动态场景,被调整的后退速度可以为上述延长隧道结构场景的后退速度。In the embodiment of the present invention, the virtual racing scene may be a dynamic scene, and the extended tunnel scene included in the virtual racing scene may also be a dynamic scene. The extended tunnel structure included in the extended tunnel scene may also be a dynamic scene, and the adjusted back speed may be For the above, the backing speed of the tunnel structure scene is extended.
渲染单元308,用于对延长单元304得到的延长隧道结构场景进行模糊渲染,使得智能眼镜佩戴者在乘坐自动驾驶车辆时产生以虚拟速度前进的感觉。The rendering unit 308 is configured to perform fuzzy rendering on the extended tunnel structure scene obtained by the extension unit 304, so that the smart glasses wearer generates a feeling of advancing at a virtual speed when riding the self-driving vehicle.
作为一种可选的实施方式,在图5所示的智能眼镜中,添加单元306可以包括:As an optional implementation manner, in the smart glasses shown in FIG. 5, the adding unit 306 may include:
定位子单元3061,用于根据GPS定位系统定位隧道的当前位置。The positioning subunit 3061 is configured to locate a current location of the tunnel according to the GPS positioning system.
第二获取子单元3062,用于根据定位子单元3061定位出的当前位置获取与隧道对应的隧道地图,并调整隧道地图为赛车地图。The second obtaining subunit 3062 is configured to obtain a tunnel map corresponding to the tunnel according to the current location located by the positioning subunit 3061, and adjust the tunnel map to a racing map.
第三生成子单元3063,用于通过自动驾驶车辆的实时云数据库获取自动驾驶车辆的位置和隧道中其它车辆的位置,并在第二获取子单元3062得到的赛车地图中添加与自动驾驶车辆的位置和隧道中其它车辆对应的标志,生成新赛车地 图。The third generation subunit 3063 is configured to acquire the location of the autopilot vehicle and the location of other vehicles in the tunnel by the real-time cloud database of the autopilot vehicle, and add the autopilot vehicle to the racing map obtained by the second acquisition subunit 3062. The location corresponds to the signs of other vehicles in the tunnel, generating a new racing map.
添加子单元3064,用于在延长单元304延长隧道场景中添加第三生成子单元3063生成的新赛车地图、调整长度和虚拟速度,生成虚拟赛车场景。The adding sub-unit 3064 is configured to add a new racing map generated by the third generating sub-unit 3063, adjust the length and the virtual speed in the extended unit 304 extended tunnel scene to generate a virtual racing scene.
可见,本发明实施例中所描述的智能眼镜可以获取到当前隧道的隧道地图,并对当前隧道的隧道地图进行调整,得到新赛车地图,并在延长隧道场景中添加该新赛车地图,使得用户可以在自动计时车辆内观看到新赛车地图,并了解到自己所在的位置,从而提高了用户从智能眼镜获知信息的丰富程度。It can be seen that the smart glasses described in the embodiments of the present invention can acquire the tunnel map of the current tunnel, adjust the tunnel map of the current tunnel, obtain a new racing map, and add the new racing map to the extended tunnel scene, so that the user You can view the new racing map in the auto-timed vehicle and learn where you are, which increases the richness of the user's information from the smart glasses.
可见,图5所描述的智能眼镜能够在自动驾驶车辆驶入隧道时,智能眼镜对隧道场景进行虚拟化调整,从而到虚拟赛车场景,并为自动驾驶车辆的乘坐者显示赛车场景,并进一步的在赛车场景之中进行模糊渲染处理,使得智能眼镜可以通过改变佩戴者的视觉信息使得佩戴者感受真实的赛车场景,并使乘坐者在娱乐的同时保持清醒状态,从而在自动驾驶车辆遇到紧急情况时,乘坐者可以及时采取紧急措施,降低交通事故发生的概率。It can be seen that the smart glasses described in FIG. 5 can virtualize the tunnel scene when the self-driving vehicle enters the tunnel, thereby to the virtual racing scene, and display the racing scene for the occupant of the self-driving vehicle, and further The blur rendering process is performed in the racing scene, so that the smart glasses can make the wearer feel the real racing scene by changing the visual information of the wearer, and enable the occupant to remain awake while being entertained, thereby encountering an emergency in the self-driving vehicle. In the case of the situation, the occupant can take emergency measures in time to reduce the probability of traffic accidents.
请参阅图6,图6是本发明实施例公开的另一种智能眼镜的结构示意图。如图6所示,该智能眼镜可以包括:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of another smart glasses disclosed in an embodiment of the present invention. As shown in FIG. 6, the smart glasses may include:
存储有可执行程序代码的存储器601;a memory 601 storing executable program code;
与存储器601耦合的处理器602;a processor 602 coupled to the memory 601;
其中,处理器602调用存储器601中存储的可执行程序代码,执行图1~图2任意一种用于自动驾驶车辆的场景生成方法。The processor 602 calls the executable program code stored in the memory 601 to execute a scene generation method for the self-driving vehicle of any of FIGS. 1 to 2.
本发明实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序使得计算机执行图1~图2任意一种用于自动驾驶车辆的场景生成方法。The embodiment of the invention discloses a computer readable storage medium storing a computer program, wherein the computer program causes the computer to execute the scene generation method for the self-driving vehicle of any of FIGS. 1 to 2.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。One of ordinary skill in the art can understand that all or part of the various methods of the above embodiments can be completed by a program to instruct related hardware, the program can be stored in a computer readable storage medium, and the storage medium includes read only Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory) EPROM), One-Time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), Read-Only Disc (Compact Disc) Read-Only Memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other medium readable by a computer that can be used to carry or store data.
以上对本发明实施例公开的一种用于自动驾驶车辆的场景生成方法及智能眼镜进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了 阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method for generating a scene for automatically driving a vehicle and the smart glasses disclosed in the embodiments of the present invention are described in detail. The principles and embodiments of the present invention are described in the following. The description of the above embodiments is only The method for understanding the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description should not be construed as limiting the invention.

Claims (10)

  1. 一种用于自动驾驶车辆的场景生成方法,其特征在于,所述方法包括:A method for generating a scene for an autonomous vehicle, characterized in that the method comprises:
    当所述自动驾驶车辆驶入隧道时,智能眼镜获取所述隧道对应的虚拟隧道场景,以及获取所述隧道的隧道信息和所述自动驾驶车辆的行驶信息;其中,所述隧道信息至少包括隧道长度,所述行驶信息至少包括行驶速度;When the self-driving vehicle enters the tunnel, the smart glasses acquire a virtual tunnel scene corresponding to the tunnel, and acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel Length, the driving information includes at least a driving speed;
    所述智能眼镜按照预设增大倍数对所述隧道长度进行增大处理,得到调整长度;The smart glasses increase the length of the tunnel according to a preset increase multiple, and obtain an adjusted length;
    所述智能眼镜将所述虚拟隧道场景的长度延长到所述调整长度,得到延长隧道场景;The smart glasses extend the length of the virtual tunnel scenario to the adjusted length to obtain an extended tunnel scenario;
    所述智能眼镜根据所述隧道长度和所述行驶速度计算所述自动驾驶车辆驶离所述隧道所需的行驶时间,并根据所述调整长度和所述行驶时间计算出虚拟速度;The smart glasses calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed, and calculate a virtual speed according to the adjusted length and the travel time;
    所述智能眼镜在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景。The smart glasses add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  2. 根据权利要求1所述的方法,其特征在于,所述当所述自动驾驶车辆驶入隧道时,智能眼镜获取所述隧道对应的虚拟隧道场景,包括:The method according to claim 1, wherein the smart glasses acquire the virtual tunnel scene corresponding to the tunnel when the self-driving vehicle enters the tunnel, including:
    当所述自动驾驶车辆驶入隧道时,智能眼镜获取所述隧道对应的隧道现实场景;所述隧道现实场景包括隧道结构场景、所述自动驾驶车辆的内部场景和所述隧道中的除所述自动驾驶车辆之外的外部车辆场景;When the self-driving vehicle enters the tunnel, the smart glasses acquire a tunnel real scene corresponding to the tunnel; the tunnel real scene includes a tunnel structure scene, an internal scene of the self-driving vehicle, and the An external vehicle scene outside the self-driving vehicle;
    所述智能眼镜对所述隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景;The smart glasses virtualize the tunnel structure scenario to obtain a virtual tunnel structure scenario;
    所述智能眼镜根据所述智能眼镜的佩戴者的喜好车辆生成虚拟喜好车辆的内部场景;所述智能眼镜的佩戴者的喜好车辆为所述智能眼镜预先存储的;The smart glasses generate an internal scene of the virtual favorite vehicle according to the preference of the wearer of the smart glasses; the favorite vehicle of the smart glasses is pre-stored by the smart glasses;
    所述智能眼镜对所述自动驾驶车辆的内部场景进行虚拟化处理,得到所述自动驾驶车辆的虚拟内部场景;The smart glasses virtualize an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle;
    所述智能眼镜将所述虚拟内部场景替换为所述虚拟喜好车辆的内部场景,作为虚拟车辆内部场景;The smart glasses replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene;
    所述智能眼镜将所述隧道中的除所述自动驾驶车辆之外的外部车辆场景进行虚拟化处理,得到虚拟外部车辆场景;The smart glasses virtualize an external vehicle scene other than the self-driving vehicle in the tunnel to obtain a virtual external vehicle scene;
    所述智能眼镜生成所述隧道对应的虚拟隧道场景;其中,所述虚拟隧道场景包括所述虚拟隧道结构场景、所述虚拟车辆内部场景和所述虚拟外部车辆场景。The smart glasses generate a virtual tunnel scenario corresponding to the tunnel; wherein the virtual tunnel scenario includes the virtual tunnel structure scenario, the virtual vehicle interior scenario, and the virtual external vehicle scenario.
  3. 根据权利要求2所述的方法,其特征在于,所述智能眼镜对所述隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景,包括:The method according to claim 2, wherein the smart glasses virtualize the tunnel structure scene to obtain a virtual tunnel structure scenario, including:
    所述智能眼镜对所述隧道结构场景进行虚拟化处理,得到第一隧道结构场景;The smart glasses virtualize the tunnel structure scenario to obtain a first tunnel structure scenario;
    所述智能眼镜获取所述隧道所处的位置信息;The smart glasses acquire location information of the tunnel;
    所述智能眼镜根据所述位置信息获取所述位置信息所属的行政区域;The smart glasses acquire an administrative area to which the location information belongs according to the location information;
    所述智能眼镜获取所述行政区域内的第一景点对应的第一虚拟场景;The smart glasses acquire a first virtual scene corresponding to the first attraction in the administrative area;
    所述智能眼镜将所述第一虚拟场景叠加到所述第一隧道结构场景中,得到虚拟隧道结构场景。The smart glasses superimpose the first virtual scene into the first tunnel structure scene to obtain a virtual tunnel structure scene.
  4. 根据权利要求3所述的方法,其特征在于,所述智能眼镜在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景之后,所述方法还包括:The method according to claim 3, wherein the smart glasses add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene, the method further comprising:
    所述智能眼镜计算所述虚拟速度和所述行驶速度的倍率;The smart glasses calculate a magnification of the virtual speed and the traveling speed;
    所述智能眼镜按照所述倍率改变所述延长隧道场景包括的延长隧道结构场景向后移动的速度;The smart glasses change a speed of backward movement of the extended tunnel structure scene included in the extended tunnel scene according to the magnification;
    所述智能眼镜对所述延长隧道结构场景进行模糊渲染,使得所述佩戴者在乘坐所述自动驾驶车辆时产生以所述虚拟速度前进的感觉。The smart glasses blur-render the extended tunnel structure scene such that the wearer generates a feeling of advancing at the virtual speed when riding the self-driving vehicle.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,所述智能眼镜在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景,包括:The method according to any one of claims 1 to 4, wherein the smart glasses add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene, including:
    所述智能眼镜根据GPS定位系统定位所述隧道的当前位置;The smart glasses locate a current location of the tunnel according to a GPS positioning system;
    所述智能眼镜根据所述当前位置获取与所述隧道对应的隧道地图,并调整所述隧道地图为赛车地图;The smart glasses acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map;
    所述智能眼镜通过所述自动驾驶车辆的实时云数据库获取所述自动驾驶车辆的位置和所述隧道中其它车辆的位置,并在所述赛车地图中添加与所述自动驾驶车辆的位置和所述隧道中其它车辆对应的标志,生成新赛车地图;The smart glasses acquire a position of the self-driving vehicle and a position of other vehicles in the tunnel through a real-time cloud database of the self-driving vehicle, and add a position and a location of the self-driving vehicle to the racing map Generate a new racing map by referring to the signs corresponding to other vehicles in the tunnel;
    所述智能眼镜在所述延长隧道场景中添加所述新赛车地图、所述调整长度和所述虚拟速度,生成虚拟赛车场景。The smart glasses add the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  6. 一种智能眼镜,其特征在于,所述智能眼镜包括:A smart glasses, characterized in that the smart glasses comprise:
    第一获取单元,用于在所述智能眼镜的佩戴者乘坐自动驾驶车辆驶入隧道时,获取所述隧道对应的虚拟隧道场景;a first acquiring unit, configured to acquire a virtual tunnel scenario corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the self-driving vehicle;
    第二获取单元,用于获取所述隧道的隧道信息和所述自动驾驶车辆的行驶信息;其中,所述隧道信息至少包括隧道长度,所述行驶信息至少包括行驶速度;a second acquiring unit, configured to acquire tunnel information of the tunnel and driving information of the self-driving vehicle; wherein the tunnel information includes at least a tunnel length, and the driving information includes at least a traveling speed;
    长度调整单元,用于按照预设增大倍数对所述隧道长度进行增大处理,得到调整长度;a length adjustment unit, configured to increase the length of the tunnel according to a preset multiple, to obtain an adjusted length;
    延长单元,用于将所述虚拟隧道场景的长度延长到所述调整长度,得到延长隧道场景;An extension unit, configured to extend a length of the virtual tunnel scenario to the adjusted length, to obtain an extended tunnel scenario;
    计算单元,用于根据所述隧道长度和所述行驶速度计算所述自动驾驶车辆驶离所述隧道所需的行驶时间,并根据所述调整长度和所述行驶时间计算出虚拟速度;a calculating unit, configured to calculate a travel time required for the self-driving vehicle to leave the tunnel according to the tunnel length and the travel speed, and calculate a virtual speed according to the adjusted length and the travel time;
    添加单元,用于在所述延长隧道场景中添加所述调整长度和所述虚拟速度,生成虚拟赛车场景。And an adding unit, configured to add the adjusted length and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
  7. 根据权利要求6所述的智能眼镜,其特征在于,所述第一获取单元包括:The smart glasses according to claim 6, wherein the first obtaining unit comprises:
    第一获取子单元,用于在所述智能眼镜的佩戴者乘坐自动驾驶车辆驶入隧道时,获取所述隧道对应的隧道现实场景;所述隧道现实场景包括隧道结构场景、所述自动驾驶车辆的内部场景和所述隧道中的除所述自动驾驶车辆之外的外部车辆场景;a first acquisition subunit, configured to acquire a tunnel real scene corresponding to the tunnel when the wearer of the smart glasses rides into the tunnel by the autopilot vehicle; the tunnel real scene includes a tunnel structure scene, and the autopilot vehicle An internal scene and an external vehicle scene in the tunnel other than the self-driving vehicle;
    第一处理子单元,用于对所述隧道结构场景进行虚拟化处理,得到虚拟隧道结构场景;a first processing sub-unit, configured to perform virtualization processing on the tunnel structure scenario to obtain a virtual tunnel structure scenario;
    第一生成子单元,用于根据所述佩戴者的喜好车辆生成虚拟喜好车辆的内部场景;所述智能眼镜的佩戴者的喜好车辆为所述智能眼镜预先存储的;a first generating subunit, configured to generate an internal scene of the virtual favorite vehicle according to the wearer's favorite vehicle; the favorite vehicle of the smart glasses is pre-stored by the smart glasses;
    第二处理子单元,用于对所述自动驾驶车辆的内部场景进行虚拟化处理,得到所述自动驾驶车辆的虚拟内部场景;a second processing sub-unit, configured to perform virtualization processing on an internal scene of the self-driving vehicle to obtain a virtual internal scene of the self-driving vehicle;
    替换子单元,用于将所述虚拟内部场景替换为所述虚拟喜好车辆的内部场景,作为虚拟车辆内部场景;a replacement subunit, configured to replace the virtual internal scene with an internal scene of the virtual favorite vehicle as a virtual vehicle internal scene;
    第三处理子单元,用于将所述隧道中的除所述自动驾驶车辆之外的外部车辆场景进行虚拟化处理,得到虚拟外部车辆场景;a third processing subunit, configured to virtualize an external vehicle scene other than the autopilot vehicle in the tunnel to obtain a virtual external vehicle scene;
    第二生成子单元,用于生成所述隧道对应的虚拟隧道场景;其中,所述虚拟隧道场景包括所述虚拟隧道结构场景、所述虚拟车辆内部场景和所述虚拟外部车辆场景。a second generation sub-unit, configured to generate a virtual tunnel scenario corresponding to the tunnel, where the virtual tunnel scenario includes the virtual tunnel structure scenario, the virtual vehicle interior scenario, and the virtual external vehicle scenario.
  8. 根据权利要求7所述的智能眼镜,其特征在于,所述第一处理子单元包括:The smart glasses according to claim 7, wherein the first processing subunit comprises:
    处理模块,用于对所述隧道结构场景进行虚拟化处理,得到第一隧道结构场景;a processing module, configured to perform virtualization processing on the tunnel structure scenario to obtain a first tunnel structure scenario;
    第一获取模块,用于获取所述隧道所处的位置信息;a first acquiring module, configured to acquire location information of the tunnel;
    第二获取模块,用于根据所述位置信息获取所述位置信息所属的行政区域;a second acquiring module, configured to acquire, according to the location information, an administrative area to which the location information belongs;
    第三获取模块,用于获取所述行政区域内的第一景点对应的第一虚拟场景;a third acquiring module, configured to acquire a first virtual scene corresponding to the first attraction in the administrative area;
    叠加模块,用于将所述第一虚拟场景叠加到所述第一隧道结构场景中,得到虚拟隧道结构场景。And a superimposing module, configured to superimpose the first virtual scene into the first tunnel structure scenario to obtain a virtual tunnel structure scenario.
  9. 根据权利要求8所述的智能眼镜,其特征在于,所述智能眼镜还包括:The smart glasses according to claim 8, wherein the smart glasses further comprise:
    所述计算单元,还用于计算所述虚拟速度和所述行驶速度的倍率;The calculating unit is further configured to calculate a magnification of the virtual speed and the traveling speed;
    速度调整单元,用于按照所述倍率改变所述延长隧道场景包括的延长隧道结构场景向后移动的速度;a speed adjustment unit, configured to change a speed of backward movement of the extended tunnel structure scene included in the extended tunnel scene according to the magnification;
    渲染单元,用于对所述延长隧道结构场景进行模糊渲染,使得所述佩戴者在乘坐所述自动驾驶车辆时产生以所述虚拟速度前进的感觉。And a rendering unit, configured to perform fuzzy rendering on the extended tunnel structure scene, so that the wearer generates a feeling of advancing at the virtual speed when riding the self-driving vehicle.
  10. 根据权利要求6~9任一项所述的智能眼镜,其特征在于,所述添加单元包括:The smart glasses according to any one of claims 6 to 9, wherein the adding unit comprises:
    定位子单元,用于根据GPS定位系统定位所述隧道的当前位置;a positioning subunit, configured to locate a current location of the tunnel according to a GPS positioning system;
    第二获取子单元,用于根据所述当前位置获取与所述隧道对应的隧道地图,并调整所述隧道地图为赛车地图;a second acquiring subunit, configured to acquire a tunnel map corresponding to the tunnel according to the current location, and adjust the tunnel map to a racing map;
    第三生成子单元,用于通过所述自动驾驶车辆的实时云数据库获取所述自动驾驶车辆的位置和所述隧道中其它车辆的位置,并在所述赛车地图中添加与所述自动驾驶车辆的位置和所述隧道中其它车辆对应的标志,生成新赛车地图;a third generation subunit, configured to acquire, by a real-time cloud database of the self-driving vehicle, a location of the autopilot vehicle and a location of other vehicles in the tunnel, and add the autopilot vehicle to the racing map a location corresponding to other vehicles in the tunnel to generate a new racing map;
    添加子单元,用于在所述延长隧道场景中添加所述新赛车地图、所述调整长度和所述虚拟速度,生成虚拟赛车场景。Adding a subunit for adding the new racing map, the adjusted length, and the virtual speed in the extended tunnel scene to generate a virtual racing scene.
PCT/CN2017/117686 2017-12-15 2017-12-21 Scene generation method for self-driving vehicle and intelligent glasses WO2019114019A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711349451.6 2017-12-15
CN201711349451.6A CN108109210B (en) 2017-12-15 2017-12-15 A kind of scene generating method and intelligent glasses for automatic driving vehicle

Publications (1)

Publication Number Publication Date
WO2019114019A1 true WO2019114019A1 (en) 2019-06-20

Family

ID=62216257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117686 WO2019114019A1 (en) 2017-12-15 2017-12-21 Scene generation method for self-driving vehicle and intelligent glasses

Country Status (2)

Country Link
CN (1) CN108109210B (en)
WO (1) WO2019114019A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111821695A (en) * 2019-04-19 2020-10-27 上海博泰悦臻网络技术服务有限公司 The driving evaluation method and device, storage medium and terminal based on the map millionaire game
WO2021056556A1 (en) * 2019-09-29 2021-04-01 驭势科技(北京)有限公司 Vehicle-mounted autonomous driving test system and test method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102007A (en) * 2013-04-12 2014-10-15 聚晶半导体股份有限公司 Head-mounted display and control method thereof
CN105807922A (en) * 2016-03-07 2016-07-27 湖南大学 Implementation method, device and system for virtual reality entertainment driving
US20160358477A1 (en) * 2015-06-05 2016-12-08 Arafat M.A. ANSARI Smart vehicle
CN106740871A (en) * 2016-10-25 2017-05-31 上海悉德信息科技有限公司 The intelligent long-range control loop of vehicle driver 1/2nd
CN107328424A (en) * 2017-07-12 2017-11-07 三星电子(中国)研发中心 Air navigation aid and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07294842A (en) * 1994-04-26 1995-11-10 Toyota Motor Corp Information display device for automobile
JP6337534B2 (en) * 2014-03-17 2018-06-06 セイコーエプソン株式会社 Head-mounted display device and method for controlling head-mounted display device
JP6349744B2 (en) * 2014-01-28 2018-07-04 株式会社Jvcケンウッド Display device, display method, and display program
KR101867915B1 (en) * 2015-01-16 2018-07-19 현대자동차주식회사 Method for executing vehicle function using wearable device and vehicle for carrying out the same
US10366290B2 (en) * 2016-05-11 2019-07-30 Baidu Usa Llc System and method for providing augmented virtual reality content in autonomous vehicles
CN106648060A (en) * 2016-10-12 2017-05-10 大连文森特软件科技有限公司 A real-time monitoring system for vehicle driving training actions based on virtual reality technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102007A (en) * 2013-04-12 2014-10-15 聚晶半导体股份有限公司 Head-mounted display and control method thereof
US20160358477A1 (en) * 2015-06-05 2016-12-08 Arafat M.A. ANSARI Smart vehicle
CN105807922A (en) * 2016-03-07 2016-07-27 湖南大学 Implementation method, device and system for virtual reality entertainment driving
CN106740871A (en) * 2016-10-25 2017-05-31 上海悉德信息科技有限公司 The intelligent long-range control loop of vehicle driver 1/2nd
CN107328424A (en) * 2017-07-12 2017-11-07 三星电子(中国)研发中心 Air navigation aid and device

Also Published As

Publication number Publication date
CN108109210A (en) 2018-06-01
CN108109210B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
JP7571829B2 (en) Information processing device, information processing method, program, and mobile object
JP7450287B2 (en) Playback device, playback method, program thereof, recording device, recording device control method, etc.
US8963916B2 (en) Coherent presentation of multiple reality and interaction models
KR20210011416A (en) Shared environment for vehicle occupants and remote users
US20130226758A1 (en) Delivering aggregated social media with third party apis
US20230139739A1 (en) Ar enhanced gameplay with a personal mobility system
CN114089890B (en) Vehicle simulated driving method, apparatus, storage medium and program product
CN111016787A (en) Method and device for preventing visual fatigue in driving, storage medium and electronic equipment
WO2019114019A1 (en) Scene generation method for self-driving vehicle and intelligent glasses
US20230316675A1 (en) Traveling in time and space continuum
JPH11134084A (en) Method for improving three-dimensional virtual reality
WO2020234939A1 (en) Information processing device, information processing method, and program
US11847297B2 (en) Method of providing real-time VR service through avatar
JP2022071799A (en) Information processing method and information processing system
CN116499489A (en) Man-machine interaction method, device, equipment and product based on map navigation application
WO2023118778A1 (en) Method, apparatus and computer program product for selecting content for display during a journey to alleviate motion sickness
CN116954534A (en) A mobile display method, medium, program product and electronic device
CN113409432A (en) Virtual reality-based image information generation method and device and readable medium
CN118331676B (en) Group object modeling method, vehicle-mounted display method, electronic device, storage medium and vehicle
US20250004683A1 (en) Method, apparatus and computer program product for alleviating motion sickness in a user viewing an image on a display
CN120263952A (en) Vehicle window projection system and method
CN116561406A (en) Learning method, terminal device and learning system based on external image information
JP2025022536A (en) Driving assistance method and driving assistance device
KR20220065733A (en) Method, system, and non-transitory computer-readable recording medium for providing contents
CN115437586A (en) Method, device, equipment and medium for displaying message on electronic map

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17934857

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17934857

Country of ref document: EP

Kind code of ref document: A1