Server, virtual reality conversion system and virtual reality conversion method
Through the virtual reality conversion system, the server is used to obtain and convert information in the user's area to form a virtual reality environment, solving the problem of insufficient correlation between virtual reality and the real world in the existing technology, and achieving more intuitive information acquisition.
Patent Information
- Application Number
- CN202411315348.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-02-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art cannot accurately correspond to the real world one by one in virtual reality, lacks relevance, and cannot intuitively provide functional services related to daily life.
Through a virtual reality conversion system, the first server obtains the range information and location information of the user's area, and combines these data to obtain geographic information data and supplementary object data, and converts it into a single-precision floating-point number recognized by the 3D engine. Coordinate system to form a virtual reality environment.
It makes real-world objects appear in the form of 3D information, increasing the relevance between the virtual reality environment and reality, and allowing users to obtain information more intuitively.
Smart Images

Figure CN119418013A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of virtual reality, and in particular to a server, a virtual reality conversion system and a virtual reality conversion method. Background Art
[0002] Traditional 3D virtual reality applications use some concepts similar to the real world to build virtual scenes that do not exist in reality. These virtual scenes cannot accurately correspond to the real world one-to-one and lack relevance, so they cannot provide functional services closely related to daily life. At present, platforms based on positioning and maps provide users with services based on real life, but the expression form is only at the level of pictures and texts, and cannot be presented to users intuitively from a 3D perspective; at the same time, text social platforms provide users with convenient information communication channels, and realize service interfaces facing the real world through functions such as positioning applets, but their expression form is also based on 2D forms of graphic and text multimedia. After the things in the real world are fed back to the platform, they are flattened and digitized into some information, which is not intuitive enough for users to obtain information. Summary of the invention
[0003] The main technical problem solved by the present invention is to provide a server, a virtual reality system and a virtual reality conversion method, so that objects in the real world can be displayed in the form of 3D information, increase the relevance to reality, and enable users to obtain information more intuitively.
[0004] In order to solve the above technical problems, a technical solution adopted by the present invention is:
[0005] A virtual reality conversion system is provided, comprising:
[0006] The first server is used to obtain the current server map and obtain the range information and location information of the area where the user is located, and convert the range information and location information of the area into the first data and the second data;
[0007] A second server is connected to the first server, and the first server obtains geographic information data of the area through the second server in combination with the first data, and converts the terrain and geographic information data into third data;
[0008] The first server obtains supplementary object data of the area in combination with the second data and converts the supplementary object data into fourth data, so as to form a virtual reality environment through the third data and the fourth data.
[0009] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0010] A virtual reality conversion method, comprising:
[0011] Acquire the current server map through the first server and obtain the range information and location information of the area where the user is located, and convert the range information and location information of the area into first data and second data;
[0012] Acquire geographic information data of the area by combining the first data with the second server, and convert the first data and the geographic information data into third data;
[0013] Acquire, by the first server and in combination with the second data, supplementary object data of the area and convert the second data and the supplementary object data into fourth data; and
[0014] A virtual reality environment is formed by the third data and the fourth data.
[0015] In order to solve the above technical problems, another technical solution adopted by the present invention is:
[0016] A server is provided, comprising:
[0017] A first acquisition unit, used to acquire range information and location information of the area where the user is located;
[0018] A first conversion unit, connected to the first acquisition unit, configured to convert the range information and location information of the area where the user is located into longitude and latitude coordinate data through longitude and latitude coordinates;
[0019] A second conversion unit, connected to the first acquisition unit, is used to convert the range information and the position information of the area into Mercator coordinate data through Mercator coordinates;
[0020] A second acquisition unit, connected to the first conversion unit, for receiving the latitude and longitude coordinate data and acquiring geographic information data;
[0021] a third acquisition unit, connected to the second conversion unit, for receiving the Mercator coordinate data and acquiring supplementary object data;
[0022] a third conversion unit, connected to the second acquisition unit and the third acquisition unit, for converting the latitude and longitude coordinate data, geographic information data, Mercator coordinate data, and supplementary object data into positioning data and corresponding object information represented by the single-precision floating-point coordinate system recognized by the 3D engine through the single-precision floating-point coordinate system recognized by the 3D engine; and
[0023] A rendering unit is connected to the third acquisition unit and is used to render the positioning data and the corresponding object information through a 3D engine to form a virtual reality environment.
[0024] The beneficial effects of the present invention are as follows: different from the prior art, the present invention obtains the current server map through the first server and obtains the range information and location information of the user's area, and converts them into first data and second data; the first server obtains the geographic information data of the area through the second server in combination with the first data and converts the geographic information data of the area into third data; the first server obtains the supplementary object data of the area in combination with the second data and converts the supplementary object data into fourth data, and then forms a virtual reality environment through the third data and the fourth data, so that objects in the real world are displayed in the form of 3D information. The data conversion increases the relevance of the virtual reality environment to reality, allowing users to obtain information more intuitively. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a structural schematic diagram of a first embodiment of a virtual reality conversion system of the present invention;
[0026] Figure 2 It is a structural diagram of a second embodiment of a virtual reality conversion system of the present invention;
[0027] Figure 3 is a structural diagram of a third embodiment of a virtual reality conversion system of the present invention;
[0028] Figure 4 It is a schematic flow chart of the virtual reality conversion method of the present invention;
[0029] Figure 5 It is a structural schematic diagram of the server of the present invention. DETAILED DESCRIPTION
[0030] The present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0031] See also Figure 1 , a schematic diagram of the structure of a first embodiment of a virtual reality conversion system of the present invention. The virtual reality conversion system comprises:
[0032] The first server 10 is used to obtain the current server map and obtain the range information and location information of the area where the user is located, and convert the range information and location information of the area into first data and second data;
[0033] A second server 20 is connected to the first server 10, and the first server 10 obtains geographic information data of the area through the second server 20 in combination with the first data, and converts the geographic information data into third data;
[0034] The first server 10 obtains the supplementary object data of the area in combination with the second data and converts the supplementary object data into fourth data, so as to form a virtual reality environment through the third data and the fourth data.
[0035] Combination Figure 2 The first server 10 includes: a first acquisition unit 11, used to obtain the range information and location information of the area where the user is located; a first conversion unit 12, connected to the first acquisition unit 11, used to convert the range information and location information of the area into the first data through longitude and latitude coordinates, and the first data is longitude and latitude coordinate data; a second conversion unit 13, connected to the first acquisition unit 11, used to convert the range information and location information of the area into the second data through Mercator coordinates, and the second data is Mercator coordinate data.
[0036] The first server 10 also includes: a second acquisition unit 14, connected to the first conversion unit 12, used to receive the first data from the first conversion unit 12 and acquire geographic information data from the second server 20 and combine the first data with the geographic information data; a third acquisition unit 15, connected to the second conversion unit 13, used to receive the second data from the second conversion unit 13 and acquire supplementary object data and combine the second data with the supplementary object data; a third conversion unit 16, connected to the second acquisition unit 14 and the third acquisition unit 15, used to convert the first data and the geographic information data into the third data through the single-precision floating-point coordinate system recognized by the 3D engine based on NPL, and convert the second data and the supplementary object data into the fourth data, the third data and the fourth data being positioning data and corresponding information represented by the single-precision floating-point coordinate system recognized by the 3D engine based on NPL.
[0037] Combination Figure 3 The first server 10 also includes a rendering unit 17, and the rendering unit 17 is used to render the third and fourth data through a 3D engine based on the NPL framework to form a virtual reality environment.
[0038] Among them, the reference point of the Mercator coordinate system is the intersection of the equator and the prime meridian, the reference point of the coordinate system of the server map is the origin in the upper left corner of the map, which is represented in the real world as an accurate point corresponding to the Mercator projection coordinate system, and the origin of the server map in the first server 10 is associated with the origin in the 3D engine.
[0039] Therefore, the present invention associates the origin of the server map of the first server 10 with the origin in the 3D engine, which can be represented as an accurate point corresponding to the Mercator projection coordinate system in the real world, thereby indirectly associating the 3D engine coordinate system with the Mercator coordinate system, thereby establishing a connection between the virtual world and the real world.
[0040] The first server 10 of the present invention obtains the current server map and obtains the range information and location information of the area where the user is located. The first server 10 includes a first acquisition unit 11, a first conversion unit 12, a second conversion unit 13, a second acquisition unit 14, a third acquisition unit 15 and a third conversion unit 16. The first server 10 obtains the range information and location information of the area where the user is located through the first acquisition unit 11. The first conversion unit 12 converts the range information and location information of the area into the longitude and latitude coordinate data through longitude and latitude coordinates, and converts the range information and location information of the area into the Mercator coordinate data through the second conversion unit 13. The second acquisition unit 14 receives the longitude and latitude coordinate data from the first conversion unit 12 and obtains the longitude and latitude coordinate data from the second server 20. The geographic information data and combines the latitude and longitude coordinate data with the geographic information data, the third conversion unit 16 converts the latitude and longitude coordinate data and the geographic information data into positioning data represented by the coordinate system through a single-precision floating-point coordinate system recognized by a 3D engine based on an NPL framework; the third acquisition unit 15 receives the Mercator coordinate data and obtains the supplementary object data from the second conversion unit 13 and combines the Mercator coordinate data with the supplementary object data, the third conversion unit 16 converts the Mercator coordinate data and the supplementary object data into corresponding object information represented by the coordinate system through a single-precision floating-point coordinate system recognized by a 3D engine based on an NPL framework, and the first server 10 also includes a rendering unit 17, which renders the positioning data and the corresponding object information to form a virtual reality environment.
[0041] The virtual reality environment formed is a 3D world that is exactly the same as the real world. The virtual reality environment is connected to the real world through three sets of coordinate systems (Mercator projection coordinate system, server map coordinate system, and 3D engine coordinate system based on NPL framework), so that the positions of all objects in the virtual reality environment correspond to reality one by one, and they all exist in the real world. Users can seamlessly travel around the entire earth through the virtual reality environment system of the present invention. The flexible conversion of the three sets of coordinate systems prevents the system from switching scenes caused by position deviations. The three sets of coordinate systems are independent of each other, and the switching of the server map will not cause the transformation of the 3D engine coordinate system; at the same time, the three sets of coordinate systems are interrelated, and the position of an object has a unique and determined point in the data corresponding to the three sets of coordinate systems, and finally the objects in the real world are displayed in the form of 3D information, which increases the correlation between the virtual reality environment and the real world and enables users to obtain information more intuitively.
[0042] In this embodiment, the current server map and the supplementary object data are pre-set by the user in the first server 10, wherein the supplementary object data is authentic and can be collaboratively edited, and all information, including the location data of the object, will be jointly supervised by all users to ensure the authenticity of the data; the second server 20 is a Geographic Information System (GIS) server, and the first server 10 obtains the geographic information data of the area where the user is located through the GIS server. The data provided by the GIS geographic information system has the characteristics of authenticity and accuracy, and the GIS geographic information is divided into terrain data and GIS object data. The terrain is represented by a control point every 30 meters, and each control point corresponds to a unique coordinate point and a height value information on the earth. The coordinate point is represented by the Mercator projection coordinate system, and the height value is recorded in meters. GIS objects such as streets, rivers, trees, bridges, culverts, etc. correspond to different data bodies, each of which has a series of coordinate information and point, line and surface descriptions. These data bodies also correspond to unique coordinate points on the earth. Each GIS object represented by the Mercator projection coordinates is the only individual existing on the entire earth. The true performance of GIS geographic information brings users a complete visual experience, allowing users to truly feel that they have entered the earth in our daily lives, where there are familiar landforms, mountains, and rivers.
[0043] See also Figure 4 , is a flow chart of the virtual reality conversion method of the present invention. The method comprises:
[0044] Step S1: Acquire the current server map through the first server 10 and obtain the range information and location information of the area where the user is located, and convert the range information and location information of the area into first data and second data.
[0045] Specifically, the range information and location information of the area where the user is located are obtained through the first obtaining unit 11 of the first server 10;
[0046] The first conversion unit 12 in the first server 10 converts the range information and the location information of the area into the first data through the longitude and latitude coordinates, where the first data is the longitude and latitude coordinate data;
[0047] The second conversion unit 13 in the first server 10 converts the range information and the location information of the area into the second data through Mercator coordinates, where the second data is Mercator coordinate data;
[0048] The reference point of the Mercator coordinate system is the intersection of the equator and the prime meridian, and the reference point of the coordinate system of the server map is the origin in the upper left corner of the map, which is represented in the real world as an accurate point corresponding to the Mercator projection coordinate system.
[0049] Step S2: Acquire geographic information data of the area by combining the first data with the first server 10 and the second server 20, and convert the first data and the geographic information data into third data.
[0050] Specifically, the second acquisition unit 14 in the first server 10 receives the first data from the first conversion unit 12 and the geographic information data is acquired through the second server 20; the third conversion unit 16 in the first server 10 converts the first data and the geographic information data into the third data through a single-precision floating-point coordinate system recognized by a 3D engine based on an NPL framework;
[0051] The third data is positioning data represented by a single-precision floating-point coordinate system recognized by a 3D engine based on the NPL framework.
[0052] Step S3: Acquire the supplementary object data of the area by combining the second data through the first server 10 and convert the second data and the supplementary object data into fourth data.
[0053] Specifically, the third acquisition unit 15 in the first server 10 receives the second data from the second conversion unit 13 and acquires the supplementary object data; the third conversion unit 16 in the first server 10 converts the second data and the supplementary object data into the fourth data through the single-precision floating-point coordinate system recognized by the 3D engine based on the NPL framework, and the fourth data is the corresponding object information represented by the single-precision floating-point coordinate system recognized by the 3D engine based on the NPL framework;
[0054] The origin of the server map 10 in the first server is associated with the origin in the NPL framework-based 3D engine.
[0055] Therefore, the present invention associates the origin of the server map of the first server 10 with the origin in the 3D engine, which can be represented as an accurate point corresponding to the Mercator projection coordinate system in the real world, thereby indirectly associating the 3D engine coordinate system with the Mercator coordinate system, thereby establishing a connection between the virtual world and the real world.
[0056] Step S4: forming a virtual reality environment through the third data and the fourth data.
[0057] Specifically, the rendering unit 17 in the first server 10 renders the third and fourth data through a 3D engine based on the NPL framework to form a virtual reality environment.
[0058] The virtual reality conversion system of the present invention is in a 3D engine coordinate system based on the NPL framework, so that no matter where the user goes in the virtual reality environment, he / she is in the real world, and everything he / she sees is real and corresponds one-to-one with the real world, achieving the same authenticity as the real world, and providing users with advance perception services that traditional information interaction systems cannot achieve. Users do not need to go to certain places, but can first understand the appearance of the place through the virtual reality conversion system of the present invention, and use the remote services provided by the system, and the cost will become very low.
[0059] See also Figure 5 , is a schematic diagram of the structure of the server of the present invention. The server is the first server 10 mentioned above, including:
[0060] The first acquisition unit 11 is used to acquire the range information and location information of the area where the user is located;
[0061] A first conversion unit 12, connected to the first acquisition unit 11, is used to convert the range information and location information of the user's area into longitude and latitude coordinate data through longitude and latitude coordinates;
[0062] A second conversion unit 13, connected to the first acquisition unit 11, is used to convert the range information and the position information of the area into Mercator coordinate data through Mercator coordinates;
[0063] A second acquisition unit 14, connected to the first conversion unit 12, for receiving the latitude and longitude coordinate data and acquiring geographic information data;
[0064] A third acquisition unit 15, connected to the second conversion unit 13, for receiving the Mercator coordinate data and acquiring supplementary object data;
[0065] A third conversion unit 16, connected to the second acquisition unit 14 and the third acquisition unit 15, is used to convert the latitude and longitude coordinate data, geographic information data, Mercator coordinate data and supplementary object data into positioning data and corresponding object information represented by a single-precision floating-point coordinate system recognized by the NPL framework 3D engine through a single-precision floating-point coordinate system recognized by the NPL framework 3D engine; and
[0066] The rendering unit 17 is connected to the third conversion unit 16, and is used to render the positioning data and the corresponding object information through a 3D engine based on the NPL framework to form a virtual reality environment.
[0067] The present invention obtains the current server map and the range information and location information of the area where the user is located through the first acquisition unit in the first server, and converts the range information and location information of the area into longitude and latitude coordinate data through the first conversion unit, and converts it into Mercator coordinate data through the second conversion unit; the second acquisition unit in the first server obtains the geographic information data of the area through the second server in combination with the longitude and latitude coordinate data, and converts the geographic information data into positioning data through a single-precision floating-point coordinate system recognized by a 3D engine based on the NPL framework; the third acquisition unit in the first server obtains the object data of the area in combination with the longitude and latitude coordinate data and converts the supplementary object data into corresponding object information through a single-precision floating-point coordinate system recognized by a 3D engine based on the NPL framework; the third conversion unit in the first server forms a virtual reality environment through the positioning data and the corresponding object information, so that objects in the real world are displayed in the form of 3D information, increasing the relevance to reality and enabling users to obtain information more intuitively.
[0068] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A virtual reality conversion system, characterized in that: include: The first server is used to obtain the current server map and obtain the range information and location information of the area where the user is located, and convert the range information and location information of the area into the first data and the second data; A second server is connected to the first server, and the first server obtains geographic information data of the area through the second server in combination with the first data, and converts the geographic information data into third data; The first server obtains supplementary object data of the area in combination with the second data and converts the supplementary object data into fourth data, so as to form a virtual reality environment through the third data and the fourth data.
2. The virtual reality conversion system according to claim 1, characterized in that: The first server comprises: A first acquisition unit, used to acquire range information and location information of the area where the user is located; A first conversion unit, connected to the first acquisition unit, is used to convert the range information and location information of the area into the first data through longitude and latitude coordinates, where the first data is longitude and latitude coordinate data; The second conversion unit is connected to the first acquisition unit, and is used to convert the range information and the position information of the area into the second data through Mercator coordinates, where the second data is Mercator coordinate data.
3. The virtual reality conversion system according to claim 2, characterized in that: The first server also includes: a second acquisition unit, connected to the first conversion unit, configured to receive the first data from the first conversion unit and to acquire geographic information data from the second server and combine the first data with the geographic information data; a third acquisition unit, connected to the second conversion unit, for receiving the second data from the second conversion unit and acquiring the supplementary object data and combining the second data with the supplementary object data; A third conversion unit is connected to the second acquisition unit and the third acquisition unit, and is used to convert the first data and the geographic information data into the third data through the single-precision floating-point coordinate system recognized by the 3D engine, and to convert the second data and the supplementary object data into the fourth data, wherein the third data and the fourth data are positioning data and corresponding object information represented by the single-precision floating-point coordinate system recognized by the 3D engine.
4. The virtual reality conversion system according to claim 1, characterized in that: The first server also includes a rendering unit, which is used to render the third and fourth data through a 3D engine to form a virtual reality environment.
5. The positioning system according to claims 2 and 3, characterized in that: The reference point of the Mercator coordinate system is the intersection of the equator and the prime meridian, and the reference point of the coordinate system of the server map is the origin in the upper left corner of the map, which is represented in the real world as an accurate point corresponding to the Mercator projection coordinate system. The origin of the server map in the first server is associated with the origin in the 3D engine.
6. A virtual reality conversion method, characterized in that: include: Acquire the current server map through the first server and obtain the range information and location information of the area where the user is located, and convert the range information and location information of the area into first data and second data; Acquire geographic information data of the area by combining the first data with the second server, and convert the first data and the geographic information data into third data; Acquire, by the first server and in combination with the second data, supplementary object data of the area and convert the second data and the supplementary object data into fourth data; and A virtual reality environment is formed by the third data and the fourth data.
7. The virtual reality conversion method according to claim 6, characterized in that: The method of acquiring the current server map through the first server and obtaining the range information and location information of the area where the user is located, and converting the range information and location information of the area into the first data and the second data includes: Acquire range information and location information of the area where the user is located through a first acquisition unit of the first server; The first conversion unit in the first server converts the range information and the location information of the area into the first data through longitude and latitude coordinates, where the first data is longitude and latitude coordinate data; The second conversion unit in the first server converts the range information and the location information of the area into the second data through Mercator coordinates, where the second data is Mercator coordinate data; The reference point of the Mercator coordinate system is the intersection of the equator and the prime meridian, and the reference point of the coordinate system of the server map is the origin in the upper left corner of the map, which is represented in the real world as an accurate point corresponding to the Mercator projection coordinate system.
8. The virtual reality conversion method according to claim 6, characterized in that: The acquiring geographic information data of the area by combining the first data with the second server, and converting the first data and the geographic information data into third data, comprises: The second acquisition unit in the first server receives the first data from the first conversion unit and acquires the geographic information data through the second server; the third conversion unit in the first server converts the first data and the geographic information data into the third data through the single-precision floating-point coordinate system recognized by the 3D engine; The acquiring the supplementary object data of the area in combination with the second data and converting the second data and the supplementary object data into fourth data comprises: Receiving second data from the second conversion unit and acquiring the supplementary object data by a third acquisition unit in the first server; The third conversion unit in the first server converts the second data and the supplementary object data into the fourth data through the single-precision floating-point coordinate system recognized by the 3D engine; The third data and the fourth data are positioning data and corresponding object information represented by a single-precision floating-point coordinate system recognized by the 3D engine; The origin of the server map in the first server is associated with the origin in the 3D engine.
9. The virtual reality conversion method according to claim 6, characterized in that: The method of forming a virtual reality environment by using the third data and the fourth data includes: The third and fourth data are rendered by a rendering unit in the first server through a 3D engine to form a virtual reality environment.
10. A server, characterized in that: include: A first acquisition unit, used to acquire range information and location information of the area where the user is located; A first conversion unit, connected to the first acquisition unit, configured to convert the range information and location information of the area where the user is located into longitude and latitude coordinate data through longitude and latitude coordinates; A second conversion unit, connected to the first acquisition unit, is used to convert the range information and the position information of the area into Mercator coordinate data through Mercator coordinates; A second acquisition unit, connected to the first conversion unit, for receiving the latitude and longitude coordinate data and acquiring geographic information data; a third acquisition unit, connected to the second conversion unit, for receiving the Mercator coordinate data and acquiring supplementary object data; a third conversion unit, connected to the second acquisition unit and the third acquisition unit, for converting the latitude and longitude coordinate data, geographic information data, Mercator coordinate data, and supplementary object data into positioning data and corresponding object information represented by the single-precision floating-point coordinate system recognized by the 3D engine through the single-precision floating-point coordinate system recognized by the 3D engine; and A rendering unit is connected to the third acquisition unit and is used to render the positioning data and the corresponding object information through a 3D engine to form a virtual reality environment.