WO2018113173A1 - Virtual reality display method and terminal - Google Patents

Virtual reality display method and terminal Download PDF

Info

Publication number
WO2018113173A1
WO2018113173A1 PCT/CN2017/084370 CN2017084370W WO2018113173A1 WO 2018113173 A1 WO2018113173 A1 WO 2018113173A1 CN 2017084370 W CN2017084370 W CN 2017084370W WO 2018113173 A1 WO2018113173 A1 WO 2018113173A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
external environment
image resource
geographic location
virtual reality
Prior art date
Application number
PCT/CN2017/084370
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 华为技术有限公司
Priority to CN201780004235.XA priority Critical patent/CN108391445B/en
Publication of WO2018113173A1 publication Critical patent/WO2018113173A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Definitions

  • the present application relates to the field of virtual reality technologies, and in particular, to a virtual reality display method and terminal.
  • Virtual Reality (VR) technology is a technology that uses a computer to generate a simulation environment, which enables users to enter the environment through various sensing devices, and realizes direct interaction between the user and the environment. It is a kind of technology that can be created and experienced. Computer system technology for virtual environments.
  • users use VR products to watch movies.
  • the average movie duration is about 2 hours.
  • the weather conditions in the real environment are good.
  • the weather changed suddenly and it began to rain.
  • you since the user is completely immersed in the virtual scene, it is impossible to perceive the change of the weather in the real environment.
  • you want to see the weather changes in the real environment you need to stop using the VR product and see the real-time weather conditions in the real environment, or exit the application you are using and open the weather app to view the real-time weather conditions.
  • the above method is complicated in operation, and the process of using the VR product by the user is interrupted, and the user experience is poor.
  • the embodiment of the invention provides a virtual reality display method and a terminal, which enable the user to know the real situation of the external environment in real time, including geographical location, time, weather and the like.
  • an embodiment of the present invention provides a virtual reality display method, including: acquiring, by a virtual reality terminal, external environment data from a real scene, where the external environment data includes: at least geographical location data, time data, or weather data. And obtaining a three-dimensional (3D) image resource according to the external environment data; and displaying a virtual scene corresponding to the external environment data according to the 3D image resource.
  • the real scene is a scene in which the current virtual reality terminal is actually located, and is a scene corresponding to an actual external environment.
  • the virtual reality terminal may be configured with a transceiver and a positioning module.
  • the virtual reality terminal may acquire the geographic location data of the virtual reality terminal in real time by using the positioning module, and at least one of time data or weather data may be acquired by the transceiver in real time.
  • the virtual reality terminal may acquire a 3D image resource from a local database or a server according to the obtained external environment parameter.
  • the local database is stored in a memory of the virtual reality terminal, and the processor of the virtual reality terminal can directly obtain the 3D image resources.
  • the server may be a remote server, and the virtual reality terminal may acquire the 3D image resource from the remote server through the transceiver.
  • the 3D image resource is a picture resource having a 3D visual effect, and may include a static image resource, such as a picture resource, and may also include a dynamic image resource, such as a video resource.
  • the method of the first aspect can prompt the user to the real situation of the external environment, including the real situation of the external environment such as the geographical location, the time, the weather, and the like, and make up for the drawback that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
  • the real situation of the external environment such as the geographical location, the time, the weather, and the like
  • the external environment data includes geographic location data; and the acquiring the 3D image resource according to the external environment data includes: acquiring the geographic location data according to the geographic location data Corresponding landmark 3D image resources.
  • the 3D image resource of the landmark corresponding to the geographical location data may be obtained according to the geographic location data by using the following two strategies:
  • the 3D image resource corresponding to the nearest landmark is obtained from the local database or the server.
  • the second highest-accuracy landmark acquisition policy the virtual reality terminal acquires a 3D image resource corresponding to the hottest landmark corresponding to the geographic location data from the local database or the server according to the geographic location data.
  • the external environment data includes geographic location data
  • the acquiring the 3D image resource according to the external environment data includes: obtaining the geographic location data indication according to the geographic location data The geographical location of the 3D image resource at the geographic location.
  • the external environment data includes time data
  • the acquiring the 3D image resource according to the external environment data includes: acquiring, according to the time data, a time corresponding to the time data indication 3D image resources for outdoor light.
  • the external environment data includes weather data
  • acquiring the 3D image resource according to the external environment data includes: acquiring a weather condition indicated by the weather data according to the weather data Corresponding 3D image resources; wherein the weather data comprises at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or light intensity.
  • the 3D image resource of the landmark corresponding to the geographical location data described above, the 3D image resource of the geographical environment at the geographical location indicated by the geographic location data, and the outdoor light corresponding to the time indicated by the time data are stored in the server, and may be stored in different servers or in the same server at the same time, and the present invention does not impose any limitation.
  • displaying the virtual scene corresponding to the external environment data according to the 3D image resource includes: displaying a virtual scene corresponding to the external environment data on a HOME main interface.
  • the virtual reality terminal may be triggered to display the virtual scene corresponding to the external environment data on the HOME main interface by using the following manner:
  • the virtual reality terminal detects that the current page is the HOME main interface, and then displays the main interface of the HOME. A virtual scene corresponding to the external environment data is displayed.
  • the virtual reality terminal receives user input for understanding an external environment, and in response to the user input, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the external interface on the HOME main interface.
  • the virtual scene corresponding to the environment data is the virtual scene corresponding to the environment data.
  • the user input herein may be preset, and the user input may include, but is not limited to, a gesture input, a voice input, a key input, a touch screen input, and may also be a shake head input, a blink input, or the like.
  • the gesture input may be a specified action, for example, the left hand shake angle exceeds 45 degrees.
  • the virtual reality terminal may further determine, according to the time when the user maintains the specified action, whether the user inputs the user input for understanding the external environment, for example, when the user raises the left hand and holds for 3 seconds, The virtual reality terminal can determine that the user inputs the user input for understanding the external environment, and can display the virtual scene corresponding to the external environment on the HOME main interface.
  • the third type when the external environment data fluctuates greatly, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the external environment data fluctuates greatly, it indicates that the real environment of the outside world has undergone a large change, and can automatically jump to the HOME main interface to prompt the user to change the real environment.
  • the virtual reality terminal jumps from the current page to the HOME main interface every preset time period, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the virtual reality terminal may preset a display duration, and the virtual reality device jumps from the current page to The main interface of the HOME, and when the time of displaying the virtual scene corresponding to the external environment data reaches the display duration in the main interface of the HOME, automatically jumping back to the current page does not affect the experience of the user using the virtual reality terminal.
  • the above steps display the virtual scene on the HOME main interface.
  • the user sees the HOME main interface, the user can intuitively feel the real situation of the external environment, and make up for the user completely immersed in the virtual reality scene and completely unaware of the external environment.
  • the drawbacks Further, the manner of displaying the virtual scene on the HOME main interface is not large, and is easy to implement, and increases the interest of the HOME main interface, and provides more effective information to the user.
  • displaying the virtual scene corresponding to the external environment data according to the 3D image resource comprises: displaying, according to the 3D image resource, a virtual scene corresponding to the external environment data and current And displaying a virtual scene corresponding to the external environment data on the current page according to the 3D image resource.
  • the virtual reality terminal may be triggered to display the virtual reality terminal according to the 3D by displaying the second, third, or fourth triggering manner of the virtual scene on the HOME main interface.
  • the image resource screen displays the virtual scene and the current page corresponding to the external environment data, or the virtual scene corresponding to the external environment data is displayed on the current page according to the 3D image resource, and the previous description may be referred to.
  • the above steps are performed by means of split screen display or floating display, which does not affect the user's use of the virtual reality terminal, and can also prompt the user to the actual situation of the external environment, and make up for the drawback that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
  • the virtual reality terminal may also prompt the user to the real situation of the external environment through a sense of hearing, touch, etc., to give the user a more realistic and intuitive experience.
  • the virtual reality terminal when the external environment data includes weather data, the virtual reality terminal also outputs a real weather condition through various types of sensing devices. For example, weather data includes rainfall, And the rainfall reaches 50 mm, indicating that the current weather condition is heavy rain, then the virtual reality terminal can output the rain sound corresponding to the rainfall of 50 mm through the audio device, so that the user can feel the rainy weather condition immersively.
  • the above steps can make the user feel the real environment of the outside world more intuitively.
  • an embodiment of the present invention provides a terminal, including: a processor, a memory, and a 3D display, where:
  • the memory is for storing instructions and data
  • the processor is configured to read instructions and data stored in the memory, and perform the following operations:
  • the external environment data including: at least one of geographical location data, time data, or weather data;
  • the 3D display is configured to display a virtual scene corresponding to the external environment data according to the 3D image resource.
  • the user can see the three-dimensional image from the 3D display 123 through the optical lens, and intuitively feel the three-dimensional effect.
  • the 3D display can display a virtual reality scene corresponding to an external environment, and the user can view the 3D virtual reality scene from the 3D display through the optical lens.
  • the processor includes a graphics processing unit (GPU), and the GPU is mainly used for three-dimensional image and special effect processing, and is a core processor dedicated to image data.
  • the GPU may generate a virtual reality scene corresponding to the external environment data according to the acquired 3D image resource by using a computer 3D graphics processing technology. For example, using particle systems to simulate wind, snow, rain, yin and sunny weather conditions, based on particle systems and using texture mapping dynamic algorithms to achieve 3D frost effect, using volume cloud algorithm to generate sunny, cloudy and rainy 3D weather effects, etc.
  • a virtual reality scene corresponding to the weather data is available.
  • the outdoor light can be simulated by a preset algorithm to obtain a virtual reality scene corresponding to the time data.
  • the external environment data includes geographic location data; the processor is specifically configured to acquire a 3D image resource of a landmark corresponding to the geographic location data according to the geographic location data.
  • the 3D image resource of the landmark corresponding to the geographic location data may be stored in a server or may be stored in a local database.
  • the processor may obtain the 3D image resource of the landmark corresponding to the geographical location data according to the geographic location data by using the following two strategies:
  • the 3D image resource corresponding to the nearest landmark is obtained from the geographic location indicated by the geographic location data.
  • the hottest landmark acquisition policy is configured to acquire a 3D image resource corresponding to the hottest landmark corresponding to the geographic location data according to the geographic location data.
  • the external environment data includes geographic location data
  • the processor is specifically configured to acquire, according to the geographic location data, a geographical environment at a geographic location indicated by the geographic location data. 3D image resources.
  • the external environment data includes time data
  • the processor is specifically configured to acquire, according to the time data, a 3D image resource of outdoor light corresponding to the time indicated by the time data.
  • the external environment data includes weather data, the processor specific And acquiring, according to the weather data, a 3D image resource corresponding to the weather condition indicated by the weather data; wherein the weather data includes at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or illumination strength.
  • the 3D image resource of the landmark corresponding to the geographical location data described above, the 3D image resource of the geographical environment at the geographic location indicated by the geographic location data, the time The 3D image resource corresponding to the outdoor light and the 3D image resource corresponding to the weather condition indicated by the weather data may be stored in the local database or may be stored in the server.
  • the processor is specifically configured to directly acquire the various types of 3D image resources from the local database.
  • the terminal may further include a transceiver, where the processor is specifically configured to instruct the transceiver to acquire the various types of 3D image resources from the server.
  • the 3D display is specifically configured to display a virtual scene corresponding to the external environment data on a HOME main interface.
  • the 3D display may be triggered to display the virtual scene corresponding to the external environment data on the HOME main interface by:
  • the first type detects that the current page is the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the virtual reality terminal further includes a user input device, configured to receive a user input for understanding an external environment, and the virtual reality terminal jumps from the current page to the user input in response to the user input
  • the HOME main interface displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the user input device may be the above-mentioned 3D display, or may be a camera, an audio circuit, a gesture sensor, or the like.
  • the third type when the external environment data fluctuates greatly, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the virtual reality terminal jumps from the current page to the HOME main interface every preset time period, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the above steps display the virtual scene on the HOME main interface.
  • the user sees the HOME main interface, the user can intuitively feel the real situation of the external environment, and make up for the user completely immersed in the virtual reality scene and completely unaware of the external environment.
  • the drawbacks Further, the manner of displaying the virtual scene on the HOME main interface is not large, and is easy to implement, and increases the interest of the HOME main interface, and provides more effective information to the user.
  • the 3D display is specifically configured to display a virtual scene and a current page corresponding to the external environment data according to the 3D image resource; or, according to the 3D image resource, The virtual scene corresponding to the external environment data is displayed on the current page.
  • the third, third, or fourth identical triggering manner of the virtual scene may be displayed on the HOME main interface with the 3D display to trigger the 3D display according to the 3D image resource.
  • the virtual scene corresponding to the external environment data and the current page are displayed on the screen, or the virtual scene corresponding to the external environment data is displayed on the current page according to the 3D image resource, and the previous description may be referred to.
  • the above steps are performed by means of split screen display or floating display, which does not affect the user's use of the virtual reality terminal, and can also prompt the user to the actual situation of the external environment, and make up for the drawback that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
  • the virtual reality terminal may also prompt the user to the real situation of the external environment through a sense of hearing, touch, etc., to give the user a more realistic and intuitive experience.
  • the virtual reality terminal when the external environment data includes weather data, the virtual reality terminal also outputs a real weather condition through various types of sensing devices. For example, if the weather data includes rainfall and the rainfall reaches 50 mm, indicating that the current weather condition is heavy rain, then the virtual reality terminal can output the rain sound corresponding to the rainfall of 50 mm through the audio device, so that the user is present. The weather conditions of heavy rain are felt. The above steps can make the user feel the real environment of the outside world more intuitively.
  • the function implementation of the memory, the 3D display, the processor, the transceiver, and the user input device may also refer to the method described in the first aspect, and details are not described herein.
  • an embodiment of the present invention provides a terminal, including a functional unit for performing the method of the foregoing first aspect, where the terminal includes:
  • An acquiring unit configured to acquire external environment data from a real scene, where the external environment data includes at least one of geographic location data, time data, or weather data;
  • the obtaining unit is further configured to acquire a 3D image resource according to the external environment data
  • a display unit configured to display a virtual scene corresponding to the external environment data according to the 3D image resource.
  • an embodiment of the present invention provides a computer readable storage medium storing instructions that, when run on a computer, cause the computer to perform the foregoing first aspect and the first aspect Any of the ways to achieve this.
  • an embodiment of the present invention provides a computer program product comprising instructions, which, when run on a computer, causes the computer to perform any one of the first aspect and each of the possible implementations of the first aspect.
  • the external environment data is obtained from the real scene
  • the 3D image resource is obtained according to the external environment data
  • the virtual scene corresponding to the external environment data is displayed according to the 3D image resource.
  • FIG. 1 is a schematic diagram of a HOME main interface according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a 3D image of a 3D image resource indication according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of an implementation manner of a virtual reality terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of a virtual reality display method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of displaying a virtual scene corresponding to external environment data on a HOME main interface according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart diagram of another virtual reality display method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a virtual screen and a current page corresponding to the external environment data displayed by a split screen according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a virtual display corresponding to the external environment data on the current page according to an embodiment of the present invention. Schematic diagram of the scene;
  • FIG. 10 is a schematic diagram of floating display of a current page while displaying a virtual scene corresponding to the external environment data according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of cooperative interaction of various components in a terminal described in the embodiment of FIG. 4 according to an embodiment of the present invention.
  • FIG. 12 is a functional block diagram of a terminal according to an embodiment of the present invention.
  • the embodiment of the present invention provides a virtual reality display method, which can be applied to a virtual reality terminal, where the virtual reality terminal can include a mobile phone with a mobile terminal display, an integrated machine display, a VR experience environment, and a VR. Wearable devices, computers that are used in conjunction with PCs, etc.
  • the HOME main interface related to the virtual reality display method of the embodiment of the present invention is first introduced.
  • the HOME main interface is a graphical user interface that users see when using a virtual reality terminal.
  • the HOME main interface is displayed by three-dimensional technology, and the user can see the stereoscopic HOME main interface on the display device of the virtual reality terminal through the optical lens, and enjoy the immersive feeling.
  • FIG. 1 is a schematic diagram of a HOME main interface according to an embodiment of the present invention.
  • the icon or name of each application can be displayed on the HOME main interface, and the icon or name of each folder can also be displayed.
  • the HOME main interface is an interface for a user to enter a VR application in a virtual reality scenario.
  • the user first sees the HOME main interface when starting to use the virtual reality terminal, and can click on the elements on the HOME main interface (icons or names of various applications, or icons or names of various folders) Enter the corresponding VR application experience.
  • the screen that is seen through the virtual reality terminal is still the home interface of the HOME, and the user can select other applications to perform the experience through the HOME main interface.
  • the HOME main interface can be regarded as a desktop of a computer or a mobile phone.
  • the user can enter various common applications through the two-dimensional desktop of the computer or the mobile phone, and the main interface of the HOME displays the virtual reality scene.
  • Three-dimensional stereoscopic screen users can enter various VR applications through the HOME main interface.
  • the HOME main interface generally has the following two situations:
  • the HOME main interface is a fixed three-dimensional display scene.
  • the HOME main interface may be a three-dimensional landscape, a character image, or the like.
  • the HOME main interface that the user sees is fixed and will not change due to changes in the external environment.
  • the HOME main interface here is similar to a normal mobile phone or computer desktop. The difference is that the HOME main interface that the user sees is three-dimensional, and the mobile phone or computer desktop that the user sees is two-dimensional.
  • the HOME main interface here is displayed in a fixed way, dull and lacking in fun, and can not provide users with more interactive information, such as changes in the real environment. For the user, the HOME main interface has almost no meaning.
  • the HOME main interface is a mapping of real scenes.
  • the virtual three-dimensional scene is constructed based on the real scene by extracting features from objects in the real space.
  • FIG. 1 can be regarded as a user using a virtual reality terminal on a road.
  • the virtual reality terminal extracts features such as roads and zebra crossings based on real scenes of the road, and maps them into virtual scenes, and generates The HOME main interface shown in Figure 1.
  • This home interface based on the real scene requires real-time feature extraction and virtual display of objects in the real space.
  • the virtual reality terminal is difficult to accurately extract the object features and perform virtual display in real time, and the display screen of the HOME main interface often has a certain hysteresis.
  • the space in front of the user has changed, but the virtual screen displayed on the main interface of HOME is still the picture before the change, which cannot be well integrated with the real environment, and lacks real-time and accuracy.
  • the HOME main interface based on the real scene has a very high processing performance requirement for the virtual reality terminal, and the calculation amount is very large, and the generally configured virtual reality terminal cannot implement the HOME main interface.
  • FIG. 2 is a schematic structural diagram of a communication system 200 according to an embodiment of the present invention.
  • the communication system 200 can include a virtual reality terminal 210, a server 220.
  • the virtual reality terminal 210 is provided with a core processing module, and can be implemented as a mobile phone, an integrated machine head display, and a PC, VR experience environment, etc., which are used in conjunction with the mobile terminal display, and the example in FIG. 2 Two kinds of virtual reality terminals for mobile phones with integrated head-mounted display and mobile terminal display are listed.
  • the server 220 can store a large number of 3D image resources.
  • the virtual reality terminal 210 and the server 220 communicate via a network.
  • the virtual reality terminal and server are further described below.
  • the virtual reality terminal is configured with a transceiver and a positioning module.
  • the virtual reality terminal can obtain the external environment data in the real scene in real time, and the external environment data can reflect the actual situation of the real scene.
  • the external environment data herein may include geographic location data, time data, weather data, and the like that can characterize the external environment in the real scene.
  • the virtual reality terminal may acquire the geographic location data of the virtual reality terminal in real time by using the positioning module.
  • the geographic location data may include longitude, latitude, location, country, province, city, and the like of the location where the virtual reality terminal is located.
  • the virtual reality terminal may also be configured with a Real-Time Clock (RTC), which can acquire accurate system time, and the system time may be Greenwich Mean Time (GMT), and the virtual reality terminal
  • RTC Real-Time Clock
  • GMT Greenwich Mean Time
  • the system time acquired by the RTC can be converted to local time. For example, if the current virtual reality terminal is located in the East 8th district and the RTC acquires the system time as 2017/4/10, 08:57, then the virtual reality terminal converts the system time to the local time: 2017/4/ 10, 16:57.
  • the virtual reality terminal can also directly acquire local time through the transceiver.
  • the virtual reality terminal can also install a weather application and can acquire weather data in real time.
  • the virtual reality terminal may acquire weather data in real time on the network through a weather application, and the weather data may include parameters indicating weather conditions such as air quality, temperature, relative humidity, precipitation, wind direction, and light intensity.
  • the virtual reality end The weather data acquired by the terminal is not limited to the ones described above, and may also include more detailed information such as air pressure, cloud amount, cloud type, rainfall type, and the like.
  • the virtual reality terminal may further configure a sensing device such as a temperature sensor, a humidity sensor, a light sensor, or the like to acquire weather data such as temperature, relative humidity, and light intensity.
  • the virtual reality terminal may also acquire weather data from the network, for example, real-time weather data may be acquired from the meteorological data center through a 3G module in the transceiver.
  • different weather data correspondingly indicate different weather conditions
  • the weather conditions here include wind, frost, rain, snow, yin, clear, cloud, and the like.
  • the weather condition corresponding to the indication should be a strong wind.
  • the 24-hour rainfall reaches 20 mm, and the weather conditions indicated are moderate rain.
  • the 24-hour rainfall reaches 50 mm or more, and the weather conditions indicated are rainstorms.
  • the virtual reality terminal may acquire a 3D image resource from a local database or a server according to the obtained external environment parameter, which is described in detail below.
  • the local database is stored in a memory of the virtual reality terminal.
  • the virtual reality terminal may directly acquire the 3D image resource from the local database through an internal processor.
  • the server When acquiring the 3D image resource from the server, the server may be a remote server, and the virtual reality terminal may acquire the 3D image resource from the remote server through a transceiver.
  • the 3D image resource is a picture resource having a 3D visual effect, and may include a static image resource, such as a picture resource, and may also include a dynamic image resource, such as a video resource.
  • the virtual reality terminal may acquire a 3D image resource of the landmark corresponding to the geographical location data from a local database or a server according to the geographic location data.
  • a landmark here refers to a building or a natural object having a unique geographical feature at a geographical location indicated by the geographic location data.
  • the building may include the Great Wall of Beijing, Tiananmen Square, the Forbidden City, the Temple of Heaven, the Oriental Pearl TV Tower of Shanghai, the Jinmao Tower, etc.
  • the natural objects may include Mount Everest, Hulunbuir Prairie, Wudang Mountain, and the like. The user can directly know where he is by the 3D image resource of the landmark.
  • the virtual land terminal when the virtual reality terminal acquires the corresponding 3D image resource of the landmark according to the geographic location, the virtual land terminal has the following two landmark acquisition strategies:
  • the first is to get the strategy from the nearest landmark.
  • the virtual reality terminal acquires, from the local database or the server, a 3D image resource corresponding to the landmark closest to the geographic location indicated by the geographic location data according to the geographic location data.
  • the distance between the geographic location and each landmark may be calculated according to the latitude and longitude of the geographic location, and the 3D image resource corresponding to the landmark closest to the geographical location may be obtained from a local database or a server.
  • the server When acquiring the 3D image resource from the server, the server parses the specific geographic location represented by the geographic location data according to the received geographic location data sent by the virtual reality terminal, and searches for the distance in the stored 3D image resource.
  • the 3D image resource of the geographically nearest landmark is sent to the virtual reality terminal.
  • the geographic location data obtained by the virtual reality terminal indicates that the actual geographical location of the user is surrounded by the Forbidden City and the Temple of Heaven, but the distance between the user and the Forbidden City and the Temple of Heaven.
  • the distance between the virtual reality terminals is obtained from the server according to the acquired geographical location data, which is a 3D image resource of the Temple of Heaven.
  • the hottest landmarks get the strategy.
  • the virtual reality terminal acquires a 3D image resource corresponding to the hottest landmark corresponding to the geographical location data from the local database or the server according to the geographic location data.
  • the heat index can be used to measure the heat level of each landmark.
  • the heat index can be related to the number of times people search for various landmarks. The more times a landmark is searched, the higher the heat index.
  • the heat index can also be related to the real-time human flow of each landmark. The more real-time human traffic of a landmark, the higher the heat index.
  • the heat index here may be obtained from the network data periodically and updated in real time, or may be preset.
  • the server When the server obtains the 3D image resource corresponding to the hottest landmark corresponding to the geographical location data, the server parses the specific geographic location represented by the geographical location data according to the received geographical location data of the virtual reality terminal. And searching for the 3D image resource of the landmark with the highest heat within the geographical distance distance threshold in the stored 3D image resource.
  • the distance threshold here can be set in advance.
  • the geographic location data obtained by the virtual reality terminal indicates that the actual geographic location distance of the user is within the threshold of the Forbidden City and the Temple of Heaven, although the distance ratio between the user and the Forbidden City is The distance between the Temple of Heaven is long, but the heat index obtained by the server indicates that the real-time heat of the Forbidden City is higher. Then, the virtual reality terminal obtains the 3D image resource of the Forbidden City from the server according to the acquired geographical location data.
  • the virtual reality terminal may further acquire a 3D image resource of a geographical environment at a geographic location indicated by the geographic location data from a local database or a server according to geographic location data.
  • the 3D image resource acquired by the virtual reality terminal directly reflects the actual geographical environment at the location where the virtual reality terminal is located. It can be understood that a large amount of geographical location data and a 3D image resource of a geographical environment at a geographical location indicated by the geographical location data are stored in a local database or a server, and the geographical location data and the geographical location indicated by the geographical location data The 3D image resources of the geographical environment at the location correspond.
  • the virtual reality terminal is located in an office building and is obtained as an actual 3D image resource of the office building.
  • the virtual reality terminal acquires the 3D image resource of the train on the speeding train.
  • the virtual reality terminal acquires the 3D image resource of the grassland on the open grassland.
  • the 3D image indicated by the 3D image resource may be colored, which enables the user to more intuitively perceive the current geographic location.
  • the server parses the specific geographic location represented by the geographic location data according to the received geographical location data of the virtual reality terminal. And searching for the 3D image resource of the geographical environment corresponding to the geographical location in the stored 3D image resource.
  • the user can intuitively know the actual location of the 3D image resource of the geographical environment at the geographic location indicated by the geographic location data acquired by the virtual reality terminal.
  • the virtual reality terminal may also be based on time data from a local database or a server.
  • the angles, hue, and intensity of the outdoor light corresponding to different time periods in a day are different, and the outdoor light can prompt the user to be in the current time period.
  • the angle between the sun and the ground plane rises from 15 degrees to 60 degrees, and the angle of illumination of the light gradually changes.
  • the outdoor light in the morning is soft and warm.
  • the sun shines almost vertically, and the outdoor light is glaring and bright.
  • the outdoor light is mild and cool.
  • each time period of the day has a corresponding outdoor light, and the angle of the outdoor light, the color tone or other elements can be changed, so that the user can intuitively perceive the approximate time period.
  • each time period in a day can be enumerated one by one, and a 3D image resource of outdoor light corresponding to the time period corresponding to different time segments can be stored in the local database or the server.
  • the server parses the specific time represented by the time data according to the time data sent by the received virtual reality terminal, and stores the A 3D image resource corresponding to the time is searched for in the 3D image resource to be sent to the virtual reality terminal.
  • FIG. 3 the left side of FIG. 3 shows a schematic diagram of a 3D image of a 3D image resource corresponding to a possible morning sunrise, and the right drawing shows a possible noon corresponding 3D.
  • the scene diagram of the 3D image indicated by the image resource as shown in the figure, the angle and intensity of the light are different in different time periods, and the user can be prompted to approximate the time period through the 3D image.
  • the 3D image indicated by the 3D image resource may be colored, which enables the user to more intuitively feel the current time.
  • the virtual reality terminal may further acquire a 3D image resource containing more rich information from a local database or a server according to the time data.
  • a 3D image resource of the sun, the moon, the location of the star, and the motion trajectory corresponding to the time indicated by the time data may be acquired.
  • the position of the sun, the moon, and the stars and the motion trajectory are all regularly ruled.
  • the local database or server can be calculated according to the physical theorem, and pre-store the position, and the trajectory of the sun, moon, and stars corresponding to different time periods. 3D image resources.
  • the virtual reality terminal may further acquire a 3D image resource corresponding to the weather condition indicated by the weather data from a local database or a server according to weather data.
  • the real-time weather data obtained by the virtual reality terminal at 09:00 on April 11, 2017 is as follows: air quality 35, temperature 26 degrees Celsius, relative humidity 91%, 24-hour precipitation is 0 mm, wind wind direction is southeast wind Level 8.
  • the weather conditions indicated by the real-time weather data are cloudy.
  • the 3D image resource acquired by the virtual reality terminal according to the weather data can intuitively make the user feel that the real-time weather condition is cloudy.
  • 3D image resources corresponding to different weather conditions are stored in the local database or the server.
  • the 3D image resource may represent different weather conditions in various forms, depending on the fineness of the 3D image resource stored in the local database or the server. For example, at different temperatures, the user is prompted by the different dressing states of the characters in the 3D image. When it rains, the user is prompted for different rainfall levels by the difference in rainfall in the 3D image. When there is wind, the wind direction can be prompted by the bending direction and bending degree of the flowers and trees in the 3D image. It should be noted that the foregoing examples are merely exemplary.
  • the 3D image resource may also represent a corresponding weather condition through other richer forms.
  • the 3D image indicated by the 3D image resource may be colored, which enables the user to more intuitively feel the real-time weather condition of the external environment.
  • the server parses the specific weather condition indicated by the time data according to the received weather data sent by the virtual reality terminal, and stores the 3D image resource. Searching for a 3D image resource corresponding to the weather condition to be sent to the virtual reality terminal.
  • the virtual reality terminal may acquire the 3D image resource of the landmark corresponding to the geographical location data or the geographical environment of the geographical location indicated by the geographical location data by using the geographic location data in the local database or the server respectively.
  • a 3D image resource, the 3D image resource of the outdoor light corresponding to the time indicated by the time data is obtained by using the time data
  • the 3D image resource corresponding to the weather condition indicated by the weather data is acquired by the weather data
  • the virtual reality terminal may simultaneously Corresponding 3D image resources are acquired according to any two or all of the geographic location data, the time data, and the weather data.
  • the virtual reality terminal may simultaneously acquire, through the geographic location data and the time data, a 3D image resource that simultaneously indicates a landmark corresponding to the geographic location data and an outdoor light corresponding to the time indicated by the time data.
  • a richer 3D image resource can be stored in the local database or the server, for example, the geographic location data, the time data, and the outdoor location corresponding to the time indicated by the geographic data and the time indicated by the time data are simultaneously stored. 3D image resources for light.
  • the 3D image resource of the landmark corresponding to the geographical location data described above, the 3D image resource of the geographical environment at the geographical location indicated by the geographic location data, and the outdoor light corresponding to the time indicated by the time data may be stored in different servers or may be stored in the same server at the same time. The present application does not impose any limitation.
  • FIG. 4 is a structural block diagram of an implementation manner of a virtual reality terminal 100 according to an embodiment of the present invention.
  • the virtual reality terminal 100 may include a baseband chip 110, a memory 115 (one or more computer readable storage media), a transceiver 116, a peripheral system 117, and a positioning module 122. These components can communicate over one or more communication buses 114.
  • the baseband chip 110 can be integrated to include one or more processors 111, a clock module 112, and a power management module 113.
  • the clock module 112 integrated in the baseband chip 110 is primarily used to generate the clocks required for data transfer and timing control for the processor 111.
  • the clock module may be an RTC, and the system time can be acquired.
  • the power management module 113 integrated in the baseband chip 110 is primarily used to provide a stable, high accuracy voltage to the processor 111, the transceiver 116, and the peripheral system 117.
  • the processor 111 includes a graphics processing unit (GPU).
  • the GPU is mainly used for three-dimensional image and special effect processing, and is a core processor dedicated to image data.
  • the GPU may generate a virtual reality scene corresponding to the external environment data according to the acquired 3D image resource by using a computer 3D graphics processing technology. For example, using particle systems to simulate wind, snow, rain, yin and sunny weather conditions, based on particle systems and using texture mapping dynamic algorithms to achieve 3D frost effect, using volume cloud algorithm to generate sunny, cloudy and rainy 3D weather effects, etc.
  • a virtual reality scene corresponding to the weather data is available.
  • the outdoor light can be simulated by a preset algorithm to obtain a virtual reality scene corresponding to the time data.
  • the peripheral system 117 is mainly used to implement the interaction function between the terminal 100 and the user/external environment, and mainly includes the input and output devices of the terminal 100.
  • the peripheral system 117 may include: a 3D display controller 118, a camera controller 119, an audio controller 120, and a sensor management module 121.
  • each controller can correspond to each Peripherals such as 3D display 123, camera 124, audio circuitry 125, and sensor 126 are coupled.
  • camera 124 can be a 3D camera.
  • the sensor 126 may include an accelerometer, a gyroscope, a geomagnetic sensor, a distance sensor, a gesture sensor, and the like.
  • the acceleration sensor knows the state of the terminal by measuring the acceleration of the terminal.
  • the gyro sensor can accurately measure the orientation of the terminal.
  • the geomagnetic sensor and the geomagnetic sensor measure the physical parameters such as current, position and direction by sensing the magnetic field strength.
  • the distance sensor can measure the distance of the object from the terminal. The distance sensor can recognize the user's operating gesture.
  • the sensor may also include more sensors, such as an eye tracking sensor, an infrared sensor, a displacement sensor, a fingerprint sensor, a gravity sensor, a light sensor, a heart rate sensor, and the like.
  • the 3D display 123 is capable of receiving a three-dimensional image output by the GPU and displaying it.
  • the user can see the three-dimensional image from the 3D display 123 through the optical lens, and intuitively feel the three-dimensional effect.
  • the 3D display 123 can display a virtual reality scene corresponding to the external environment, and the user can view the 3D virtual reality scene from the 3D display 123 through the optical lens.
  • the 3D display 123 can also be a touch display.
  • the peripheral device can also function as a user input device.
  • the 3D display 123 is a touch display screen
  • the 3D display 123 can receive the user's touch screen input
  • the camera 114 can receive the user's blink input
  • the audio circuit 125 can receive the user's voice input
  • the gesture sensor can receive the user's hand-in input. Wait.
  • peripheral system 117 may also include other I/O peripherals.
  • the transceiver 116 is configured to receive and transmit wireless signals and can be used to communicate with an external network to obtain related data or resources.
  • the transceiver 116 can include a Wireless Wide Area Network (WWAN) communication module and a Wireless Local Area Networks (WLAN) communication module.
  • the WWAN communication module can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and code division. Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • the WWAN communication module may be any one of a 3G module, a 4G module, or a 5G module.
  • the WLAN communication module may include a Bluetooth module, a WIreless-Fidelity (WIFI) module, a Near Field Communication (NFC) module, and the like.
  • WIFI WIreless-Fidelity
  • NFC Near Field Communication
  • the transceiver 116 is configured to acquire at least one of time data or weather data of the virtual reality terminal in real time.
  • the transceiver 116 can also be configured to acquire a 3D image resource corresponding to external environment data from a server. For example, acquiring a 3D image resource of a landmark corresponding to the geographic location data or acquiring a 3D image resource of a geographical environment at a geographical location indicated by the geographic location data according to the geographic location data, and acquiring the time data indication according to the time data.
  • the 3D image resource of the outdoor light corresponding to the time acquires the 3D image resource corresponding to the weather condition indicated by the weather data according to the weather data.
  • the positioning module 122 can acquire the current geographic location of the virtual reality terminal by using a satellite navigation and positioning system.
  • the positioning module may include a GPS module, a GLONASS module, a BDS module, and a Galileo positioning system module.
  • the positioning module 122 can directly acquire the geographic location of the terminal 100 through the satellite positioning system. It should be understood that the positioning result of the positioning module 122 is high precision and reliable.
  • the memory 115 is coupled to the processor 111 for storing various software programs and/or sets of instructions.
  • memory 115 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid state storage devices.
  • the memory 115 can store an operating system (hereinafter referred to as a system) such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 115 can also store a network communication program that can be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices.
  • the memory 115 can also store a user interface program, which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys. .
  • the memory 115 is configured to store a local database, where the local database includes various types of 3D image resources.
  • the processor is specifically configured to acquire various types of 3D image resources from the memory.
  • the memory 115 can also store one or more applications. As shown in FIG. 4, these applications may include: a weather application (such as ink weather), a social application (such as Facebook), an image management application (such as an album), a map application (such as Google Maps), a browser. (eg Safari, Google Chrome) and more.
  • these applications may include: a weather application (such as ink weather), a social application (such as Facebook), an image management application (such as an album), a map application (such as Google Maps), a browser. (eg Safari, Google Chrome) and more.
  • the terminal 100 may acquire real-time weather data from a server corresponding to the weather application through a weather application.
  • terminal 100 is only an example provided by an embodiment of the present invention, and that the terminal 100 may have more or less components than the illustrated components, may combine two or more components, or may have components. Different configurations are implemented.
  • the embodiment of the present invention provides a virtual reality display method, which can obtain external environment data from a real scene and display a corresponding virtual scene according to the external environment data.
  • the main principles of the embodiment of the present invention include: acquiring external environment data by using a virtual reality terminal, and acquiring corresponding 3D image resources from the server according to the external environment data, and displaying corresponding to the external environment data according to the 3D image resource.
  • Virtual scene The virtual scene here is a virtual representation of the real scene.
  • FIG. 5 is a schematic flowchart diagram of a virtual reality display method according to an embodiment of the present invention.
  • the virtual reality terminal is capable of acquiring external environment data from a real environment, and can acquire 3D image resources from a local database or a server according to the external environment data, according to the 3D image in the HOME main interface.
  • the resource displays a virtual scene corresponding to the external environment data.
  • the method embodiment shown in FIG. 5 is an example in which the virtual reality terminal acquires a 3D image resource from a server, and the following description is expanded:
  • S101 Acquire external environment data from a real scene, where the external environment data includes at least one of geographic location data, time data, and weather data.
  • the virtual reality terminal can obtain time data through a transceiver or an RTC, obtain weather data through a transceiver or various types of sensors, and obtain geographic location data through the positioning module.
  • the external environment data may further include more abundant data, such as external human traffic data, traffic data, noise data, and the like.
  • the above external environment data can be obtained through the transceiver.
  • the server sends the 3D image resource corresponding to the external environment data to the virtual reality terminal.
  • the virtual reality terminal may acquire corresponding 3D image resources from the server according to the acquired external environment data.
  • the virtual reality terminal may acquire the 3D image resource of the landmark corresponding to the geographic location data by using the server according to the geographic location data, and obtain the geographic location indicated by the geographic location data by using the server according to the geographic location data.
  • the 3D image resource of the geographical environment may be obtained by the server according to the time data, and the 3D image resource of the outdoor light corresponding to the time indicated by the time data may be acquired by the server, and the weather condition indicated by the weather data may be acquired according to the weather data. 3D image resources.
  • the external environment data and the corresponding 3D image resource can be stored in the server, and when the virtual reality terminal requests to acquire the 3D image resource, the corresponding 3D image resource is sent to the virtual reality terminal.
  • the virtual scene is displayed according to the 3D image resource, where the virtual scene is a 3D virtual representation of the external environment in the real scene.
  • the virtual scene is equivalent to displaying the geographic location, time, and weather of the external environment according to the acquired 3D image resource. The user can intuitively feel the real situation of the external environment through the virtual scene.
  • the virtual reality terminal may display the virtual reality scene corresponding to the external environment data according to the acquired 3D image resource by using a computer 3D graphics processing technology.
  • a computer 3D graphics processing technology For example, using particle systems to simulate wind, snow, rain, yin and sunny weather conditions, based on particle systems and using texture mapping dynamic algorithms to achieve 3D frost effect, using volume cloud algorithm to generate sunny, cloudy and rainy 3D weather effects, etc.
  • a virtual reality scene corresponding to the weather data can be obtained and displayed.
  • the outdoor light can be simulated by a preset algorithm, and a virtual reality scene corresponding to the time data is obtained and displayed.
  • the 3D image resource may include a landmark corresponding to the geographic location data or a 3D image resource of the geographical environment at the geographic location indicated by the geographic location data, and a 3D of outdoor light corresponding to the time indicated by the time data. Any one or more of the 3D image resources corresponding to the weather conditions indicated by the image resource and the weather data.
  • any one of the virtual scene corresponding to the external environment is displayed according to the 3D image resource, any one of the virtual scene corresponding to the geographical location data, the virtual scene corresponding to the time data, and the virtual scene corresponding to the weather data may be separately calculated or The plurality of virtual scenes are superimposed and displayed, and the virtual scene corresponding to the external environment is presented.
  • the 3D image resource of the geographical environment and the 3D image resource of the outdoor light corresponding to the time indicated by the time data may be simultaneously determined according to the landmark corresponding to the geographical location data or the geographical location indicated by the geographical location data,
  • the 3D image resource corresponding to the weather condition indicated by the weather data is calculated and processed to obtain a fused virtual scene and displayed.
  • the virtual reality terminal displays the virtual scene corresponding to the external environment data on the HOME main interface according to the 3D image resource.
  • the HOME main interface is a graphical user interface that a user sees when using a virtual reality terminal.
  • FIG. 6 is a schematic diagram of a possible virtual scene corresponding to external environment data displayed on the HOME main interface according to an embodiment of the present invention.
  • the virtual scene displayed by the HOME main interface may be colored, and the real situation of the external environment may be better represented.
  • the virtual reality terminal may be triggered to display the virtual scene corresponding to the external environment data on the HOME main interface by using the following manner:
  • the virtual reality terminal detects that the current page is the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the HOME main interface when the user starts to use the virtual reality terminal, the HOME main interface is first entered, and the HOME main interface displays the virtual scene corresponding to the external environment data.
  • the HOME main interface displays the virtual scene corresponding to the external environment data.
  • the virtual reality terminal receives user input for understanding an external environment, and in response to the user input, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the external interface on the HOME main interface.
  • the virtual scene corresponding to the environment data is the virtual scene corresponding to the environment data.
  • the current page is the page that the user currently sees, and may be any page, for example, may be a game page, a movie page, or the like.
  • the virtual reality terminal Upon receiving the user input, the virtual reality terminal jumps from the current page to the HOME main interface in response to the user input, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the user input herein may be preset, and the user input may include, but is not limited to, a gesture input, a voice input, a key input, a touch screen input, and may also be a shake head input, a blink input, or the like.
  • the gesture input may be a specified action, for example, the left hand shake angle exceeds 45 degrees.
  • the virtual reality terminal may further determine, according to the time when the user maintains the specified action, whether the user inputs the user input for understanding the external environment, for example, when the user raises the left hand and holds for 3 seconds, The virtual reality terminal can determine that the user inputs the user input for understanding the external environment, and can display the virtual scene corresponding to the external environment on the HOME main interface.
  • the third type when the external environment data fluctuates greatly, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the external environment data fluctuates greatly, it indicates that the real environment of the outside world has undergone a large change, and can automatically jump to the HOME main interface to prompt the user to change the real environment.
  • the virtual reality terminal may determine that the weather in the outside world fluctuates greatly when receiving the weather warning message.
  • the virtual reality terminal may periodically acquire weather data, and compare the acquired weather data with the last acquired weather data. If the difference between the parameters in the weather data exceeds a preset range, It can be determined that the outside weather has a large fluctuation. For example, when a user uses a virtual reality terminal to watch a movie, when the movie is started, the 24-hour precipitation in the weather data is 0 mm, and after one hour of watching the movie, the 24-hour precipitation in the weather data is 50 mm, at which time the weather can be determined. The data fluctuated greatly and the weather conditions were abrupt.
  • the virtual reality terminal may periodically acquire geographic location data, and compare the acquired geographic location data with the last acquired geographic location data, if the geographic location data indicates the virtual
  • the distance between the front and rear geographical locations of the real terminal exceeds the preset range, and the number of geographical locations in the external environmental data can be determined.
  • the user uses a virtual reality terminal to watch a movie on a train. After one hour of watching the movie, the geographic location data indicates that the user has moved from one city to another, and it can be concluded that the geographic location data fluctuates greatly.
  • the virtual reality terminal jumps from the current page to the HOME main interface every preset time period, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the preset duration may be set, for example, one hour, two hours, etc., and the virtual reality terminal is preset every time. The duration jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
  • the virtual reality terminal may preset a display duration, and the virtual reality device jumps from the current page to The main interface of the HOME, and when the time of displaying the virtual scene corresponding to the external environment data reaches the display duration in the main interface of the HOME, automatically jumping back to the current page does not affect the experience of the user using the virtual reality terminal.
  • the virtual terminal may further receive a user input for jumping back to the current page, and jumping to the user in response to the user input for jumping back to the current page The current page.
  • the user input here can be preset, and can include various input forms as described above.
  • the virtual reality terminal may further determine, according to the time when the user maintains the specified action, whether the user inputs the user input for jumping back to the current page, for example, when the user raises the left hand and holds for 3 seconds. The virtual reality terminal may determine that the user inputs the user input for jumping back to the current page, and may jump back to the current page from the HOME main interface.
  • the virtual reality terminal can also display the virtual scene corresponding to the external environment data on the HOME main interface in other preset situations.
  • the virtual reality terminal when the virtual reality terminal is a mobile phone, an integrated machine head display, a VR experience environment, and the like, and the device has a core processing module and a 3D display module, the virtual reality terminal may perform the foregoing.
  • the virtual reality terminal is a device that only has a core processing module and does not have a 3D display module, for example, when a computer that is used in conjunction with a PC terminal is required, the above step S104 needs to be used by the virtual reality terminal.
  • a device with a 3D display module is executed, such as a PC terminal.
  • the user can intuitively feel the real situation of the external environment while seeing the HOME main interface, and make up for the user to completely immerse in the virtual reality.
  • the manner of displaying the virtual scene on the HOME main interface is not large, and is easy to implement, and increases the interest of the HOME main interface, and provides more effective information to the user.
  • FIG. 7 is a schematic flowchart diagram of another virtual reality display method according to an embodiment of the present invention.
  • the virtual reality terminal displays the virtual scene corresponding to the external environment data according to the 3D image resource, and is not displayed on the HOME main interface, but It is displayed on the current page.
  • the embodiment of FIG. 7 is more suitable for a scenario in which the user is prompted to use the virtual reality terminal to prompt the user of the real environment. The following expands the description:
  • S201 Acquire external environment data from a real scene, where the external environment data includes: geographic location data, time At least one of data and weather data.
  • the server sends the 3D image resource corresponding to the external environment data to the virtual reality terminal.
  • S204 Display a virtual scene corresponding to the external environment data and a current page according to the 3D image resource, or display a virtual scene corresponding to the external environment data on the current page according to the 3D image resource.
  • the current page is the page that the user currently sees, and may be any page, for example, may be a game page, a movie page, or the like.
  • the virtual reality terminal may be triggered to display the virtual scene and the current page corresponding to the external environment data according to the 3D image resource split screen, or according to the 3D image resource on the current page.
  • the virtual scene corresponding to the external environment data is displayed on the floating:
  • the virtual reality terminal receives a user input for understanding an external environment, and in response to the user input, displays a virtual scene and a current page corresponding to the external environment data, or displays a floating page on the current page.
  • the virtual environment corresponding to the external environment data is a virtual environment corresponding to the external environment data.
  • the virtual reality terminal displays the virtual scene corresponding to the external environment data and the current page, or displays the virtual scene corresponding to the external environment data on the current page. .
  • the third type the virtual reality terminal displays the virtual scene corresponding to the external environment data and the current page in a split screen, or displays the virtual scene corresponding to the external environment data on the current page.
  • the following describes in detail how the virtual reality terminal displays the virtual scene and the current page corresponding to the external environment data according to the 3D image resource.
  • the virtual reality terminal displays a virtual scene corresponding to the external environment in a first area of the 3D display, and displays the current page in a second area in the 3D display.
  • the first area and the second area do not overlap, and the specific positions and shapes of the first area and the second area are not limited.
  • the virtual reality terminal may display the current page in a left area of the 3D display, and display the virtual scene in a right area, or may display the current page in an upper area of the 3D display, in the lower area.
  • the virtual scene is displayed.
  • FIG. 8 is a schematic diagram of a virtual screen and a current page corresponding to the external environment data displayed by a split screen according to an embodiment of the present invention.
  • the user is viewing the landscape picture using the virtual reality terminal, that is, the current page is a landscape picture.
  • the geographic location data obtained by the virtual reality terminal indicates that the current geographic location is near the Great Wall, and the reduced current page is displayed in the right region, and the virtual environment corresponding to the external environment data, such as the image of the Great Wall, is displayed in the left region.
  • the virtual reality terminal in detail, according to the 3D image resource, how to display the virtual scene corresponding to the external environment data on the current page.
  • the virtual reality terminal displays the current page in a 3D display, and is in the current page.
  • the virtual scene is displayed in a floating manner on the surface.
  • the display shape and specific position of the virtual scene are not limited.
  • FIG. 9 is a schematic diagram of a virtual scene corresponding to the external environment data floating on the current page according to an embodiment of the present invention.
  • the user is viewing the landscape picture using the virtual reality terminal, that is, the current page is a landscape picture.
  • the geographic location data obtained by the virtual reality terminal indicates that the current geographic location is near the Great Wall.
  • the virtual reality terminal displays a virtual scene corresponding to the external environment data on the current page.
  • the virtual reality terminal may further display the current page while displaying the virtual scene corresponding to the external environment data.
  • FIG. 10 is a schematic diagram of a floating display of the current page while displaying a virtual scene corresponding to the external environment data according to an embodiment of the present invention.
  • the user is viewing the landscape picture using the virtual reality terminal, that is, the current page is a landscape picture.
  • the geographic location data obtained by the virtual reality terminal indicates that the current geographic location is near the Great Wall.
  • the virtual reality terminal floats and displays the current page on a virtual scene corresponding to an external environment.
  • the virtual reality terminal when the virtual reality terminal is a mobile phone, an integrated machine head display, a VR experience environment, and the like, which are equipped with a core processing module and a 3D display module, the virtual reality terminal is a virtual reality terminal.
  • the virtual reality terminal is a device that only has a core processing module and does not have a 3D display module, for example, when a computer that is used in conjunction with a PC terminal is required, the above step S204 needs to be used by the virtual reality terminal.
  • a device with a 3D display module is executed, such as a PC terminal.
  • the current page and the virtual scene are displayed by a split screen, or the virtual scene is suspended and displayed on the current page, which does not affect the user using the virtual reality terminal, and may also prompt the user to externally
  • the real situation of the environment makes up for the drawbacks that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
  • the virtual reality terminal displays the virtual scene corresponding to the external environment according to the 3D image resource, and visually prompts the user about the real situation of the external environment, so that the user can intuitively feel External environment, including geographic location, weather, time, etc.
  • the virtual reality terminal mainly visually prompts the user of the real situation of the external environment.
  • the virtual reality terminal may also prompt the user to the real situation of the external environment through a sense of hearing, touch, etc., to give the user a more realistic and intuitive experience. The details will be described below.
  • the virtual reality terminal when the external environment data includes weather data, the virtual reality terminal further outputs a real weather condition through various types of sensing devices. For example, if the weather data includes rainfall and the 24-hour rainfall reaches 50 mm, indicating that the current weather conditions are heavy rain, then the virtual reality terminal can output sound and sound corresponding to a 24-hour rainfall of 50 mm through the audio device. The user is immersive in the weather conditions of heavy rain.
  • the weather data includes a wind direction, and if the wind direction is a southeast wind level 2, the virtual reality device can simulate the southeast wind level 2 through the wind wind direction simulation device, and can also simulate the wind sound corresponding to the southeast wind level 2 through the audio device simulation. , so that the user truly feels the wind direction.
  • the cooperation relationship between the components in the virtual reality terminal 100 in the embodiment of the present invention is described in detail with reference to FIG. 11 in conjunction with the virtual reality terminal 100 shown in FIG. It should be noted that the method embodiment shown in FIG. 11 is in the virtual state.
  • the real terminal obtains the weather data and the time data through the transceiver, acquires the geographical location data through the positioning module, and obtains the application scenario of the 3D image resource from the server for description.
  • the processor 111 receives the event drive.
  • the event drivers can be the following two:
  • the first type detects user input.
  • the event drive (user input) may be received by the peripheral device, and the peripheral device transmits the received event drive (user input) to the processor 111.
  • the event driver may be a touch screen input of the user received by the 3D display 123, may be a blink input of the user received by the camera 114, may be a voice input of the user received by the audio circuit 125, or may be a gesture sensor receiving The user's hand-in input to the user.
  • the preset duration is reached.
  • the preset duration is calculated by the clock module 112, and the clock module 112 sends an event drive to the processor 111 every time the interval is preset.
  • the processor 111 can notify the transceiver 116 to acquire time data and weather data, and notify the positioning module 122 to acquire geographic location data.
  • the transceiver 116 acquires time data and weather data, and the positioning module 122 acquires geographic location data.
  • the transceiver 116 sends the acquired time data and weather data to the processor 111, and the geographical location data obtained by the positioning module 122 is sent to the processor 111.
  • the processor 111 notifies the transceiver 116 to acquire a 3D image resource corresponding to the external environment data from the server.
  • the transceiver 116 acquires a 3D image resource corresponding to the external environment data from a server.
  • the transceiver 116 may acquire, from a server that stores the 3D image resource of the outdoor light, a 3D image resource of the outdoor light corresponding to the time indicated by the time data, and obtain the same from a server that stores the 3D image resource corresponding to the weather condition.
  • the 3D image resource corresponding to the weather condition indicated by the weather data, the 3D image resource of the geographical environment at the geographical location indicated by the geographical location data is obtained from the server storing the 3D image resource of the geographical environment, or the 3D image resource from the stored landmark Obtaining a 3D image resource of the landmark corresponding to the geographical location data in the server.
  • the transceiver 116 sends the acquired 3D image resource corresponding to the external environment data to the processor 111.
  • the processor 111 performs 3D processing on the 3D image resource.
  • the GPU in the processor performs 3D processing on the 3D image resource.
  • the processor 111 transmits the 3D processed 3D image resource to the 3D display 114.
  • the 3D display 114 displays a virtual scene corresponding to the external environment data according to the 3D image resource.
  • the 3D display displays the virtual scene corresponding to the external environment data and the current page according to the 3D image resource, or displays the virtual corresponding to the external environment data on the current page according to the 3D image resource. Scenes.
  • FIG. 12 is a functional block diagram of a virtual reality terminal 120 according to an embodiment of the present invention.
  • the function block of the terminal may implement the solution of the present invention by hardware, software, or a combination of hardware and software.
  • the functional blocks depicted in Figure 12 can be combined or separated into several sub-blocks to implement the inventive arrangements. Accordingly, the above description of the invention may support any possible combination or separation or further definition of the functional modules described below. The description is expanded below.
  • the virtual reality terminal 120 may include an acquisition unit 121, a processing unit 122, and a display unit 123. among them:
  • the obtaining unit 121 is configured to acquire external environment data from a real scene, and the external environment data may include at least one of geographic location data, time data, or weather data.
  • the obtaining unit 121 may be a transceiver, configured to acquire at least one of time data or weather data.
  • the transceiver may be a positioning module, configured to acquire geographic location data.
  • the obtaining unit 121 is further configured to acquire a 3D image resource from the server according to the external environment data.
  • the processing unit 122 is configured to instruct the display unit 123 to display the virtual scene corresponding to the external environment according to the 3D image resource.
  • the processing unit may be the processor 111 in FIG. 4, including a graphics processor GPU.
  • the display unit 123 is configured to display a virtual scene corresponding to the external environment data.
  • the display unit may be a display screen, such as the 3D display 123 in FIG.
  • the acquiring unit is configured to acquire a 3D image resource of a landmark corresponding to the geographical location data according to the geographic location data, and acquire a geographical environment at a geographical location indicated by the geographic location data according to the geographic location data.
  • the 3D image resource obtains the 3D image resource of the outdoor light corresponding to the time indicated by the time data according to the time data, and acquires the 3D image resource corresponding to the weather condition indicated by the weather data according to the weather data.
  • the display unit is specifically configured to display a virtual scene corresponding to the external environment data according to the 3D image resource in the HOME main interface.
  • the display unit may be further configured to display, according to the 3D image resource, a virtual scene and a current page corresponding to the external environment data, or to pause on the current page according to the 3D image resource. Displaying a virtual scene corresponding to the external environment data.
  • the terminal 120 may further include a receiving unit 124 for receiving user input for understanding an external environment.
  • the display unit is specifically configured to: in response to the user input received by the receiving unit for understanding an external environment, displaying the external image according to the 3D image resource acquired by the second acquiring unit in the HOME main interface
  • the virtual scene corresponding to the environment data, or the virtual scene corresponding to the external environment data and the current page are displayed on the screen, or the virtual scene corresponding to the external environment data is floatingly displayed on the current page.
  • the receiving unit 124 may be the user input device involved in the embodiment of FIG. 4.
  • An embodiment of the method of the present invention is configured to obtain external environment data from a real scene, acquire a 3D image resource according to the external environment data, and display a virtual scene corresponding to the external environment data according to the 3D image resource.
  • the above solution can prompt the user to the real situation of the external environment when the user is immersed in the virtual reality scene that is separated from the external environment, so that the user can know the current geographical location, time, and weather.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wire (eg coaxial cable, fiber, digital User line) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state hard disk).

Abstract

Disclosed are a virtual reality display method and a terminal. According to embodiments of the present invention, a terminal obtains external environment data from a real scene, the external environment data comprising at least one of geographic location data, time data, or weather data; 3D image resources are obtained according to the external environment data, and a virtual scene corresponding to the external environment data is displayed according to the 3D image resources. The solution above can remind a user of real situations of an external environment in the case that the user is absorbed in a virtual reality scene that is cut off from the external environment, so that the user can learn about current geographical location, time, and weather.

Description

一种虚拟现实显示方法及终端Virtual reality display method and terminal
本申请要求于2016年12月24日提交中国专利局、申请号为201611210214.7、发明名称为“一种与现实场景相结合的虚拟现实显示方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on Dec. 24, 2016, the Chinese Patent Application No. 201611210214.7, entitled "A Virtual Reality Display Method and Apparatus Combined with Reality Scenes", the entire contents of which is hereby incorporated by reference. This is incorporated herein by reference.
技术领域Technical field
本申请涉及虚拟现实技术领域,尤其涉及一种虚拟现实显示方法及终端。The present application relates to the field of virtual reality technologies, and in particular, to a virtual reality display method and terminal.
背景技术Background technique
虚拟现实(Virtual Reality,VR)技术是利用计算机生成一种模拟环境,通过多种传感设备使用户投入到该环境中,实现用户与该环境直接进行交互的技术,是一种可以创建和体验虚拟环境的计算机系统技术。Virtual Reality (VR) technology is a technology that uses a computer to generate a simulation environment, which enables users to enter the environment through various sensing devices, and realizes direct interaction between the user and the environment. It is a kind of technology that can be created and experienced. Computer system technology for virtual environments.
目前,基于VR技术的产品有很多,例如需要连接电脑才能使用的个人电脑(Personal Computer,PC)端头显、需要和手机配套使用的移动端头显、能独立使用的一体机头显、VR体验环境、VR可穿戴设备等。At present, there are many products based on VR technology, such as a personal computer (PC) that needs to be connected to a computer, a mobile terminal that needs to be used with a mobile phone, a stand-alone head display that can be used independently, and VR. Experience the environment, VR wearable devices, and more.
用户在使用VR产品时,沉浸到与外界隔断的虚拟现实场景中,无法感知外界真实环境发生的变化,例如天气情况、所在地理位置的变化等。When users use VR products, they are immersed in virtual reality scenes that are isolated from the outside world. They cannot perceive changes in the real environment, such as weather conditions and changes in geographic location.
举例来说,用户使用VR产品观看电影,一般电影时长为2小时左右。用户在开始看电影时,从真实环境进入虚拟场景中,这时真实环境中天气情况良好。当用户观看电影一小时后,天气突变,开始下雨。在这种情况下,由于用户完全沉浸到虚拟场景中,无法感知真实环境中天气的变化。用户若想要查看真实环境中天气的变化,需停止使用VR产品并亲自查看真实环境中的实时天气情况,或者,退出正在使用的应用并打开天气应用查看实时天气情况。上述方式操作复杂,且会中断用户使用VR产品的过程,用户体验差。For example, users use VR products to watch movies. The average movie duration is about 2 hours. When the user starts to watch the movie, he enters the virtual scene from the real environment, and the weather conditions in the real environment are good. One hour after the user watched the movie, the weather changed suddenly and it began to rain. In this case, since the user is completely immersed in the virtual scene, it is impossible to perceive the change of the weather in the real environment. If you want to see the weather changes in the real environment, you need to stop using the VR product and see the real-time weather conditions in the real environment, or exit the application you are using and open the weather app to view the real-time weather conditions. The above method is complicated in operation, and the process of using the VR product by the user is interrupted, and the user experience is poor.
发明内容Summary of the invention
本发明实施例提供了一种虚拟现实显示方法及终端,能够使用户实时获知外部环境的真实情况,包括地理位置、时间、天气等。The embodiment of the invention provides a virtual reality display method and a terminal, which enable the user to know the real situation of the external environment in real time, including geographical location, time, weather and the like.
第一方面,本发明实施例提供了一种虚拟现实显示方法,包括:虚拟现实终端从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据或者天气数据中的至少一项;根据所述外部环境数据,获取三维(3 Dimensions,3D)图像资源;根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。其中,所述真实场景为当前所述虚拟现实终端实际所处的场景,是实实在在存在的外部环境所对应的场景。In a first aspect, an embodiment of the present invention provides a virtual reality display method, including: acquiring, by a virtual reality terminal, external environment data from a real scene, where the external environment data includes: at least geographical location data, time data, or weather data. And obtaining a three-dimensional (3D) image resource according to the external environment data; and displaying a virtual scene corresponding to the external environment data according to the 3D image resource. The real scene is a scene in which the current virtual reality terminal is actually located, and is a scene corresponding to an actual external environment.
在本发明实施例中,所述虚拟现实终端可配置有收发器和定位模块。In the embodiment of the present invention, the virtual reality terminal may be configured with a transceiver and a positioning module.
具体实现中,虚拟现实终端可通过所述定位模块实时获取所述虚拟现实终端的地理位置数据,可通过所述收发器实时获取时间数据或者天气数据中的至少一项。In a specific implementation, the virtual reality terminal may acquire the geographic location data of the virtual reality terminal in real time by using the positioning module, and at least one of time data or weather data may be acquired by the transceiver in real time.
具体的,所述虚拟现实终端可根据获取到的所述外部环境参数,从本地数据库或者服务器中获取3D图像资源。从本地数据库获取3D图像资源时,所述本地数据库存储在所述虚拟现实终端的存储器中,所述虚拟现实终端的处理器可直接从所述存储器中获取到所述 3D图像资源。从服务器获取3D图像资源时,所述服务器可以为远端服务器,所述虚拟现实终端可以通过收发器从远端服务器中获取所述3D图像资源。Specifically, the virtual reality terminal may acquire a 3D image resource from a local database or a server according to the obtained external environment parameter. When acquiring a 3D image resource from a local database, the local database is stored in a memory of the virtual reality terminal, and the processor of the virtual reality terminal can directly obtain the 3D image resources. When acquiring the 3D image resource from the server, the server may be a remote server, and the virtual reality terminal may acquire the 3D image resource from the remote server through the transceiver.
所述3D图像资源是具有3D视觉效果的画面资源,可包括静态图像资源,如图片资源等,还可包括动态图像资源,如视频资源等。The 3D image resource is a picture resource having a 3D visual effect, and may include a static image resource, such as a picture resource, and may also include a dynamic image resource, such as a video resource.
实施第一方面的方法,能够提示用户外部环境的真实情况,包括地理位置、时间、天气等信外部环境的真实情况,弥补用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。The method of the first aspect can prompt the user to the real situation of the external environment, including the real situation of the external environment such as the geographical location, the time, the weather, and the like, and make up for the drawback that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
结合第一方面,在一些实施例中,所述外部环境数据包括地理位置数据;所述根据所述外部环境数据,获取3D图像资源,包括:根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源。With reference to the first aspect, in some embodiments, the external environment data includes geographic location data; and the acquiring the 3D image resource according to the external environment data includes: acquiring the geographic location data according to the geographic location data Corresponding landmark 3D image resources.
具体的,可以通过以下两种策略来根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源:Specifically, the 3D image resource of the landmark corresponding to the geographical location data may be obtained according to the geographic location data by using the following two strategies:
第一种,距离最近地标获取策略,从本地数据库或者服务器中,获取和所述地理位置数据指示的地理位置距离最近的地标对应的3D图像资源。First, from the local landmark database or the server, the 3D image resource corresponding to the nearest landmark is obtained from the local database or the server.
第二种,热度最高地标获取策略,所述虚拟现实终端根据所述地理位置数据,从本地数据库或者服务器中,获取和所述地理位置数据对应的热度最高的地标对应的3D图像资源。实施上述步骤,能够使用户直观地感受到自己身处何处。The second highest-accuracy landmark acquisition policy, the virtual reality terminal acquires a 3D image resource corresponding to the hottest landmark corresponding to the geographic location data from the local database or the server according to the geographic location data. Implementing the above steps enables the user to intuitively feel where they are.
结合第一方面,在一些实施例中,所述外部环境数据包括地理位置数据,所述根据所述外部环境数据,获取3D图像资源包括:根据所述地理位置数据,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源。实施上述步骤,使用户直观地了解自己实际所处位置。With reference to the first aspect, in some embodiments, the external environment data includes geographic location data, and the acquiring the 3D image resource according to the external environment data includes: obtaining the geographic location data indication according to the geographic location data The geographical location of the 3D image resource at the geographic location. Implement the above steps to give the user a visual understanding of where they are physically located.
结合第一方面,在一些实施例中,所述外部环境数据包括时间数据,所述根据所述外部环境数据,获取3D图像资源包括:根据所述时间数据,获取所述时间数据指示的时间对应的室外光线的3D图像资源。With reference to the first aspect, in some embodiments, the external environment data includes time data, and the acquiring the 3D image resource according to the external environment data includes: acquiring, according to the time data, a time corresponding to the time data indication 3D image resources for outdoor light.
结合第一方面,在一些实施例中,所述外部环境数据包括天气数据,所述根据所述外部环境数据,获取3D图像资源包括:根据所述天气数据,获取所述天气数据指示的天气状况对应的3D图像资源;其中,所述天气数据包括以下至少一项:空气质量、温度、相对湿度、降水量、风力风向或者光照强度。With reference to the first aspect, in some embodiments, the external environment data includes weather data, and acquiring the 3D image resource according to the external environment data includes: acquiring a weather condition indicated by the weather data according to the weather data Corresponding 3D image resources; wherein the weather data comprises at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or light intensity.
可理解的,上述描述的所述地理位置数据对应的地标的3D图像资源、所述地理位置数据指示的地理位置处的地理环境的3D图像资源、所述时间数据指示的时间对应的室外光线的3D图像资源、所述天气数据指示的天气状况对应的3D图像资源存储在服务器的情况下,可以分别存储在不同的服务器中,也可以同时存储在同一个服务器中,本发明不做任何限制。It can be understood that the 3D image resource of the landmark corresponding to the geographical location data described above, the 3D image resource of the geographical environment at the geographical location indicated by the geographic location data, and the outdoor light corresponding to the time indicated by the time data The 3D image resource and the 3D image resource corresponding to the weather condition indicated by the weather data are stored in the server, and may be stored in different servers or in the same server at the same time, and the present invention does not impose any limitation.
结合第一方面,在一些实施例中,根据所述3D图像资源显示所述外部环境数据对应的虚拟场景包括:在HOME主界面显示所述外部环境数据对应的虚拟场景。With reference to the first aspect, in some embodiments, displaying the virtual scene corresponding to the external environment data according to the 3D image resource includes: displaying a virtual scene corresponding to the external environment data on a HOME main interface.
具体实现中,可通过以下方式触发所述虚拟现实终端在HOME主界面显示所述外部环境数据对应的虚拟场景:In a specific implementation, the virtual reality terminal may be triggered to display the virtual scene corresponding to the external environment data on the HOME main interface by using the following manner:
第一种,所述虚拟现实终端检测到当前页面为HOME主界面,则在HOME主界面显 示所述外部环境数据对应的虚拟场景。First, the virtual reality terminal detects that the current page is the HOME main interface, and then displays the main interface of the HOME. A virtual scene corresponding to the external environment data is displayed.
第二种,所述虚拟现实终端接收用于了解外部环境的用户输入,响应于所述用户输入,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Second, the virtual reality terminal receives user input for understanding an external environment, and in response to the user input, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the external interface on the HOME main interface. The virtual scene corresponding to the environment data.
这里的用户输入可以预先设置,所述用户输入可以包括但不限于以下形式:手势输入、语音输入、按键输入、触摸屏输入,还可是晃动头部输入、眨眼输入等。其中,所述手势输入可以为指定的动作,例如左手晃动角度超过45度等。具体实现中,所述虚拟现实终端还可结合用户保持指定动作的时间来判断用户是否输入了所述用于了解外部环境的用户输入,例如,当用户抬起左手并保持3秒时,所述虚拟现实终端可判断用户输入了所述用于了解外部环境的用户输入,可在HOME主界面显示所述外部环境对应的虚拟场景。The user input herein may be preset, and the user input may include, but is not limited to, a gesture input, a voice input, a key input, a touch screen input, and may also be a shake head input, a blink input, or the like. The gesture input may be a specified action, for example, the left hand shake angle exceeds 45 degrees. In a specific implementation, the virtual reality terminal may further determine, according to the time when the user maintains the specified action, whether the user inputs the user input for understanding the external environment, for example, when the user raises the left hand and holds for 3 seconds, The virtual reality terminal can determine that the user inputs the user input for understanding the external environment, and can display the virtual scene corresponding to the external environment on the HOME main interface.
第三种,外部环境数据波动较大时,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。The third type, when the external environment data fluctuates greatly, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
具体的,当外部环境数据波动较大时,说明外界真实环境发生了较大的变化,可自动跳转到HOME主界面以提示用户真实环境的变化。Specifically, when the external environment data fluctuates greatly, it indicates that the real environment of the outside world has undergone a large change, and can automatically jump to the HOME main interface to prompt the user to change the real environment.
第四种,每隔预设时长,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Fourthly, the virtual reality terminal jumps from the current page to the HOME main interface every preset time period, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
可理解的,上述第二种、第三种、第四种触发方式中,在可选实施例中,所述虚拟现实终端可预先设置显示时长,所述虚拟现实设备在从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景的时间达到所述显示时长时,自动跳转回所述当前页面,不影响用户使用虚拟现实终端的体验。It can be understood that, in the foregoing second, third, and fourth triggering manners, in an optional embodiment, the virtual reality terminal may preset a display duration, and the virtual reality device jumps from the current page to The main interface of the HOME, and when the time of displaying the virtual scene corresponding to the external environment data reaches the display duration in the main interface of the HOME, automatically jumping back to the current page does not affect the experience of the user using the virtual reality terminal.
上述步骤通过在HOME主界面显示所述虚拟场景,用户在看到HOME主界面的同时都能直观地感受到外部环境的真实情况,弥补了用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。进一步的,在HOME主界面显示所述虚拟场景的方式,计算量不大,容易实现,且增加了HOME主界面的趣味性,给用户提供了更多的有效信息。The above steps display the virtual scene on the HOME main interface. When the user sees the HOME main interface, the user can intuitively feel the real situation of the external environment, and make up for the user completely immersed in the virtual reality scene and completely unaware of the external environment. The drawbacks. Further, the manner of displaying the virtual scene on the HOME main interface is not large, and is easy to implement, and increases the interest of the HOME main interface, and provides more effective information to the user.
结合第一方面,在一些实施例中,根据所述3D图像资源显示所述外部环境数据对应的虚拟场景包括:根据所述3D图像资源,分屏显示所述外部环境数据对应的虚拟场景和当前页面;或者,根据所述3D图像资源,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。With reference to the first aspect, in some embodiments, displaying the virtual scene corresponding to the external environment data according to the 3D image resource comprises: displaying, according to the 3D image resource, a virtual scene corresponding to the external environment data and current And displaying a virtual scene corresponding to the external environment data on the current page according to the 3D image resource.
具体实现中,可通过和上述所述虚拟现实终端在HOME主界面显示所述虚拟场景的第二种、第三种或第四种相同的触发方式,来触发所述虚拟现实终端根据所述3D图像资源分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,根据所述3D图像资源在当前页面上悬浮显示所述外部环境数据对应的虚拟场景,可参考之前的描述。In a specific implementation, the virtual reality terminal may be triggered to display the virtual reality terminal according to the 3D by displaying the second, third, or fourth triggering manner of the virtual scene on the HOME main interface. The image resource screen displays the virtual scene and the current page corresponding to the external environment data, or the virtual scene corresponding to the external environment data is displayed on the current page according to the 3D image resource, and the previous description may be referred to.
上述步骤通过分屏显示或者悬浮显示的方式,既不影响用户使用虚拟现实终端,还可以提示用户外部环境的真实情况,弥补了用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。The above steps are performed by means of split screen display or floating display, which does not affect the user's use of the virtual reality terminal, and can also prompt the user to the actual situation of the external environment, and make up for the drawback that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
在可选实施例中,所述虚拟现实终端还可通过听觉、触觉等感觉来提示用户外部环境的真实情况,给用户更加真实直观的体验。例如,当所述外部环境数据包括天气数据时,所述虚拟现实终端还通过各类传感设备输出真实的天气情况。例如,天气数据包括降雨量, 且降雨量达到50毫米,表明当前天气情况为暴雨,那么所述虚拟现实终端可通过音频设备输出和降雨量50毫米相对应的下雨声,使用户身临其境地感觉到暴雨的天气状况。上述步骤能够使用户更加直观地感受到外界真实环境。In an alternative embodiment, the virtual reality terminal may also prompt the user to the real situation of the external environment through a sense of hearing, touch, etc., to give the user a more realistic and intuitive experience. For example, when the external environment data includes weather data, the virtual reality terminal also outputs a real weather condition through various types of sensing devices. For example, weather data includes rainfall, And the rainfall reaches 50 mm, indicating that the current weather condition is heavy rain, then the virtual reality terminal can output the rain sound corresponding to the rainfall of 50 mm through the audio device, so that the user can feel the rainy weather condition immersively. The above steps can make the user feel the real environment of the outside world more intuitively.
第二方面,本发明实施例提供了一种终端,包括:处理器、存储器、3D显示器,其中:In a second aspect, an embodiment of the present invention provides a terminal, including: a processor, a memory, and a 3D display, where:
所述存储器用于存储指令和数据;The memory is for storing instructions and data;
所述处理器,用于读取所述存储器中存储的指令和数据,执行如下操作:The processor is configured to read instructions and data stored in the memory, and perform the following operations:
从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据或者天气数据中的至少一项;Obtaining external environment data from a real scene, the external environment data including: at least one of geographical location data, time data, or weather data;
从真实场景中获取所述外部环境数据中的地理位置数据;Obtaining geographic location data in the external environment data from a real scene;
所述3D显示器,用于根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。The 3D display is configured to display a virtual scene corresponding to the external environment data according to the 3D image resource.
在本发明实施例中,用户通过光学透镜,可从3D显示器123上看到三维图像,直观地感受到三维立体效果。具体实现中,所述3D显示器可显示外部环境对应的虚拟现实场景,用户可通过光学透镜从3D显示器上看到3D虚拟现实场景。In the embodiment of the present invention, the user can see the three-dimensional image from the 3D display 123 through the optical lens, and intuitively feel the three-dimensional effect. In a specific implementation, the 3D display can display a virtual reality scene corresponding to an external environment, and the user can view the 3D virtual reality scene from the 3D display through the optical lens.
在本发明实施例中,所述处理器包括图形处理器(Graphic Processing Unit,GPU),GPU主要用于三维图像和特效处理,是一个专用于图像数据的核心处理器。在一些实施例中,GPU可通过计算机3D图形处理技术,根据获取到的3D图像资源生成外部环境数据对应的虚拟现实场景。例如,利用粒子系统模拟风、雪、雨、阴、晴的天气状况,基于粒子系统并利用纹理贴图动态算法实现3D霜冻效果,利用体积云算法生成晴天、阴天以及雨天的3D天气特效等,可得到天气数据对应的虚拟现实场景。又例如,通过预设算法可模拟室外光线,得到时间数据对应的虚拟现实场景。In the embodiment of the present invention, the processor includes a graphics processing unit (GPU), and the GPU is mainly used for three-dimensional image and special effect processing, and is a core processor dedicated to image data. In some embodiments, the GPU may generate a virtual reality scene corresponding to the external environment data according to the acquired 3D image resource by using a computer 3D graphics processing technology. For example, using particle systems to simulate wind, snow, rain, yin and sunny weather conditions, based on particle systems and using texture mapping dynamic algorithms to achieve 3D frost effect, using volume cloud algorithm to generate sunny, cloudy and rainy 3D weather effects, etc. A virtual reality scene corresponding to the weather data is available. For another example, the outdoor light can be simulated by a preset algorithm to obtain a virtual reality scene corresponding to the time data.
结合第二方面,在一些实施例中,所述外部环境数据包括地理位置数据;所述处理器具体用于根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源。其中,所述地理位置数据对应的地标的3D图像资源可以存储在服务器中,也可以存储在本地数据库中。In conjunction with the second aspect, in some embodiments, the external environment data includes geographic location data; the processor is specifically configured to acquire a 3D image resource of a landmark corresponding to the geographic location data according to the geographic location data. The 3D image resource of the landmark corresponding to the geographic location data may be stored in a server or may be stored in a local database.
具体的,所述处理器可以通过以下两种策略来根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源:Specifically, the processor may obtain the 3D image resource of the landmark corresponding to the geographical location data according to the geographic location data by using the following two strategies:
第一种,距离最近地标获取策略,获取和所述地理位置数据指示的地理位置距离最近的地标对应的3D图像资源。First, from the nearest landmark acquisition strategy, the 3D image resource corresponding to the nearest landmark is obtained from the geographic location indicated by the geographic location data.
第二种,热度最高地标获取策略,根据所述地理位置数据,获取和所述地理位置数据对应的热度最高的地标对应的3D图像资源。In the second type, the hottest landmark acquisition policy is configured to acquire a 3D image resource corresponding to the hottest landmark corresponding to the geographic location data according to the geographic location data.
结合第二方面,在一些实施例中,所述外部环境数据包括地理位置数据,所述处理器具体用于根据所述地理位置数据,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源。With reference to the second aspect, in some embodiments, the external environment data includes geographic location data, and the processor is specifically configured to acquire, according to the geographic location data, a geographical environment at a geographic location indicated by the geographic location data. 3D image resources.
结合第二方面,在一些实施例中,所述外部环境数据包括时间数据,所述处理器具体用于根据所述时间数据,获取所述时间数据指示的时间对应的室外光线的3D图像资源。With reference to the second aspect, in some embodiments, the external environment data includes time data, and the processor is specifically configured to acquire, according to the time data, a 3D image resource of outdoor light corresponding to the time indicated by the time data.
结合第二方面,在一些实施例中,所述外部环境数据包括天气数据,所述处理器具体 用于根据所述天气数据,获取所述天气数据指示的天气状况对应的3D图像资源;其中,所述天气数据包括以下至少一项:空气质量、温度、相对湿度、降水量、风力风向或者光照强度。In conjunction with the second aspect, in some embodiments, the external environment data includes weather data, the processor specific And acquiring, according to the weather data, a 3D image resource corresponding to the weather condition indicated by the weather data; wherein the weather data includes at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or illumination strength.
结合第二方面及第二方面的各个实施例,上述描述的所述地理位置数据对应的地标的3D图像资源、所述地理位置数据指示的地理位置处的地理环境的3D图像资源、所述时间数据指示的时间对应的室外光线的3D图像资源、所述天气数据指示的天气状况对应的3D图像资源可存储在本地数据库中,也可存储在服务器中。当上述各类3D图像资源存储在本地数据库中时,所述处理器具体用于直接从所述本地数据库中获取所述各类3D图像资源。当上述各类3D图像资源存储在服务器中时,所述终端还可包括收发器,所述处理器具体用于指示所述收发器从所述服务器中获取所述各类3D图像资源。With reference to the second aspect and the respective embodiments of the second aspect, the 3D image resource of the landmark corresponding to the geographical location data described above, the 3D image resource of the geographical environment at the geographic location indicated by the geographic location data, the time The 3D image resource corresponding to the outdoor light and the 3D image resource corresponding to the weather condition indicated by the weather data may be stored in the local database or may be stored in the server. When the foregoing various types of 3D image resources are stored in a local database, the processor is specifically configured to directly acquire the various types of 3D image resources from the local database. When the foregoing various types of 3D image resources are stored in the server, the terminal may further include a transceiver, where the processor is specifically configured to instruct the transceiver to acquire the various types of 3D image resources from the server.
结合第二方面,在一些实施例中,所述3D显示器具体用于在HOME主界面显示所述外部环境数据对应的虚拟场景。In conjunction with the second aspect, in some embodiments, the 3D display is specifically configured to display a virtual scene corresponding to the external environment data on a HOME main interface.
具体实现中,可通过以下方式触发所述3D显示器在HOME主界面显示所述外部环境数据对应的虚拟场景:In a specific implementation, the 3D display may be triggered to display the virtual scene corresponding to the external environment data on the HOME main interface by:
第一种,检测到当前页面为HOME主界面,则在HOME主界面显示所述外部环境数据对应的虚拟场景。The first type detects that the current page is the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
第二种,所述虚拟现实终端还包括用户输入装置,所述用户输入装置用于接收用于了解外部环境的用户输入,响应于所述用户输入,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。具体实现中,所述用户输入装置可以是上述3D显示器,也可以是摄像头、音频电路、手势传感器等。Second, the virtual reality terminal further includes a user input device, configured to receive a user input for understanding an external environment, and the virtual reality terminal jumps from the current page to the user input in response to the user input The HOME main interface displays the virtual scene corresponding to the external environment data on the HOME main interface. In a specific implementation, the user input device may be the above-mentioned 3D display, or may be a camera, an audio circuit, a gesture sensor, or the like.
第三种,外部环境数据波动较大时,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。The third type, when the external environment data fluctuates greatly, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
第四种,每隔预设时长,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Fourthly, the virtual reality terminal jumps from the current page to the HOME main interface every preset time period, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
上述步骤通过在HOME主界面显示所述虚拟场景,用户在看到HOME主界面的同时都能直观地感受到外部环境的真实情况,弥补了用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。进一步的,在HOME主界面显示所述虚拟场景的方式,计算量不大,容易实现,且增加了HOME主界面的趣味性,给用户提供了更多的有效信息。The above steps display the virtual scene on the HOME main interface. When the user sees the HOME main interface, the user can intuitively feel the real situation of the external environment, and make up for the user completely immersed in the virtual reality scene and completely unaware of the external environment. The drawbacks. Further, the manner of displaying the virtual scene on the HOME main interface is not large, and is easy to implement, and increases the interest of the HOME main interface, and provides more effective information to the user.
结合第二方面,在一些实施例中,所述3D显示器具体用于根据所述3D图像资源,分屏显示所述外部环境数据对应的虚拟场景和当前页面;或者,根据所述3D图像资源,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。With reference to the second aspect, in some embodiments, the 3D display is specifically configured to display a virtual scene and a current page corresponding to the external environment data according to the 3D image resource; or, according to the 3D image resource, The virtual scene corresponding to the external environment data is displayed on the current page.
具体实现中,可通过和上述所述3D显示器在HOME主界面显示所述虚拟场景的第二种、第三种或第四种相同的触发方式,来触发所述3D显示器根据所述3D图像资源分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,根据所述3D图像资源在当前页面上悬浮显示所述外部环境数据对应的虚拟场景,可参考之前的描述。In a specific implementation, the third, third, or fourth identical triggering manner of the virtual scene may be displayed on the HOME main interface with the 3D display to trigger the 3D display according to the 3D image resource. The virtual scene corresponding to the external environment data and the current page are displayed on the screen, or the virtual scene corresponding to the external environment data is displayed on the current page according to the 3D image resource, and the previous description may be referred to.
上述步骤通过分屏显示或者悬浮显示的方式,既不影响用户使用虚拟现实终端,还可以提示用户外部环境的真实情况,弥补了用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。 The above steps are performed by means of split screen display or floating display, which does not affect the user's use of the virtual reality terminal, and can also prompt the user to the actual situation of the external environment, and make up for the drawback that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
在可选实施例中,所述虚拟现实终端还可通过听觉、触觉等感觉来提示用户外部环境的真实情况,给用户更加真实直观的体验。例如,当所述外部环境数据包括天气数据时,所述虚拟现实终端还通过各类传感设备输出真实的天气情况。例如,天气数据包括降雨量,且降雨量达到50毫米,表明当前天气情况为暴雨,那么所述虚拟现实终端可通过音频设备输出和降雨量50毫米相对应的下雨声,使用户身临其境地感觉到暴雨的天气状况。上述步骤能够使用户更加直观地感受到外界真实环境。In an alternative embodiment, the virtual reality terminal may also prompt the user to the real situation of the external environment through a sense of hearing, touch, etc., to give the user a more realistic and intuitive experience. For example, when the external environment data includes weather data, the virtual reality terminal also outputs a real weather condition through various types of sensing devices. For example, if the weather data includes rainfall and the rainfall reaches 50 mm, indicating that the current weather condition is heavy rain, then the virtual reality terminal can output the rain sound corresponding to the rainfall of 50 mm through the audio device, so that the user is present. The weather conditions of heavy rain are felt. The above steps can make the user feel the real environment of the outside world more intuitively.
需要说明的是,所述存储器、3D显示器、处理器、收发器、用户输入装置的功能实现还可参照第一方面描述的方法,这里不赘述。It should be noted that the function implementation of the memory, the 3D display, the processor, the transceiver, and the user input device may also refer to the method described in the first aspect, and details are not described herein.
第三方面,本发明实施例提供了一种终端,包括用于执行上述第一方面的方法的功能单元,所述终端包括:In a third aspect, an embodiment of the present invention provides a terminal, including a functional unit for performing the method of the foregoing first aspect, where the terminal includes:
获取单元,用于从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据或者天气数据中的至少一项;An acquiring unit, configured to acquire external environment data from a real scene, where the external environment data includes at least one of geographic location data, time data, or weather data;
所述获取单元还用于根据所述外部环境数据,获取3D图像资源;The obtaining unit is further configured to acquire a 3D image resource according to the external environment data;
显示单元,用于根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。a display unit, configured to display a virtual scene corresponding to the external environment data according to the 3D image resource.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面和第一方面各个可能的实现方式中的任意一种方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium storing instructions that, when run on a computer, cause the computer to perform the foregoing first aspect and the first aspect Any of the ways to achieve this.
第五方面,本发明实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面和第一方面各个可能的实现方式中的任意一种方法。In a fifth aspect, an embodiment of the present invention provides a computer program product comprising instructions, which, when run on a computer, causes the computer to perform any one of the first aspect and each of the possible implementations of the first aspect.
实施本发明实施例,从真实场景中获取外部环境数据,根据所述外部环境数据获取3D图像资源,根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。上述方案能够在用户沉浸在与外部环境隔断的虚拟现实场景中的情况下,实时提示用户当前的地理位置、时间、天气。In the embodiment of the present invention, the external environment data is obtained from the real scene, the 3D image resource is obtained according to the external environment data, and the virtual scene corresponding to the external environment data is displayed according to the 3D image resource. The above solution can prompt the user in the current geographic location, time, and weather in real time when the user is immersed in the virtual reality scene that is separated from the external environment.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或背景技术中的技术方案,下面将对本发明实施例中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background art, the drawings to be used in the embodiments of the present invention will be described below.
图1是本发明实施例提供的一种HOME主界面的示意图;1 is a schematic diagram of a HOME main interface according to an embodiment of the present invention;
图2是本发明实施例涉及的一种通信系统的架构示意图;2 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
图3是本发明实施例提供的一种3D图像资源指示的3D图像的场景示意图;3 is a schematic diagram of a 3D image of a 3D image resource indication according to an embodiment of the present invention;
图4是本发明实施例提供的一种虚拟现实终端的一种实现方式的结构框图;4 is a structural block diagram of an implementation manner of a virtual reality terminal according to an embodiment of the present invention;
图5是本发明实施例提供的一种虚拟现实显示方法的流程示意图;FIG. 5 is a schematic flowchart diagram of a virtual reality display method according to an embodiment of the present invention;
图6为本发明实施例提供的一种在HOME主界面显示外部环境数据对应的虚拟场景的示意图;FIG. 6 is a schematic diagram of displaying a virtual scene corresponding to external environment data on a HOME main interface according to an embodiment of the present invention;
图7是本发明实施例提供的另一种虚拟现实显示方法的流程示意图;FIG. 7 is a schematic flowchart diagram of another virtual reality display method according to an embodiment of the present invention;
图8是本发明实施例提供的一种分屏显示所述外部环境数据对应的虚拟场景和当前页面的示意图;FIG. 8 is a schematic diagram of a virtual screen and a current page corresponding to the external environment data displayed by a split screen according to an embodiment of the present invention; FIG.
图9是本发明实施例提供的一种在当前页面上悬浮显示所述外部环境数据对应的虚拟 场景的示意图;FIG. 9 is a schematic diagram of a virtual display corresponding to the external environment data on the current page according to an embodiment of the present invention. Schematic diagram of the scene;
图10是本发明实施例提供的一种在显示所述外部环境数据对应的虚拟场景的同时悬浮显示当前页面的示意图;10 is a schematic diagram of floating display of a current page while displaying a virtual scene corresponding to the external environment data according to an embodiment of the present invention;
图11是本发明实施例提供的一种图4实施例描述的终端中各个部件的协作交互示意图;FIG. 11 is a schematic diagram of cooperative interaction of various components in a terminal described in the embodiment of FIG. 4 according to an embodiment of the present invention; FIG.
图12是本发明实施例提供的一种终端的功能框图。FIG. 12 is a functional block diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面结合本发明实施例中的附图对本发明实施例进行描述。The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention.
首先,本发明实施例提供了一种虚拟现实显示方法,可以应用到虚拟现实终端中,这里的虚拟现实终端可包括移动端头显配套使用的手机、一体机头显、VR体验环境、VR可穿戴设备、和PC端头显配套使用的电脑等。First, the embodiment of the present invention provides a virtual reality display method, which can be applied to a virtual reality terminal, where the virtual reality terminal can include a mobile phone with a mobile terminal display, an integrated machine display, a VR experience environment, and a VR. Wearable devices, computers that are used in conjunction with PCs, etc.
为了更好地理解本发明实施例,先对本发明实施例的虚拟现实显示方法涉及到的HOME主界面进行介绍。In order to better understand the embodiment of the present invention, the HOME main interface related to the virtual reality display method of the embodiment of the present invention is first introduced.
HOME主界面是用户在使用虚拟现实终端时看到的图形用户界面。在虚拟现实场景下,所述HOME主界面通过三维技术显示,用户通过光学镜片可以在虚拟现实终端的显示设备上看到立体逼真的HOME主界面,享受身临其境的感觉。The HOME main interface is a graphical user interface that users see when using a virtual reality terminal. In the virtual reality scene, the HOME main interface is displayed by three-dimensional technology, and the user can see the stereoscopic HOME main interface on the display device of the virtual reality terminal through the optical lens, and enjoy the immersive feeling.
请参见图1,图1是本发明实施例提供的一种HOME主界面的示意图。如图1所示,在HOME主界面上可显示各类应用的图标或者名字,也可显示各类文件夹的图标或者名字。Referring to FIG. 1, FIG. 1 is a schematic diagram of a HOME main interface according to an embodiment of the present invention. As shown in Figure 1, the icon or name of each application can be displayed on the HOME main interface, and the icon or name of each folder can also be displayed.
可理解的,所述HOME主界面是虚拟现实场景下,用户进入VR应用的接口。It can be understood that the HOME main interface is an interface for a user to enter a VR application in a virtual reality scenario.
具体的,用户在开始使用虚拟现实终端时首先看到的是HOME主界面,并可通过点击HOME主界面上的元素(各类应用的图标或者名字,或者,各类文件夹的图标或者名字)进入相应的VR应用体验。用户在退出某一个VR应用后,通过虚拟现实终端看到的画面仍然是所述HOME主界面,用户可通过HOME主界面选择其他的应用进行体验。这里,可将所述HOME主界面看作电脑或者手机的桌面,不同的是,用户可通过电脑或者手机的二维的桌面进入各类普通应用,而HOME主界面显示的是虚拟现实场景下的三维立体画面,用户可通过HOME主界面进入各类VR应用。Specifically, the user first sees the HOME main interface when starting to use the virtual reality terminal, and can click on the elements on the HOME main interface (icons or names of various applications, or icons or names of various folders) Enter the corresponding VR application experience. After the user exits a certain VR application, the screen that is seen through the virtual reality terminal is still the home interface of the HOME, and the user can select other applications to perform the experience through the HOME main interface. Here, the HOME main interface can be regarded as a desktop of a computer or a mobile phone. The difference is that the user can enter various common applications through the two-dimensional desktop of the computer or the mobile phone, and the main interface of the HOME displays the virtual reality scene. Three-dimensional stereoscopic screen, users can enter various VR applications through the HOME main interface.
所述HOME主界面一般有以下两种情况:The HOME main interface generally has the following two situations:
第一种,所述HOME主界面为固定的三维显示场景。First, the HOME main interface is a fixed three-dimensional display scene.
例如,所述HOME主界面可以是一幅三维风景画、人物图像等。用户看到的所述HOME主界面是固定的,不会因为外部环境的变化而变化。这里的HOME主界面和普通的手机或者电脑桌面类似,区别在于用户看到的所述HOME主界面是三维的,而用户看到的手机或者电脑桌面是二维的。For example, the HOME main interface may be a three-dimensional landscape, a character image, or the like. The HOME main interface that the user sees is fixed and will not change due to changes in the external environment. The HOME main interface here is similar to a normal mobile phone or computer desktop. The difference is that the HOME main interface that the user sees is three-dimensional, and the mobile phone or computer desktop that the user sees is two-dimensional.
这里的HOME主界面的展现方式固定不变,沉闷且缺少趣味性,不能对用户提供更多的交互信息,例如现实环境的变化等信息。对于用户来说,所述HOME主界面几乎没有任何意义。The HOME main interface here is displayed in a fixed way, dull and lacking in fun, and can not provide users with more interactive information, such as changes in the real environment. For the user, the HOME main interface has almost no meaning.
第二种,所述HOME主界面为真实场景的映射。具体的,通过对现实空间内的物体进行特征提取,基于真实场景构建虚拟的三维场景。 Second, the HOME main interface is a mapping of real scenes. Specifically, the virtual three-dimensional scene is constructed based on the real scene by extracting features from objects in the real space.
例如,在虚拟场景中构建真实场景中房间的墙壁、桌子、沙发等特定的物体,将真实场景中的物体映射到虚拟场景中,生成HOME主界面。这里的HOME主界面相当于是真实场景的映射,将真实场景虚拟显示出来,能够真实反映现实环境。这里可参照图1,图1可看做用户在道路上使用虚拟现实终端,所述虚拟现实终端基于道路的真实场景,对道路、斑马线等物体进行特征提取,映射到虚拟场景中,生成了如图1所示的HOME主界面。For example, in a virtual scene, a specific object such as a wall, a table, or a sofa in a real scene is constructed, and objects in the real scene are mapped into the virtual scene to generate a HOME main interface. The HOME main interface here is equivalent to the mapping of the real scene, and the real scene is virtually displayed, which can truly reflect the real environment. Referring to FIG. 1 , FIG. 1 can be regarded as a user using a virtual reality terminal on a road. The virtual reality terminal extracts features such as roads and zebra crossings based on real scenes of the road, and maps them into virtual scenes, and generates The HOME main interface shown in Figure 1.
这种基于真实场景的HOME主界面,需要实时对现实空间内的物体进行特征提取并虚拟显示。但在用户转身或者走动时,面前的现实环境发生快速变化的情况下,虚拟现实终端难以精确实时地提取物体特征并进行虚拟显示,所述HOME主界面的显示画面常常具有一定的滞后感。例如,用户面前的空间已经发生变化,但HOME主界面显示的虚拟画面还是变化前的画面,无法与现实环境很好的融合,缺乏实时性和准确性。此外,所述基于真实场景的HOME主界面对于虚拟现实终端的处理性能要求非常高,计算量十分庞大,一般配置的虚拟现实终端无法实现所述HOME主界面。This home interface based on the real scene requires real-time feature extraction and virtual display of objects in the real space. However, when the user turns or walks, and the real environment in front changes rapidly, the virtual reality terminal is difficult to accurately extract the object features and perform virtual display in real time, and the display screen of the HOME main interface often has a certain hysteresis. For example, the space in front of the user has changed, but the virtual screen displayed on the main interface of HOME is still the picture before the change, which cannot be well integrated with the real environment, and lacks real-time and accuracy. In addition, the HOME main interface based on the real scene has a very high processing performance requirement for the virtual reality terminal, and the calculation amount is very large, and the generally configured virtual reality terminal cannot implement the HOME main interface.
请参见图2,图2是本发明实施例涉及的一种通信系统200的架构示意图。如图所示,所述通信系统200可包括虚拟现实终端210、服务器220。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a communication system 200 according to an embodiment of the present invention. As shown, the communication system 200 can include a virtual reality terminal 210, a server 220.
其中,所述虚拟现实终端210具备核心处理模块,可以实现成和移动端头显配套使用的手机、一体机头显、和PC端头显配套使用的电脑、VR体验环境等,图2中示例性地列出了一体机头显、和移动端头显配套使用的手机两种虚拟现实终端。The virtual reality terminal 210 is provided with a core processing module, and can be implemented as a mobile phone, an integrated machine head display, and a PC, VR experience environment, etc., which are used in conjunction with the mobile terminal display, and the example in FIG. 2 Two kinds of virtual reality terminals for mobile phones with integrated head-mounted display and mobile terminal display are listed.
其中,所述服务器220可存储大量的3D图像资源。所述虚拟现实终端210和服务器220之间通过网络进行通信。The server 220 can store a large number of 3D image resources. The virtual reality terminal 210 and the server 220 communicate via a network.
下面对所述虚拟现实终端和服务器进行进一步的说明。The virtual reality terminal and server are further described below.
在本发明实施例中,所述虚拟现实终端配置有收发器和定位模块。In the embodiment of the present invention, the virtual reality terminal is configured with a transceiver and a positioning module.
在本发明实施例中,所述虚拟现实终端可实时获取真实场景中的外部环境数据,所述外部环境数据能够反映真实场景的实际情况。这里的外部环境数据可包括地理位置数据、时间数据、天气数据等可表征真实场景中外部环境的数据。In the embodiment of the present invention, the virtual reality terminal can obtain the external environment data in the real scene in real time, and the external environment data can reflect the actual situation of the real scene. The external environment data herein may include geographic location data, time data, weather data, and the like that can characterize the external environment in the real scene.
其中,虚拟现实终端可通过所述定位模块实时获取所述虚拟现实终端的地理位置数据。所述地理位置数据可包括所述虚拟现实终端所处位置的经度、纬度,所在的国家、省市、街道等信息。The virtual reality terminal may acquire the geographic location data of the virtual reality terminal in real time by using the positioning module. The geographic location data may include longitude, latitude, location, country, province, city, and the like of the location where the virtual reality terminal is located.
所述虚拟现实终端还可配置有实时时钟(Real-Time Clock,RTC),能够获取精确的系统时间,所述系统时间可以为格林威治时间(Greenwich Mean Time,GMT),所述虚拟现实终端可将RTC获取的系统时间转换为本地时间。例如,若当前所述虚拟现实终端所在地区为东八区,RTC获取的系统时间为2017/4/10,08:57,那么所述虚拟现实终端将系统时间转换为本地时间:2017/4/10,16:57。在一些实施例中,所述虚拟现实终端还可以通过所述收发器直接获取本地时间。The virtual reality terminal may also be configured with a Real-Time Clock (RTC), which can acquire accurate system time, and the system time may be Greenwich Mean Time (GMT), and the virtual reality terminal The system time acquired by the RTC can be converted to local time. For example, if the current virtual reality terminal is located in the East 8th district and the RTC acquires the system time as 2017/4/10, 08:57, then the virtual reality terminal converts the system time to the local time: 2017/4/ 10, 16:57. In some embodiments, the virtual reality terminal can also directly acquire local time through the transceiver.
所述虚拟现实终端还可安装天气应用,能够实时获取天气数据。所述虚拟现实终端可通过天气应用在网络上实时获取天气数据,所述天气数据可包括空气质量、温度、相对湿度、降水量、风力风向、光照强度等表征天气情况的参数。具体实现中,所述虚拟现实终 端获取到的天气数据不限于上述描述的几种,还可以包括更加详细的信息,例如气压、云量、云的类型、降雨种类等。在可选实施例中,所述虚拟现实终端还可配置温度传感器、湿度传感器、光线传感器等传感设备来获取温度、相对湿度、光照强度等天气数据。在可选实施例中,所述虚拟现实终端还可从网络获取天气数据,例如,可通过收发器中的3G模块,使用3G网络从气象数据中心获取实时天气数据。The virtual reality terminal can also install a weather application and can acquire weather data in real time. The virtual reality terminal may acquire weather data in real time on the network through a weather application, and the weather data may include parameters indicating weather conditions such as air quality, temperature, relative humidity, precipitation, wind direction, and light intensity. In a specific implementation, the virtual reality end The weather data acquired by the terminal is not limited to the ones described above, and may also include more detailed information such as air pressure, cloud amount, cloud type, rainfall type, and the like. In an optional embodiment, the virtual reality terminal may further configure a sensing device such as a temperature sensor, a humidity sensor, a light sensor, or the like to acquire weather data such as temperature, relative humidity, and light intensity. In an alternative embodiment, the virtual reality terminal may also acquire weather data from the network, for example, real-time weather data may be acquired from the meteorological data center through a 3G module in the transceiver.
可理解的,不同的天气数据对应指示不同的天气状况,这里的天气状况包括风、霜、雨、雪、阴、晴、云等。例如,天气数据中风力风向为东南风8级,那么对应指示的天气状况就应为大风。天气数据中24小时降雨量达到20毫米,对应指示的天气状况为中雨,24小时降雨量达到50毫米或以上,对应指示的天气状况为暴雨。It can be understood that different weather data correspondingly indicate different weather conditions, and the weather conditions here include wind, frost, rain, snow, yin, clear, cloud, and the like. For example, if the wind direction in the weather data is 8 for the southeast wind, then the weather condition corresponding to the indication should be a strong wind. In the weather data, the 24-hour rainfall reaches 20 mm, and the weather conditions indicated are moderate rain. The 24-hour rainfall reaches 50 mm or more, and the weather conditions indicated are rainstorms.
在本发明实施例中,所述虚拟现实终端可根据获取到的所述外部环境参数,从本地数据库或者服务器中获取3D图像资源,下面详细描述。In the embodiment of the present invention, the virtual reality terminal may acquire a 3D image resource from a local database or a server according to the obtained external environment parameter, which is described in detail below.
从本地数据库获取3D图像资源时,所述本地数据库存储在所述虚拟现实终端的存储器中。所述虚拟现实终端可直接通过内部的处理器从所述本地数据库中获取到所述3D图像资源。When acquiring a 3D image resource from a local database, the local database is stored in a memory of the virtual reality terminal. The virtual reality terminal may directly acquire the 3D image resource from the local database through an internal processor.
从服务器获取3D图像资源时,所述服务器可以为远端服务器,所述虚拟现实终端可以通过收发器从所述远端服务器中获取所述3D图像资源。When acquiring the 3D image resource from the server, the server may be a remote server, and the virtual reality terminal may acquire the 3D image resource from the remote server through a transceiver.
所述3D图像资源是具有3D视觉效果的画面资源,可包括静态图像资源,如图片资源等,还可包括动态图像资源,如视频资源等。The 3D image resource is a picture resource having a 3D visual effect, and may include a static image resource, such as a picture resource, and may also include a dynamic image resource, such as a video resource.
在本发明实施例中,所述虚拟现实终端可根据地理位置数据从本地数据库或者服务器获取所述地理位置数据对应的地标的3D图像资源。这里的地标是指所述地理位置数据所指示的地理位置处具有独特地理特色的建筑物或者自然物。例如,所述建筑物可以包括北京的长城、天安门广场、故宫、天坛,上海的东方明珠电视塔、金茂大厦等,所述自然物可以包括珠穆朗玛峰、呼伦贝尔大草原、武当山等。用户可以通过所述地标的3D图像资源直接知晓自己身在何处。可理解的,在本地数据库或者服务器中存储有大量地标的3D图像资源,体现了多个地标的3D图像资源和与地理位置数据的映射关系,所述地理位置数据和地标的3D图像资源相对应。In the embodiment of the present invention, the virtual reality terminal may acquire a 3D image resource of the landmark corresponding to the geographical location data from a local database or a server according to the geographic location data. A landmark here refers to a building or a natural object having a unique geographical feature at a geographical location indicated by the geographic location data. For example, the building may include the Great Wall of Beijing, Tiananmen Square, the Forbidden City, the Temple of Heaven, the Oriental Pearl TV Tower of Shanghai, the Jinmao Tower, etc., and the natural objects may include Mount Everest, Hulunbuir Prairie, Wudang Mountain, and the like. The user can directly know where he is by the 3D image resource of the landmark. It can be understood that a large number of landmark 3D image resources are stored in the local database or the server, and the mapping relationship between the 3D image resources of the plurality of landmarks and the geographic location data is reflected, and the geographic location data corresponds to the 3D image resources of the landmarks. .
具体实现中,所述虚拟现实终端在根据所述地理位置获取对应的地标的3D图像资源时,有以下两种地标获取策略:In a specific implementation, when the virtual reality terminal acquires the corresponding 3D image resource of the landmark according to the geographic location, the virtual land terminal has the following two landmark acquisition strategies:
第一种,距离最近地标获取策略。具体的,所述虚拟现实终端根据所述地理位置数据,从本地数据库或者服务器中,获取和所述地理位置数据指示的地理位置距离最近的地标对应的3D图像资源。例如,可根据所述地理位置的经纬度计算所述地理位置和各个地标之间的距离,从本地数据库或者服务器中获取距离所述地理位置最近的地标对应的3D图像资源。The first is to get the strategy from the nearest landmark. Specifically, the virtual reality terminal acquires, from the local database or the server, a 3D image resource corresponding to the landmark closest to the geographic location indicated by the geographic location data according to the geographic location data. For example, the distance between the geographic location and each landmark may be calculated according to the latitude and longitude of the geographic location, and the 3D image resource corresponding to the landmark closest to the geographical location may be obtained from a local database or a server.
当从服务器中获取所述3D图像资源时,服务器根据接收到的虚拟现实终端发送的地理位置数据时,解析所述地理位置数据所表征的具体地理位置,并在存储的3D图像资源中查找距离所述地理位置最近的地标的3D图像资源,以发送给所述虚拟现实终端。 When acquiring the 3D image resource from the server, the server parses the specific geographic location represented by the geographic location data according to the received geographic location data sent by the virtual reality terminal, and searches for the distance in the stored 3D image resource. The 3D image resource of the geographically nearest landmark is sent to the virtual reality terminal.
具体举例来说,假设用户在北京使用虚拟现实终端,所述虚拟现实终端获取到的地理位置数据表明用户所在的实际地理位置周围有故宫和天坛,但用户和故宫之间的距离比和天坛之间的距离长,那么所述虚拟现实终端根据获取到的地理位置数据,从服务器中获取到的是天坛的3D图像资源。For example, if the user uses the virtual reality terminal in Beijing, the geographic location data obtained by the virtual reality terminal indicates that the actual geographical location of the user is surrounded by the Forbidden City and the Temple of Heaven, but the distance between the user and the Forbidden City and the Temple of Heaven. The distance between the virtual reality terminals is obtained from the server according to the acquired geographical location data, which is a 3D image resource of the Temple of Heaven.
第二种,热度最高地标获取策略。具体的,所述虚拟现实终端根据所述地理位置数据,从本地数据库或者服务器中,获取和所述地理位置数据对应的热度最高的地标对应的3D图像资源。例如,可通过热度指数衡量各个地标的热度高低。所述热度指数可以和人们搜索各个地标的次数相关,某地标被搜索的次数越多,热度指数越高。所述热度指数也可以和各个地标的实时人流量相关,某地标的实时人流量越多,热度指数越高。这里的热度指数可以是从网络数据中定期获取从而实时更新的,也可以是预先设置的。Second, the hottest landmarks get the strategy. Specifically, the virtual reality terminal acquires a 3D image resource corresponding to the hottest landmark corresponding to the geographical location data from the local database or the server according to the geographic location data. For example, the heat index can be used to measure the heat level of each landmark. The heat index can be related to the number of times people search for various landmarks. The more times a landmark is searched, the higher the heat index. The heat index can also be related to the real-time human flow of each landmark. The more real-time human traffic of a landmark, the higher the heat index. The heat index here may be obtained from the network data periodically and updated in real time, or may be preset.
当从服务器获取和所述地理位置数据对应的热度最高的地标对应的3D图像资源,服务器根据接收到的虚拟现实终端发送的地理位置数据时,解析所述地理位置数据所表征的具体地理位置,并在存储的3D图像资源中查找在所述地理位置距离阈值内热度最高的地标的3D图像资源。这里的距离阈值可以是预先设置的。When the server obtains the 3D image resource corresponding to the hottest landmark corresponding to the geographical location data, the server parses the specific geographic location represented by the geographical location data according to the received geographical location data of the virtual reality terminal. And searching for the 3D image resource of the landmark with the highest heat within the geographical distance distance threshold in the stored 3D image resource. The distance threshold here can be set in advance.
具体举例来说,假设用户在北京使用虚拟现实终端,所述虚拟现实终端获取到的地理位置数据表明用户所在的实际地理位置距离阈值内有故宫和天坛,虽然用户和故宫之间的距离比和天坛之间的距离长,但是服务器获取到的热度指数表明故宫的实时热度更高,那么所述虚拟现实终端根据获取到的地理位置数据,从服务器中获取到的是故宫的3D图像资源。For example, assuming that the user uses the virtual reality terminal in Beijing, the geographic location data obtained by the virtual reality terminal indicates that the actual geographic location distance of the user is within the threshold of the Forbidden City and the Temple of Heaven, although the distance ratio between the user and the Forbidden City is The distance between the Temple of Heaven is long, but the heat index obtained by the server indicates that the real-time heat of the Forbidden City is higher. Then, the virtual reality terminal obtains the 3D image resource of the Forbidden City from the server according to the acquired geographical location data.
在一些可选实施例中,所述虚拟现实终端还可以根据地理位置数据,从本地数据库或者服务器,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源。这里所述虚拟现实终端获取到的3D图像资源直接反映所述虚拟现实终端所处位置处的实际地理环境。可理解的,在本地数据库或者服务器中存储有大量的地理位置数据以及所述地理位置数据指示的地理位置处的地理环境的3D图像资源,所述地理位置数据和所述地理位置数据指示的地理位置处的地理环境的3D图像资源相对应。In some optional embodiments, the virtual reality terminal may further acquire a 3D image resource of a geographical environment at a geographic location indicated by the geographic location data from a local database or a server according to geographic location data. The 3D image resource acquired by the virtual reality terminal directly reflects the actual geographical environment at the location where the virtual reality terminal is located. It can be understood that a large amount of geographical location data and a 3D image resource of a geographical environment at a geographical location indicated by the geographical location data are stored in a local database or a server, and the geographical location data and the geographical location indicated by the geographical location data The 3D image resources of the geographical environment at the location correspond.
例如,所述虚拟现实终端在一栋办公楼内,获取到就是实际的这座办公楼的3D图像资源。所述虚拟现实终端在飞驰的火车上,获取到的就是火车的3D图像资源。所述虚拟现实终端在开阔的草原上,获取到的就是这片草原的3D图像资源。需要说明的是,具体实现中,所述3D图像资源指示的3D图像可以是彩色的,能够使用户更加直观地感知当前地理位置。For example, the virtual reality terminal is located in an office building and is obtained as an actual 3D image resource of the office building. The virtual reality terminal acquires the 3D image resource of the train on the speeding train. The virtual reality terminal acquires the 3D image resource of the grassland on the open grassland. It should be noted that, in a specific implementation, the 3D image indicated by the 3D image resource may be colored, which enables the user to more intuitively perceive the current geographic location.
当从服务器获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源时,服务器根据接收到的虚拟现实终端发送的地理位置数据,解析所述地理位置数据所表征的具体地理位置,并在存储的3D图像资源中查找所述地理位置对应的地理环境的3D图像资源。这里,用户可根据所述虚拟现实终端获取到的所述地理位置数据指示的地理位置处的地理环境的3D图像资源,直观地了解自己实际所处位置。When the 3D image resource of the geographical environment at the geographic location indicated by the geographic location data is obtained from the server, the server parses the specific geographic location represented by the geographic location data according to the received geographical location data of the virtual reality terminal. And searching for the 3D image resource of the geographical environment corresponding to the geographical location in the stored 3D image resource. Here, the user can intuitively know the actual location of the 3D image resource of the geographical environment at the geographic location indicated by the geographic location data acquired by the virtual reality terminal.
在本发明实施例中,所述虚拟现实终端还可根据时间数据,从本地数据库或者服务器 获取所述时间数据指示的时间对应的室外光线的3D图像资源。一天之中不同的时间段对应的室外光线的角度、色调、照射强度等都是不同的,室外光线能够提示用户当前所处时间段。例如,上午,太阳与地平面的夹角由15度上升到60度,光线的照射角度逐渐变化,上午的室外光线比较柔和,呈暖色调。中午,太阳光几乎垂直照射,室外光线刺眼,亮色调。晚上,室外光线比较温和,冷色调。具体实现中,一天之中每个时间段都有对应的室外光线,通过室外光线的角度、色调或其他元素的变化,可以使用户直观地感知大概的时间段。In the embodiment of the present invention, the virtual reality terminal may also be based on time data from a local database or a server. Obtaining a 3D image resource of the outdoor light corresponding to the time indicated by the time data. The angles, hue, and intensity of the outdoor light corresponding to different time periods in a day are different, and the outdoor light can prompt the user to be in the current time period. For example, in the morning, the angle between the sun and the ground plane rises from 15 degrees to 60 degrees, and the angle of illumination of the light gradually changes. The outdoor light in the morning is soft and warm. At noon, the sun shines almost vertically, and the outdoor light is glaring and bright. In the evening, the outdoor light is mild and cool. In the specific implementation, each time period of the day has a corresponding outdoor light, and the angle of the outdoor light, the color tone or other elements can be changed, so that the user can intuitively perceive the approximate time period.
可理解的,一天之内各个时间段可以被一一列举出来,在本地数据库或者服务器中可存储有不同时间段分别对应的所述时间段对应的室外光线的3D图像资源。It can be understood that each time period in a day can be enumerated one by one, and a 3D image resource of outdoor light corresponding to the time period corresponding to different time segments can be stored in the local database or the server.
当从服务器中获取所述时间数据指示的时间对应的室外光线的3D图像资源时,服务器根据接收到的虚拟现实终端发送的时间数据,解析所述时间数据所表征的具体时间,并在存储的3D图像资源中查找和所述时间相对应的3D图像资源,以发送给所述虚拟现实终端。When the 3D image resource of the outdoor light corresponding to the time indicated by the time data is acquired from the server, the server parses the specific time represented by the time data according to the time data sent by the received virtual reality terminal, and stores the A 3D image resource corresponding to the time is searched for in the 3D image resource to be sent to the virtual reality terminal.
可参见图3,图3中左侧附图示出了一种可能的早晨日出对应的3D图像资源指示的3D图像的场景示意图,右侧附图示出了一种可能的正午对应的3D图像资源指示的3D图像的场景示意图,如图所示,不同时间段光线的角度、强度都不同,可以通过3D图像来提示用户大概的时间段。需要说明的是,具体实现中,所述3D图像资源指示的3D图像可以是彩色的,能够使用户更加直观地感受到当前时间。Referring to FIG. 3, the left side of FIG. 3 shows a schematic diagram of a 3D image of a 3D image resource corresponding to a possible morning sunrise, and the right drawing shows a possible noon corresponding 3D. The scene diagram of the 3D image indicated by the image resource, as shown in the figure, the angle and intensity of the light are different in different time periods, and the user can be prompted to approximate the time period through the 3D image. It should be noted that, in a specific implementation, the 3D image indicated by the 3D image resource may be colored, which enables the user to more intuitively feel the current time.
在一些可选实施例中,所述虚拟现实终端还可根据所述时间数据,从本地数据库或者服务器获取包含更加丰富信息的3D图像资源。例如,可获取所述时间数据指示的时间对应的太阳、月亮、星辰所在的位置及运动轨迹的3D图像资源。这里,太阳、月亮、星辰所在的位置及运动轨迹都是有规律可循的,本地数据库或者服务器可根据物理定理计算,并预先存储不同的时间段对应的太阳、月亮、星辰所在位置及运动轨迹的3D图像资源。In some optional embodiments, the virtual reality terminal may further acquire a 3D image resource containing more rich information from a local database or a server according to the time data. For example, a 3D image resource of the sun, the moon, the location of the star, and the motion trajectory corresponding to the time indicated by the time data may be acquired. Here, the position of the sun, the moon, and the stars and the motion trajectory are all regularly ruled. The local database or server can be calculated according to the physical theorem, and pre-store the position, and the trajectory of the sun, moon, and stars corresponding to different time periods. 3D image resources.
在本发明实施例中,所述虚拟现实终端还可根据天气数据,从本地数据库或者服务器获取所述天气数据指示的天气状况对应的3D图像资源。In the embodiment of the present invention, the virtual reality terminal may further acquire a 3D image resource corresponding to the weather condition indicated by the weather data from a local database or a server according to weather data.
例如,所述虚拟现实终端在2017年4月11日09:00获取的实时天气数据如下:空气质量35,温度26摄氏度,相对湿度91%,24小时降水量为0毫米,风力风向为东南风8级。所述的实时天气数据指示的天气状况为阴天。所述虚拟现实终端根据所述天气数据获取到的3D图像资源可直观地让用户感觉到实时的天气状况为阴天。For example, the real-time weather data obtained by the virtual reality terminal at 09:00 on April 11, 2017 is as follows: air quality 35, temperature 26 degrees Celsius, relative humidity 91%, 24-hour precipitation is 0 mm, wind wind direction is southeast wind Level 8. The weather conditions indicated by the real-time weather data are cloudy. The 3D image resource acquired by the virtual reality terminal according to the weather data can intuitively make the user feel that the real-time weather condition is cloudy.
可理解的,在本地数据库或者服务器中存储有不同的天气状况对应的3D图像资源。具体的,所述3D图像资源可以通过多种形式来表现不同的天气状况,具体取决于本地数据库或者服务器中存储的3D图像资源的精细程度。例如,不同温度时,通过3D图像中人物不同的穿衣状态提示用户。在下雨时,通过3D图像中雨量的不同来提示用户不同的降雨量等级。在有风时,可通过3D图像中花草树木的弯曲方向及弯曲程度来提示用户风力风向。需要说明的是,上述举例仅仅是示意性的,具体实现中,所述3D图像资源还可以通过其他更加丰富的形式来表现对应的天气情况。具体实现中,所述3D图像资源指示的3D图像可以是彩色的,能够使用户更加直观地感受到外部环境的实时天气情况。 It can be understood that 3D image resources corresponding to different weather conditions are stored in the local database or the server. Specifically, the 3D image resource may represent different weather conditions in various forms, depending on the fineness of the 3D image resource stored in the local database or the server. For example, at different temperatures, the user is prompted by the different dressing states of the characters in the 3D image. When it rains, the user is prompted for different rainfall levels by the difference in rainfall in the 3D image. When there is wind, the wind direction can be prompted by the bending direction and bending degree of the flowers and trees in the 3D image. It should be noted that the foregoing examples are merely exemplary. In a specific implementation, the 3D image resource may also represent a corresponding weather condition through other richer forms. In a specific implementation, the 3D image indicated by the 3D image resource may be colored, which enables the user to more intuitively feel the real-time weather condition of the external environment.
当所述虚拟现实终端从服务器中获取所述3D图像资源时,服务器根据接收到的虚拟现实终端发送的天气数据时,解析所述时间数据所指示的具体天气状况,并在存储的3D图像资源中查找和所述天气状况相对应的3D图像资源,以发送给所述虚拟现实终端。When the virtual reality terminal acquires the 3D image resource from the server, the server parses the specific weather condition indicated by the time data according to the received weather data sent by the virtual reality terminal, and stores the 3D image resource. Searching for a 3D image resource corresponding to the weather condition to be sent to the virtual reality terminal.
具体实现中,所述虚拟现实终端不仅可在本地数据库或者服务器中分别通过地理位置数据获取所述地理位置数据对应的地标的3D图像资源或所述地理位置数据指示的地理位置处的地理环境的3D图像资源,通过时间数据获取所述时间数据指示的时间对应的室外光线的3D图像资源,通过天气数据获取所述天气数据指示的天气状况对应的3D图像资源,所述虚拟现实终端还可同时根据所述地理位置数据、所述时间数据、所述天气数据中的任意两项或全部三项获取对应的3D图像资源。例如,所述虚拟现实终端可同时通过所述地理位置数据和所述时间数据,获取同时指示所述地理位置数据对应的地标和所述时间数据指示的时间对应的室外光线的3D图像资源。可理解的,在本地数据库或者服务器中可以存储更加丰富的3D图像资源,例如可存储地理位置数据、时间数据以及同时指示所述地理位置数据对应的地标和所述时间数据指示的时间对应的室外光线的3D图像资源。In a specific implementation, the virtual reality terminal may acquire the 3D image resource of the landmark corresponding to the geographical location data or the geographical environment of the geographical location indicated by the geographical location data by using the geographic location data in the local database or the server respectively. a 3D image resource, the 3D image resource of the outdoor light corresponding to the time indicated by the time data is obtained by using the time data, and the 3D image resource corresponding to the weather condition indicated by the weather data is acquired by the weather data, and the virtual reality terminal may simultaneously Corresponding 3D image resources are acquired according to any two or all of the geographic location data, the time data, and the weather data. For example, the virtual reality terminal may simultaneously acquire, through the geographic location data and the time data, a 3D image resource that simultaneously indicates a landmark corresponding to the geographic location data and an outdoor light corresponding to the time indicated by the time data. It can be understood that a richer 3D image resource can be stored in the local database or the server, for example, the geographic location data, the time data, and the outdoor location corresponding to the time indicated by the geographic data and the time indicated by the time data are simultaneously stored. 3D image resources for light.
可理解的,上述描述的所述地理位置数据对应的地标的3D图像资源、所述地理位置数据指示的地理位置处的地理环境的3D图像资源、所述时间数据指示的时间对应的室外光线的3D图像资源、所述天气数据指示的天气状况对应的3D图像资源存储在服务器的情况下,可以分别存储在不同的服务器中,也可以同时存储在同一个服务器中,本申请不做任何限制。It can be understood that the 3D image resource of the landmark corresponding to the geographical location data described above, the 3D image resource of the geographical environment at the geographical location indicated by the geographic location data, and the outdoor light corresponding to the time indicated by the time data The 3D image resource and the 3D image resource corresponding to the weather condition indicated by the weather data may be stored in different servers or may be stored in the same server at the same time. The present application does not impose any limitation.
下面介绍本发明实施例涉及的虚拟现实终端的一种实现方式。An implementation manner of the virtual reality terminal according to the embodiment of the present invention is described below.
图4是本发明实施例提供的一种虚拟现实终端100的一种实现方式的结构框图。如图4所示,虚拟现实终端100可包括:基带芯片110、存储器115(一个或多个计算机可读存储介质)、收发器116、外围系统117、定位模块122。这些部件可在一个或多个通信总线114上通信。FIG. 4 is a structural block diagram of an implementation manner of a virtual reality terminal 100 according to an embodiment of the present invention. As shown in FIG. 4, the virtual reality terminal 100 may include a baseband chip 110, a memory 115 (one or more computer readable storage media), a transceiver 116, a peripheral system 117, and a positioning module 122. These components can communicate over one or more communication buses 114.
基带芯片110可集成包括:一个或多个处理器111、时钟模块112以及电源管理模块113。集成于基带芯片110中的时钟模块112主要用于为处理器111产生数据传输和时序控制所需要的时钟。在本发明实施例中,时钟模块可以为RTC,能够获取系统时间。集成于基带芯片110中的电源管理模块113主要用于为处理器111、收发器116以及外围系统117提供稳定的、高精确度的电压。在本发明实施例中,所述处理器111包括图形处理器(Graphic Processing Unit,GPU),GPU主要用于三维图像和特效处理,是一个专用于图像数据的核心处理器。在一些实施例中,GPU可通过计算机3D图形处理技术,根据获取到的3D图像资源生成外部环境数据对应的虚拟现实场景。例如,利用粒子系统模拟风、雪、雨、阴、晴的天气状况,基于粒子系统并利用纹理贴图动态算法实现3D霜冻效果,利用体积云算法生成晴天、阴天以及雨天的3D天气特效等,可得到天气数据对应的虚拟现实场景。又例如,通过预设算法可模拟室外光线,得到时间数据对应的虚拟现实场景。The baseband chip 110 can be integrated to include one or more processors 111, a clock module 112, and a power management module 113. The clock module 112 integrated in the baseband chip 110 is primarily used to generate the clocks required for data transfer and timing control for the processor 111. In the embodiment of the present invention, the clock module may be an RTC, and the system time can be acquired. The power management module 113 integrated in the baseband chip 110 is primarily used to provide a stable, high accuracy voltage to the processor 111, the transceiver 116, and the peripheral system 117. In the embodiment of the present invention, the processor 111 includes a graphics processing unit (GPU). The GPU is mainly used for three-dimensional image and special effect processing, and is a core processor dedicated to image data. In some embodiments, the GPU may generate a virtual reality scene corresponding to the external environment data according to the acquired 3D image resource by using a computer 3D graphics processing technology. For example, using particle systems to simulate wind, snow, rain, yin and sunny weather conditions, based on particle systems and using texture mapping dynamic algorithms to achieve 3D frost effect, using volume cloud algorithm to generate sunny, cloudy and rainy 3D weather effects, etc. A virtual reality scene corresponding to the weather data is available. For another example, the outdoor light can be simulated by a preset algorithm to obtain a virtual reality scene corresponding to the time data.
外围系统117主要用于实现终端100和用户/外部环境之间的交互功能,主要包括终端100的输入输出装置。具体实现中,外围系统117可包括:3D显示器控制器118、摄像头控制器119、音频控制器120以及传感器管理模块121。其中,各个控制器可与各自对应的 外围设备(如3D显示器123、摄像头124、音频电路125以及传感器126)耦合。在一些实施例中,摄像头124可以是3D摄像头。The peripheral system 117 is mainly used to implement the interaction function between the terminal 100 and the user/external environment, and mainly includes the input and output devices of the terminal 100. In a specific implementation, the peripheral system 117 may include: a 3D display controller 118, a camera controller 119, an audio controller 120, and a sensor management module 121. Wherein, each controller can correspond to each Peripherals such as 3D display 123, camera 124, audio circuitry 125, and sensor 126 are coupled. In some embodiments, camera 124 can be a 3D camera.
其中,所述传感器126可包括加速度计、陀螺仪、地磁传感器、距离传感器、手势传感器等。加速度传感器通过测量终端的加速度来得知终端的状态,陀螺仪传感器能够精确测量终端的方位,地磁传感器,地磁传感器通过感应磁场强度来测量电流、位置、方向等物理参数,距离传感器能够测量物体距离终端的距离,手势传感器能够识别用户的操作手势。在可选实施例中,所述传感器还可包括更多的传感器,例如眼部追踪传感器、红外线传感器、位移传感器、指纹感应器、重力感应器、光线感应器、心率传感器等。The sensor 126 may include an accelerometer, a gyroscope, a geomagnetic sensor, a distance sensor, a gesture sensor, and the like. The acceleration sensor knows the state of the terminal by measuring the acceleration of the terminal. The gyro sensor can accurately measure the orientation of the terminal. The geomagnetic sensor and the geomagnetic sensor measure the physical parameters such as current, position and direction by sensing the magnetic field strength. The distance sensor can measure the distance of the object from the terminal. The distance sensor can recognize the user's operating gesture. In alternative embodiments, the sensor may also include more sensors, such as an eye tracking sensor, an infrared sensor, a displacement sensor, a fingerprint sensor, a gravity sensor, a light sensor, a heart rate sensor, and the like.
所述3D显示器123能够接收GPU输出的三维图像,并进行显示。在本发明实施例中,用户通过光学透镜,可从3D显示器123上看到三维图像,直观地感受到三维立体效果。具体实现中,所述3D显示器123可显示外部环境对应的虚拟现实场景,用户可通过光学透镜从3D显示器123上看到3D虚拟现实场景。The 3D display 123 is capable of receiving a three-dimensional image output by the GPU and displaying it. In the embodiment of the present invention, the user can see the three-dimensional image from the 3D display 123 through the optical lens, and intuitively feel the three-dimensional effect. In a specific implementation, the 3D display 123 can display a virtual reality scene corresponding to the external environment, and the user can view the 3D virtual reality scene from the 3D display 123 through the optical lens.
在可选实施例中,3D显示器123还可以是触摸显示屏。In an alternative embodiment, the 3D display 123 can also be a touch display.
在本发明实施例中,所述外围设备还可作为用户输入装置。例如,当3D显示器123为触摸显示屏时,3D显示器123可接收用户的触摸屏输入,摄像头114可接收用户的眨眼输入,音频电路125可接收用户的语音输入,手势传感器可接收用户的抬手输入等。In an embodiment of the invention, the peripheral device can also function as a user input device. For example, when the 3D display 123 is a touch display screen, the 3D display 123 can receive the user's touch screen input, the camera 114 can receive the user's blink input, the audio circuit 125 can receive the user's voice input, and the gesture sensor can receive the user's hand-in input. Wait.
需要说明的,外围系统117还可以包括其他I/O外设。It should be noted that the peripheral system 117 may also include other I/O peripherals.
所述收发器116用于接收和发送无线信号,可用于和外部网络进行通信以获取相关数据或资源。所述收发器116可包括无线广域网(Wireless Wide Area Network,WWAN)通信模块和无线局域网(Wireless Local Area Networks,WLAN)通信模块。其中,所述WWAN通信模块可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。具体实现中,所述WWAN通信模块可以是3G模块、4G模块或者5G模块中的任意一种。所述WLAN通信模块可包括蓝牙模块、无线保真(WIreless-Fidelity,WIFI)模块、近距离无线通信模块(Near Field Communication,NFC)模块等。The transceiver 116 is configured to receive and transmit wireless signals and can be used to communicate with an external network to obtain related data or resources. The transceiver 116 can include a Wireless Wide Area Network (WWAN) communication module and a Wireless Local Area Networks (WLAN) communication module. The WWAN communication module can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and code division. Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like. In a specific implementation, the WWAN communication module may be any one of a 3G module, a 4G module, or a 5G module. The WLAN communication module may include a Bluetooth module, a WIreless-Fidelity (WIFI) module, a Near Field Communication (NFC) module, and the like.
在本发明实施例中,所述收发器116可用于实时获取所述虚拟现实终端的时间数据或者天气数据中的至少一项。所述收发器116还可用于从服务器中获取和外部环境数据对应的3D图像资源。例如,根据地理位置数据获取所述地理位置数据对应的地标的3D图像资源或者获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源,根据时间数据,获取所述时间数据指示的时间对应的室外光线的3D图像资源,根据所述天气数据,获取所述天气数据指示的天气状况对应的3D图像资源。In the embodiment of the present invention, the transceiver 116 is configured to acquire at least one of time data or weather data of the virtual reality terminal in real time. The transceiver 116 can also be configured to acquire a 3D image resource corresponding to external environment data from a server. For example, acquiring a 3D image resource of a landmark corresponding to the geographic location data or acquiring a 3D image resource of a geographical environment at a geographical location indicated by the geographic location data according to the geographic location data, and acquiring the time data indication according to the time data. The 3D image resource of the outdoor light corresponding to the time acquires the 3D image resource corresponding to the weather condition indicated by the weather data according to the weather data.
所述定位模块122可通过卫星导航定位系统获取所述虚拟现实终端的当前地理位置。所述定位模块可包括GPS模块、GLONASS模块、BDS模块、伽利略定位系统模块。具体实现中,定位模块122能够通过卫星定位系统直接获取终端100的地理位置。应理解的,定位模块122的定位结果是高精度、可信赖的。 The positioning module 122 can acquire the current geographic location of the virtual reality terminal by using a satellite navigation and positioning system. The positioning module may include a GPS module, a GLONASS module, a BDS module, and a Galileo positioning system module. In a specific implementation, the positioning module 122 can directly acquire the geographic location of the terminal 100 through the satellite positioning system. It should be understood that the positioning result of the positioning module 122 is high precision and reliable.
所述存储器115与处理器111耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器115可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器115可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器115还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个网络设备进行通信。存储器115还可以存储用户接口程序,该用户接口程序可以通过图形化的操作界面将应用程序的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对应用程序的控制操作。The memory 115 is coupled to the processor 111 for storing various software programs and/or sets of instructions. In particular implementations, memory 115 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid state storage devices. The memory 115 can store an operating system (hereinafter referred to as a system) such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 115 can also store a network communication program that can be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices. The memory 115 can also store a user interface program, which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys. .
在本发明实施例中,所述存储器115可用于存储本地数据库,所述本地数据库中包括前述的各类3D图像资源。所述处理器具体可用于从所述存储器中获取各类3D图像资源。In the embodiment of the present invention, the memory 115 is configured to store a local database, where the local database includes various types of 3D image resources. The processor is specifically configured to acquire various types of 3D image resources from the memory.
存储器115还可以存储一个或多个应用程序。如图4所示,这些应用程序可包括:天气应用程序(例如墨迹天气),社交应用程序(例如Facebook),图像管理应用程序(例如相册),地图类应用程序(例如谷歌地图),浏览器(例如Safari,Google Chrome)等等。在一些实施例中,终端100可通过天气应用程序从所述天气应用对应的服务器获取实时天气数据。The memory 115 can also store one or more applications. As shown in FIG. 4, these applications may include: a weather application (such as ink weather), a social application (such as Facebook), an image management application (such as an album), a map application (such as Google Maps), a browser. (eg Safari, Google Chrome) and more. In some embodiments, the terminal 100 may acquire real-time weather data from a server corresponding to the weather application through a weather application.
应当理解,终端100仅为本发明实施例提供的一个例子,并且,终端100可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the terminal 100 is only an example provided by an embodiment of the present invention, and that the terminal 100 may have more or less components than the illustrated components, may combine two or more components, or may have components. Different configurations are implemented.
在用户使用虚拟现实设备时,完全沉浸到与外部环境隔断的虚拟现实场景中,对真实的外部环境几乎不感知。为了提示用户外部环境的真实情况,本发明实施例提供了一种虚拟现实显示方法,可从真实场景中获取外部环境数据,并根据外部环境数据显示对应的虚拟场景。When the user uses the virtual reality device, he is completely immersed in the virtual reality scene that is separated from the external environment, and has little perception of the real external environment. In order to prompt the user to the real environment, the embodiment of the present invention provides a virtual reality display method, which can obtain external environment data from a real scene and display a corresponding virtual scene according to the external environment data.
本发明实施例涉及的主要原理包括:通过虚拟现实终端获取外部环境数据,并根据所述外部环境数据从服务器获取对应的3D图像资源,并根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。这里的虚拟场景是真实场景的虚拟体现。The main principles of the embodiment of the present invention include: acquiring external environment data by using a virtual reality terminal, and acquiring corresponding 3D image resources from the server according to the external environment data, and displaying corresponding to the external environment data according to the 3D image resource. Virtual scene. The virtual scene here is a virtual representation of the real scene.
下面结合附图详细描述本发明实施例提供的虚拟现实显示方法。The virtual reality display method provided by the embodiment of the present invention is described in detail below with reference to the accompanying drawings.
图5是本发明实施例提供的一种虚拟现实显示方法的流程示意图。在图5实施例中,所述虚拟现实终端能够从真实环境中获取外部环境数据,并能根据所述外部环境数据从本地数据库或者服务器中获取3D图像资源,在HOME主界面根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。图5所示方法实施例以所述虚拟现实终端从服务器中获取3D图像资源为例,下面展开描述:FIG. 5 is a schematic flowchart diagram of a virtual reality display method according to an embodiment of the present invention. In the embodiment of FIG. 5, the virtual reality terminal is capable of acquiring external environment data from a real environment, and can acquire 3D image resources from a local database or a server according to the external environment data, according to the 3D image in the HOME main interface. The resource displays a virtual scene corresponding to the external environment data. The method embodiment shown in FIG. 5 is an example in which the virtual reality terminal acquires a 3D image resource from a server, and the following description is expanded:
S101、从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据、天气数据中的至少一项。S101. Acquire external environment data from a real scene, where the external environment data includes at least one of geographic location data, time data, and weather data.
具体的,参考前述内容可知,虚拟现实终端可通过收发器或者RTC获取时间数据,通过收发器或者各类传感器获取天气数据,可通过定位模块获取地理位置数据。Specifically, referring to the foregoing, the virtual reality terminal can obtain time data through a transceiver or an RTC, obtain weather data through a transceiver or various types of sensors, and obtain geographic location data through the positioning module.
在本发明实施例中,不限于上述提到的地理位置数据、时间数据、天气数据,所述外部环境数据还可包括更加丰富的数据,例如,外部人流量数据,交通数据,噪音数据等。 上述的外部环境数据可通过收发器获取。In the embodiment of the present invention, it is not limited to the geographical location data, the time data, and the weather data mentioned above, and the external environment data may further include more abundant data, such as external human traffic data, traffic data, noise data, and the like. The above external environment data can be obtained through the transceiver.
S102、向服务器发送获取所述外部环境数据对应的3D图像资源的请求。S102. Send a request for acquiring a 3D image resource corresponding to the external environment data to a server.
S103、服务器向虚拟现实终端发送所述外部环境数据对应的3D图像资源。S103. The server sends the 3D image resource corresponding to the external environment data to the virtual reality terminal.
参考前述内容可知,所述虚拟现实终端可根据获取到的外部环境数据,从服务器中获取对应的3D图像资源。Referring to the foregoing, the virtual reality terminal may acquire corresponding 3D image resources from the server according to the acquired external environment data.
具体的,所述虚拟现实终端可根据地理位置数据,通过服务器获取所述地理位置数据对应的地标的3D图像资源,还可根据地理位置数据,通过服务器,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源,还可根据时间数据,通过服务器获取所述时间数据指示的时间对应的室外光线的3D图像资源,还可根据天气数据,获取所述天气数据指示的天气状况对应的3D图像资源。Specifically, the virtual reality terminal may acquire the 3D image resource of the landmark corresponding to the geographic location data by using the server according to the geographic location data, and obtain the geographic location indicated by the geographic location data by using the server according to the geographic location data. The 3D image resource of the geographical environment may be obtained by the server according to the time data, and the 3D image resource of the outdoor light corresponding to the time indicated by the time data may be acquired by the server, and the weather condition indicated by the weather data may be acquired according to the weather data. 3D image resources.
可理解的,所述服务器中可存储外部环境数据和对应的3D图像资源,在所述虚拟现实终端请求获取3D图像资源时,将对应的3D图像资源发送给所述虚拟现实终端。It can be understood that the external environment data and the corresponding 3D image resource can be stored in the server, and when the virtual reality terminal requests to acquire the 3D image resource, the corresponding 3D image resource is sent to the virtual reality terminal.
S104、根据所述3D图像资源在HOME主界面显示所述外部环境数据对应的虚拟场景。S104. Display a virtual scene corresponding to the external environment data on the HOME main interface according to the 3D image resource.
具体的,根据所述3D图像资源显示虚拟场景,所述虚拟场景是真实场景中外部环境的3D虚拟体现。在本发明实施例中,所述虚拟场景相当于根据获取到的3D图像资源对外部环境的地理位置、时间、天气模拟显示。用户可通过所述虚拟场景直观地感受到外部环境的真实情况。Specifically, the virtual scene is displayed according to the 3D image resource, where the virtual scene is a 3D virtual representation of the external environment in the real scene. In the embodiment of the present invention, the virtual scene is equivalent to displaying the geographic location, time, and weather of the external environment according to the acquired 3D image resource. The user can intuitively feel the real situation of the external environment through the virtual scene.
在本发明实施例中,所述虚拟现实终端可以通过计算机3D图形处理技术,根据获取到的所述3D图像资源来显示所述外部环境数据对应的虚拟现实场景。例如,利用粒子系统模拟风、雪、雨、阴、晴的天气状况,基于粒子系统并利用纹理贴图动态算法实现3D霜冻效果,利用体积云算法生成晴天、阴天以及雨天的3D天气特效等,可得到天气数据对应的虚拟现实场景并显示。又例如,通过预设算法可模拟室外光线,得到时间数据对应的虚拟现实场景并显示。In the embodiment of the present invention, the virtual reality terminal may display the virtual reality scene corresponding to the external environment data according to the acquired 3D image resource by using a computer 3D graphics processing technology. For example, using particle systems to simulate wind, snow, rain, yin and sunny weather conditions, based on particle systems and using texture mapping dynamic algorithms to achieve 3D frost effect, using volume cloud algorithm to generate sunny, cloudy and rainy 3D weather effects, etc. A virtual reality scene corresponding to the weather data can be obtained and displayed. For another example, the outdoor light can be simulated by a preset algorithm, and a virtual reality scene corresponding to the time data is obtained and displayed.
在本发明实施例中,所述3D图像资源可包括地理位置数据对应的地标或者所述地理位置数据指示的地理位置处的地理环境的3D图像资源、时间数据指示的时间对应的室外光线的3D图像资源、天气数据指示的天气状况对应的3D图像资源中的任意一项或多项。在根据所述3D图像资源显示所述外部环境对应的虚拟场景时,可分别计算处理得到地理位置数据对应的虚拟场景、时间数据对应的虚拟场景、天气数据对应的虚拟场景中的任意一项或多项,再将得到的一个或多个虚拟场景进行叠加显示,呈现出所述外部环境对应的虚拟场景。在可选实施例中,还可同时根据地理位置数据对应的地标或者所述地理位置数据指示的地理位置处的地理环境的3D图像资源、时间数据指示的时间对应的室外光线的3D图像资源、天气数据指示的天气状况对应的3D图像资源,计算处理得到一个融合的虚拟场景,并进行显示。In the embodiment of the present invention, the 3D image resource may include a landmark corresponding to the geographic location data or a 3D image resource of the geographical environment at the geographic location indicated by the geographic location data, and a 3D of outdoor light corresponding to the time indicated by the time data. Any one or more of the 3D image resources corresponding to the weather conditions indicated by the image resource and the weather data. When the virtual scene corresponding to the external environment is displayed according to the 3D image resource, any one of the virtual scene corresponding to the geographical location data, the virtual scene corresponding to the time data, and the virtual scene corresponding to the weather data may be separately calculated or The plurality of virtual scenes are superimposed and displayed, and the virtual scene corresponding to the external environment is presented. In an optional embodiment, the 3D image resource of the geographical environment and the 3D image resource of the outdoor light corresponding to the time indicated by the time data may be simultaneously determined according to the landmark corresponding to the geographical location data or the geographical location indicated by the geographical location data, The 3D image resource corresponding to the weather condition indicated by the weather data is calculated and processed to obtain a fused virtual scene and displayed.
在图5实施例中,所述虚拟现实终端根据所述3D图像资源在HOME主界面显示所述外部环境数据对应的虚拟场景。可参考前述内容,所述HOME主界面是用户在使用虚拟现实终端时看到的图形用户界面。In the embodiment of FIG. 5, the virtual reality terminal displays the virtual scene corresponding to the external environment data on the HOME main interface according to the 3D image resource. Referring to the foregoing, the HOME main interface is a graphical user interface that a user sees when using a virtual reality terminal.
可参见图6,图6为本发明实施例提供的一种可能的在HOME主界面显示外部环境数据对应的虚拟场景的示意图。如图所示,假设虚拟现实终端获取到的当前地理位置数据表 明当前位置在长城附近,那么用户可直观地从HOME主界面中显示的虚拟场景,了解到当前的地理位置在北京长城附近。Referring to FIG. 6, FIG. 6 is a schematic diagram of a possible virtual scene corresponding to external environment data displayed on the HOME main interface according to an embodiment of the present invention. As shown in the figure, assume the current geographic location data table obtained by the virtual reality terminal. Ming's current location is near the Great Wall, so users can intuitively view the virtual scene displayed in the HOME main interface, and understand that the current geographical location is near the Great Wall of Beijing.
需要说明的是,具体实现中,所述HOME主界面显示的所述虚拟场景可以是彩色的,能够更好地表现数所述外部环境的真实情况。It should be noted that, in a specific implementation, the virtual scene displayed by the HOME main interface may be colored, and the real situation of the external environment may be better represented.
具体实现中,可通过以下方式触发所述虚拟现实终端在HOME主界面显示所述外部环境数据对应的虚拟场景:In a specific implementation, the virtual reality terminal may be triggered to display the virtual scene corresponding to the external environment data on the HOME main interface by using the following manner:
第一种,所述虚拟现实终端检测到当前页面为HOME主界面,则在HOME主界面显示所述外部环境数据对应的虚拟场景。The first type, the virtual reality terminal detects that the current page is the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
例如,当用户开始使用虚拟现实终端时,首先进入的是HOME主界面,这时HOME主界面显示所述外部环境数据对应的虚拟场景。当用户使用虚拟现实终端时,退出某个VR应用后回到HOME主界面时,HOME主界面显示所述外部环境数据对应的虚拟场景。For example, when the user starts to use the virtual reality terminal, the HOME main interface is first entered, and the HOME main interface displays the virtual scene corresponding to the external environment data. When the user uses the virtual reality terminal, after exiting a VR application and returning to the HOME main interface, the HOME main interface displays the virtual scene corresponding to the external environment data.
第二种,所述虚拟现实终端接收用于了解外部环境的用户输入,响应于所述用户输入,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Second, the virtual reality terminal receives user input for understanding an external environment, and in response to the user input, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the external interface on the HOME main interface. The virtual scene corresponding to the environment data.
具体的,用户在使用虚拟现实终端时,当前页面是用户当前所看到的页面,可以是任何页面,例如,可为游戏页面、电影页面等。在接收到所述用户输入时,所述虚拟现实终端响应于所述用户输入,从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Specifically, when the user uses the virtual reality terminal, the current page is the page that the user currently sees, and may be any page, for example, may be a game page, a movie page, or the like. Upon receiving the user input, the virtual reality terminal jumps from the current page to the HOME main interface in response to the user input, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
这里的用户输入可以预先设置,所述用户输入可以包括但不限于以下形式:手势输入、语音输入、按键输入、触摸屏输入,还可是晃动头部输入、眨眼输入等。其中,所述手势输入可以为指定的动作,例如左手晃动角度超过45度等。具体实现中,所述虚拟现实终端还可结合用户保持指定动作的时间来判断用户是否输入了所述用于了解外部环境的用户输入,例如,当用户抬起左手并保持3秒时,所述虚拟现实终端可判断用户输入了所述用于了解外部环境的用户输入,可在HOME主界面显示所述外部环境对应的虚拟场景。The user input herein may be preset, and the user input may include, but is not limited to, a gesture input, a voice input, a key input, a touch screen input, and may also be a shake head input, a blink input, or the like. The gesture input may be a specified action, for example, the left hand shake angle exceeds 45 degrees. In a specific implementation, the virtual reality terminal may further determine, according to the time when the user maintains the specified action, whether the user inputs the user input for understanding the external environment, for example, when the user raises the left hand and holds for 3 seconds, The virtual reality terminal can determine that the user inputs the user input for understanding the external environment, and can display the virtual scene corresponding to the external environment on the HOME main interface.
第三种,外部环境数据波动较大时,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。The third type, when the external environment data fluctuates greatly, the virtual reality terminal jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
具体的,当外部环境数据波动较大时,说明外界真实环境发生了较大的变化,可自动跳转到HOME主界面以提示用户真实环境的变化。Specifically, when the external environment data fluctuates greatly, it indicates that the real environment of the outside world has undergone a large change, and can automatically jump to the HOME main interface to prompt the user to change the real environment.
这里,可通过以下方式判断外部环境数据中的天气数据发生了较大波动。在一些实施例中,所述虚拟现实终端在接收到天气预警消息时,可确定外界天气发生较大波动。在一些实施例中,所述虚拟现实终端可定时获取天气数据,并将获取的天气数据和上一次获取的天气数据进行比较,若天气数据中各项参数的前后差值超过了预设范围,可确定外界天气发生较大波动。例如,用户使用虚拟现实终端看电影,在开始看电影时,天气数据中24小时降水量为0毫米,在观看电影一小时之后,天气数据中24小时降水量为50毫米,这时可断定天气数据波动较大,天气状况突变。Here, it can be judged that the weather data in the external environment data fluctuates greatly by the following means. In some embodiments, the virtual reality terminal may determine that the weather in the outside world fluctuates greatly when receiving the weather warning message. In some embodiments, the virtual reality terminal may periodically acquire weather data, and compare the acquired weather data with the last acquired weather data. If the difference between the parameters in the weather data exceeds a preset range, It can be determined that the outside weather has a large fluctuation. For example, when a user uses a virtual reality terminal to watch a movie, when the movie is started, the 24-hour precipitation in the weather data is 0 mm, and after one hour of watching the movie, the 24-hour precipitation in the weather data is 50 mm, at which time the weather can be determined. The data fluctuated greatly and the weather conditions were abrupt.
这里,在一些实施例中,所述虚拟现实终端可定时获取地理位置数据,并将获取到的地理位置数据和上一次获取到的地理位置数据进行比较,若所述地理位置数据表明所述虚拟现实终端的前后地理位置的距离超过了预设范围,可确定外部环境数据中的地理位置数 据发生了较大波动。例如,用户在火车上使用虚拟现实终端看电影,在观看电影一小时之后,地理位置数据表明用户已经从一个城市移动到了另一个城市,这时可断定地理位置数据波动较大。Here, in some embodiments, the virtual reality terminal may periodically acquire geographic location data, and compare the acquired geographic location data with the last acquired geographic location data, if the geographic location data indicates the virtual The distance between the front and rear geographical locations of the real terminal exceeds the preset range, and the number of geographical locations in the external environmental data can be determined. According to the occurrence of large fluctuations. For example, the user uses a virtual reality terminal to watch a movie on a train. After one hour of watching the movie, the geographic location data indicates that the user has moved from one city to another, and it can be concluded that the geographic location data fluctuates greatly.
第四种,每隔预设时长,所述虚拟现实终端从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Fourthly, the virtual reality terminal jumps from the current page to the HOME main interface every preset time period, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
具体的,为了避免用户在使用虚拟现实终端时长时间沉浸在虚拟现实场景中,对真实环境毫无感知,可设置预设时长,例如一小时、两小时等,所述虚拟现实终端每隔预设时长从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景。Specifically, in order to prevent the user from being immersed in the virtual reality scene for a long time when using the virtual reality terminal, and having no perception of the real environment, the preset duration may be set, for example, one hour, two hours, etc., and the virtual reality terminal is preset every time. The duration jumps from the current page to the HOME main interface, and displays the virtual scene corresponding to the external environment data on the HOME main interface.
可理解的,上述第二种、第三种、第四种触发方式中,在可选实施例中,所述虚拟现实终端可预先设置显示时长,所述虚拟现实设备在从当前页面跳转到HOME主界面,并在HOME主界面显示所述外部环境数据对应的虚拟场景的时间达到所述显示时长时,自动跳转回所述当前页面,不影响用户使用虚拟现实终端的体验。It can be understood that, in the foregoing second, third, and fourth triggering manners, in an optional embodiment, the virtual reality terminal may preset a display duration, and the virtual reality device jumps from the current page to The main interface of the HOME, and when the time of displaying the virtual scene corresponding to the external environment data reaches the display duration in the main interface of the HOME, automatically jumping back to the current page does not affect the experience of the user using the virtual reality terminal.
在另一些可选实施例中,所述虚拟终端还可接收用于跳转回所述当前页面的用户输入,响应于所述用于跳转回所述当前页面的用户输入,跳转到所述当前页面。这里的用户输入可以预先设置,可以包括前述的各种输入形式。具体实现中,所述虚拟现实终端还可结合用户保持指定动作的时间来判断用户是否输入了所述用于跳转回所述当前页面的用户输入,例如,当用户抬起左手并保持3秒时,所述虚拟现实终端可判断用户输入了所述用于跳转回所述当前页面的用户输入,可从HOME主界面跳转回所述当前页面。In still other optional embodiments, the virtual terminal may further receive a user input for jumping back to the current page, and jumping to the user in response to the user input for jumping back to the current page The current page. The user input here can be preset, and can include various input forms as described above. In a specific implementation, the virtual reality terminal may further determine, according to the time when the user maintains the specified action, whether the user inputs the user input for jumping back to the current page, for example, when the user raises the left hand and holds for 3 seconds. The virtual reality terminal may determine that the user inputs the user input for jumping back to the current page, and may jump back to the current page from the HOME main interface.
可理解的,不限于上述四种触发方式,所述虚拟现实终端在其他的预设情况下也可在HOME主界面显示所述外部环境数据对应的虚拟场景。It can be understood that the virtual reality terminal can also display the virtual scene corresponding to the external environment data on the HOME main interface in other preset situations.
具体实现中,当所述虚拟现实终端为移动端头显配套使用的手机、一体机头显、VR体验环境等同时具备核心处理模块和3D显示模块的设备时,所述虚拟现实终端可执行上述步骤S104中的在HOME主界面显示所述外部环境数据对应的虚拟场景的步骤。当所述虚拟现实终端为仅具备核心处理模块,而不具备3D显示模块的设备时,例如需要和PC端头显配套使用的电脑时,上述步骤S104需要由和所述虚拟现实终端配套使用的具备3D显示模块的设备执行,例如PC端头显。In a specific implementation, when the virtual reality terminal is a mobile phone, an integrated machine head display, a VR experience environment, and the like, and the device has a core processing module and a 3D display module, the virtual reality terminal may perform the foregoing. The step of displaying the virtual scene corresponding to the external environment data on the HOME main interface in step S104. When the virtual reality terminal is a device that only has a core processing module and does not have a 3D display module, for example, when a computer that is used in conjunction with a PC terminal is required, the above step S104 needs to be used by the virtual reality terminal. A device with a 3D display module is executed, such as a PC terminal.
在图5所示的实施例中,通过在HOME主界面显示所述虚拟场景,用户在看到HOME主界面的同时都能直观地感受到外部环境的真实情况,弥补了用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。进一步的,在HOME主界面显示所述虚拟场景的方式,计算量不大,容易实现,且增加了HOME主界面的趣味性,给用户提供了更多的有效信息。In the embodiment shown in FIG. 5, by displaying the virtual scene on the HOME main interface, the user can intuitively feel the real situation of the external environment while seeing the HOME main interface, and make up for the user to completely immerse in the virtual reality. The drawbacks of the scene that are completely unperceived to the external environment. Further, the manner of displaying the virtual scene on the HOME main interface is not large, and is easy to implement, and increases the interest of the HOME main interface, and provides more effective information to the user.
请参见图7,图7是本发明实施例提供的另一种虚拟现实显示方法的流程示意图。图7实施例和图5实施例的主要区别在于:图7实施例中,所述虚拟现实终端根据所述3D图像资源显示所述外部环境数据对应的虚拟场景,不是在HOME主界面显示,而是在当前页面进行显示。图7实施例更加适用于用户正在使用虚拟现实终端的过程情况下,提示用户真实环境的状况的场景。下面展开描述:Referring to FIG. 7, FIG. 7 is a schematic flowchart diagram of another virtual reality display method according to an embodiment of the present invention. The main difference between the embodiment of FIG. 7 and the embodiment of FIG. 5 is that, in the embodiment of FIG. 7 , the virtual reality terminal displays the virtual scene corresponding to the external environment data according to the 3D image resource, and is not displayed on the HOME main interface, but It is displayed on the current page. The embodiment of FIG. 7 is more suitable for a scenario in which the user is prompted to use the virtual reality terminal to prompt the user of the real environment. The following expands the description:
S201、从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时 间数据、天气数据中的至少一项。S201. Acquire external environment data from a real scene, where the external environment data includes: geographic location data, time At least one of data and weather data.
S202、向服务器发送获取所述外部环境数据对应的3D图像资源的请求。S202. Send a request for acquiring a 3D image resource corresponding to the external environment data to a server.
S203、服务器向虚拟现实终端发送所述外部环境数据对应的3D图像资源。S203. The server sends the 3D image resource corresponding to the external environment data to the virtual reality terminal.
可理解的,步骤S201-S203的实现方式可参考图5实施例中步骤S101-S103的具体描述,在此不赘述。It is to be understood that the implementation of the steps S201-S203 can be referred to the specific description of the steps S101-S103 in the embodiment of FIG. 5, and details are not described herein.
S204、根据所述3D图像资源分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,根据所述3D图像资源在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。S204: Display a virtual scene corresponding to the external environment data and a current page according to the 3D image resource, or display a virtual scene corresponding to the external environment data on the current page according to the 3D image resource.
具体的,用户在使用虚拟现实终端时,当前页面是用户当前所看到的页面,可以是任何页面,例如,可为游戏页面、电影页面等。Specifically, when the user uses the virtual reality terminal, the current page is the page that the user currently sees, and may be any page, for example, may be a game page, a movie page, or the like.
在图7实施例中,可通过以下方式触发所述虚拟现实终端根据所述3D图像资源分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,根据所述3D图像资源在当前页面上悬浮显示所述外部环境数据对应的虚拟场景:In the embodiment of FIG. 7 , the virtual reality terminal may be triggered to display the virtual scene and the current page corresponding to the external environment data according to the 3D image resource split screen, or according to the 3D image resource on the current page. The virtual scene corresponding to the external environment data is displayed on the floating:
第一种,所述虚拟现实终端接收用于了解外部环境的用户输入,响应于所述用户输入,分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。First, the virtual reality terminal receives a user input for understanding an external environment, and in response to the user input, displays a virtual scene and a current page corresponding to the external environment data, or displays a floating page on the current page. The virtual environment corresponding to the external environment data.
第二种,外部环境数据波动较大时,所述虚拟现实终端分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。In the second embodiment, when the external environment data fluctuates greatly, the virtual reality terminal displays the virtual scene corresponding to the external environment data and the current page, or displays the virtual scene corresponding to the external environment data on the current page. .
第三种,每隔预设时长,所述虚拟现实终端分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。The third type, the virtual reality terminal displays the virtual scene corresponding to the external environment data and the current page in a split screen, or displays the virtual scene corresponding to the external environment data on the current page.
可理解的,上述三种触发方式可参考图5方法实施例中的相关描述,在此不赘述。It is to be understood that the above three triggering manners may be referred to the related description in the method embodiment of FIG. 5, and details are not described herein.
下面详细说明所述虚拟现实终端根据所述3D图像资源,如何分屏显示所述外部环境数据对应的虚拟场景和当前页面。The following describes in detail how the virtual reality terminal displays the virtual scene and the current page corresponding to the external environment data according to the 3D image resource.
具体实现中,所述虚拟现实终端在3D显示器中的第一区域显示所述外部环境对应的虚拟场景,在3D显示器中的第二区域显示所述当前页面。其中,所述第一区域和所述第二区域不重合,所述第一区域以及所述第二区域的具体位置、形状不做任何限制。具体举例来说,所述虚拟现实终端可在3D显示器的左边区域显示所述当前页面,在右边区域显示所述虚拟场景,或者,可在3D显示器的上方区域显示所述当前页面,在下方区域显示所述虚拟场景。In a specific implementation, the virtual reality terminal displays a virtual scene corresponding to the external environment in a first area of the 3D display, and displays the current page in a second area in the 3D display. The first area and the second area do not overlap, and the specific positions and shapes of the first area and the second area are not limited. For example, the virtual reality terminal may display the current page in a left area of the 3D display, and display the virtual scene in a right area, or may display the current page in an upper area of the 3D display, in the lower area. The virtual scene is displayed.
可参见图8,图8是本发明实施例提供的一种分屏显示所述外部环境数据对应的虚拟场景和当前页面的示意图。例如,用户正在使用虚拟现实终端查看风景图片,即当前页面为风景图片。所述虚拟现实终端获取到的地理位置数据表明当前地理位置在长城附近,在右边区域显示缩小的当前页面,在左边区域显示的是外部环境数据对应的虚拟场景例如长城的图像。Referring to FIG. 8, FIG. 8 is a schematic diagram of a virtual screen and a current page corresponding to the external environment data displayed by a split screen according to an embodiment of the present invention. For example, the user is viewing the landscape picture using the virtual reality terminal, that is, the current page is a landscape picture. The geographic location data obtained by the virtual reality terminal indicates that the current geographic location is near the Great Wall, and the reduced current page is displayed in the right region, and the virtual environment corresponding to the external environment data, such as the image of the Great Wall, is displayed in the left region.
下面详细说明所述虚拟现实终端根据所述3D图像资源,如何在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。The virtual reality terminal, in detail, according to the 3D image resource, how to display the virtual scene corresponding to the external environment data on the current page.
具体实现中,所述虚拟现实终端在3D显示器中显示所述当前页面,并在所述当前页 面上悬浮显示所述虚拟场景。其中,悬浮显示时,所述虚拟场景的显示形状、具体位置不做任何限制。In a specific implementation, the virtual reality terminal displays the current page in a 3D display, and is in the current page. The virtual scene is displayed in a floating manner on the surface. In the floating display, the display shape and specific position of the virtual scene are not limited.
可参见图9,图9是本发明实施例提供的一种在当前页面上悬浮显示所述外部环境数据对应的虚拟场景的示意图。例如,用户正在使用虚拟现实终端查看风景图片,即当前页面为风景图片。所述虚拟现实终端获取到的地理位置数据表明当前地理位置在长城附近。如图9所示,所述虚拟现实终端在当前页面上悬浮显示的是外部环境数据对应的虚拟场景。Referring to FIG. 9, FIG. 9 is a schematic diagram of a virtual scene corresponding to the external environment data floating on the current page according to an embodiment of the present invention. For example, the user is viewing the landscape picture using the virtual reality terminal, that is, the current page is a landscape picture. The geographic location data obtained by the virtual reality terminal indicates that the current geographic location is near the Great Wall. As shown in FIG. 9 , the virtual reality terminal displays a virtual scene corresponding to the external environment data on the current page.
在可选实施例中,所述虚拟现实终端还可在显示所述外部环境数据对应的虚拟场景的同时悬浮显示所述当前页面。可参见图10,图10示出了本发明实施例提供的一种在显示所述外部环境数据对应的虚拟场景的同时悬浮显示所述当前页面的示意图。例如,用户正在使用虚拟现实终端查看风景图片,即当前页面为风景图片。所述虚拟现实终端获取到的地理位置数据表明当前地理位置在长城附近。如图10所示,所述虚拟现实终端在外部环境对应的虚拟场景上悬浮显示所述当前页面。In an optional embodiment, the virtual reality terminal may further display the current page while displaying the virtual scene corresponding to the external environment data. Referring to FIG. 10, FIG. 10 is a schematic diagram of a floating display of the current page while displaying a virtual scene corresponding to the external environment data according to an embodiment of the present invention. For example, the user is viewing the landscape picture using the virtual reality terminal, that is, the current page is a landscape picture. The geographic location data obtained by the virtual reality terminal indicates that the current geographic location is near the Great Wall. As shown in FIG. 10, the virtual reality terminal floats and displays the current page on a virtual scene corresponding to an external environment.
在本发明实施例中,当所述虚拟现实终端为移动端头显配套使用的手机、一体机头显、VR体验环境等同时具备核心处理模块和3D显示模块的设备时,所述虚拟现实终端可执行上述步骤S204中的分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景的步骤。In the embodiment of the present invention, when the virtual reality terminal is a mobile phone, an integrated machine head display, a VR experience environment, and the like, which are equipped with a core processing module and a 3D display module, the virtual reality terminal is a virtual reality terminal. The step of displaying the virtual scene corresponding to the external environment data and the current page in the above-mentioned step S204, or the step of floatingly displaying the virtual scene corresponding to the external environment data on the current page.
当所述虚拟现实终端为仅具备核心处理模块,而不具备3D显示模块的设备时,例如需要和PC端头显配套使用的电脑时,上述步骤S204需要由和所述虚拟现实终端配套使用的具备3D显示模块的设备执行,例如PC端头显。When the virtual reality terminal is a device that only has a core processing module and does not have a 3D display module, for example, when a computer that is used in conjunction with a PC terminal is required, the above step S204 needs to be used by the virtual reality terminal. A device with a 3D display module is executed, such as a PC terminal.
在图7实施例中,通过分屏显示所述当前页面和所述虚拟场景,或者,在所述当前页面上悬浮显示所述虚拟场景,既不影响用户使用虚拟现实终端,还可以提示用户外部环境的真实情况,弥补用户完全沉浸在虚拟现实场景中对外部环境完全不感知的弊端。In the embodiment of FIG. 7 , the current page and the virtual scene are displayed by a split screen, or the virtual scene is suspended and displayed on the current page, which does not affect the user using the virtual reality terminal, and may also prompt the user to externally The real situation of the environment makes up for the drawbacks that the user is completely immersed in the virtual reality scene and completely unaware of the external environment.
在上述图5、图7实施例中,所述虚拟现实终端根据所述3D图像资源显示所述外部环境对应的虚拟场景,从视觉上提示用户外部环境的真实情况,可使用户直观地感受到外部环境,包括地理位置、天气、时间等。In the embodiment of FIG. 5 and FIG. 7 , the virtual reality terminal displays the virtual scene corresponding to the external environment according to the 3D image resource, and visually prompts the user about the real situation of the external environment, so that the user can intuitively feel External environment, including geographic location, weather, time, etc.
在本发明实施例中,所述虚拟现实终端主要从视觉上提示用户外部环境的真实情况。In the embodiment of the present invention, the virtual reality terminal mainly visually prompts the user of the real situation of the external environment.
在可选实施例中,所述虚拟现实终端还可通过听觉、触觉等感觉来提示用户外部环境的真实情况,给用户更加真实直观的体验。下面进行详细说明。In an alternative embodiment, the virtual reality terminal may also prompt the user to the real situation of the external environment through a sense of hearing, touch, etc., to give the user a more realistic and intuitive experience. The details will be described below.
具体的,当所述外部环境数据包括天气数据时,所述虚拟现实终端还通过各类传感设备输出真实的天气情况。例如,天气数据包括降雨量,且24小时降雨量达到50毫米,表明当前天气情况为暴雨,那么所述虚拟现实终端可通过音频设备输出和24小时降雨量50毫米相对应的下雨声,使用户身临其境地感觉到暴雨的天气状况。又例如,天气数据包括风力风向,假设风力风向为东南风2级,那么所述虚拟现实设备可通过风力风向模拟设备模拟东南风2级,还可通过音频设备模拟和东南风2级对应的风声,使用户真实地感受到所述风力风向。Specifically, when the external environment data includes weather data, the virtual reality terminal further outputs a real weather condition through various types of sensing devices. For example, if the weather data includes rainfall and the 24-hour rainfall reaches 50 mm, indicating that the current weather conditions are heavy rain, then the virtual reality terminal can output sound and sound corresponding to a 24-hour rainfall of 50 mm through the audio device. The user is immersive in the weather conditions of heavy rain. For another example, the weather data includes a wind direction, and if the wind direction is a southeast wind level 2, the virtual reality device can simulate the southeast wind level 2 through the wind wind direction simulation device, and can also simulate the wind sound corresponding to the southeast wind level 2 through the audio device simulation. , so that the user truly feels the wind direction.
下面结合图4所示虚拟现实终端100,详细说明虚拟现实终端100中的各个部件在本发明实施例中的协作关系,请参考图11。需要说明的是,图11所示方法实施例以所述虚拟 现实终端通过收发器获取天气数据、时间数据,通过定位模块获取地理位置数据,从服务器中获取3D图像资源的应用场景进行说明。The cooperation relationship between the components in the virtual reality terminal 100 in the embodiment of the present invention is described in detail with reference to FIG. 11 in conjunction with the virtual reality terminal 100 shown in FIG. It should be noted that the method embodiment shown in FIG. 11 is in the virtual state. The real terminal obtains the weather data and the time data through the transceiver, acquires the geographical location data through the positioning module, and obtains the application scenario of the 3D image resource from the server for description.
1、处理器111接收事件驱动。1. The processor 111 receives the event drive.
这里的事件驱动可以是以下两种:The event drivers here can be the following two:
第一种,检测到用户输入。在本发明实施例中,可通过外围设备接收所述事件驱动(用户输入),外围设备再将接收到的事件驱动(用户输入)发送给处理器111。例如,所述事件驱动可以是3D显示器123接收到的用户的触摸屏输入,可以是摄像头114接收到的用户的眨眼输入,可以是音频电路125接收到的用户的语音输入,还可以是手势传感器接收到的用户的抬手输入等。The first type detects user input. In the embodiment of the present invention, the event drive (user input) may be received by the peripheral device, and the peripheral device transmits the received event drive (user input) to the processor 111. For example, the event driver may be a touch screen input of the user received by the 3D display 123, may be a blink input of the user received by the camera 114, may be a voice input of the user received by the audio circuit 125, or may be a gesture sensor receiving The user's hand-in input to the user.
第二种,到达预设时长。在本发明实施例中,可通过时钟模块112计算预设时长,每间隔预设时长,时钟模块112向处理器111发送事件驱动。Second, the preset duration is reached. In the embodiment of the present invention, the preset duration is calculated by the clock module 112, and the clock module 112 sends an event drive to the processor 111 every time the interval is preset.
2、处理器111可通知收发器116获取时间数据、天气数据,通知定位模块122获取地理位置数据。2. The processor 111 can notify the transceiver 116 to acquire time data and weather data, and notify the positioning module 122 to acquire geographic location data.
3、收发器116获取时间数据、天气数据,定位模块122获取地理位置数据。3. The transceiver 116 acquires time data and weather data, and the positioning module 122 acquires geographic location data.
4、收发器116将获取到的时间数据、天气数据发送给处理器111,定位模块122强获取到的地理位置数据发送给处理器111。The transceiver 116 sends the acquired time data and weather data to the processor 111, and the geographical location data obtained by the positioning module 122 is sent to the processor 111.
5、处理器111通知收发器116从服务器获取和所述外部环境数据对应的3D图像资源。5. The processor 111 notifies the transceiver 116 to acquire a 3D image resource corresponding to the external environment data from the server.
6、收发器116从服务器获取和所述外部环境数据对应的3D图像资源。6. The transceiver 116 acquires a 3D image resource corresponding to the external environment data from a server.
具体的,收发器116可从存储室外光线的3D图像资源的服务器中获取所述时间数据指示的时间对应的室外光线的3D图像资源,从存储天气状况对应的3D图像资源的服务器中获取所述天气数据指示的天气状况对应的3D图像资源,从存储地理环境的3D图像资源的服务器中获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源,或者从存储地标的3D图像资源的服务器中获取所述地理位置数据对应的地标的3D图像资源。Specifically, the transceiver 116 may acquire, from a server that stores the 3D image resource of the outdoor light, a 3D image resource of the outdoor light corresponding to the time indicated by the time data, and obtain the same from a server that stores the 3D image resource corresponding to the weather condition. The 3D image resource corresponding to the weather condition indicated by the weather data, the 3D image resource of the geographical environment at the geographical location indicated by the geographical location data is obtained from the server storing the 3D image resource of the geographical environment, or the 3D image resource from the stored landmark Obtaining a 3D image resource of the landmark corresponding to the geographical location data in the server.
7、收发器116将获取到的和所述外部环境数据对应的3D图像资源发送给处理器111。The transceiver 116 sends the acquired 3D image resource corresponding to the external environment data to the processor 111.
8、处理器111对所述3D图像资源做3D处理。8. The processor 111 performs 3D processing on the 3D image resource.
具体的,这里处理器中的GPU对所述3D图像资源做3D处理。Specifically, the GPU in the processor performs 3D processing on the 3D image resource.
9、处理器111将经过3D处理的3D图像资源发送给3D显示器114。9. The processor 111 transmits the 3D processed 3D image resource to the 3D display 114.
10、3D显示器114根据所述3D图像资源显示外部环境数据对应的虚拟场景。10. The 3D display 114 displays a virtual scene corresponding to the external environment data according to the 3D image resource.
具体的,这里3D显示器根据所述3D图像资源分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,根据所述3D图像资源在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。Specifically, the 3D display displays the virtual scene corresponding to the external environment data and the current page according to the 3D image resource, or displays the virtual corresponding to the external environment data on the current page according to the 3D image resource. Scenes.
图12示出了本发明实施例提供的一种虚拟现实终端120的功能框图,终端的功能块可由硬件、软件或硬件与软件的组合来实施本发明方案。所属领域的技术人员应理解,图12中所描述的功能块可经组合或分离为若干子块以实施本发明方案。因此,本发明中上面描述的内容可支持对下述功能模块的任何可能的组合或分离或进一步定义。下面展开描述。FIG. 12 is a functional block diagram of a virtual reality terminal 120 according to an embodiment of the present invention. The function block of the terminal may implement the solution of the present invention by hardware, software, or a combination of hardware and software. Those skilled in the art will appreciate that the functional blocks depicted in Figure 12 can be combined or separated into several sub-blocks to implement the inventive arrangements. Accordingly, the above description of the invention may support any possible combination or separation or further definition of the functional modules described below. The description is expanded below.
如图12所示,虚拟现实终端120可包括:获取单元121、处理单元122、显示单元123。其中: As shown in FIG. 12, the virtual reality terminal 120 may include an acquisition unit 121, a processing unit 122, and a display unit 123. among them:
获取单元121用于从真实场景中获取外部环境数据,所述外部环境数据可包括地理位置数据、时间数据或者天气数据中的至少一项。The obtaining unit 121 is configured to acquire external environment data from a real scene, and the external environment data may include at least one of geographic location data, time data, or weather data.
具体实现中,所述获取单元121可以是收发器,用于获取时间数据或者天气数据中的至少一项。具体实现中,所述收发器可以是定位模块,用于获取地理位置数据。In a specific implementation, the obtaining unit 121 may be a transceiver, configured to acquire at least one of time data or weather data. In a specific implementation, the transceiver may be a positioning module, configured to acquire geographic location data.
所述获取单元121还用于根据所述外部环境数据,从服务器中获取3D图像资源。The obtaining unit 121 is further configured to acquire a 3D image resource from the server according to the external environment data.
处理单元122用于根据所述3D图像资源,指示显示单元123显示所述外部环境对应的虚拟场景。具体实现中,所述处理单元可以是图4中的处理器111,包括图形处理器GPU。The processing unit 122 is configured to instruct the display unit 123 to display the virtual scene corresponding to the external environment according to the 3D image resource. In a specific implementation, the processing unit may be the processor 111 in FIG. 4, including a graphics processor GPU.
显示单元123用于显示所述外部环境数据对应的虚拟场景。具体的,所述显示单元可以是显示屏,例如图4中的3D显示器123。The display unit 123 is configured to display a virtual scene corresponding to the external environment data. Specifically, the display unit may be a display screen, such as the 3D display 123 in FIG.
在本发明实施例中,所述获取单元具体用于根据地理位置数据获取所述地理位置数据对应的地标的3D图像资源,根据地理位置数据获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源,根据时间数据获取所述时间数据指示的时间对应的室外光线的3D图像资源,根据天气数据获取所述天气数据指示的天气状况对应的3D图像资源。In the embodiment of the present invention, the acquiring unit is configured to acquire a 3D image resource of a landmark corresponding to the geographical location data according to the geographic location data, and acquire a geographical environment at a geographical location indicated by the geographic location data according to the geographic location data. The 3D image resource obtains the 3D image resource of the outdoor light corresponding to the time indicated by the time data according to the time data, and acquires the 3D image resource corresponding to the weather condition indicated by the weather data according to the weather data.
在本发明实施例中,所述显示单元具体用于在HOME主界面根据所述3D图像资源显示外部环境数据对应的虚拟场景。In the embodiment of the present invention, the display unit is specifically configured to display a virtual scene corresponding to the external environment data according to the 3D image resource in the HOME main interface.
在一些实施例中,所述显示单元还可用于根据所述3D图像资源,分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,根据所述3D图像资源,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。In some embodiments, the display unit may be further configured to display, according to the 3D image resource, a virtual scene and a current page corresponding to the external environment data, or to pause on the current page according to the 3D image resource. Displaying a virtual scene corresponding to the external environment data.
在可选实施例中,所述终端120还可包括接收单元124,所述接收单元用于接收用于了解外部环境的用户输入。进一步的,所述显示单元具体用于,响应于所述接收单元接收到的用于了解外部环境的用户输入,在HOME主界面根据所述第二获取单元获取到的所述3D图像资源显示外部环境数据对应的虚拟场景,或者,分屏显示所述外部环境数据对应的虚拟场景和当前页面,或者,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。具体实现中,接收单元124可以是图4实施例涉及到的用户输入装置。In an alternative embodiment, the terminal 120 may further include a receiving unit 124 for receiving user input for understanding an external environment. Further, the display unit is specifically configured to: in response to the user input received by the receiving unit for understanding an external environment, displaying the external image according to the 3D image resource acquired by the second acquiring unit in the HOME main interface The virtual scene corresponding to the environment data, or the virtual scene corresponding to the external environment data and the current page are displayed on the screen, or the virtual scene corresponding to the external environment data is floatingly displayed on the current page. In a specific implementation, the receiving unit 124 may be the user input device involved in the embodiment of FIG. 4.
可以理解的,关于图12的虚拟现实终端120包括的功能块的具体实现方式,可参考前述实施例,这里不赘述。For a specific implementation manner of the functional blocks included in the virtual reality terminal 120 of FIG. 12, reference may be made to the foregoing embodiments, and details are not described herein.
实施本发明方法实施例,从真实场景中获取外部环境数据,根据所述外部环境数据获取3D图像资源,根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。上述方案能够在用户沉浸在与外部环境隔断的虚拟现实场景中的情况下,提示用户外部环境的真实情况,使用户获知当前地理位置、时间、天气。An embodiment of the method of the present invention is configured to obtain external environment data from a real scene, acquire a 3D image resource according to the external environment data, and display a virtual scene corresponding to the external environment data according to the 3D image resource. The above solution can prompt the user to the real situation of the external environment when the user is immersed in the virtual reality scene that is separated from the external environment, so that the user can know the current geographical location, time, and weather.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字 用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center By wire (eg coaxial cable, fiber, digital User line) or wireless (eg infrared, wireless, microwave, etc.) to another website site, computer, server or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state hard disk).
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The objects, technical solutions and advantageous effects of the present invention are further described in detail in the specific embodiments described above. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (26)

  1. 一种虚拟现实显示方法,其特征在于,包括:A virtual reality display method, comprising:
    从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据或者天气数据中的至少一项;Obtaining external environment data from a real scene, the external environment data including: at least one of geographical location data, time data, or weather data;
    根据所述外部环境数据,获取3D图像资源;Obtaining a 3D image resource according to the external environment data;
    根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。Displaying a virtual scene corresponding to the external environment data according to the 3D image resource.
  2. 如权利要求1所述的方法,其特征在于,所述外部环境数据包括地理位置数据;所述根据所述外部环境数据,获取3D图像资源,包括:The method of claim 1, wherein the external environment data comprises geographic location data; and the acquiring the 3D image resource according to the external environment data comprises:
    根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源。Obtaining a 3D image resource of the landmark corresponding to the geographical location data according to the geographic location data.
  3. 如权利要求2所述的方法,其特征在于,所述根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源,包括:The method according to claim 2, wherein the acquiring the 3D image resource of the landmark corresponding to the geographical location data according to the geographic location data comprises:
    根据所述地理位置数据,获取和所述地理位置数据指示的地理位置距离最近的地标对应的3D图像资源;Obtaining, according to the geographic location data, a 3D image resource corresponding to a geographic location indicated by the geographic location data from a nearest landmark;
    或者,or,
    根据所述地理位置数据,获取所述地理位置数据对应的热度最高的地标对应的3D图像资源。And acquiring, according to the geographic location data, a 3D image resource corresponding to the hottest landmark corresponding to the geographic location data.
  4. 根据权利要求1所述的方法,其特征在于,所述外部环境数据包括地理位置数据,所述根据所述外部环境数据,获取3D图像资源包括:The method according to claim 1, wherein the external environment data comprises geographical location data, and the acquiring the 3D image resource according to the external environment data comprises:
    根据所述地理位置数据,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源。Obtaining a 3D image resource of a geographical environment at a geographic location indicated by the geographic location data according to the geographic location data.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述外部环境数据包括时间数据,所述根据所述外部环境数据,获取3D图像资源包括:The method according to any one of claims 1 to 4, wherein the external environment data includes time data, and the acquiring the 3D image resource according to the external environment data comprises:
    根据所述时间数据,获取所述时间数据指示的时间对应的室外光线的3D图像资源。And acquiring, according to the time data, a 3D image resource of the outdoor light corresponding to the time indicated by the time data.
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述外部环境数据包括天气数据,所述根据所述外部环境数据,获取3D图像资源包括:The method of any one of the preceding claims, wherein the external environment data comprises weather data, and the acquiring the 3D image resource according to the external environment data comprises:
    根据所述天气数据,获取所述天气数据指示的天气状况对应的3D图像资源;Obtaining, according to the weather data, a 3D image resource corresponding to a weather condition indicated by the weather data;
    其中,所述天气数据包括以下至少一项:空气质量、温度、相对湿度、降水量、风力风向或者光照强度。The weather data includes at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or light intensity.
  7. 如权利要求1-6任一项所述的方法,其特征在于,还包括:接收用于了解外部环境的用户输入。The method of any of claims 1-6, further comprising: receiving user input for understanding an external environment.
  8. 如权利要求1-7任一项所述的方法,其特征在于,所述根据所述3D图像资源显示 所述外部环境数据对应的虚拟场景包括:The method according to any one of claims 1 to 7, wherein said displaying according to said 3D image resource The virtual scenario corresponding to the external environment data includes:
    在HOME主界面显示所述外部环境数据对应的虚拟场景;或者,Displaying the virtual scene corresponding to the external environment data on the HOME main interface; or
    根据所述3D图像资源,分屏显示所述外部环境数据对应的虚拟场景和当前页面;或者,Displaying, according to the 3D image resource, a virtual scene and a current page corresponding to the external environment data; or
    根据所述3D图像资源,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。And displaying, according to the 3D image resource, a virtual scene corresponding to the external environment data on a current page.
  9. 一种终端,其特征在于,包括:处理器、存储器和3D显示器,其中,A terminal, comprising: a processor, a memory, and a 3D display, wherein
    所述存储器用于存储指令和数据;The memory is for storing instructions and data;
    所述处理器,用于读取所述存储器中存储的指令和数据,执行如下操作:The processor is configured to read instructions and data stored in the memory, and perform the following operations:
    从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据或者天气数据中的至少一项;Obtaining external environment data from a real scene, the external environment data including: at least one of geographical location data, time data, or weather data;
    从真实场景中获取所述外部环境数据中的地理位置数据;Obtaining geographic location data in the external environment data from a real scene;
    所述3D显示器,用于根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。The 3D display is configured to display a virtual scene corresponding to the external environment data according to the 3D image resource.
  10. 如权利要求9所述的终端,其特征在于,所述外部环境数据包括地理位置数据;The terminal according to claim 9, wherein said external environment data includes geographical location data;
    所述处理器具体用于根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源。The processor is specifically configured to acquire, according to the geographic location data, a 3D image resource of a landmark corresponding to the geographic location data.
  11. 如权利要求10所述的终端,其特征在于,The terminal of claim 10, wherein
    所述处理器具体用于根据所述地理位置数据,获取和所述地理位置数据指示的地理位置距离最近的地标对应的3D图像资源;The processor is specifically configured to acquire, according to the geographic location data, a 3D image resource corresponding to a landmark that is closest to a geographic location indicated by the geographic location data;
    或者,or,
    所述处理器具体用于根据所述地理位置数据,获取所述地理位置数据对应的热度最高的地标对应的3D图像资源。The processor is specifically configured to acquire, according to the geographic location data, a 3D image resource corresponding to a landmark with the highest heat corresponding to the geographic location data.
  12. 如权利要求9所述的终端,其特征在于,所述外部环境数据包括地理位置数据;The terminal according to claim 9, wherein said external environment data includes geographical location data;
    所述处理器具体用于根据所述地理位置数据,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源。The processor is specifically configured to acquire, according to the geographic location data, a 3D image resource of a geographic environment at a geographic location indicated by the geographic location data.
  13. 如权利要求9-12任一项所述的终端,其特征在于,所述外部环境数据包括时间数据;The terminal according to any one of claims 9 to 12, wherein the external environment data includes time data;
    所述处理器具体用于根据所述时间数据,获取所述时间数据指示的时间对应的室外光线的3D图像资源。The processor is specifically configured to acquire, according to the time data, a 3D image resource of outdoor light corresponding to the time indicated by the time data.
  14. 如权利要求9-13任一项所述的终端,其特征在于,所述外部环境数据包括天气数据;The terminal according to any one of claims 9 to 13, wherein the external environment data includes weather data;
    所述处理器具体用于根据所述天气数据,获取所述天气数据指示的天气状况对应的3D 图像资源;The processor is specifically configured to acquire, according to the weather data, a 3D corresponding to a weather condition indicated by the weather data. Image resource
    其中,所述天气数据包括以下至少一项:空气质量、温度、相对湿度、降水量、风力风向或者光照强度。The weather data includes at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or light intensity.
  15. 如权利要求9-14任一项所述的终端,其特征在于,还包括:The terminal according to any one of claims 9 to 14, further comprising:
    用户输入装置,用于接收用于了解外部环境的用户输入。A user input device for receiving user input for understanding an external environment.
  16. 如权利要求9-15任一项所述的终端,其特征在于,A terminal according to any of claims 9-15, characterized in that
    所述3D显示器具体用于在HOME主界面显示所述外部环境数据对应的虚拟场景;或者,The 3D display is specifically configured to display a virtual scene corresponding to the external environment data on a HOME main interface; or
    所述3D显示器具体用于根据所述3D图像资源,分屏显示所述外部环境数据对应的虚拟场景和当前页面;或者,The 3D display is specifically configured to display a virtual scene corresponding to the external environment data and a current page according to the 3D image resource; or
    所述3D显示器具体用于根据所述3D图像资源,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。The 3D display is specifically configured to hover display the virtual scene corresponding to the external environment data on the current page according to the 3D image resource.
  17. 一种终端,其特征在于,包括:A terminal, comprising:
    获取单元,用于从真实场景中获取外部环境数据,所述外部环境数据包括:地理位置数据、时间数据或者天气数据中的至少一项;An acquiring unit, configured to acquire external environment data from a real scene, where the external environment data includes at least one of geographic location data, time data, or weather data;
    所述获取单元还用于根据所述外部环境数据,获取3D图像资源;The obtaining unit is further configured to acquire a 3D image resource according to the external environment data;
    显示单元,用于根据所述3D图像资源显示所述外部环境数据对应的虚拟场景。a display unit, configured to display a virtual scene corresponding to the external environment data according to the 3D image resource.
  18. 如权利要求17所述的终端,其特征在于,所述所述外部环境数据包括地理位置数据;The terminal according to claim 17, wherein said external environment data includes geographical location data;
    所述获取单元具体用于根据所述地理位置数据,获取所述地理位置数据对应的地标的3D图像资源。The acquiring unit is specifically configured to acquire, according to the geographic location data, a 3D image resource of a landmark corresponding to the geographic location data.
  19. 如权利要求18所述的终端,其特征在于,所述获取单元具体用于根据所述地理位置数据,获取和所述地理位置数据指示的地理位置距离最近的地标对应的3D图像资源;The terminal according to claim 18, wherein the acquiring unit is configured to acquire, according to the geographic location data, a 3D image resource corresponding to a landmark that is closest to a geographical location indicated by the geographic location data;
    或者,or,
    所述获取单元具体用于根据所述地理位置数据,获取所述地理位置数据对应的热度最高的地标对应的3D图像资源。The acquiring unit is configured to acquire, according to the geographic location data, a 3D image resource corresponding to a landmark with the highest heat corresponding to the geographic location data.
  20. 如权利要求17所述的终端,其特征在于,所述外部环境数据包括地理位置数据,The terminal according to claim 17, wherein said external environment data includes geographical location data.
    所述获取单元具体用于根据所述地理位置数据,获取所述地理位置数据指示的地理位置处的地理环境的3D图像资源。The acquiring unit is specifically configured to acquire, according to the geographic location data, a 3D image resource of a geographical environment at a geographic location indicated by the geographic location data.
  21. 如权利要求17-20任一项所述的终端,其特征在于,所述外部环境数据包括时间 数据,The terminal according to any one of claims 17 to 20, wherein the external environment data includes time data,
    所述获取单元具体用于根据所述时间数据,获取所述时间数据指示的时间对应的室外光线的3D图像资源。The acquiring unit is configured to acquire, according to the time data, a 3D image resource of outdoor light corresponding to the time indicated by the time data.
  22. 如权利要求17-21任一项所述的终端,其特征在于,所述外部环境数据包括天气数据,The terminal according to any one of claims 17 to 21, wherein the external environment data includes weather data.
    所述获取单元具体用于根据所述天气数据,获取所述天气数据指示的天气状况对应的3D图像资源;The acquiring unit is specifically configured to acquire, according to the weather data, a 3D image resource corresponding to a weather condition indicated by the weather data;
    其中,所述天气数据包括以下至少一项:空气质量、温度、相对湿度、降水量、风力风向或者光照强度。The weather data includes at least one of the following: air quality, temperature, relative humidity, precipitation, wind direction or light intensity.
  23. 如权利要求17-22任一项所述的终端,其特征在于,还包括:The terminal according to any one of claims 17 to 22, further comprising:
    接收单元,用于接收用于了解外部环境的用户输入。A receiving unit for receiving user input for understanding an external environment.
  24. 如权利要求17-23任一项所述的终端,其特征在于,所述显示单元具体用于在HOME主界面显示所述外部环境数据对应的虚拟场景;或者,The terminal according to any one of claims 17 to 23, wherein the display unit is specifically configured to display a virtual scene corresponding to the external environment data on a HOME main interface; or
    所述显示单元具体用于根据所述3D图像资源,分屏显示所述外部环境数据对应的虚拟场景和当前页面;或者,The display unit is specifically configured to display, according to the 3D image resource, a virtual scene and a current page corresponding to the external environment data by using a screen; or
    所述显示单元具体用于根据所述3D图像资源,在当前页面上悬浮显示所述外部环境数据对应的虚拟场景。The display unit is specifically configured to: hover the virtual scene corresponding to the external environment data on the current page according to the 3D image resource.
  25. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-8所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of claims 1-8.
  26. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-8所述的方法。 A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of claims 1-8.
PCT/CN2017/084370 2016-12-24 2017-05-15 Virtual reality display method and terminal WO2018113173A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780004235.XA CN108391445B (en) 2016-12-24 2017-05-15 Virtual reality display method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611210214.7 2016-12-24
CN201611210214 2016-12-24

Publications (1)

Publication Number Publication Date
WO2018113173A1 true WO2018113173A1 (en) 2018-06-28

Family

ID=62624285

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084370 WO2018113173A1 (en) 2016-12-24 2017-05-15 Virtual reality display method and terminal

Country Status (2)

Country Link
CN (1) CN108391445B (en)
WO (1) WO2018113173A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928626A (en) * 2019-11-21 2020-03-27 北京金山安全软件有限公司 Interface switching method and device and electronic equipment
CN112465941A (en) * 2020-12-02 2021-03-09 成都完美时空网络技术有限公司 Volume cloud processing method and device, electronic equipment and storage medium
CN115509360A (en) * 2022-10-11 2022-12-23 云宝宝大数据产业发展有限责任公司 Virtual reality VR interactive system based on metauniverse

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107665133A (en) * 2017-09-04 2018-02-06 北京小鸟看看科技有限公司 Wear the loading method of the Run-time scenario of display device and wear display device
CN109324687B (en) * 2018-08-14 2021-10-01 华为技术有限公司 Display method and virtual reality equipment
CN109035420A (en) * 2018-08-21 2018-12-18 维沃移动通信有限公司 A kind of processing method and mobile terminal of augmented reality AR image
CN110795462A (en) * 2019-10-30 2020-02-14 太华(深圳)技术有限责任公司 Self-adaptive scene type service method
CN110740263B (en) * 2019-10-31 2021-03-12 维沃移动通信有限公司 Image processing method and terminal equipment
CN111773658B (en) * 2020-07-03 2024-02-23 珠海金山数字网络科技有限公司 Game interaction method and device based on computer vision library
CN114077312A (en) * 2021-11-15 2022-02-22 浙江力石科技股份有限公司 Scenic spot virtual reality display method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224086A (en) * 2015-10-09 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105894584A (en) * 2016-04-15 2016-08-24 北京小鸟看看科技有限公司 Method and device used for interaction with real environment in three-dimensional immersion type environment
CN105912123A (en) * 2016-04-15 2016-08-31 北京小鸟看看科技有限公司 Interface layout method and device under three-dimension immersion environment
CN105910613A (en) * 2016-03-30 2016-08-31 宁波元鼎电子科技有限公司 Self-adaptive navigation method and system for walking based on virtual reality

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110279453A1 (en) * 2010-05-16 2011-11-17 Nokia Corporation Method and apparatus for rendering a location-based user interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224086A (en) * 2015-10-09 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105910613A (en) * 2016-03-30 2016-08-31 宁波元鼎电子科技有限公司 Self-adaptive navigation method and system for walking based on virtual reality
CN105894584A (en) * 2016-04-15 2016-08-24 北京小鸟看看科技有限公司 Method and device used for interaction with real environment in three-dimensional immersion type environment
CN105912123A (en) * 2016-04-15 2016-08-31 北京小鸟看看科技有限公司 Interface layout method and device under three-dimension immersion environment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928626A (en) * 2019-11-21 2020-03-27 北京金山安全软件有限公司 Interface switching method and device and electronic equipment
CN112465941A (en) * 2020-12-02 2021-03-09 成都完美时空网络技术有限公司 Volume cloud processing method and device, electronic equipment and storage medium
CN112465941B (en) * 2020-12-02 2023-04-28 成都完美时空网络技术有限公司 Volume cloud processing method and device, electronic equipment and storage medium
CN115509360A (en) * 2022-10-11 2022-12-23 云宝宝大数据产业发展有限责任公司 Virtual reality VR interactive system based on metauniverse
CN115509360B (en) * 2022-10-11 2023-10-20 云宝宝大数据产业发展有限责任公司 Virtual reality VR interactive system based on meta-universe

Also Published As

Publication number Publication date
CN108391445B (en) 2021-10-15
CN108391445A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
WO2018113173A1 (en) Virtual reality display method and terminal
US20230325052A1 (en) Global event-based avatar
RU2665291C2 (en) Audio cover displaying method and device
US10708704B2 (en) Spatial audio for three-dimensional data sets
US20220076504A1 (en) Context-based virtual object rendering
WO2018179644A1 (en) Information processing device, information processing method, and recording medium
KR101928944B1 (en) Image-based localization method for wireless terminal and apparatus therefor
US20150029206A1 (en) Method and electronic device for displaying wallpaper, and computer readable recording medium
KR20140098653A (en) Apparatus and method for compass intelligent lighting for user interfaces
CN106162204A (en) Panoramic video generation, player method, Apparatus and system
CN105224086B (en) A kind of information processing method and electronic equipment
JP2013149029A (en) Information processor, information processing method
US10964112B2 (en) Candidate geometry displays for augmented reality
US20230400323A1 (en) Navigation interface display method and apparatus, terminal, and storage medium
CN104981850A (en) Method for the representation of geographically located virtual environments and mobile device
JP2016200884A (en) Sightseeing customer invitation system, sightseeing customer invitation method, database for sightseeing customer invitation, information processor, communication terminal device and control method and control program therefor
US11461976B2 (en) Visualization transitions for augmented reality
US20200211295A1 (en) Methods and devices for transitioning among realities mediated by augmented and/or virtual reality devices
US11137976B1 (en) Immersive audio tours
US20230409265A1 (en) Program, mobile terminal control method, mobile terminal, and information processing device
US11568579B2 (en) Augmented reality content generation with update suspension
WO2023202404A1 (en) Augmented reality display method, apparatus, device, and storage medium
CN116249074A (en) Information display method of intelligent wearable device, intelligent wearable device and medium
US20150070286A1 (en) Method, electronic device, and computer program product

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: 17884434

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: 17884434

Country of ref document: EP

Kind code of ref document: A1