A method for navigation in a ship simulation environment map

By defining the transmission points and maps in the ship simulation environment, and using camera objects to track the user's location in real time, the problem of users' difficulty in navigation in the ship simulation environment is solved, and the effect of rapid positioning and navigation is achieved.

CN116558496BActive Publication Date: 2025-09-02CHINA SHIP DEV & DESIGN CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210110174.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-29
Publication Date
2025-09-02
Estimated Expiration
2042-01-29

AI Technical Summary

Technical Problem

In a ship simulation environment, it is difficult for users to determine their location and surrounding layout status, resulting in difficulty in navigation.

Method used

Define the transmission point and ship map in the ship simulation environment, track the user's location in real time through camera object identification, and display the user's movement trajectory on the map to achieve fast navigation.

Benefits of technology

By tracking user location and motion trajectory in real time on the map, users can quickly grasp the equipment status and navigate to the target location in a complex ship environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116558496B_ABST
    Figure CN116558496B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for navigation in a ship simulation environment map, which includes the following steps: 1) creating a ship simulation model, and defining a transmission point in the ship simulation model according to the deck layer in the cabin or position where the user's field of view needs to be transmitted; 2) drawing a map UI according to the deck layer, and defining a camera object identifier; 3) defining a click event for the deck layer UI and the cabin name UI; 4) setting a monitor for the camera object, obtaining the coordinate value of the camera object in the virtual reality engine, and when the camera object moves in the simulation environment, the camera object identifier can track its position or cabin and deck layer in real time on the map. By defining the transmission point and the ship map in the simulation environment, the present invention can quickly transmit the user's field of view to the target location, and track the user's position and movement trajectory in real time on the map, helping the user to quickly grasp the equipment status in a complex ship environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to map navigation technology, and in particular to a ship simulation environment map navigation method. Background Art

[0002] Modern large ships contain tens of thousands of equipment and components, thousands of cabins, and extremely complex layouts. In the past, users were usually familiar with the status of equipment through on-site training. However, the design and construction cycles of large ships are long, making user training difficult to carry out in advance. The use of digital prototypes can effectively break the constraints of objective conditions such as time and space, and help users understand the status of equipment through visual means such as roaming. However, the product status is still complex, and it is difficult for users to determine their own location and the layout status of the cabins around them in the simulation environment. This paper proposes a ship simulation environment map navigation method, which defines the teleportation point and ship map in the simulation environment, teleports the user's field of view to the target location, and tracks the user's position and movement trajectory in real time on the map, which can help users quickly navigate to the target location in a complex simulation environment. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to provide a ship simulation environment map navigation method in view of the defects in the prior art.

[0004] The technical solution adopted by the present invention to solve the technical problem is: a ship simulation environment map navigation method, comprising the following steps:

[0005] 1) Create a ship simulation model, define the transmission points in the ship simulation model at the cabin or location where the user's field of view needs to be transmitted according to the deck layer, and determine the three-dimensional coordinates and number of the transmission points;

[0006] 2) Draw a map UI by deck layer, the map UI including the following information: bulkheads, all cabins and cabin numbers on each deck layer, and hatches; mount the drawn map UI to the corresponding deck layer UI node; create all cabin name controls in that layer under the UI node, the cabin name controls corresponding to the transfer point numbers defined in step 1) and placed under the corresponding deck layer UI node for each deck layer;

[0007] Define the camera object identifier. The two-dimensional camera object identifier is used to represent the camera object in the virtual reality engine in the map;

[0008] The camera object identifier is a picture representing a three-dimensional space camera object defined on a two-dimensional ship map;

[0009] 3) Define visibility controls for the deck UI. A deck UI contains all cabin name controls for that deck. Define click events for the deck UI and cabin name UI. When a cabin name control is clicked on a deck, the map UI for that deck is automatically displayed, while the map UIs for other decks are hidden. The coordinates of the cabin teleportation point are retrieved and assigned to the camera object, allowing the user to teleport to the target location in the simulation environment.

[0010] 4) Set up monitoring for the camera object and obtain the coordinates of the camera object in the virtual reality engine. When the camera object moves in the simulation environment, the camera object identifier can track its position or cabin in real time on the map;

[0011] Set the vertical constraint range for the camera object according to the deck layer, and monitor the vertical coordinates of the camera object. When the camera object is in the activity range of the deck layer, the corresponding deck layer map UI is displayed, otherwise it is hidden, that is, the deck layer where the user is located is displayed in real time when roaming between different deck layers.

[0012] According to the above solution, in step 1), the location where the user's field of view needs to be transmitted is a critical part of the ship.

[0013] According to the above scheme, in step 3), the coordinates of the cabin transmission point are taken out and assigned to the camera object, specifically as follows: create a ship map canvas, determine the canvas size, obtain the X and Y axis coordinate values ​​of the camera object in the virtual reality engine, convert the X and Y axis coordinate values ​​of the camera object on the map canvas according to the ratio of the map canvas to the windows canvas, and dynamically assign the converted X and Y coordinates to the camera object identifier.

[0014] The beneficial effects produced by the present invention are:

[0015] The present invention provides a ship map navigation method in a simulation environment. By defining a transmission point and a ship map in the simulation environment, the user's field of view can be quickly transmitted to the target location, and the user's position and movement trajectory can be tracked in real time on the map, helping the user to quickly grasp the equipment status in a complex ship environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0017] Figure 1 is a flow chart of a method according to an embodiment of the present invention;

[0018] Figure 2 This is a schematic diagram of a transmission point node tree according to an embodiment of the present invention;

[0019] Figure 3 This is a schematic diagram of a map UI node tree in an embodiment of the present invention;

[0020] Figure 4 is a flowchart of transmitting a user target location according to an embodiment of the present invention;

[0021] Figure 5 This is a flowchart for implementing real-time tracking of user location and path according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0023] like Figure 1 As shown, a ship simulation environment map navigation method includes the following steps:

[0024] Step 1: Define the teleport point

[0025] Use the ship's CAD data to create a simulation model, including the structure, equipment, piping, and electrical systems. Define teleportation points at the desired cabin or location by deck level, specifying their 3D coordinates and number. These teleportation points constrain the coordinates of the camera object in the VR engine. Create collections by deck level to manage these teleportation points. The details are as follows:

[0026] Create an empty node in the node tree and name it Deck. Under this node, create a teleport point according to the deck layer, define a unique number, have a unique subordinate relationship with the deck layer, and move the teleport point to the corresponding cabin position in the simulation environment. The node tree format of the teleport point is shown in Figure 2 .

[0027] Step 2: Define the Ship Map

[0028] According to the ship's general layout, create UI management nodes by deck layer, draw map UI by deck layer, map UI information includes bulkheads, cabin numbers, hatches, and the map UI of a deck layer contains all cabins of that layer; create corresponding cabin name controls according to the teleportation point numbers defined in step 1, and place them under the map nodes of the corresponding deck layers; define camera object identifiers, two-dimensional camera object identifiers are used to represent camera objects in the virtual reality engine in the map, the virtual scene illuminated by the camera object is the scene image presented to the user, and the position of the camera object is the position of the user in the virtual environment. The map UI node tree is in the form of Figure 3 shown.

[0029] Step 3: Map Navigation

[0030] Based on steps 1 and 2, define the display and hiding controls for the deck UI. A deck UI contains all cabin name controls for that deck. Define click events for the deck UI and cabin name UI. When a deck is selected and a cabin name control is clicked, the map UI for that deck is automatically displayed, and the map UIs for other layers are hidden. The coordinates of the cabin transfer point are retrieved and assigned to the camera object, meaning that the user's viewpoint in the simulation environment is transferred to the target location. The implementation process is shown in Figure 4 .

[0031] Based on steps 1 and 2, create a ship map canvas and determine its size. Obtain the X and Y coordinates of the camera object in the VR engine. Based on the ratio of the map canvas to the windows canvas, convert the X and Y coordinates of the camera object on the map. Dynamically assign the converted X and Y coordinates to the camera object identifier and set a monitor for the camera object. As the camera object moves in the simulated environment, the camera object identifier can track its position or cabin on the map in real time.

[0032] Based on step 2, set the vertical constraint range for the camera object according to the deck layer, and monitor the vertical coordinates of the camera object. When the camera object is in the activity range of the deck layer, display the deck layer map UI, otherwise hide it, that is, realize the real-time display of the deck layer where the user is when roaming between different deck layers. The specific implementation process is shown in Figure 5 .

[0033] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all such improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A ship simulation environment map navigation method, characterized in that: The following steps are involved: 1) Create a ship simulation model, define the transmission points in the ship simulation model at the cabin or location where the user's field of view needs to be transmitted according to the deck layer, and determine the three-dimensional coordinates and number of the transmission points; 2) Draw a map UI by deck layer, the map UI including the following information: bulkheads, all cabins and cabin numbers of each deck layer, and hatches; Mount the drawn map UI to the corresponding deck layer UI node; Create all cabin name controls in this layer under the UI node; Define the camera object identifier. The two-dimensional camera object identifier is used to represent the camera object in the virtual reality engine in the map; 3) Define click events for the deck UI and cabin name UI. When a deck is selected and a cabin name control is clicked, the map UI of that deck is automatically displayed, while the map UIs of other decks are hidden. The coordinates of the cabin teleportation point are retrieved and assigned to the camera object, and the user's viewpoint is teleported to the target location in the simulation environment. The coordinates of the cabin teleportation point are taken out and assigned to the camera object. The specific steps are as follows: create a ship map canvas, determine the canvas size, obtain the X and Y axis coordinate values ​​of the camera object in the virtual reality engine, convert the X and Y axis coordinate values ​​of the camera object on the map canvas according to the ratio of the map canvas to the windows canvas, and dynamically assign the converted X and Y coordinates to the camera object identifier. 4) Set up monitoring for the camera object and obtain the coordinates of the camera object in the virtual reality engine. When the camera object moves in the simulation environment, the camera object identifier can track its position or cabin in real time on the map; Set the vertical constraint range for the camera object according to the deck layer, and monitor the vertical coordinates of the camera object. When the camera object is in the activity range of the deck layer, the corresponding deck layer map UI is displayed, otherwise it is hidden, that is, the deck layer where the user is located is displayed in real time when roaming between different deck layers.

2. The ship simulation environment map navigation method according to claim 1, characterized in that: In the step 1), the location where the user's field of view needs to be transmitted is a critical part of the ship.

3. The ship simulation environment map navigation method according to claim 1, characterized in that: In the step 2), the camera object identifier is a picture defined on a two-dimensional ship map and represents a three-dimensional space camera object.