Method for interactively displaying 3D guide map through WeChat XR applet and wearable device
By printing recognition images and QR codes on wearable devices, combined with WeChat XR mini program, the display and interaction of virtual AR maps are realized, solving the problem that paper guide maps are not intuitive and cannot be interacted with, and providing intuitive and capable Interactive three-dimensional guided tour experience.
Patent Information
- Application Number
- CN202410987296.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-19
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The use of paper guide maps in scenic spots or park guides has problems such as being unintuitive and ininteractive, and cannot provide a good gaming experience.
By designing and printing recognition images and QR code images on wearable devices, combined with WeChat XR mini program, the images are recognized using the mobile phone camera, and the pre-made 3D navigation map is downloaded and displayed to realize the display and interaction of virtual AR maps.
Users can view and navigate the three-dimensional spatial map of scenic spots or parks anytime, anywhere by wearing wearable devices, providing an intuitive and interactive guided tour experience, beyond the limitations of traditional paper maps.
Smart Images

Figure CN118982637A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of 3D interactive display technology, and in particular to a method for interactively displaying a 3D navigation map between a WeChat XR applet and a wearable device. Background Art
[0002] WeChat Mini Program xr-frame is an XR / 3D application solution officially provided by the Mini Program. It is based on the mixed reality solution, has near-native performance, good effects, is easy to use, and complies with the Mini Program development standards. One of the functions of xr-frame is that it allows developers to specify one or more recognition images through static declarations. After the Mini Program is running, when the camera recognizes the specified recognition image, the model resources corresponding to the pre-specified recognition image can be superimposed on the recognition image and the model can be seen on the screen.
[0003] At present, paper guide maps are used for guided tours in scenic spots and parks. Compared with flat guide maps, 3D guide maps displayed using WeChat XR technology are better. The QR code and map LOGO patterns used to activate WeChat XR applets are printed on wearable devices such as bracelets, rings, and watches, which can provide users with a better travel experience. Summary of the invention
[0004] In view of the deficiencies of the prior art, the present invention provides a method for interactively displaying a 3D navigation map between a WeChat XR applet and a wearable device;
[0005] A method for interactively displaying a 3D navigation map by a WeChat XR applet and a wearable device, comprising the following steps:
[0006] Step 1: Design and produce an identification map of the scenic spot or park in jpg or png format;
[0007] Step 2: Download the QR code image of the WeChat XR applet from the WeChat applet development platform. The image format is jpg;
[0008] The WeChat XR applet is a pre-made WeChat applet, including:
[0009] Resource download module: responsible for downloading the resources required by the mini program, including model data and audio data, to local storage;
[0010] Longitude and latitude acquisition module: obtain the latitude and longitude data of the current mobile phone;
[0011] Location mapping module: maps the current location of the mobile phone to the corresponding location in the virtual AR map according to the latitude and longitude data of the mobile phone;
[0012] Model display module: displays the virtual AR map on the mobile phone screen;
[0013] Interaction module: By clicking on the virtual AR map on the mobile phone screen, the user can interact with the map, display the specific information of the clicked location, and play the audio commentary of the location.
[0014] Audio playback module: plays background music and audio commentary;
[0015] Step 3: Print the identification image and QR code image on the wearable device;
[0016] Step 4: Use your mobile phone to scan the mini program QR code and run the WeChat XR mini program;
[0017] Step 5: After the XR applet runs successfully, the mobile phone camera will be automatically opened. Use the camera to point at the identification image on the wearable device, and the corresponding 3D navigation map of the scenic spot or park will be displayed on the screen, and virtual AR map positioning will be realized;
[0018] The 3D navigation map data format is glb, which is a pre-made map of the corresponding scenic spot or park, stored in the server. After the XR applet recognizes the identification map, it is downloaded from the server to the mobile phone and displayed.
[0019] The virtual AR map positioning includes the following steps:
[0020] Step S1: When developing a WeChat applet, the longitude and latitude data of two landmark buildings in a real scenic spot or park are saved in advance, represented by points A and B respectively, and the length of AB is calculated and saved in advance;
[0021] Step S2: Obtain the latitude and longitude data of the current geographical location through the mobile phone GPS signal, represented by point C;
[0022] Step S3: Calculate the lengths of AC and BC by trigonometric method;
[0023] Step S4: Substitute the lengths of AC, BC, and AB into the pre-made AR virtual map. Since the positions of point A and point B in the virtual map are known, the position of point C in the virtual map can be calculated.
[0024] Step S5: displaying a model representing the tourist at the location of point C in the virtual map;
[0025] Step 6: When the identification image on the wearable device leaves the camera shooting range, the 3D guide map on the mobile phone screen will be hidden.
[0026] The beneficial effects of adopting the above technical solution are:
[0027] The present invention provides a method for interactively displaying a 3D guide map between a WeChat XR applet and a wearable device. By wearing the wearable device and cooperating with the WeChat XR applet, a user can call up a three-dimensional spatial map of a park or scenic spot for viewing anytime and anywhere, and can interact with it for navigation. The method is more intuitive and interactive than traditional paper maps. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a diagram of the mini-program function modules in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0030] A method for interactively displaying a 3D navigation map by a WeChat XR applet and a wearable device, comprising the following steps:
[0031] Step 1: Design and produce an identification map of the scenic spot or park in jpg or png format;
[0032] Step 2: Download the QR code image of the WeChat XR applet from the WeChat applet development platform. The image format is jpg;
[0033] The WeChat XR applet is a pre-made WeChat applet, such as Figure 1 As shown, including:
[0034] Resource download module: responsible for downloading the resources required by the mini program, including model data and audio data, to local storage;
[0035] Longitude and latitude acquisition module: obtain the latitude and longitude data of the current mobile phone;
[0036] Location mapping module: maps the current location of the mobile phone to the corresponding location in the virtual AR map according to the latitude and longitude data of the mobile phone;
[0037] Model display module: displays the virtual AR map on the mobile phone screen;
[0038] Interaction module: By clicking on the virtual AR map on the mobile phone screen, the user can interact with the map, display the specific information of the clicked location, and play the audio commentary of the location.
[0039] Audio playback module: plays background music and audio commentary;
[0040] Step 3: Print the identification image and QR code image on the wearable device;
[0041] The identification image is printed on a wearable device, such as a wristband or finger ring, in a prominent position directly above it. The QR code image of the WeChat XR applet is printed on other positions of the wearable device, such as a wristband or finger ring.
[0042] Step 4: Use the WeChat Scan function on your phone to scan the mini program QR code and run the WeChat XR mini program;
[0043] Step 5: After the XR applet runs successfully, the mobile phone camera will be automatically opened. Use the camera to point at the identification image on the wearable device, such as the identification image in a prominent position on a bracelet or finger ring. The corresponding 3D navigation map of the scenic spot or park will be displayed on the screen, and virtual AR map positioning will be realized;
[0044] The 3D navigation map data format is glb, which is a pre-made map of the corresponding scenic spot or park, stored in the server. After the XR applet recognizes the identification map, it is downloaded from the server to the mobile phone and displayed.
[0045] The virtual AR map positioning includes the following steps:
[0046] Step S1: When developing a WeChat applet, the longitude and latitude data of two landmark buildings in a real scenic spot or park are saved in advance, represented by points A and B respectively, and the length of AB is calculated and saved in advance;
[0047] Step S2: Obtain the latitude and longitude data of the current geographical location through the mobile phone GPS signal, represented by point C;
[0048] Step S3: Calculate the lengths of AC and BC by trigonometric method;
[0049] Step S4: Substitute the lengths of AC, BC, and AB into the pre-made AR virtual map. Since the positions of point A and point B in the virtual map are known, the position of point C in the virtual map can be calculated.
[0050] Step S5: displaying a model representing the tourist at the location of point C in the virtual map;
[0051] Step 6: When the identification image on the wearable device, such as a bracelet or finger ring, leaves the camera shooting range, the 3D guide image on the phone screen will be hidden.
[0052] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.
Claims
1. A method for interactively displaying a 3D navigation map between a WeChat XR applet and a wearable device, characterized in that: The following steps are involved: Step 1: Design and produce an identification map of the scenic spot or park in jpg or png format; Step 2: Download the QR code image of the WeChat XR applet from the WeChat applet development platform. The image format is jpg; Step 3: Print the identification image and QR code image on the wearable device; Step 4: Use your mobile phone to scan the mini program QR code and run the WeChat XR mini program; Step 5: After the XR applet runs successfully, the mobile phone camera will be automatically opened. Use the camera to point at the identification image on the wearable device, and the corresponding 3D navigation map of the scenic spot or park will be displayed on the screen, and virtual AR map positioning will be realized; Step 6: When the identification image on the wearable device leaves the camera shooting range, the 3D guide map on the mobile phone screen will be hidden.
2. According to claim 1, a method for interactively displaying a 3D navigation map by a WeChat XR applet and a wearable device is characterized in that: The WeChat XR applet described in step 2 is a pre-made WeChat applet, including: Resource download module: responsible for downloading the resources required by the mini program, including model data and audio data, to local storage; Longitude and latitude acquisition module: obtain the latitude and longitude data of the current mobile phone; Location mapping module: maps the current location of the mobile phone to the corresponding location in the virtual AR map according to the latitude and longitude data of the mobile phone; Model display module: displays the virtual AR map on the mobile phone screen; Interaction module: By clicking on the virtual AR map on the mobile phone screen, the user can interact with the map, display the specific information of the clicked location, and play the audio commentary of the location. Audio playback module: plays background music and audio commentary.
3. According to claim 1, a method for interactively displaying a 3D navigation map by a WeChat XR applet and a wearable device is characterized in that: The 3D navigation map data format described in step 5 is glb, which is a pre-made map of the corresponding scenic spot or park, stored in the server. After the XR applet recognizes the identification map, it is downloaded from the server to the mobile phone and displayed.
4. According to claim 1, a method for interactively displaying a 3D navigation map by a WeChat XR applet and a wearable device is characterized in that: The virtual AR map positioning in step 5 includes the following steps: Step S1: When developing a WeChat applet, the longitude and latitude data of two landmark buildings in a real scenic spot or park are saved in advance, represented by points A and B respectively, and the length of AB is calculated and saved in advance; Step S2: Obtain the latitude and longitude data of the current geographical location through the mobile phone GPS signal, represented by point C; Step S3: Calculate the lengths of AC and BC by trigonometric method; Step S4: Substitute the lengths of AC, BC, and AB into the pre-made AR virtual map. Since the positions of point A and point B in the virtual map are known, the position of point C in the virtual map can be calculated; Step S5: Display a model representing the tourist at the location of point C in the virtual map.
