Path navigation method, device, wearable device and storage medium
By receiving and generating customized target motion paths on wearable devices and determining check-in nodes in the target area, the problem of fixed and low safety in running training navigation routes in the existing technology is solved, and a more flexible and safe system is achieved. Navigation path generation improves users’ running training experience.
Patent Information
- Application Number
- CN202210469405.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-04-28
AI Technical Summary
Existing wearable devices have low safety and flexibility in navigation during running training, and fixed routes are difficult to meet the diverse needs of users.
By receiving the drawn target pattern, a target movement path is generated within the target area of the target map based on the pattern information, and at least two check-in nodes are determined in the target movement path, navigation is performed according to the path, and the check-in operation is performed when the check-in node is reached. Improve navigation flexibility and security.
This improves the flexibility and safety of navigation paths during running training. Users can generate diversified running routes based on customized patterns to improve training effects.
Smart Images

Figure CN115127557B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart devices, and in particular to a path navigation method, device, wearable device and storage medium. Background Art
[0002] With the rapid development of the field of smart device technology, there are more and more scenarios in which people use wearable devices in their daily lives. For example, people use wearable devices for entertainment, work, study, etc.
[0003] For fitness training, wearable devices can often be used to record the number of steps taken by the user, the user's running path, the user's health status, the user's heart rate, etc. For example, a user can wear a wearable device and turn on the running function of the wearable device while running, so that the wearable device can collect data such as the user's running distance and running speed. When these wearable devices navigate during the running process, the navigation routes obtained based on the navigation of map applications (Application, App) are often relatively fixed, and there is a problem of low navigation security and flexibility during running training. Summary of the invention
[0004] The embodiments of the present application provide a path navigation method, apparatus, wearable device and storage medium, which can determine a target area in a target map through a terminal device connected to a communication connection, determine check-in nodes during running in the target area, and improve the safety and flexibility of navigation during running training.
[0005] In one aspect, an embodiment of the present application provides a path navigation method, which is applied to a wearable device, and the method includes:
[0006] receiving a drawn target pattern;
[0007] According to the pattern information of the target pattern, a target motion path is generated in a target area of a target map, and at least two punch-in nodes are determined in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions;
[0008] Navigation is performed according to the target motion path, and a punch-in operation is performed when it is detected that the wearable device reaches any one of the at least two punch-in nodes.
[0009] Optionally, determining at least two check-in nodes in the target motion path includes:
[0010] Determining each inflection point on the target pattern according to the pattern information;
[0011] At least two check-in nodes on the target motion path are determined according to the inflection points.
[0012] Optionally, before determining at least two punch-in nodes in the target motion path, the method further includes:
[0013] Acquire training information of a user wearing the wearable device, wherein the training information includes at least one of a training time, a training frequency, a training distance, and a training mode of the user;
[0014] The determining at least two check-in nodes in the target motion path includes:
[0015] Determining each rest point in the target motion path according to the target motion path and the training information;
[0016] According to the various rest points, the at least two check-in nodes are determined.
[0017] Optionally, the navigating according to the target motion path includes:
[0018] Determining a navigation order corresponding to each of the at least two punch-in nodes according to positions of the at least two punch-in nodes in the target motion path;
[0019] Navigate each of the punch-in nodes in sequence according to the navigation order corresponding to each of the punch-in nodes.
[0020] Optionally, the navigating according to the target motion path and performing a check-in operation when detecting that the wearable device reaches any one of the at least two check-in nodes includes:
[0021] Obtaining current location information of the wearable device;
[0022] When detecting that the wearable device arrives at a first clock-in node among the at least two clock-in nodes, in response to a triggering operation on a target control in a clock-in interface, establishing a clock-in record corresponding to the first clock-in node;
[0023] Navigate the motion path from the first check-in node to the next check-in node.
[0024] Optionally, after the punch-in record is established in response to the triggering operation of the target control in the punch-in interface, the method further includes:
[0025] Displaying the target map on the display screen, wherein the target map includes the target motion path and each check-in node on the target motion path;
[0026] receiving a connection operation between a second clocking-in node and a third clocking-in node among the clocking-in nodes, wherein the second clocking-in node and the third clocking-in node are any two clocking-in nodes among the clocking-in nodes;
[0027] Generate a second path according to the second clock-in node and the third clock-in node;
[0028] When the location information of the wearable device coincides with the second check-in node, the second path is navigated.
[0029] Optionally, after navigating according to the target motion path, the method further includes:
[0030] Acquire current status information of a user wearing the wearable device, where the current status information includes one or more of a current heart rate of the user, a water loss condition of the user, and a breathing frequency of the user;
[0031] The current status information is sent to the terminal device so that the terminal device displays the status information.
[0032] In another aspect, an embodiment of the present application provides a path navigation device, which is applied to a wearable device, and includes:
[0033] A first acquisition module, used for receiving a drawn target pattern;
[0034] A first generating module is used to generate a target motion path in a target area of a target map according to the pattern information of the target pattern, and determine at least two punch-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions;
[0035] The first navigation module is used to navigate according to the target motion path and perform a check-in operation when it is detected that the wearable device reaches any one of the at least two check-in nodes.
[0036] In another aspect, an embodiment of the present application provides a wearable device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the path navigation method as described in one aspect above.
[0037] In another aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the path navigation method as described in the above another aspect and its optional manner is implemented.
[0038] On the other hand, an embodiment of the present application provides a computer program product. When the computer program product is executed on a computer, the computer is enabled to execute the path navigation method as described in one aspect above.
[0039] On the other hand, an embodiment of the present application provides an application publishing platform, which is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the path navigation method as described in one aspect above.
[0040] The technical solution provided by the embodiments of the present application may at least include the following beneficial effects:
[0041] The present application receives a drawn target pattern; generates a target motion path in a target area of a target map according to the pattern information of the target pattern, and determines at least two check-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions; navigates according to the target motion path, and performs a check-in operation when it is detected that the wearable device has arrived at any one of the at least two check-in nodes. The wearable device can receive the drawn target pattern, and generate a target motion path in a target area of a target map in combination with the pattern information, navigate the target motion path, and perform a check-in operation at the check-in node. This process flexibly generates a target motion path corresponding to the pattern information of the target pattern in the target area, thereby improving the safety and flexibility of the navigation path generated by the user based on navigation during running training. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 is a schematic diagram of an architecture of a wearable device application involved in an exemplary embodiment of the present application;
[0044] Figure 2 is a method flow chart of a path navigation method provided by an exemplary embodiment of the present application;
[0045] Figure 3 It is a schematic diagram of a drawing interface displayed by a wearable device according to an exemplary embodiment of the present application;
[0046] Figure 4 This is a schematic diagram of an interface of a navigation map displayed in a terminal device according to an exemplary embodiment of the present application;
[0047] Figure 5 is a method flow chart of a path navigation method provided by an exemplary embodiment of the present application;
[0048] Figure 6 is a schematic diagram of a map interface involved in an exemplary embodiment of the present application;
[0049] Figure 7 is a schematic diagram of an interface including a target motion path involved in an exemplary embodiment of the present application;
[0050] Figure 8 is a schematic diagram of a navigation interface displayed by a wearable device according to an exemplary embodiment of the present application;
[0051] Fig. 9 It is a schematic diagram of a punch-in interface involved in an exemplary embodiment of the present application;
[0052] Fig.10 is a schematic diagram of an interface of a navigation map involved in an exemplary embodiment of the present application;
[0053] Fig.11 This is a schematic diagram of an interface for displaying a target map according to an exemplary embodiment of the present application;
[0054] Fig.12 is a schematic diagram of an interface of a terminal device involved in an exemplary embodiment of the present application;
[0055] Fig.13 is a structural block diagram of a path navigation device provided by an exemplary embodiment of the present application;
[0056] Fig.14 It is a structural schematic diagram of a wearable device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0057] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0058] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0059] It should be noted that the terms "first", "second", "third" and "fourth" in the specification and claims of the present application are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0060] The solution provided by the present application can be used in application scenarios where people wear wearable devices in their daily lives and perform navigation based on wearable devices. For ease of understanding, the application architecture involved in the embodiments of the present application is briefly introduced below.
[0061] With the continuous advancement of technology, wearable devices are used more and more frequently in daily life. People can use these wearable devices for learning, entertainment, work, etc. In particular, wearable devices with navigation function apps installed can navigate users. Users can open the app in the wearable device and navigate to get the navigation path to the destination.
[0062] Please refer to Figure 1 , which shows a schematic diagram of the architecture of a wearable device application involved in an exemplary embodiment of the present application. Figure 1 As shown, a wearable device 110 and a terminal device 120 are included.
[0063] Optionally, the wearable device may be a smart bracelet, a smart watch, a laptop computer, a smart headband or other smart device.
[0064] Optionally, the terminal device is a terminal equipped with a communication function. For example, the terminal device may be a mobile phone, a tablet computer, a notebook computer, an e-book reader, smart glasses, a laptop computer, a desktop computer, an intelligent robot, a tutoring machine, etc.
[0065] Optionally, the wearable device 110 and the terminal device 120 can establish a communication connection through a communication network. Among them, the communication network connection between the wearable device 110 and the terminal device 120 can use standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged through the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies may be used to replace or supplement the above-mentioned data communication technologies.
[0066] In actual scenarios, children usually use the above-mentioned wearable devices for navigation. For example, when a child needs to do running training, he can run according to his own running route and record the running route or running steps through the wearable device, thereby recording the child's running training. Among them, in the actual application of this running navigation, the running route and area of the child's running cannot be determined by the parents. When the child uses the wearable device for training, the navigation route obtained by the wearable device based on the navigation of the map application (Application, App) is relatively fixed, and the difference is not much from the route generated by the navigation in the terminal device. Therefore, for training in specific scenarios such as running, this method has low security and flexibility.
[0067] In order to ensure the safety of users during running training, while allowing users to plan the running paths they need and generate more diverse running paths, the present application proposes a solution, which can pre-divide the target area through a terminal device that has a communication connection with the wearable device. The wearable device generates a target motion path in the target area based on the pattern outline drawn by the user, thereby improving the safety and flexibility of navigation during running training.
[0068] Please refer to Figure 2 , which shows a method flow chart of a path navigation method provided by an exemplary embodiment of the present application. The method can be applied to a wearable device, the wearable device has a communication connection with a terminal device, and the method is executed by the wearable device. Figure 2 As shown, the path navigation method includes the following steps.
[0069] Step 201: receiving a drawn target pattern.
[0070] Optionally, the target pattern may be obtained by the wearer of the wearable device drawing on the display screen of the wearable device, or the user may draw on other terminal devices and send the target pattern to the wearable device.
[0071] For example, in this application, the wearable device has a display screen, and the user can draw on the display screen of the wearable device by sliding, etc., and accordingly, the wearable device can obtain the outline of the pattern drawn by the user. For example, please refer to Figure 3 , which shows a schematic diagram of a drawing interface displayed by a wearable device according to an exemplary embodiment of the present application. Figure 3 As shown, the drawing interface 300 includes a drawing control 301, a generation control 302, a creation control 303, and a cancellation control 304. Optionally, the user can control the drawing control 301 to slide in the drawing interface 300. After the drawing is completed, the generation control 302 can be triggered to generate a pattern that is the same as the user's drawing result. In this step, the wearable device obtains the target pattern.
[0072] In a possible implementation, the user may also select a preset pattern in the wearable device, and the wearable device acquires the preset target pattern. For example, after the user controls the drawing control 301 to slide on the display screen 300, the above Figure 3 In the creation control 303, the wearable device numbers the pattern drawn by the user and stores it as a preset pattern. Later, the user can select the corresponding number to select the pattern drawn in advance. Accordingly, the wearable device can obtain the target pattern according to the number.
[0073] Step 202: Generate a target motion path in a target area of a target map according to pattern information of the target pattern, and determine at least two check-in nodes in the target motion path.
[0074] The target area is a safe area obtained by dividing the target map into regions.
[0075] Optionally, the wearable device may obtain pattern information of the target pattern according to the received target pattern, and the pattern information may be a pattern outline of the target pattern, a pattern shape of the target pattern, or complexity of the target pattern.
[0076] Optionally, the target map is the map displayed by the map app installed in the wearable device during operation. The user can divide the target map into safe areas. When generating the target motion path in this step, the target motion path is generated in the safe area. For example, please refer to Figure 4 , which shows a schematic diagram of an interface of a navigation map displayed in a wearable device according to an exemplary embodiment of the present application. Figure 4 As shown, the navigation map 400 of the wearable device includes a first control 401, a reset control 402, a save control 403, and a cancel control 404. Optionally, the user can control the first control 401 to slide in the navigation map 400 and trigger the save control 403. The circled area is the target area. Optionally, after sliding the first control 401, the user can also trigger the reset control 402 to re-divide the divided target area.
[0077] In one possible implementation, the wearable device may also establish a communication connection with the terminal device, and the target map may be a map for data synchronization between the two, that is, the wearable device and the terminal device have the function of synchronizing data on the target map. The wearable device and the terminal device may share the data of the target map obtained by themselves through the communication connection, thereby completing data synchronization, and the target map viewed by the user in the wearable device is the same as the target map viewed in the terminal device. For example, the wearable device has a first map App installed, and the terminal device also has a first map App installed. After the user opens the first map App on the wearable device side, the target motion path viewed by the user is the same as the target motion path viewed by the user on the terminal device side. Optionally, the user can divide the target map into areas in the map App of the terminal device, and the terminal device synchronizes the divided safety areas to the wearable device, so that the wearable device knows the safety areas divided by the user. The way in which the user divides the target map in the terminal device is the same as the above. Figure 4 Similar, no further description is given here.
[0078] Optionally, after obtaining the pattern outline, the wearable device can generate a target motion path in the target area of the target map that is the same as the pattern information of the target pattern. For example, if the pattern information is a pattern outline, the wearable device can scale it according to the same scale and generate a target motion path of a corresponding size in the target area.
[0079] Optionally, the wearable device may also determine at least two check-in nodes on the target motion path. For example, the wearable device may determine at least two check-in nodes on the target motion path based on the contour nodes of the above pattern contour. The paths formed between the check-in nodes may be regarded as sub-paths of the target motion path.
[0080] Step 203: Navigate according to the target motion path, and perform a check-in operation when it is detected that the wearable device reaches any one of the at least two check-in nodes.
[0081] Optionally, the wearable device navigates according to the obtained target motion path, so that the user completes the exercise training. When the user moves to any one of the at least two punch-in nodes, the wearable device can trigger the punch-in function, and the user performs the punch-in operation by punching in.
[0082] For example, the wearable device navigates the target motion path based on at least two determined check-in nodes. For example, it navigates from the first node to the second node, and then navigates from the second node to the third node, and so on, until the user completes the run. Optionally, when the user is doing a loop running training, the wearable device can also navigate in a loop to help the user train.
[0083] In summary, the present application receives a drawn target pattern; generates a target motion path in a target area of a target map according to the pattern information of the target pattern, and determines at least two check-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions; navigates according to the target motion path, and performs a check-in operation when it is detected that the wearable device has arrived at any one of the at least two check-in nodes. The wearable device can receive the drawn target pattern, and generate a target motion path in a target area of a target map in combination with the pattern information, navigate the target motion path, and perform a check-in operation at the check-in node. This process flexibly generates a target motion path corresponding to the pattern information of the target pattern in the target area, thereby improving the safety and flexibility of the navigation path generated by the user based on navigation during running training.
[0084] In one possible implementation, the wearable device can display a check-in interface during the user's navigation process, thereby prompting the user to check in, supervising the user through human-computer interaction, and improving the effect of user training.
[0085] Please refer to Figure 5 , which shows a method flow chart of a path navigation method provided by an exemplary embodiment of the present application. The method can be applied to a wearable device, the wearable device has a communication connection with a terminal device, and the method is executed by the wearable device. Figure 5 As shown, the path navigation method includes the following steps.
[0086] Step 501: receiving a drawn target pattern.
[0087] Optionally, the target pattern may be obtained by the wearer of the wearable device drawing on the display screen of the wearable device, or the user may draw on other terminal devices and send the target pattern to the wearable device.
[0088] For example, a first map App is installed in the wearable device, and the user can trigger the icon of the first map App in the wearable device to make the wearable device run the first map App. Figure 6 , which shows a schematic diagram of a map interface involved in an exemplary embodiment of the present application. Figure 6 As shown, in the map interface 600, a start control 601 and a drawing control 602 are included. After the user triggers the icon of the first map App in the wearable device, the map interface shown in 6 can be displayed, and the drawing control 602 can be triggered to enter the above Figure 3 The drawing interface shown in the figure is used to perform the drawing operation.
[0089] In a possible implementation, the user may draw a target pattern in the terminal device and then send the drawn target pattern to the wearable device through a communication connection, and the wearable device receives the target pattern sent by the terminal device. The method for the user to draw a target pattern in the terminal device can refer to the above Figure 6 The method shown will not be repeated here.
[0090] Step 502: Generate a target motion path in a target area of a target map according to pattern information of the target pattern.
[0091] The target area is a safe area obtained by dividing the target map. Optionally, the process of dividing the target area can refer to the description in step 202 above, which will not be repeated here.
[0092] Optionally, taking the pattern information being the pattern outline of the target pattern as an example, the wearable device can generate a target motion path identical to the pattern outline within the target area of the target map based on the pattern outline. The target map is the map synchronized with the wearable device by the terminal device, and the target area is the area divided by the terminal device in the synchronized map.
[0093] Optionally, before generating the target motion path identical to the pattern outline, the wearable device may receive synchronization data sent by the terminal device, and synchronize the map to be synchronized according to the synchronization data. Figure 4 After dividing the target area in the terminal device, the user synchronizes the divided target area to the wearable device. The wearable device receives the synchronization data and synchronizes to obtain the target area, and generates a target motion path identical to the pattern outline in the target area.
[0094] In a possible implementation, the wearable device can obtain a target motion path in the target area that is identical to the pattern outline based on the target area in the target map and the pattern outline. Figure 7 , which shows a schematic diagram of an interface including a target motion path involved in an exemplary embodiment of the present application. Figure 7 As shown, in the application interface 700, a target area 701 and a target motion path 702 are included. The pattern outline drawn by the user is a rectangle, and the pattern outline obtained by the wearable device is a rectangular outline. The wearable device makes an inscribed rectangle in the target area, thereby obtaining the same target motion path as the pattern outline. Alternatively, the pattern outline drawn by the user is a five-pointed star, and the pattern outline obtained by the wearable device is a five-pointed star outline. The wearable device makes an inscribed five-pointed star in the target area, thereby obtaining the same target motion path as the pattern outline.
[0095] In one possible implementation, the process of generating the target motion path can be completed based on a path generation algorithm, which can be pre-designed by the developer in the wearable device. The wearable device can intelligently generate the target motion path (including the actual running route and running check-in points) based on the target pattern drawn by the user by extracting the pattern information of the target pattern, and can calculate the actual running distance, thereby realizing intelligent monitoring of the user's sports training.
[0096] Step 503: determine at least two check-in nodes in the target motion path.
[0097] In one possible implementation, the wearable device may determine each inflection point on the target pattern based on the pattern information; and determine at least two check-in nodes on the target motion path based on each inflection point.
[0098] Taking the case where a user draws a target pattern on a wearable device and the pattern information is a pattern outline of the target pattern as an example, the wearable device can determine at least two check-in nodes on the target motion path according to the drawing process of the pattern outline.
[0099] The wearable device determines at least two check-in nodes on the target motion path and navigates through these check-in nodes. In one possible implementation, the wearable device can determine the inflection points on the pattern outline according to the process of drawing the pattern outline; based on the inflection points, the inflection points at the same position in the target motion path are determined as at least two check-in nodes on the target motion path. For example, in the above Figure 3 In the example, the user draws in clockwise order. Figure 3 The wearable device can number each inflection point according to the drawing process, and determine at least two check-in nodes on the target motion path according to the numbers of each inflection point (for example, the above Figure 3 In the figure, starting from the first stroke, number the five turning points in a clockwise direction to obtain their respective numbers).
[0100] Alternatively, in one possible implementation method, before this step, the wearable device may also obtain training information of the user wearing the wearable device, the training information including at least one of the user's training time, training frequency, training distance length, and training mode; determining at least two check-in nodes in the target motion path, including: determining each rest point in the target motion path according to the target motion path and the training information; and determining at least two check-in nodes according to each rest point.
[0101] The training information may be obtained by recording the user's daily training process by the wearable device. For example, if the user usually does running training, and the training information is two types of information, the training distance and training frequency, the wearable device can obtain the user's running length during each user training process. For example, the user runs 3 times during the running training, each time running 1km and resting for 10 minutes. The wearable device can record the user's training distance as 3km and the training frequency as 3 times during the user's running process, and divide the target motion path according to the length of each run (1km) to obtain the position of each rest point. For the user, the distance between each rest point in the target motion path is 1km, and the wearable device uses each rest point as each check-in node.
[0102] Alternatively, taking the training information as training time and training mode as examples, the wearable device can obtain the user's training time and training mode during each user training process. For example, the user trains according to the state of a marathon during running training, and each training time is 30 minutes. The wearable device can record the user's training time as 30 minutes and the training mode as a marathon during the user's running process, and divide the target motion path according to the length of the marathon and the user's training time to obtain various rest points, and use each rest point as a check-in node.
[0103] Step 504: Determine the navigation order corresponding to each check-in node according to the positions of at least two check-in nodes in the target motion path.
[0104] Optionally, the wearable device can determine the navigation order of at least two punch-in nodes according to the positions of the at least two punch-in nodes in the target motion path. That is, taking 10 punch-in nodes as an example, the wearable device can obtain the numbering order of each punch-in node through the above process, and use the numbering order as the navigation order of at least two punch-in nodes. Alternatively, the wearable device can obtain the determined order of each rest point through the above process, and use the determined order as the navigation order of at least two punch-in nodes.
[0105] Step 505: Navigate to each check-in node in sequence according to the navigation order corresponding to each check-in node.
[0106] Optionally, the wearable device navigates the target motion path in sequence according to the navigation order. For example, taking the target motion path containing 3 check-in nodes as an example, please refer to Figure 8 , which shows a schematic diagram of a navigation interface displayed by a wearable device according to an exemplary embodiment of the present application. Figure 8 As shown, the navigation interface 800 includes a start control 801 and various check-in nodes 802. After the wearable device determines the navigation order of at least two check-in nodes, it can display the above on the display screen. Figure 8 In the interface shown in FIG. 1 , the user can trigger the start control 801 in the navigation interface (such as a click operation) to enable the wearable device to navigate, for example, according to Figure 8 Navigation is performed in the order of numbers 1, 2, and 3. It should be noted that the wearable device can also synchronize the above navigation interface to the terminal device, so that the terminal device can also observe the user training status of the wearable device.
[0107] Step 506, obtaining the current location information of the wearable device.
[0108] Optionally, after the wearable device starts navigating, the current location information of the wearable device can be obtained in real time. For example, the wearable device can obtain the current location information of the wearable device through a low-power global positioning system (GPS) and reflect it in real time in the target map.
[0109] Step 507: when it is detected that the wearable device reaches a first check-in node among the at least two check-in nodes, in response to a triggering operation on a target control in the check-in interface, a check-in record corresponding to the first check-in node is established.
[0110] That is, when the current location information of the wearable device coincides with the first check-in node, the check-in interface is displayed on the display screen of the wearable device, and the first check-in node is any one of the at least two check-in nodes.
[0111] Optionally, the wearable device needs to determine the current location information and the location information corresponding to each check-in node. When the current location information coincides with the first check-in node, it means that the user has arrived at one of the check-in nodes and needs to check in. At this time, the wearable device can display the check-in interface. Please refer to Fig. 9 , which shows a schematic diagram of a punch-in interface involved in an exemplary embodiment of the present application. Fig. 9 As shown, a clock-in interface 901 is displayed on the display screen of the wearable device, and the clock-in interface 901 includes a clock-in control 902. The user can trigger the clock-in control 902 in the clock-in interface 901 to complete the clock-in operation during running.
[0112] Accordingly, the wearable device changes the icon of the node that has been checked in on the target motion path in the target map, thereby instructing the user to complete the check-in of the node. For example, please refer to Fig.10 , which shows a schematic diagram of an interface of a navigation map involved in an exemplary embodiment of the present application. Fig.10 As shown, the display screen of the wearable device displays a target map 1001, a target motion path 1002, a punched-in node 1003, and an unpunched-in node 1004. After the user triggers a corresponding punch-in operation for a punch-in node, the wearable device can transform the icon of the punched-in node on the target motion path (from the icon style of the unpunched-in node to the icon style of the punched-in node), thereby indicating that the user has completed the punch-in for the node.
[0113] Step 508: In response to the triggering operation on the target control in the punch-in interface, a punch-in record corresponding to the first punch-in node is established.
[0114] Among them, the target control is the punch-in control in the above-mentioned punch-in interface. The wearable device establishes a punch-in record in response to the user's triggering operation on the target control in the punch-in interface. Optionally, the wearable device can establish a punch-in record for this punch-in process. For example, the punch-in record can be used by the wearable device to obtain the corresponding training information of the user this time. For example, the wearable device can obtain the time taken from the previous node to this node during this punch-in process, and record it as the training time, or the wearable device can obtain the distance traveled during this punch-in process, and record it as the training distance length, etc.
[0115] In one possible implementation, after the above step 508, the wearable device can display a target map on a display screen, wherein the target map includes a target motion path and each check-in node on the target motion path; receive a connection operation between a second check-in node and a third check-in node among each check-in node, wherein the second check-in node and the third check-in node are any two check-in nodes among each check-in node; generate a second path based on the second check-in node and the third check-in node; and navigate the second path when the user's location information coincides with the second check-in node.
[0116] That is, after the clock-in is completed, the wearable device can display the target map, and the user can connect any two of the clock-in nodes on the displayed target map. The wearable device can generate a second path based on the second and third clock-in nodes connected by the user. For example, the second path is a path with the second clock-in node as the starting point and the third clock-in node as the end point. Please refer to Fig.11 , which shows a schematic diagram of an interface for displaying a target map involved in an exemplary embodiment of the present application. Fig.11 As shown, the display screen of the wearable device displays a target map 1101, a target motion path 1102, a clocked-in node 1103, an unclocked-in node 1104, and a second path 1105. Fig.11 In the example, the user can click on the second check-in node (that is, the unchecked-in node numbered 3) and drag it to the third check-in node (that is, the unchecked-in node numbered 5), and the wearable device can generate a second path 1105 and display it in the target map. Optionally, when the wearable device subsequently obtains the user's location information, when the user's location information coincides with the second check-in node, it navigates according to the new second path and flexibly adjusts the training path.
[0117] In one possible implementation, the wearable device can also obtain the user's current status information during training, and the current status information includes one or more of the user's current heart rate, the user's water loss, and the user's breathing rate; and send the current status information to the terminal device so that the terminal device displays the status information. For example, the wearable device can also obtain information such as the user's wearing of the wearable device during training (wearing position, whether it is worn, etc.), exercise heart rate, user's water loss, and user's breathing rate through PPG data, and send the obtained current status information to the terminal device, and the terminal device can display the obtained current status information on the display screen.
[0118] For example, see Fig.12 , which shows a schematic diagram of an interface of a terminal device involved in an exemplary embodiment of the present application. Fig.12 As shown, in the terminal interface 1200, a status information box 1201 is included. The terminal device can display the received current status information in the status information box 1201. The user can view the current status information of the user wearing the wearable device through the status information box 1201, thereby realizing monitoring.
[0119] Step 509: Navigate the motion path from the first check-in node to the next check-in node.
[0120] Optionally, after completing the punch-in record, the wearable device continues to navigate the next path. This process is similar to the contents of steps 506 to 508 above and will not be repeated here until the training is completed (i.e., navigation is completed for all punch-in nodes of the target motion path).
[0121] It should be noted that the above method can also be applied in a terminal device, and the terminal device executes each step of this solution.
[0122] In summary, the present application receives a drawn target pattern; generates a target motion path in a target area of a target map according to the pattern information of the target pattern, and determines at least two check-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions; navigates according to the target motion path, and performs a check-in operation when it is detected that the wearable device has arrived at any one of the at least two check-in nodes. The wearable device can receive the drawn target pattern, and generate a target motion path in a target area of a target map in combination with the pattern information, navigate the target motion path, and perform a check-in operation at the check-in node. This process flexibly generates a target motion path corresponding to the pattern information of the target pattern in the target area, thereby improving the safety and flexibility of the navigation path generated by the user based on navigation during running training.
[0123] In addition, the present application allows the user to connect any two check-in nodes and change the training path at any time, so that the wearable device navigates based on the changed training path, which can also achieve diversity and flexibility in navigation training for users.
[0124] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0125] Please refer to Fig.13 , which shows a structural block diagram of a path navigation device provided by an exemplary embodiment of the present application. The path navigation device 1300 can be applied to a wearable device. The path navigation device 1300 includes:
[0126] A first acquisition module 1301 is used to receive a drawn target pattern;
[0127] A first generating module 1302 is used to generate a target motion path in a target area of a target map according to the pattern information of the target pattern, and determine at least two punch-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions;
[0128] The first navigation module 1303 is used to navigate according to the target motion path, and perform a check-in operation when it is detected that the wearable device reaches any one of the at least two check-in nodes.
[0129] In summary, the present application receives a drawn target pattern; generates a target motion path in a target area of a target map according to the pattern information of the target pattern, and determines at least two check-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions; navigates according to the target motion path, and performs a check-in operation when it is detected that the wearable device has arrived at any one of the at least two check-in nodes. The wearable device can receive the drawn target pattern, and generate a target motion path in a target area of a target map in combination with the pattern information, navigate the target motion path, and perform a check-in operation at the check-in node. This process flexibly generates a target motion path corresponding to the pattern information of the target pattern in the target area, thereby improving the safety and flexibility of the navigation path generated by the user based on navigation during running training.
[0130] Optionally, determining at least two check-in nodes in the target motion path includes:
[0131] Determining each inflection point on the target pattern according to the pattern information;
[0132] At least two check-in nodes on the target motion path are determined according to the inflection points.
[0133] Optionally, the device further comprises:
[0134] A second acquisition module is used to acquire training information of a user wearing the wearable device before determining at least two punch-in nodes in the target motion path, wherein the training information includes at least one of the user's training time, training frequency, training distance and training mode;
[0135] The determining at least two check-in nodes in the target motion path includes:
[0136] Determining each rest point in the target motion path according to the target motion path and the training information;
[0137] According to the various rest points, the at least two check-in nodes are determined.
[0138] Optionally, the navigating according to the target motion path includes:
[0139] Determining a navigation order corresponding to each of the at least two punch-in nodes according to positions of the at least two punch-in nodes in the target motion path;
[0140] Navigate each of the punch-in nodes in sequence according to the navigation order corresponding to each of the punch-in nodes.
[0141] Optionally, when detecting that the wearable device arrives at any one of the at least two punch-in nodes, performing a punch-in operation includes:
[0142] Obtaining current location information of the wearable device;
[0143] When detecting that the wearable device arrives at a first clock-in node among the at least two clock-in nodes, in response to a triggering operation on a target control in a clock-in interface, establishing a clock-in record corresponding to the first clock-in node;
[0144] Navigate the motion path from the first check-in node to the next check-in node.
[0145] Optionally, the device further comprises:
[0146] A first display module is used to display the target map on the display screen after the punch-in record is established in response to the trigger operation of the target control in the punch-in interface, wherein the target map includes the target motion path and each punch-in node on the target motion path;
[0147] A first receiving module is used to receive a connection operation between a second clocking-in node and a third clocking-in node among the clocking-in nodes, where the second clocking-in node and the third clocking-in node are any two clocking-in nodes among the clocking-in nodes;
[0148] A second generating module, configured to generate a second path according to the second clocking-in node and the third clocking-in node;
[0149] The second navigation module is used to navigate the second path when the location information of the user coincides with the second check-in node.
[0150] Optionally, the device further comprises:
[0151] A third acquisition module is used to acquire current state information of a user wearing the wearable device after navigating according to the target motion path, wherein the current state information includes one or more of the user's current heart rate, the user's water loss, and the user's breathing rate;
[0152] The second display module is used to send the current status information to the terminal device so that the terminal device displays the status information.
[0153] Fig.14 FIG. 1 is a schematic diagram of a wearable device provided by an exemplary embodiment of the present application. Fig.14 As shown, the wearable device 1400 includes a central processing unit (CPU) 1401, a system memory 1404 including a random access memory (RAM) 1402 and a read only memory (ROM) 1403, and a system bus 1405 connecting the system memory 1404 and the central processing unit 1401. The wearable device 1400 also includes a basic input / output system (I / O system) 1406 that helps transmit information between various devices in the computer, and a large-capacity storage device 1407 for storing an operating system 1412, application programs 1413, and other program modules 1414.
[0154] The basic input / output system 1406 includes a display 1408 for displaying information and an input device 1409 such as a mouse and a keyboard for user inputting information. The display 1408 and the input device 1409 are connected to the central processing unit 1401 through an input / output controller 1410 connected to the system bus 1405. The basic input / output system 1406 may also include an input / output controller 1410 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1410 also provides output to a display screen, a printer, or other types of output devices.
[0155] The mass storage device 1407 is connected to the central processing unit 1401 via a mass storage controller (not shown) connected to the system bus 1405. The mass storage device 1407 and its associated computer-readable medium provide non-volatile storage for the wearable device 1400. That is, the mass storage device 1407 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.
[0156] The computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage media is not limited to the above. The above-mentioned system memory 1404 and mass storage device 1407 can be collectively referred to as memory.
[0157] The wearable device 1400 can be connected to the Internet or other network devices through a network interface unit 1411 connected to the system bus 1405 .
[0158] The memory also includes one or more programs, which are stored in the memory. The central processing unit 1401 implements all or part of the steps performed by the wearable device in the methods provided in the above embodiments of the present application by executing the one or more programs.
[0159] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0160] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a terminal device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means to another website site, computer, terminal device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a terminal device, a data center, etc. that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a high-density digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state drive (SSD)). The embodiment of the present application further discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the method in the above method embodiment when executed by a processor.
[0161] The embodiment of the present application also discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the method in the above method embodiment.
[0162] The embodiment of the present application also discloses an application publishing platform, wherein the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes the method in the above method embodiment.
[0163] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0164] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a memory and includes several requests to enable a terminal device (which can be a personal computer, terminal device or network device, etc., specifically a processor in the terminal device) to execute some or all of the steps of the above-mentioned methods of various embodiments of the present application.
[0165] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0166] The above is an example introduction to a path navigation method, device, terminal device and storage medium disclosed in an embodiment of the present application. Individual examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A path navigation method, characterized in that: The method is applied to a wearable device, and the method comprises: receiving a drawn target pattern; Acquire training information of a user wearing the wearable device, wherein the training information includes at least one of a training time, a training frequency, a training distance, and a training mode of the user; According to the pattern information of the target pattern, a target motion path is generated in a target area of a target map, and at least two punch-in nodes are determined in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions; Navigating according to the target motion path, and performing a punch-in operation when detecting that the wearable device reaches any one of the at least two punch-in nodes; The determining at least two check-in nodes in the target motion path includes: Determining each rest point in the target motion path according to the target motion path and the training information; According to the various rest points, the at least two check-in nodes are determined.
2. The method according to claim 1, characterized in that The determining at least two check-in nodes in the target motion path includes: Determining each inflection point on the target pattern according to the pattern information; At least two check-in nodes on the target motion path are determined according to the inflection points.
3. The method according to claim 1, characterized in that The navigating according to the target motion path includes: Determining a navigation order corresponding to each of the at least two punch-in nodes according to positions of the at least two punch-in nodes in the target motion path; Navigate each of the punch-in nodes in sequence according to the navigation order corresponding to each of the punch-in nodes.
4. The method according to claim 1, characterized in that: The step of performing a clocking-in operation when detecting that the wearable device has arrived at any one of the at least two clocking-in nodes includes: Obtaining current location information of the wearable device; When detecting that the wearable device arrives at a first clock-in node among the at least two clock-in nodes, in response to a triggering operation on a target control in a clock-in interface, establishing a clock-in record corresponding to the first clock-in node; Navigate the motion path from the first check-in node to the next check-in node.
5. The method according to claim 4, characterized in that After the punch-in record is established in response to the triggering operation of the target control in the punch-in interface, the method further includes: Displaying the target map on a display screen, wherein the target map includes the target motion path and each check-in node on the target motion path; receiving a connection operation between a second clocking-in node and a third clocking-in node among the clocking-in nodes, wherein the second clocking-in node and the third clocking-in node are any two clocking-in nodes among the clocking-in nodes; Generate a second path according to the second clock-in node and the third clock-in node; When the location information of the wearable device coincides with the second check-in node, the second path is navigated.
6. The method according to any one of claims 1 to 5, characterized in that: After navigating according to the target motion path, the method further includes: Acquire current status information of a user wearing the wearable device, where the current status information includes one or more of a current heart rate of the user, a water loss condition of the user, and a breathing frequency of the user; The current status information is sent to the terminal device so that the terminal device displays the status information.
7. A route navigation device, characterized in that: The device is applied to a wearable device, and comprises: A first acquisition module, used for receiving a drawn target pattern; A second acquisition module is used to acquire training information of a user wearing the wearable device, wherein the training information includes at least one of the user's training time, training frequency, training distance and training mode; A first generating module is used to generate a target motion path in a target area of a target map according to the pattern information of the target pattern, and determine at least two punch-in nodes in the target motion path; wherein the target area is a safe area obtained by dividing the target map into regions; a path navigation module, configured to navigate according to the target motion path and perform a punch-in operation when detecting that the wearable device reaches any one of the at least two punch-in nodes; The first generating module is further used to determine each rest point in the target motion path according to the target motion path and the training information, and determine the at least two check-in nodes according to the each rest point.
8. A wearable device, characterized in that: The wearable device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the path navigation method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the path navigation method according to any one of claims 1 to 6 is implemented.
