Route processing method, terminal equipment and storage medium
By obtaining and displaying the user's three-dimensional climbing routes and target points, the problem that the plan map cannot accurately reflect the climbing route is solved, and the three-dimensional map is drawn and saved is realized, which enhances the reference effect of the climbing route.
Patent Information
- Application Number
- CN202310783655.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2025-01-07
AI Technical Summary
In the prior art, the plan map cannot accurately reflect the real information of the climbing route, resulting in limited reference effects of the climbing route.
By obtaining the user's three-dimensional climbing route, determining the second three-dimensional position of the target point based on the user's first three-dimensional position, and superimposing the three-dimensional climbing route and target points on the three-dimensional model, realizing the drawing and saving of the three-dimensional map.
The reference effect of climbing routes is enhanced, and the real information of climbing routes is more accurately reflected through the three-dimensional map, which improves the reference value to other personnel.
Smart Images

Figure CN119268665A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic maps, and in particular, relates to a route processing method, a terminal device and a storage medium. Background Art
[0002] At present, the climbing routes of users in the process of rock climbing or mountain climbing are mainly drawn in the form of flat maps for other people to view and refer to. However, since the actual conditions of rock walls or mountains are usually complicated, the form of flat maps cannot accurately reflect the real information of the climbing routes, making the reference effect of the climbing routes limited. Summary of the invention
[0003] The embodiments of the present application provide a route processing method, a terminal device, and a storage medium, which can solve the problem in the prior art that the flat map format cannot accurately reflect the real information of the climbing route, resulting in limited reference effect of the climbing route.
[0004] A first aspect of an embodiment of the present application provides a route processing method, including:
[0005] Acquire a three-dimensional climbing route of the user, wherein the three-dimensional climbing route includes a first three-dimensional position of the user during the climbing process;
[0006] Determine whether the preset marking conditions are met;
[0007] When the marking condition is met, determining a second three-dimensional position of the target point according to the first three-dimensional position;
[0008] Acquiring map information, wherein the map information includes a preset three-dimensional model;
[0009] Controlling a display device to display the map information; and
[0010] The display device is controlled according to the first three-dimensional position and the second three-dimensional position to display the three-dimensional climbing route and the target point on the three-dimensional model in an overlaid manner.
[0011] Optionally, obtaining the three-dimensional climbing route of the user includes:
[0012] Acquire the first three-dimensional position;
[0013] Based on the first three-dimensional position, the three-dimensional climbing route is generated.
[0014] Optionally, the determining whether a preset dotting condition is met includes:
[0015] Determining whether a tapping operation of the user is received;
[0016] When the dotting operation is received, it is determined that a preset dotting condition is satisfied.
[0017] Optionally, when the marking condition is met, determining the second three-dimensional position of the target point according to the first three-dimensional position includes:
[0018] When receiving the dot operation, obtaining a first three-dimensional position of the user when performing the dot operation;
[0019] The first three-dimensional position where the user performs the dot operation is determined as the second three-dimensional position.
[0020] Optionally, the route processing method further includes:
[0021] Receive the user's target point editing operation;
[0022] Editing the target point according to the target point editing operation;
[0023] Receive the user's target point saving operation;
[0024] According to the target point saving operation, the target point is saved; or
[0025] Receive the route saving operation from the user;
[0026] According to the route saving operation, the three-dimensional climbing route is saved.
[0027] Optionally, the route processing method further includes:
[0028] Receive the user's perspective conversion operation;
[0029] The display device is controlled to display the map information, the three-dimensional climbing route, and / or the target point at a viewing angle corresponding to the viewing angle conversion operation.
[0030] Optionally, the route processing method further includes:
[0031] Receive the user's route selection operation;
[0032] determining a target route from at least one of the three-dimensional climbing routes according to the route selection operation;
[0033] Obtaining the location of the starting point of the target route;
[0034] A navigation route is generated according to the location of the starting point to instruct the user to go to the starting point.
[0035] Optionally, the route processing method further includes:
[0036] Obtaining a target point position corresponding to the target route;
[0037] When it is detected that the user has reached the starting point, the user is instructed to climb according to the target route.
[0038] A second aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the route processing method as described above when executing the computer program.
[0039] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the route processing method as described above is implemented.
[0040] A route processing method provided in a first aspect of an embodiment of the present application obtains a three-dimensional climbing route of a user, wherein the three-dimensional climbing route includes a first three-dimensional position of the user during the climbing process, determines a second three-dimensional position of a target point according to the first three-dimensional position when a marking condition is met, and controls a display device to superimpose and display the three-dimensional climbing route and the target point on a three-dimensional model according to the first three-dimensional position and the second three-dimensional position, so that the climbing route of the user during the climbing process can be drawn and saved in the form of a three-dimensional map, and the combination of the three-dimensional climbing route and the three-dimensional model can more accurately reflect the real information of the climbing route, thereby enhancing the reference effect of the climbing route for other people.
[0041] It can be understood that the beneficial effects of the second and third aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A first flow chart of the route processing method provided in the embodiment of the present application;
[0044] Figure 2 A second flow chart of the route processing method provided in the embodiment of the present application;
[0045] Figure 3 A third flow chart of the route processing method provided in the embodiment of the present application;
[0046] Figure 4 A fourth flow chart of the route processing method provided in the embodiment of the present application;
[0047] Figure 5 A fifth flow chart of the route processing method provided in the embodiment of the present application;
[0048] Figure 6 A sixth flow chart of the route processing method provided in the embodiment of the present application;
[0049] Figure 7 A seventh flow chart of the route processing method provided in the embodiment of the present application;
[0050] Figure 8 An eighth flow chart of the route processing method provided in the embodiment of the present application;
[0051] Fig. 9 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0053] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0054] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0055] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0056] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0057] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two or more".
[0058] At present, the climbing routes of users in the process of rock climbing or mountain climbing are mainly drawn in the form of flat maps for other people to view and refer to. However, since the actual conditions of rock walls or mountains are usually complicated, the form of flat maps cannot accurately reflect the real information of the climbing routes, making the reference effect of the climbing routes limited.
[0059] In response to the above problems, an embodiment of the present application provides a route processing method, which obtains a three-dimensional climbing route of the user, where the three-dimensional climbing route includes a first three-dimensional position of the user during the climbing process, determines a second three-dimensional position of a target point according to the first three-dimensional position when a point marking condition is met, and controls a display device to superimpose and display the three-dimensional climbing route and the target point on a three-dimensional model according to the first three-dimensional position and the second three-dimensional position, so that the climbing route of the user during the climbing process can be drawn and saved in the form of a three-dimensional map, and the combination of the three-dimensional climbing route and the three-dimensional model can more accurately reflect the real information of the climbing route, thereby enhancing the reference effect of the climbing route for other people.
[0060] The route processing method provided in this application is exemplarily described below in conjunction with specific embodiments.
[0061] like Figure 1 As shown, the route processing method provided in this embodiment includes the following steps:
[0062] S11. Acquire a three-dimensional climbing route of the user, where the three-dimensional climbing route includes a first three-dimensional position of the user during the climbing process.
[0063] In applications, climbing may include rock climbing and mountaineering, etc. The three-dimensional climbing route of the user may be obtained through a wearable device carried by the user, and the wearable device may include a smart watch, etc. The first three-dimensional position may include the coordinates and altitude of the user. By integrating a barometer and a GPS module in the wearable device, high-precision altitude and user coordinate collection may be achieved. When designing the hardware of the wearable device, a suitable barometer and GPS module, such as a BMP280 barometer and a NEO-6M GPS module, may be selected according to the design requirements and budget, and then the barometer and GPS module may be connected to the mainboard of the wearable device through a circuit board.
[0064] In the application, you can write the corresponding driver according to the specific barometer and GPS module models, so that the mainboard of the wearable device can read the data of the barometer and GPS module. After completing the development of the wearable device hardware and software, you can test and optimize to ensure the accuracy and stability of the altitude and user coordinate collection. The wearable device reads the current air pressure and location information through the barometer and GPS module, then calculates the user's coordinates and altitude, and stores these data in the memory of the wearable device. You can also design the user interface of the wearable device according to the design requirements, so that users can easily view information such as coordinates and altitude.
[0065] like Figure 2 As shown, in one embodiment, the above-mentioned obtaining of the user's three-dimensional climbing route includes:
[0066] S21. Obtain a first three-dimensional position.
[0067] S22. Generate a three-dimensional climbing route based on the first three-dimensional position.
[0068] In the application, the first three-dimensional position can be acquired by the wearable device in real time during the climbing process of the user, and several first three-dimensional positions of the user can be acquired during the climbing process. The three-dimensional climbing route can be generated based on the first three-dimensional position, and the wearable device can automatically connect the first three-dimensional positions into a line after acquiring several first three-dimensional positions of the user during the climbing process, so as to generate the three-dimensional climbing route of the user.
[0069] S12: Determine whether the preset dotting conditions are met.
[0070] In the application, during the climbing process, the user may want to mark some important locations for reference by other people, such as marking rock bolts during rock climbing, marking road signs during mountain climbing, etc. Therefore, the wearable device can implement the route marking function through an algorithm, such as marking through location information collected by GPS, or using other sensor data combined with machine learning algorithms to achieve automatic marking. The above determination of whether the preset marking conditions are met can be that the wearable device determines whether the preset marking conditions are met. The above preset marking conditions include that the user has performed a marking operation through the wearable device, or the user has not moved for more than a preset time.
[0071] like Figure 3 As shown, in one embodiment, the above determination of whether the preset dotting condition is met includes:
[0072] S31: Determine whether a tapping operation from the user is received.
[0073] S32: When a dotting operation is received, determine whether a preset dotting condition is satisfied.
[0074] In the application, the above determination of whether a tapping operation of the user is received may be that the wearable device determines whether a tapping operation of the user is received, and the tapping operation includes key tapping and voice control tapping, etc. The above determination of whether a preset tapping condition is satisfied when a tapping operation is received may be that the wearable device determines that a preset tapping condition is satisfied when a tapping operation of the user is received.
[0075] S13. When the marking condition is met, determine the second three-dimensional position of the target point according to the first three-dimensional position.
[0076] In the application, when the marking conditions are met, the second three-dimensional position of the target point is determined according to the first three-dimensional position. When the marking conditions are met, the wearable device determines the second three-dimensional position of the target point according to the first three-dimensional position of the user. The target point is the point that the user wants to mark during the climbing process. The second three-dimensional position may include the coordinates and altitude of the target point.
[0077] like Figure 4 As shown, in one embodiment, when the marking condition is met, determining the second three-dimensional position of the target point according to the first three-dimensional position includes:
[0078] S41. When a dot operation is received, obtain a first three-dimensional position of the user when the dot operation is performed.
[0079] S42: Determine the first three-dimensional position where the user performs the dot operation as the second three-dimensional position.
[0080] In the application, when a dot operation is received, the first three-dimensional position of the user at the time of the dot operation is obtained, which may be that the wearable device obtains the coordinates and altitude of the user at the time of the dot operation when receiving a dot operation such as a key dot or a voice-controlled dot from the user. The first three-dimensional position of the user at the time of the dot operation is determined as the second three-dimensional position, which may be that the wearable device determines the coordinates and altitude of the user at the time of the dot operation as the second three-dimensional position. After determining the second three-dimensional position of the target point, these data can be stored in the memory of the wearable device, or transmitted to the mobile phone APP via Bluetooth for storage for subsequent analysis.
[0081] In one embodiment, the route processing method further includes: determining whether the user has moved according to the first three-dimensional position. The determining whether the preset marking condition is met also includes: when the user movement is not detected within a preset time period, determining that the preset marking condition is met. The determining the second three-dimensional position of the target point according to the first three-dimensional position when the marking condition is met also includes: determining the first three-dimensional position of the user when the user movement is not detected as the second three-dimensional position of the target point.
[0082] In the application, the wearable device can collect user movement data through GPS, gyroscope, accelerometer, etc., and determine whether the user has moved based on the user's first three-dimensional position. The user may encounter some special situations during the climbing process, causing the user to stop moving for a preset period of time. Therefore, the wearable device can also determine that the preset marking conditions are met when the user movement is not detected within the preset period of time, and determine the first three-dimensional position of the user when the user movement is not detected as the second three-dimensional position of the target point, so as to mark the position of the user when the special situation is encountered as the target point for reference by other personnel.
[0083] S14. Obtain map information, where the map information includes a preset three-dimensional model.
[0084] S15, controlling the display device to display map information; and
[0085] S16. Control the display device to overlay and display the three-dimensional climbing route and the target point on the three-dimensional model according to the first three-dimensional position and the second three-dimensional position.
[0086] In the application, the above map information can be pre-stored in the user's mobile phone APP, including map information of any location, and the map information contains a three-dimensional model of any rock wall or mountain that the user may climb. The above display device includes a mobile phone, etc. The above control display device displays map information, and controls the display device to superimpose and display the three-dimensional climbing route and target point on the three-dimensional model according to the first three-dimensional position and the second three-dimensional position. The wearable device can be connected to the display device via Bluetooth, and the first three-dimensional position information of the three-dimensional climbing route and the second three-dimensional position information of the target point are transmitted to the display device, so that the three-dimensional climbing route and the target point are superimposed and displayed on the three-dimensional model corresponding to the user's climbing process. When the user uses the display device to open the map information, the three-dimensional climbing route and target point superimposed on the three-dimensional model will be automatically displayed.
[0087] The route processing method provided in the embodiment of the present application obtains the three-dimensional climbing route of the user, the three-dimensional climbing route includes the first three-dimensional position of the user during the climbing process, determines the second three-dimensional position of the target point according to the first three-dimensional position when the marking condition is met, and controls the display device to superimpose and display the three-dimensional climbing route and the target point on the three-dimensional model according to the first three-dimensional position and the second three-dimensional position, so that the climbing route of the user during the climbing process can be drawn and saved in the form of a three-dimensional map, and the combination of the three-dimensional climbing route and the three-dimensional model can solve the user's need to view the climbing route through the three-dimensional map, more accurately reflect the real information of the climbing route, thereby enhancing the reference effect of the climbing route for other people.
[0088] like Figure 5 As shown, in one embodiment, the route processing method further includes:
[0089] S51, receiving a target point editing operation from a user;
[0090] S52, editing the target point according to the target point editing operation;
[0091] S53, receiving a target point saving operation from the user;
[0092] S54, saving the target point according to the target point saving operation; or
[0093] S55, receiving a route saving operation from the user;
[0094] S56. According to the route saving operation, the three-dimensional climbing route is saved.
[0095] In the application, the data information of the three-dimensional climbing route and target point can be stored on the mobile phone APP, and different editing interfaces can be provided to meet the needs of different users. In order to facilitate the storage and query of route data, it is necessary to design a data structure for storing route data. You can consider using a database or local storage. For example, you can use a SQLite database to store route data, define a route table, and specify the name, starting point, end point, waypoint, mode of transportation and other fields of the route. In the APP, the target point editing interface can be implemented through UI components to add, delete, move, and edit target points. For example, you can use ListView or RecyclerView components to display a list of target points, use Button or ImageButton components to add and delete target points, and use EditText or TextView components to edit target point information. The target point and route saving function can be implemented by calling the interface that stores route data. For example, implement the operations of inserting, updating, and deleting route data in a SQLite database, and provide an interface for saving route data.
[0096] In the application, users can edit the target points in the 3D climbing route, allowing users to better plan the route. Editing can be achieved in an interactive way, and in the mobile app, gesture recognition API can be used to achieve gestures such as long press, drag, zoom, etc. When the user long presses the screen, a target point can be added on the screen and its location information can be saved to the database. When the user drags or zooms the rock piton, the position of the target point can be adjusted accordingly according to the change of gesture.
[0097] In the application, when the user performs a target point selection operation by long pressing, single clicking, etc., the target point corresponding to the target point selection operation is determined based on the user's target point selection operation. When the user performs a target point editing operation by sliding, single clicking, etc., the position selected by the target point editing operation, such as the position corresponding to the end of sliding, the position corresponding to the point selected by single clicking, etc., is determined as a candidate position based on the target point editing operation. When the user performs a target point determination operation by clicking the "confirm button", etc., the candidate position is determined as the new position of the target point based on the target point determination operation. When the user performs a target point or a three-dimensional climbing route saving operation by clicking, etc., the target point or three-dimensional climbing route corresponding to the target point or three-dimensional climbing route saving operation is stored based on the target point or three-dimensional climbing route saving operation.
[0098] like Figure 6 As shown, in one embodiment, the route processing method further includes:
[0099] S61, receiving a user's perspective conversion operation;
[0100] S62: Control the display device to display map information, a three-dimensional climbing route, and / or a target point at a viewing angle corresponding to the viewing angle conversion operation.
[0101] In the application, when the three-dimensional climbing map and target points are superimposed on the map information, the user may not be able to see all the target points or three-dimensional climbing routes due to the viewing angle. To solve this problem, some interactive details can be added. For example, when the user clicks on the target point, the map information viewing angle will automatically adjust to the best angle so that the user can see all the target points. Some zooming and rotation functions can also be added to allow users to freely adjust the map viewing angle to better observe the distribution of target points or routes. In addition, you can also consider using different colors or sizes to distinguish the importance of target points, so that users can more clearly understand the distribution of target points on the map. When the user performs a viewing angle conversion operation by dragging or clicking, based on the viewing angle conversion operation, the display is controlled to display the map information, three-dimensional climbing routes / or target points at the viewing angle corresponding to the viewing angle conversion operation.
[0102] like Figure 7 As shown, in one embodiment, the route processing method further includes:
[0103] S71, receiving a route selection operation of a user;
[0104] S72, determining a target route from at least one three-dimensional climbing route according to the route selection operation;
[0105] S73, obtaining the position of the starting point of the target route;
[0106] S74. Generate a navigation route according to the location of the starting point to instruct the user to go to the starting point.
[0107] like Figure 8 As shown, in one embodiment, the route processing method further includes:
[0108] S81, obtaining the target point position corresponding to the target route;
[0109] S82: When it is detected that the user has reached the starting point, instruct the user to climb according to the target route.
[0110] In the application, the user can request to browse the three-dimensional climbing route through the mobile phone APP. Based on the user's browsing request, the route list is displayed on the display device, including a simplified diagram of all three-dimensional climbing routes. When the user performs a route selection operation, based on the route selection operation, the target route selected by the user is displayed on the display device, including a three-dimensional model, a three-dimensional climbing route and a target point. When the user requests navigation based on the selected target route, based on the user's request, a navigation prompt is provided to the user, and the user is navigated to the starting point of the selected target route, where the starting point is the starting point or the first target point of the target route. When it is determined that the user has reached the starting point, a navigation prompt is provided to the user according to the target route. During the navigation process, the GUI prompts the user with the location and direction of the next target point. If the target point is within the display range of the map, the target point is displayed. If the target point is outside the display range of the map, an indicator is displayed at the edge of the GUI to indicate the direction of the next target point. The direction is determined based on the user's current first three-dimensional position and the second three-dimensional position of the target point until the user reaches the last target point.
[0111] The route processing method provided in the embodiment of the present application receives a route selection operation of a user, determines a target route from at least one three-dimensional climbing route according to the route selection operation, obtains the position of the starting point of the target route, and generates a navigation route according to the position of the starting point to instruct the user to go to the starting point, thereby solving the need to locate the user at the starting point of the climbing route.
[0112] In the application, AR technology can also be integrated on the mobile phone APP end, and the three-dimensional climbing route can be projected on the rock wall or mountain by identifying the user's perspective and current position, and the rock wall or mountain effect can be realized through the virtual scene rendering algorithm. To realize the above functions, it is necessary to first determine the position and direction of the rock wall or mountain to be displayed. The user's position and orientation information can be obtained through GPS or other positioning technologies, and the user's perspective can be converted into the perspective of the virtual camera in real time by using AR technology. At the same time, the three-dimensional model of the rock wall or mountain is projected into the camera screen to realize the virtual rendering of the rock wall or mountain. Through the virtual scene rendering algorithm, the color, texture, light and shadow and other features of the rock wall or mountain are integrated with the surrounding environment, so that the virtual rock wall or mountain is closer to the real environment, improving the user's real feeling, and adjusting the three-dimensional climbing route in real time according to the user's position and orientation to ensure that the route matches the position and direction of the rock wall or mountain and presents the best visual effect. Finally, the entire AR scene is rendered to the user's mobile phone or other device, and the user can control the perspective and browse the route map through the mobile device, solving the user's viewing needs of mapping the three-dimensional climbing route according to the actual rock wall or mountain on site.
[0113] The present application embodiment also provides a terminal device 900, such as Fig. 9As shown, it includes a memory 910, a processor 920, and a computer program 930 stored in the memory 910 and executable on the processor 920. When the processor 920 executes the computer program 930, it is used to implement the following steps:
[0114] Acquire a three-dimensional climbing route of the user, where the three-dimensional climbing route includes a first three-dimensional position of the user during the climbing process;
[0115] Determine whether the preset marking conditions are met;
[0116] When the marking condition is met, determining the second three-dimensional position of the target point according to the first three-dimensional position;
[0117] Obtaining map information, the map information including a preset three-dimensional model;
[0118] Controlling the display device to display map information; and
[0119] The display device is controlled according to the first three-dimensional position and the second three-dimensional position to overlay and display the three-dimensional climbing route and the target point on the three-dimensional model.
[0120] In one embodiment, when the processor executes the above-mentioned acquisition of the user's three-dimensional climbing route, it is specifically used to implement the following steps:
[0121] Obtaining a first three-dimensional position;
[0122] Based on the first three-dimensional position, a three-dimensional climbing route is generated.
[0123] In one embodiment, when the processor executes the above determination of whether the preset dotting condition is met, it is specifically used to implement the following steps:
[0124] Determine whether the user's click operation is received;
[0125] When a dotting operation is received, it is determined that a preset dotting condition is satisfied.
[0126] In one embodiment, when the processor executes the above-mentioned method of determining the second three-dimensional position of the target point according to the first three-dimensional position when the dot marking condition is met, it is specifically used to implement the following steps:
[0127] When receiving a point-marking operation, obtaining a first three-dimensional position of the user when performing the point-marking operation;
[0128] The first three-dimensional position where the user performs the dot operation is determined as the second three-dimensional position.
[0129] In one embodiment, when the processor executes the computer program, it is also used to implement the following steps:
[0130] Receive the user's target point editing operation;
[0131] Edit the target point according to the target point editing operation;
[0132] Receive the user's target point saving operation;
[0133] According to the target point saving operation, the target point is saved; or
[0134] Receive the route saving operation from the user;
[0135] According to the route saving operation, the three-dimensional climbing route is saved.
[0136] In one embodiment, when the processor executes the computer program, it is also used to implement the following steps:
[0137] Receive the user's perspective conversion operation;
[0138] The display device is controlled to display map information, a three-dimensional climbing route and / or a target point at a viewing angle corresponding to the viewing angle conversion operation.
[0139] In one embodiment, when the processor executes the computer program, it is also used to implement the following steps:
[0140] Receive the user's route selection operation;
[0141] determining a target route from at least one three-dimensional climbing route according to a route selection operation;
[0142] Get the starting point of the target route;
[0143] A navigation route is generated according to the location of the starting point to guide the user to the starting point.
[0144] In one embodiment, when the processor executes the computer program, it is also used to implement the following steps:
[0145] Get the target point position corresponding to the target route;
[0146] When it is detected that the user has reached the starting point, the user is instructed to climb according to the target route.
[0147] In the application, the terminal device may include, but is not limited to, a processor and a memory. Fig. 9 It is only an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input and output devices, network access devices, etc. Input and output devices may include cameras, audio acquisition / playback devices, display screens, etc. The network access device may include a network module for wirelessly communicating with external devices.
[0148] In applications, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0149] In applications, the memory may be an internal storage unit of a terminal device in some embodiments, such as a hard disk or memory of the terminal device. In other embodiments, the memory may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device. The memory may also include both an internal storage unit and an external storage device of the terminal device. The memory is used to store operating systems, applications, boot loaders, data, and other programs, such as program codes of computer programs. The memory may also be used to temporarily store data that has been output or is to be output.
[0150] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0151] The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0152] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0153] Those of ordinary skill in the art will appreciate that the devices and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0154] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices, which can be electrical, mechanical or other forms.
[0155] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A route processing method, characterized in that: include: Acquire a three-dimensional climbing route of the user, wherein the three-dimensional climbing route includes a first three-dimensional position of the user during the climbing process; Determine whether the preset marking conditions are met; When the marking condition is met, determining a second three-dimensional position of the target point according to the first three-dimensional position; Acquiring map information, wherein the map information includes a preset three-dimensional model; Controlling a display device to display the map information; as well as The display device is controlled according to the first three-dimensional position and the second three-dimensional position to display the three-dimensional climbing route and the target point on the three-dimensional model in an overlaid manner.
2. A route processing method according to claim 1, characterized in that: The step of obtaining the user's three-dimensional climbing route includes: Acquire the first three-dimensional position; Based on the first three-dimensional position, the three-dimensional climbing route is generated.
3. A route processing method according to claim 1, characterized in that: The step of determining whether a preset dotting condition is met includes: Determining whether a tapping operation of the user is received; When the dotting operation is received, it is determined that a preset dotting condition is satisfied.
4. A route processing method according to claim 1, characterized in that: The step of determining the second three-dimensional position of the target point according to the first three-dimensional position when the marking condition is met includes: When receiving the dot operation, obtaining a first three-dimensional position of the user when performing the dot operation; The first three-dimensional position where the user performs the dot operation is determined as the second three-dimensional position.
5. A route processing method according to any one of claims 1 to 4, characterized in that: The route processing method further includes: Receive the user's target point editing operation; Editing the target point according to the target point editing operation; Receive the user's target point saving operation; According to the target point saving operation, the target point is saved; or Receive the route saving operation from the user; According to the route saving operation, the three-dimensional climbing route is saved.
6. A route processing method according to any one of claims 1 to 4, characterized in that: The route processing method further includes: Receive the user's perspective conversion operation; The display device is controlled to display the map information, the three-dimensional climbing route, and / or the target point at a viewing angle corresponding to the viewing angle conversion operation.
7. A route processing method according to any one of claims 1 to 4, characterized in that: The route processing method further includes: Receive the user's route selection operation; determining a target route from at least one of the three-dimensional climbing routes according to the route selection operation; Obtaining the location of the starting point of the target route; A navigation route is generated according to the location of the starting point to instruct the user to go to the starting point.
8. A route processing method as claimed in claim 7, characterized in that: The route processing method further includes: Obtaining a target point position corresponding to the target route; When it is detected that the user has reached the starting point, the user is instructed to climb according to the target route.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the route processing method according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the route processing method according to any one of claims 1 to 8 is implemented.