WO2017084068A1 - Navigation method and device - Google Patents

Navigation method and device Download PDF

Info

Publication number
WO2017084068A1
WO2017084068A1 PCT/CN2015/095024 CN2015095024W WO2017084068A1 WO 2017084068 A1 WO2017084068 A1 WO 2017084068A1 CN 2015095024 W CN2015095024 W CN 2015095024W WO 2017084068 A1 WO2017084068 A1 WO 2017084068A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
information
user
sub
running direction
Prior art date
Application number
PCT/CN2015/095024
Other languages
French (fr)
Chinese (zh)
Inventor
刘海波
雷方
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580084705.9A priority Critical patent/CN108369778A/en
Priority to PCT/CN2015/095024 priority patent/WO2017084068A1/en
Publication of WO2017084068A1 publication Critical patent/WO2017084068A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/097Supervising of traffic control systems, e.g. by giving an alarm if two crossing streets have green light simultaneously

Definitions

  • the embodiments of the present invention relate to the field of navigation technologies, and in particular, to a navigation method and device.
  • a common indoor navigation technology is based on WI-FI's indoor navigation technology.
  • WI-FI-based indoor navigation technology network deployment of the environment is required, that is, a certain number of WI-FI hotspots are deployed in the environment.
  • the navigation device can locate the current location of the user according to the strength of the signal transmitted by the WI-FI hotspot deployed in the environment, and then navigate the user according to the current location of the user.
  • indoor navigation technology can accurately navigate indoors for users, such indoor navigation technology requires network deployment of the environment, and requires high network deployment for the environment.
  • the embodiment of the invention discloses a navigation method and device, which can reduce network deployment requirements for the environment in the navigation process.
  • a first aspect of the embodiments of the present invention discloses a navigation method, where the method includes:
  • the description information of the at least one path of the record in response to the navigation instruction, where the description information of each of the path includes at least one sub-path constituting the path Sequence and length information and direction information of each of the sub-paths;
  • the obtaining, by the description information of the at least one path of the path, the description information of the path including:
  • Descriptive information of a path having the smallest total length is selected from the description information of all the path paths recorded according to the total length of each of the path paths.
  • the method before the receiving the navigation instruction, the method further includes:
  • the running direction of the user is recorded as the direction information of the sub-path included in the description information of the path, and the running distance of the user in the running direction is recorded as the length information of the sub-path.
  • the description information of each of the path paths further includes an average vibration amplitude corresponding to each sub-path constituting the path, the slave record Obtaining a description of a path through the description information of at least one path, including:
  • the method further includes:
  • the average vibration amplitude corresponding to the running direction is the flat corresponding to the sub path The amplitude of the vibration.
  • the description information of each of the path paths further includes an average brightness value corresponding to each sub-path constituting the path, the slave record Obtaining a description of a path through the description information of at least one path, including:
  • the method further includes:
  • the average brightness value corresponding to the running direction is used as the average brightness value corresponding to the sub path.
  • the description information of the path further includes the environment identifier information, where the method further includes:
  • the first possible implementation manner of the first aspect of the embodiment of the present invention, the second possible implementation manner of the first aspect of the embodiment of the present invention, and the first aspect of the first aspect of the embodiment of the present invention The third possible implementation manner of the first aspect of the embodiment of the present invention, the fifth possible implementation manner of the first aspect of the embodiment of the present invention, and the sixth aspect of the first aspect of the embodiment of the present invention
  • the sub-path sequence and the sub-path included according to the description information of the one path
  • the length information and direction information of the path, and reverse navigation to the user including:
  • a second aspect of the embodiments of the present invention discloses a path recording method, where the method includes:
  • Detecting operation information of the user where the operation information includes a running direction of the user and a running distance of the user in the running direction;
  • the running direction of the user is recorded as the direction information of the sub-paths constituting the route path, and the running distance of the user in the running direction is recorded as the length information of the sub-path.
  • the operation information further includes an average vibration amplitude corresponding to a running direction of the user
  • the method further includes:
  • the average vibration amplitude corresponding to the running direction of the user is recorded as the average vibration amplitude corresponding to the sub-path.
  • the operation information further includes an average brightness value corresponding to a running direction of the user, where the method further includes:
  • the average brightness value corresponding to the running direction of the user is recorded as the average brightness value corresponding to the sub path.
  • the operation information further includes the environment identifier information corresponding to the running direction of the user, and the method further includes:
  • the environment identifier information corresponding to the running direction of the user is recorded as the environment identifier information corresponding to the sub-path.
  • a third aspect of the embodiments of the present invention discloses a navigation device, where the device includes:
  • a receiving module configured to receive a navigation instruction
  • an obtaining module configured to acquire, from the description information of the at least one path of the record, description information of a path, in response to the navigation instruction, where the description information of each path includes at least the path that constitutes the path The order of the path of a sub-path and the length information and direction information of each of the sub-paths;
  • the navigation module is configured to perform reverse navigation on the user according to the sequence of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
  • the acquiring module includes:
  • a first calculating unit configured to calculate a total length of the path according to the length information of each sub-path constituting the path included by the description information of each path of the record;
  • a first selecting unit configured to select, according to the total length of each of the path paths, description information of a path with the smallest total length from the description information of all the path paths recorded.
  • the device further includes:
  • a first detecting module configured to detect a running direction of the user and a running distance of the user in the running direction before the receiving module receives the navigation instruction
  • a first recording module configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path .
  • the description information of each of the path paths further includes an average vibration amplitude corresponding to each sub-path constituting the path
  • the acquiring module includes :
  • a second calculating unit configured to calculate, according to an average vibration amplitude corresponding to each sub-path of the path path included in the description information of each path of the recorded path, the average vibration amplitude in the path is higher than a preset The number of sub-paths of vibration amplitude;
  • a second selecting unit configured to select, according to the number of sub-paths in which the average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, the average vibration amplitude is higher than the description information of all the path paths recorded A description of a path through which the number of subpaths of the preset vibration amplitude is the smallest.
  • the device further includes:
  • a second detecting module configured to detect a running direction of the user, a running distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user, before the receiving module receives the navigation instruction;
  • a second recording module configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path And recording an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
  • the description information of each of the path paths further includes an average brightness value corresponding to each sub-path constituting the path
  • the acquiring module includes :
  • a third calculating unit configured to calculate, according to an average brightness value corresponding to each sub-path of the path that is included in the description information of each path of the record, that the average brightness value in the path is lower than a preset The number of subpaths of the luminance value;
  • a third selecting unit configured to select, according to the number of sub-paths whose average brightness value is lower than the preset brightness value, in each of the path paths, the average brightness value is lower than the description information of all the path paths recorded A description of a path through which the number of sub-paths of the preset luminance value is the smallest.
  • the device further includes:
  • a third detecting module configured to: before the receiving module receives the navigation instruction, detecting a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to a running direction of the user;
  • a third recording module configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path And recording an average brightness value corresponding to the running direction of the user as an average brightness value corresponding to the sub path.
  • the first possible implementation manner of the third aspect of the embodiment of the present invention the second possible implementation manner of the third aspect of the embodiment of the present invention, and the third aspect of the third embodiment of the present invention
  • the description information of the path further includes environment identification information
  • the device further includes:
  • a fourth detecting module configured to detect, in a process of performing reverse navigation on the user, identifier information of an environment in which the user is currently located;
  • a determining module configured to determine whether the identifier information of the current environment of the user matches the environment identifier information
  • an output module configured to: when the determining module determines that the identifier information of the current environment of the user does not match the environment identifier information, output prompt information for prompting that the running path is incorrect.
  • the navigation module includes:
  • An obtaining unit configured to invert an order of the path of the sub-path included in the description information of the one path, to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the description information of the path.
  • the length information and the direction information of each sub-path are obtained, and the length information and the direction information of each sub-path of the reverse navigation path are obtained;
  • a navigation unit configured to follow the path sequence of the sub-paths of the reverse navigation path, and navigate the user according to length information and direction information of each sub-path of the reverse navigation path.
  • a fourth aspect of the embodiments of the present invention discloses a navigation device, including a processor, an input device connected to the processor, and a memory connected to the processor, wherein the memory stores one a group program code and description information for recording at least one path, wherein the description information of each of the path includes a path sequence of at least one sub-path constituting the path and length information and direction of each of the sub-paths Information, wherein the processor is configured to invoke program code stored in the memory for performing the following operations:
  • the user is reversely navigated according to the order of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
  • the processor from the description information of the at least one path of the path recorded by the memory, obtains description information of a path, including:
  • Descriptive information of a path having the smallest total length is selected from description information of all path paths recorded by the memory according to the total length of each of the path paths.
  • the navigation device further includes a sensor, and the sensor
  • the processors are connected, and the processor also performs the following operations:
  • Controlling by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path.
  • the description information of each path of the path recorded by the memory further includes an average vibration amplitude corresponding to each sub-path constituting the path.
  • the acquiring, by the processor, the description information of the path of the path from the description information of the at least one path recorded by the memory including:
  • the average vibration amplitude is higher than the preset vibration amplitude.
  • the device further includes a sensor, where the sensor passes An interface is coupled to the processor, the processor further performing the following operations:
  • the average vibration amplitude corresponding to the running direction of the user is taken as the average vibration amplitude corresponding to the sub-path.
  • the description information of each path of the path recorded by the memory further includes an average brightness value corresponding to each sub-path constituting the path.
  • the acquiring, by the processor, the description information of the path of the path from the description information of the at least one path recorded by the memory including:
  • the average brightness value is lower than the preset brightness value from description information of all path paths recorded by the memory.
  • the device further includes a sensor,
  • the processors are connected, and the processor also performs the following operations:
  • the average brightness value corresponding to the running direction of the user is used as the average brightness value corresponding to the sub path.
  • the device further includes an image capturing device and an output device, and the image capturing device and The output device is connected to the processor through an interface, and the description information of the path recorded by the memory further includes environment feature information, and the processor further performs the following operations:
  • the output device is controlled to output prompt information for prompting that the running path is incorrect.
  • the processor according to the description manner of the sub-path included in the description information of the one path And the length information and direction information of the sub-path, and the reverse navigation of the user, including:
  • a fifth aspect of the embodiments of the present invention discloses a path recording device, where the device includes:
  • a detecting module configured to detect running information of the user, where the running information includes a running direction of the user and a running distance of the user in the running direction;
  • a recording module configured to record the running direction of the user as the direction information of the sub-paths constituting the path, and record the running distance of the user in the running direction as the length information of the sub-path.
  • the running information is further included
  • the recording module is further configured to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
  • the operation information further includes an average brightness value corresponding to a running direction of the user
  • the recording module is further configured to run the user.
  • the average brightness value corresponding to the direction is recorded as the average brightness value corresponding to the sub path.
  • the operation information further includes environment identification information corresponding to a running direction of the user, and the recording module is further configured to run the user.
  • the environment identifier information corresponding to the direction is recorded as the environment identifier information corresponding to the sub-path.
  • a sixth aspect of the embodiments of the present invention discloses a path recording device, including a processor, a sensor connected to the processor, and a memory connected to the processor, wherein the memory stores one a program code, the processor is configured to invoke program code stored in the memory, to perform the following operations:
  • the memory is controlled to record the running direction of the user as the direction information of the sub-paths constituting the route path, and record the running distance of the user in the running direction as the length information of the sub-path.
  • the operation information further includes an average vibration amplitude corresponding to a running direction of the user
  • the processor further performs the following operations:
  • the memory is controlled to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
  • the operation information further includes an average brightness value corresponding to a running direction of the user
  • the processor further performs the following operations:
  • the memory is controlled to record an average brightness value corresponding to the running direction of the user as an average brightness value corresponding to the sub path.
  • the operation information further includes environment identification information corresponding to a running direction of the user, and the processor further performs the following operations:
  • the memory is controlled to record the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
  • the navigation device after the navigation device receives the navigation instruction, at least one path to be recorded will be The description information of the path is obtained in the description information of the path, and the user is reversely navigated according to the route sequence and the sub-path length information and the direction information of the sub-paths of the path path included in the obtained path path description information. It can be seen that, by implementing the embodiment of the present invention, the navigation device can obtain the route sequence of the sub-path of the reverse navigation path and the length information and direction of the sub-path according to the path sequence of the sub-path of the path path and the length information and direction information of the sub-path.
  • the length information and the direction information of each sub-path of the reverse navigation path are outputted by the display screen or the horn to reversely navigate the user; or the navigation device can navigate through
  • the sensor of the device detects the running direction and running distance of the user in real time, and performs real-time reverse navigation on the user according to the path sequence of the sub-path of the reverse navigation path and the direction information of the sub-path of the reverse navigation path, so that the user does not need to pass
  • the network is used for navigation, which reduces the environmental network deployment requirements during the navigation process.
  • FIG. 1 is a schematic flow chart of a navigation method according to an embodiment of the present invention.
  • FIG. 1a is a schematic diagram of a route path disclosed in an embodiment of the present invention.
  • FIG. 1b is a schematic diagram of another path of the path disclosed in the embodiment of the present invention.
  • FIG. 1c is a schematic diagram of a route path and a reverse navigation path according to an embodiment of the present invention
  • FIG. 1d is a schematic diagram of another path path and a reverse navigation path disclosed in an embodiment of the present invention.
  • 1e is a schematic diagram of a reverse navigation path disclosed in an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another navigation method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of another navigation method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another navigation method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another path recording method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a navigation device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another navigation device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another navigation device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another navigation device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a path recording device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another path recording device according to an embodiment of the present invention.
  • the embodiment of the invention discloses a navigation method and device, which can reduce hardware configuration requirements for the environment in the navigation process. The details are described below separately.
  • the navigation device can navigate the user in an indoor building such as a parking lot, a shopping mall, a museum, or the like.
  • the navigation device can detect the running direction and the running distance of the user through the sensor configured by itself, and obtain a path of the user from the parking lot entrance to the parking space according to the detected running direction and the running distance. And record the path of the route.
  • the user can input navigation instructions on the navigation device.
  • the navigation path of the user is used to reversely navigate the user (ie, starting from the parking space and navigating the user with the entrance of the parking lot) to guide the user to return.
  • FIG. 1 is a schematic flowchart diagram of a navigation method according to an embodiment of the present invention. As shown in FIG. 1, the navigation method may include the following steps:
  • the navigation device receives the navigation instruction.
  • the navigation device may include but is not limited to a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a smart glasses, a smart watch, Smart bracelets and devices such as car navigation.
  • a smart phone such as an Android phone, an iOS phone, etc.
  • a tablet computer such as an Samsung Galaxy Tabs
  • a UMPC Ultra-mobile Personal Computer
  • netbook such as a smart glasses, a smart watch, Smart bracelets and devices such as car navigation.
  • the navigation instruction may be input by the user through a function button of the navigation device, or the navigation instruction may be sent by the user to the navigation device through the wearable device, which is not limited by the embodiment of the present invention. .
  • the navigation device acquires, from the description information of the at least one path that is recorded, a description information of a path, in response to the navigation instruction.
  • the navigation device after receiving the navigation instruction, acquires description information of a route path from the description information of the at least one path recorded by the navigation device, in response to the received navigation instruction.
  • the description information of each path of the path recorded by the navigation device includes a sequence of paths of at least one sub-path constituting the path, and length information and direction information of each sub-path constituting the path.
  • the navigation device may record the path of the user.
  • one route path may be a path taken by the user recorded by the navigation device in a continuous operation (ie, action, such as driving, running, walking, etc.), for example, the user reaches point B from point A in a continuous operation. Then, from point B to point C, the navigation device will record a path from point A to point B through point B.
  • a path may be a path recorded by the navigation device before receiving the path end record instruction after receiving the path start record instruction, where the path start record instruction is used to instruct the navigation device to record the path of the user path. The path end record instruction is used to instruct the navigation device to stop recording the path of the user path.
  • the user continuously runs from point A to point B, and stops after reaching point B.
  • the user starts running and runs continuously from point B to point C.
  • the navigation device will record a point from point A to point B, and then from B. Point to the path of the route to point C.
  • a path may be composed of a sub-path or a plurality of sub-paths in the order of the user.
  • one sub-path corresponds to one direction information
  • the direction information corresponding to the two adjacent sub-paths is different
  • the direction information of the sub-paths may be absolute direction information (for example, east-south-north direction), or the direction information of the sub-paths may be relative
  • the direction information (for example, may be left or left relative to the adjacent sub-path) is not limited in the embodiment of the present invention.
  • FIG. 1a is a schematic diagram of a route path according to an embodiment of the present invention.
  • Path 1 passes through path 2, and path 1 corresponds to one running direction (north), path 2 corresponds to one running direction (eastward), and path 1 corresponds to the running direction of path 2. Therefore, the path shown in FIG. 1a includes two sub-paths, namely path 1 and path 2, and the path of the sub-path is the path 1 and then the path 2, and the direction information of the path 1 is north, and the direction of the path 2 The information is eastward.
  • FIG. 1b is a schematic diagram of another path of the path disclosed in the embodiment of the present invention, and the path of the path shown in FIG. 1b is the path of the first path. 1 then passes through path 2, and path 1 corresponds to one running direction (forward), path 2 corresponds to one running direction (to the right with respect to the running direction of path 1), and the running direction of path 1 and path 2 is different. Therefore, the path shown in FIG. 1b includes two sub-paths, namely path 1 and path 2, and the path of the sub-path is first path 1 and then path 2, and the direction information of path 1 is forward, and the direction of path 2 The information is to the right with respect to the direction information of path 1.
  • the specific implementation manner that the navigation device acquires the description information of a path through the description information of the at least one path that is recorded may be:
  • Step 11) The navigation device acquires, from the description information of the at least one path that is recorded, the description information of a route path whose recording time is closest to the current time.
  • the navigation device stores the recording time corresponding to the description information of each path.
  • the navigation device can automatically select the description information of the path of the path that is closest to the current time, and avoid the user manually selecting the description information of the path of the last record from the description information of the multiple path paths, and further Intelligent.
  • the specific implementation manner that the navigation device acquires the description information of a path through the description information of the at least one path that is recorded may include the following steps:
  • Step 21 the navigation device calculates the total length of the path according to the length information of each sub-path constituting the path included in the description information of each path of the recorded path;
  • Step 22 The navigation device selects, according to the total length of each path, the description information of a path with the smallest total length from the description information of all the path paths recorded.
  • the navigation device can automatically select the description information of the path with the shortest path for the user, so as to guide the user to quickly reach the destination.
  • step S101 in the indoor navigation method described in FIG. 1, before the navigation device performs step S101, the following steps may also be performed:
  • Step 31 the navigation device detects a running direction of the user and a running distance of the user in the running direction;
  • Step 32) The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path.
  • the navigation device may record the direction of the user's running direction as the sub-path of the path, and record the running distance of the user in the running direction as the length information of the sub-path, so that the navigation device is configured to perform the step 31) and the step 32).
  • step S102 when the description information of each path further includes an average vibration amplitude corresponding to each sub-path constituting the path, in step S102, the description of the at least one path of the navigation device is recorded.
  • the specific implementation manner of obtaining the description information of a path in the information may include the following steps:
  • Step 41) The navigation device calculates the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in the path according to the average vibration amplitude corresponding to each sub-path of the constituent path included in the description information of each path of the recorded path. ;
  • Step 42) The navigation device selects a sub-path with an average vibration amplitude higher than a preset vibration amplitude from the description information of all the path paths recorded according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each path. The smallest number of descriptions of a path.
  • the navigation device can provide the user with the most flat path to navigate the user according to the average vibration amplitude corresponding to the sub-path of each path of the recorded path.
  • step S101 in the indoor navigation method described in FIG. 1, before the navigation device performs step S101, the following steps may also be performed:
  • Step 51 the navigation device detects the running direction of the user and the running distance of the user in the running direction. And the average vibration amplitude corresponding to the user's running direction;
  • Step 52) The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the running direction of the user.
  • the average vibration amplitude is taken as the average vibration amplitude corresponding to the sub path.
  • the navigation device can record the average vibration amplitude of the user when passing through each sub-path, so that the navigation device can make the navigation device according to the average vibration amplitude corresponding to the sub-path of each path of the recorded path. Provides a flattest path for reverse navigation for the user.
  • step S102 when the description information of each path further includes an average brightness value corresponding to each sub-path constituting the path, in step S102, the description of the at least one path of the navigation device is recorded.
  • the specific implementation manner of obtaining the description information of a path in the information may include the following steps:
  • Step 61) The navigation device calculates the number of sub-paths whose average brightness value in the path is lower than the preset brightness value according to the average brightness value corresponding to each sub-path of the composition path included in the description information of each path of the recorded path. ;
  • Step 62) The navigation device selects a sub-path with an average luminance value lower than the preset luminance value from the description information of all the path paths recorded according to the number of sub-paths whose average luminance value is lower than the preset luminance value in each path. The smallest number of descriptions of a path.
  • the navigation device By performing step 61) and step 62), the navigation device provides the user with a path with the best light for navigation according to the average light illuminance value corresponding to the sub-path of each path of the record.
  • step S101 in the indoor navigation method described in FIG. 1, before the navigation device performs step S101, the following steps may also be performed:
  • Step 72) The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the running direction of the user.
  • the average brightness value is taken as the average brightness value corresponding to the sub path.
  • the navigation device can record each piece of the user's way.
  • the average ray brightness value corresponding to the sub-path so that the navigation device can provide the user with the best ray path for navigation according to the average ray brightness value corresponding to the sub-path of each path of the recorded path.
  • the navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and direction information of the sub-path.
  • the navigation device after acquiring the description information of a path through the description information of the at least one path, the navigation device selects the path sequence of the sub-path and the length information of the sub-path according to the description information of the acquired path. And direction information to reverse navigation to the user.
  • the specific implementation manner of the reverse navigation of the user by the navigation device according to the sequence of the sub-paths included in the description information of the acquired path and the length information and the direction information of the sub-path may include the following steps:
  • Step 81) The navigation device inverts the order of the sub-paths included in the description information of the acquired path, obtains the path sequence of at least one sub-path that constitutes the reverse navigation path, and includes each sub-item according to the description information of the acquired path. Length information of the path and direction information, obtaining length information and direction information of each subpath of the reverse navigation path;
  • Step 82 The navigation device follows the route order of the sub-paths of the reverse navigation path, and navigates the user according to the length information and direction information of each sub-path of the reverse navigation path.
  • the navigation device may output length information and direction information of each sub-path in the reverse navigation path on the display screen according to the path sequence of each sub-path of the reverse navigation path. Navigate the user.
  • the navigation device may sequentially output the length information and the direction information of each sub-path of the reverse navigation path by the horn according to the path of each sub-path of the reverse navigation path to navigate the user.
  • FIG. 1c is a schematic diagram of a route path and a reverse navigation path according to an embodiment of the present invention.
  • the sub-paths included in the path are path 1 and path 2, and the length information of the path 1 is 50 meters.
  • the direction information corresponding to the path 1 is northward, and the length information of the path 2 is 100 meters.
  • the order of the sub-paths is first route 1 and then route 2.
  • the navigation device obtains the description information of the path, according to the principle that the path of the sub-path is reversed, the order of the path of the sub-path of the path is reversed (ie, path 2 is followed by path 1), and the reverse navigation path is obtained.
  • the order of the sub-paths is reversed, and the direction information of path 1 and path 2 is reversed, and the length information of path 1 and path 2 is kept unchanged, and a reverse navigation path as shown in FIG. 1c is obtained.
  • the path corresponding to path 2 of the reverse navigation path The direction information corresponding to the path 1 of the reverse navigation path is southward; the length information corresponding to the path 2 of the reverse navigation path is 100 meters, and the length information corresponding to the path 1 of the reverse navigation path is 50 meters.
  • the navigation device will guide the user to go west for 100 meters and then south for 50 meters according to the path route of path 2 and route 1 first.
  • the navigation device may convert the absolute direction information into relative direction information, and use the relative direction information to navigate. For example, when the navigation device uses the reverse navigation path of FIG. 1c to navigate the user, if the direction that the user is currently facing is northward, the direction information corresponding to the path 2 of the reverse navigation path output by the navigation device is relative to the current face. The direction is to the left, and the direction information corresponding to the path 1 of the reverse navigation path output by the navigation device is leftward.
  • FIG. 1d is a schematic diagram of another path and a reverse navigation path disclosed in the embodiment of the present invention.
  • the sub-paths included in the path shown in FIG. 1d are path 1 and path 2, the length information of the path 1 is 50 meters, the direction information corresponding to the path 1 is forward, and the length information of the path 2 is 100 meters, and the path 2 is The corresponding direction information is rightward relative to path 1, and the order of the sub-paths is first path 1 and then path 2.
  • the navigation device After the navigation device obtains the description information of the path, according to the principle that the path of the sub-path is reversed, the order of the path of the sub-path of the path is reversed (ie, path 2 is followed by path 1), and the reverse navigation path is obtained.
  • a reverse navigation path as shown in Figure 1d is obtained. In the reverse navigation path shown in FIG.
  • the direction information corresponding to the path 2 of the reverse navigation path is forward
  • the direction information corresponding to the path 1 of the reverse navigation path is leftward
  • the length information corresponding to the path 2 of the reverse navigation path is At 100 meters
  • the length information corresponding to path 1 of the reverse navigation path is 50 meters.
  • the navigation device may indicate the initial running direction of the user according to the path sequence of the sub-path of the reverse navigation path and the direction information of the sub-path of the reverse navigation path; and, the navigation device may The sensor device configured by itself detects the running direction of the user and the distance the user runs in the running direction in real time, according to the running direction of the user detected in real time, the distance the user runs in the running direction, and the direction of the sub path of the reverse navigation path.
  • Information and length information Direct direction guidance to users in real time.
  • FIG. 1e is a schematic diagram of a reverse navigation path according to an embodiment of the present invention.
  • the sub-paths included in the reverse navigation path shown in FIG. 1e are path 1 and path 2, wherein the direction information corresponding to path 1 is northward, the length information corresponding to path 1 is 50, and the direction information corresponding to path 2 is eastward.
  • the length information corresponding to path 2 is 100, and the path order of the sub-path is first path 1 and then path 2.
  • the navigation device will prompt the user to run north for 50 meters; the navigation device can detect whether the user's running direction is the northward direction, and if not, the navigation device can output a prompt message for prompting the running direction to be incorrect.
  • the navigation device continues to detect the distance that the user runs northward; when the difference between the length of the path 1 and the distance traveled by the user to the north is less than or equal to a preset threshold, the navigation device guides the user to the running direction corresponding to the path 2, Realize direction guidance to users in real time. For example, when the navigation device runs 45 meters according to the northward distance of the user, if the preset threshold is 5, the navigation device may prompt the user to run 100 meters to the east and then run 100 meters to the east.
  • the description information of the path further includes environment identification information
  • the navigation device may further perform the following steps:
  • Step 91 detecting, in the process of performing reverse navigation on the user, the identification information of the environment in which the user is currently located;
  • Step 92 determining whether the identification information of the current environment of the user matches the environmental identification information
  • Step 93 If there is no match, the prompt information for prompting that the running path is incorrect is output.
  • the description information of the path further includes one or more environment identification information, and the environment identification information may be text information or image information of the environment identifier, and the like, which is not limited in the embodiment of the present invention.
  • the environment identification information may correspond to a relative position in the sub path of the path (the relative position may be, for example, at the 40th meter of the sub path). If the environment identification information is at the 40th meter of the subpath of the route path and the subpath of the route path is 50 meters, the environment identification information is at the 10th meter of the subpath when the user is reversely navigated. During the reverse navigation of the user by the navigation device, when the navigation device detects that the user runs at a distance of 10 meters, the navigation device detects the environment identification information. Optionally, the navigation device can detect the environment identifier by using the camera device. information. When the navigation device detects the environmental identification information, it determines whether the detected environmental identification information matches the recorded environmental identification information. If not, the prompt information indicating that the running path is incorrect is output.
  • the user's running direction or running distance detected by the navigation device may have errors, and the user may not operate in the correct path according to the navigation instruction.
  • the environment identification information of the preset location in the path can be recorded by the implementation of the embodiment.
  • the environment identifier information corresponding to the preset location may be detected in the current environment again. If not, the indication is The running path is incorrect. It can be seen that by implementing steps 91) to 93), the user can be reversely navigated more accurately.
  • the description information of the path further includes running angle information
  • the navigation device may further perform the following steps:
  • Step 101 in the process of performing reverse navigation on the user, detecting the current running angle information of the user compared to the horizontal direction;
  • Step 102 determining whether the currently detected running angle information matches the running angle information included in the description information of the acquired route path;
  • Step 103 If not matched, output prompt information for prompting that the running path is incorrect.
  • the description information of the path may include one or more operating angle information, which may include an angle value with respect to the horizontal direction, and direction information compared to the horizontal direction. For example, if the user is currently running in a direction obliquely upward by 30 degrees compared to the horizontal direction, the navigation device can detect that the current running angle information of the user compared to the horizontal direction by the angle sensor is: the angle value with the horizontal direction is 30. Degree, and the direction is upward in the horizontal direction.
  • the description information of the path includes the running angle information corresponding to a relative position in the sub path of the path (the relative position may be, for example, at the 40th meter of the sub path).
  • the navigation device detects that the user is in the process of reverse navigation to the user.
  • the navigation device determines whether the currently detected running angle information matches the running angle information 1. If not, the prompt information for prompting that the running path is incorrect is output.
  • the navigation device determines that the currently detected running angle information matches the running angle information 1. Otherwise, the navigation device determines that the currently detected running angle information does not match the running angle information 1.
  • the navigation device after receiving the navigation instruction, acquires description information of a route path from the description information of the at least one path of the record, and forms the route according to the description information of the acquired route path.
  • the user's reverse navigation is performed on the path sequence and sub-path length information and direction information of the sub-path of the path. It can be seen that, by implementing the embodiment of the present invention, the navigation device can obtain the route sequence of the sub-path of the reverse navigation path and the length information and direction of the sub-path according to the path sequence of the sub-path of the path path and the length information and direction information of the sub-path.
  • the length information and the direction information of each sub-path of the reverse navigation path are outputted by the display screen or the horn to reversely navigate the user; or the navigation device can navigate through
  • the sensor of the device detects the running direction and running distance of the user in real time, and performs real-time reverse navigation on the user according to the path sequence of the sub-path of the reverse navigation path and the direction information of the sub-path of the reverse navigation path, so that the user does not need to pass
  • the network is used for navigation, which reduces the environmental network deployment requirements during the navigation process.
  • FIG. 2 is a schematic flowchart diagram of another navigation method according to an embodiment of the present invention. As shown in FIG. 2, the navigation method may include the following steps:
  • the navigation device detects a running direction of the user and a running distance of the user in the running direction.
  • step S201 is performed to respond to the path record instruction.
  • the navigation device may scan the current environment identifier information by using the camera device. If the current environment identifier information matches the preset identifier information, the navigation device performs step S201. For example, if the preset identification information includes a parking lot entrance icon, when the camera scans to the parking lot entrance icon, the navigation device performs step S201.
  • the navigation device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the navigation device is an in-vehicle navigation device, the navigation device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile.
  • a direction sensor such as an electronic compass
  • the navigation device can measure the acceleration of the user in the running direction by using the acceleration sensor, and then calculate the running distance of the user in the running direction according to the acceleration; or the navigation device can directly detect the user in the running direction through the displacement sensor.
  • the navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path.
  • the navigation device can record the direction information of the north direction as the direction information of a sub-path of the path, and record the 10 meters.
  • the east direction information is recorded as the direction information of the other sub-path of the path
  • 20 meters is recorded as the length information of the other sub-path.
  • the path is composed of sub-paths in the order of the user.
  • the navigation device can record the direction information of the right direction as the direction information of a sub-path of the path, and 10 meters is recorded as the length information of the sub path, the left direction information is recorded as the direction information of the other sub path of the path, and 20 meters is recorded as the length information of the other sub path.
  • the navigation device receives the navigation instruction.
  • the navigation device calculates a total length of the path according to the length information of each subpath constituting the path included in the recorded description information of each path.
  • the navigation device after receiving the navigation instruction, calculates the total length of the path according to the length information of each sub-path constituting the path included in the description information of each path of the record, in response to the navigation instruction. .
  • the navigation device selects, according to the total length of each path, the description information of a path with the smallest total length from the description information of all the path paths recorded.
  • path path A includes sub path 1 and sub path 2
  • path B includes sub path 3 and sub path 4 and sub path 5, sub path 1
  • the length information is 50 meters
  • the length information of the sub-path 2 is 60 meters
  • the length information of the sub-path 3 is 70 meters
  • the length information of the sub-path 4 is 50 meters
  • the length information of the sub-path 5 is 10 meters
  • the total length of the path A is For 110 meters, the total length of the route B is 130 meters, then the navigation device will select the description information of the route A.
  • the navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and direction information of the sub-path.
  • the navigation device may record a description of the route path starting from the parking lot entrance and ending at the fixed parking space.
  • the navigation device can automatically select the description information of the shortest path of the path for the user as the description information of the path to be navigated, so as to guide the user to quickly reach the destination.
  • FIG. 3 is a schematic flowchart diagram of another navigation method according to an embodiment of the present invention. As shown in FIG. 3, the navigation method may include the following steps:
  • the navigation device detects a running direction of the user, a running distance of the user in the running direction, and an average vibration amplitude corresponding to the running direction of the user.
  • the user may click a function button of the navigation device to input a path record instruction.
  • the response path record instruction is executed, and step S301 is performed.
  • the navigation device may scan the current environment identifier information by using the camera device. If the current environment identifier information matches the preset identifier information, the navigation device performs step S301. For example, if the preset identification information includes a parking lot entrance icon, when the camera detects the parking lot entrance icon, the navigation device performs step S301.
  • the navigation device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the navigation device is an in-vehicle navigation device, the navigation device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile.
  • a direction sensor such as an electronic compass
  • the navigation device can measure the acceleration of the user in the running direction by using the acceleration sensor, and then calculate the running distance of the user in the running direction according to the acceleration; or the navigation device can directly detect the user in the running direction through the displacement sensor.
  • the navigation device can detect the vibration amplitude of the user when the user runs in the running direction by using the vibration amplitude detecting device configured in the navigation device, and navigates when the running direction of the user is detected.
  • the device calculates the average vibration amplitude of the user when operating in the running direction according to the vibration amplitude of the user running in the running direction detected by the preset time period as the average vibration amplitude corresponding to the running direction.
  • the navigation device records a running direction of the user as a sub-inclusion included in the description information of the path.
  • the direction information of the path and record the running distance of the user in the running direction as the length information of the sub-path, and record the average vibration amplitude corresponding to the running direction of the user as the average vibration amplitude corresponding to the sub-path.
  • the navigation device records the north direction information as the direction information of a subpath of the path, records 10 meters as the length information of the subpath, and records the average vibration amplitude of 7 cm as the sub-path.
  • the average vibration amplitude of the path the navigation device records the east direction information as the direction information of the other subpath of the path, records 20 meters as the length information of the other subpath, and records the average vibration amplitude of 6 cm.
  • the path is composed of sub-paths in the order of the user.
  • the navigation device records the direction information to the right as the direction information of one subpath of the path, records 10 meters as the length information of the subpath, and averages the amplitude of 7 cm. Recorded as the average vibration amplitude of the sub-path; the navigation device records the left direction information as the direction information of the other sub-path of the path, records 20 meters as the length information of the other sub-path, and 6 cm.
  • the average vibration amplitude is recorded as the average vibration amplitude of the other sub-path.
  • the navigation device receives the navigation instruction.
  • the navigation device calculates, according to the average vibration amplitude corresponding to each sub-path of the composition path included in the description information of each path of the recorded path, the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in the path.
  • the navigation device after receiving the navigation instruction, calculates the average vibration amplitude corresponding to each sub-path of the composition path according to the description information of each path of the recorded path, and calculates the average vibration amplitude in the path is higher than the pre-predetermined The number of sub-paths of the vibration amplitude is set in response to the navigation command.
  • the navigation device selects, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each path, from the description information of all the path paths recorded, the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude. The smallest piece of description of the path.
  • path path A includes sub path 1 and sub path 2
  • path path B includes sub path 3 and sub path 4
  • the average vibration amplitude corresponding to the sub-path 1 is 3 cm
  • the average vibration amplitude corresponding to the sub-path 2 is 3 cm
  • the average vibration amplitude corresponding to the sub-path 3 is 6 cm
  • the average vibration amplitude corresponding to the sub-path 4 is 7 In centimeters
  • the average vibration amplitude corresponding to sub-path 5 is 4 cm.
  • the navigation device will select the description information of the path A.
  • the navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the acquired description information of the path and the length information and direction information of the sub-path.
  • the amplitude of the vibration of the user running on an uneven road may be greater than the amplitude of the vibration running on a flat road.
  • the navigation device can record the amplitude of the vibration when the user passes through each sub-path, so that the user can provide a smoothest path according to the vibration amplitude corresponding to the sub-path of each path of the recorded path.
  • the path is reverse navigation for the user.
  • FIG. 4 is a schematic flowchart diagram of another navigation method according to an embodiment of the present invention. As shown in FIG. 4, the navigation method may include the following steps:
  • the navigation device detects a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to the running direction of the user.
  • the user may click a function button of the navigation device to input a path record instruction.
  • the response path record instruction is executed, and step S301 is performed.
  • the navigation device may scan the current environment identifier information by using the camera device. If the current environment identifier information matches the preset identifier information, the navigation device performs step S301. For example, if the preset identification information includes a parking lot entrance icon, when the camera detects the parking lot entrance icon, the navigation device performs step S301.
  • the navigation device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the navigation device is an in-vehicle navigation device, the navigation device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile.
  • a direction sensor such as an electronic compass
  • the navigation device can measure the user in the running direction by using the acceleration sensor. Acceleration, and then calculate the running distance of the user in the running direction according to the acceleration; or, the navigation device can directly detect the running distance of the user in the running direction through the displacement sensor; or, if the navigation device is a car navigation device, the navigation device can pass The number of turns of the car tire is detected and the running distance of the user in the running direction is detected according to the circumference of the car tire.
  • the navigation device may detect the light brightness value of the environment through the light sensor to obtain an average brightness value corresponding to the running direction of the user.
  • the navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the average corresponding to the running direction of the user.
  • the brightness value is taken as the average brightness value corresponding to the sub path.
  • the navigation device can record the north direction information as the direction information of one subpath of the path, record 10 meters as the length information of the sub path, and record the average brightness value of 300 lux as the The average brightness value of the sub-path; the navigation device records the east direction information as the direction information of the other sub-path of the path, and records 20 meters as the length information of the other sub-path, and averages the brightness of 200 lux.
  • the value is recorded as the average brightness value of the other subpath.
  • the path is composed of sub-paths in the order of the user.
  • the navigation device can record the direction information of the right direction as the direction information of one subpath of the path, record 10 meters as the length information of the sub path, and average the brightness of 300 lux.
  • the value is recorded as the average brightness value of the sub-path; the navigation device records the left direction information as the direction information of the other sub-path of the path, and records 20 meters as the length information of the other sub-path, and 200
  • the average luminance value of the lux is recorded as the average luminance value of the other subpath.
  • the navigation device receives the navigation instruction.
  • the navigation device calculates, according to the average brightness value corresponding to each sub-path of the composition path included in the description information of each path of the record, the number of sub-paths whose average brightness value in the path is lower than the preset brightness value.
  • the navigation device after receiving the navigation instruction, the navigation device will follow each path according to the record.
  • the description information of the path includes an average brightness value corresponding to each sub-path constituting the path, and the number of sub-paths whose average brightness value in the path is lower than the preset brightness value is calculated in response to the navigation instruction.
  • the navigation device selects, according to the number of sub-paths whose average brightness value is lower than the preset brightness value in each path, from the description information of all the path paths recorded, the number of sub-paths whose average brightness value is lower than the preset brightness value. The smallest piece of description of the path.
  • the path includes path path A and path B
  • path path A includes sub path 1 and sub path 2
  • path B includes sub path 3 and sub path 4 and sub path 5, sub path 1
  • the corresponding average luminance value is 300 lux
  • the average luminance value corresponding to sub-path 2 is 300 lux
  • the average luminance value corresponding to sub-path 3 is 10 lux
  • the average luminance value corresponding to sub-path 4 is 100 lux
  • sub-path 5 corresponds to
  • the average brightness value is 300 lux.
  • the preset brightness value is 200 lux
  • the number of sub-paths in the path path A whose average brightness value is higher than the preset brightness value is 0, and the average brightness value in the path B is higher than the preset brightness. If the number of subpaths of the value is 2, the navigation device will select the description information of the path A.
  • the navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and direction information of the sub-path.
  • the navigation device can record the brightness value of the light corresponding to each sub-path that the user passes through, so that the user can provide a light with the light value corresponding to the sub-path of each path of the recorded path. The path to navigate.
  • FIG. 5 is a schematic flowchart diagram of a path recording method according to an embodiment of the present invention. As shown in FIG. 5, the path recording method may include the following steps:
  • the path recording device detects the running information of the user.
  • the path recording device may include, but is not limited to, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a UMPC (Ultra-mobile Personal Computer), a netbook, and a smart glasses. , smart watches, smart bracelets and car navigation and other equipment.
  • a smart phone such as an Android mobile phone, an iOS mobile phone, etc.
  • a tablet computer such as an Android mobile phone, an iOS mobile phone, etc.
  • a palmtop computer such as a Samsung Galaxy Tabs, etc.
  • UMPC Ultra-mobile Personal Computer
  • step S501 is performed to respond to the path record instruction.
  • the path recording device can scan the current environment by using the camera device.
  • the identifier information if the current environment identifier information matches the preset identifier information, the path record device performs step S501.
  • the preset identification information includes a parking lot entrance icon, when the camera scans to the parking lot entrance icon, the path recording device performs step S501.
  • the running information includes a running direction of the user and a running distance of the user in the running direction.
  • the running information includes that the running direction of the user may be an absolute direction (for example, east-south direction) or a relative direction (for example, leftward, rightward, etc.).
  • the path recording device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the path recording device is a car navigation device, the path recording device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile. .
  • the path recording device can measure the acceleration of the user in the running direction by using the acceleration sensor, and then calculate the running distance of the user in the running direction according to the acceleration; or the path recording device can directly detect the user by using the displacement sensor.
  • the path recording device records the running direction of the user included in the running information as the direction information of the sub-paths constituting the path, and records the running distance of the user in the running direction included in the running information as the length information of the sub-path.
  • the path recording device can record the north direction information as one path path.
  • the direction information of the sub path and records 10 meters as the length information of the sub path;
  • the path recording device records the direction information of the east direction as the direction information of another sub path of the path, and records 20 meters as the other The length information of a subpath.
  • the path is composed of sub-paths in the order of the user.
  • the path recording device can record the right direction information as the path.
  • the operation information further includes an average vibration amplitude corresponding to the running direction of the user, and the path recording device further performs the following steps:
  • the average vibration amplitude corresponding to the user's running direction is recorded as the average vibration amplitude corresponding to the sub-path.
  • the path recording device can detect the vibration amplitude of the user when the user runs in the running direction by using the vibration amplitude detecting device configured in the path recording device for a preset time period; when detecting that the user's running direction is changed The path recording device calculates the average vibration amplitude of the user when operating in the running direction according to the amplitude of the vibration when the user runs in the running direction detected by the preset time period as the average vibration amplitude corresponding to the running direction.
  • the path recording device can record the average vibration amplitude of the user when passing through each sub-path, so that the navigation device that performs navigation can provide the user with an average vibration amplitude corresponding to the sub-path of each path of the recorded path.
  • the flattest path routes the user.
  • the operation information further includes an average brightness value corresponding to the running direction of the user, and the path recording device further performs the following steps:
  • the average brightness value corresponding to the running direction of the user is recorded as the average brightness value corresponding to the sub path.
  • the path recording device can detect the light brightness value of the environment through the light sensor to obtain an average brightness value corresponding to the running direction of the user.
  • the path recording device can record the average light illuminance value corresponding to each sub-path that the user passes through, so that the navigation device that performs navigation can obtain the average light illuminance value corresponding to the sub-path of each path of the recorded path.
  • the user provides a path with the best light for navigation.
  • the operation information further includes environment identification information corresponding to the running direction of the user, and the path recording device further performs the following steps:
  • the environment identifier information corresponding to the running direction of the user is recorded as the environment identifier information corresponding to the sub-path.
  • the path recording device may detect the identification information of the environment by using the image sensor for a preset time period to obtain the environment identification information corresponding to the running direction of the user.
  • the path recording device can record the environment identification information corresponding to each sub-path that the user passes through, so that the navigation device can detect whether the current environment identification information matches the recorded environment identification information when navigating for the user. And when the mismatch is detected, the user is notified in time that the path is incorrect, so that the navigation device can navigate the user more accurately.
  • the operation information further includes running angle information corresponding to the running direction of the user, and the path recording device further performs the following steps:
  • the running angle information corresponding to the running direction of the user is recorded as the running angle information corresponding to the sub path.
  • the path recording device can record the direction information of the user's running direction as the sub-path of the path, and record the running distance of the user in the running direction as the length information of the sub-path, so that the navigation device can The information recorded by the path recording device navigates the user.
  • FIG. 6 is a schematic structural diagram of a navigation device according to an embodiment of the present invention.
  • the navigation device may include a receiving module 601, an obtaining module 602, and a navigation module 603, where:
  • the receiving module 601 is configured to receive a navigation instruction.
  • the obtaining module 602 is configured to obtain, from the description information of the at least one path that is recorded, a description information of a path, in response to the navigation instruction received by the receiving module 601, where the description information of each path includes the path that constitutes the path.
  • the obtaining module 602 may be specifically configured to:
  • Descriptive information of a route path whose recording time is closest to the current time is obtained from the description information of the at least one path of the record.
  • the description information of the route path whose recording time is closest to the current time is automatically selected by the navigation device, and the description information of the path of the description route of the description information of the multiple route paths is avoided by the user, which is more intelligent.
  • the navigation module 603 is configured to perform reverse navigation on the user according to the sequence of the sub-paths included in the description information of the path of the path acquired by the obtaining module 602 and the length information and direction information of the sub-path.
  • the navigation module 603 includes:
  • the obtaining unit 6031 is configured to invert the path sequence of the sub-paths included in the description information of the path path acquired by the obtaining module 602, and obtain the path sequence of the at least one sub-path constituting the reverse navigation path, and obtain the path of the path according to the obtaining module 602.
  • the length information of each sub-path included in the description information and the direction information, and the length information and the direction information of each sub-path of the reverse navigation path are obtained;
  • the navigation unit 6032 is configured to follow the path sequence of the sub-paths of the reverse navigation path, and navigate the user according to the length information and direction information of each sub-path of the reverse navigation path.
  • FIG. 7 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • the navigation device shown in FIG. 7 is optimized by the navigation device shown in FIG. 6.
  • the navigation device shown in FIG. 7 may include a first detecting module 604 and a first recording module 605, in addition to all the modules of the navigation device shown in FIG. 6, in comparison with the navigation device shown in FIG.
  • Module 602 includes a first computing unit 6021 and a first picking unit 6022. among them:
  • the first detecting module 604 is configured to detect a running direction of the user and a running distance of the user in the running direction before the receiving module 601 receives the navigation instruction.
  • the first recording module 605 is configured to record the direction information of the sub-path included in the description information of the user detected by the first detecting module 604 as the path of the path, and record the user in the running direction detected by the first detecting module 604.
  • the running distance is used as the length information of the sub path.
  • the obtaining module 602 includes:
  • the first calculating unit 6021 is configured to calculate the total length of the path according to the length information of the at least one sub-path constituting the path path included in the description information of each path of the path recorded by the first recording module 605.
  • the first selecting unit 6022 is configured to select, according to the total length of each path of the path calculated by the first calculating unit 6021, the description information of a path with the smallest total length from the description information of all the path paths recorded by the first recording module 605. .
  • the user often goes to a certain fixed position in the room.
  • the user often drives the car from the parking lot entrance to a fixed parking space, and the navigation device may record multiple starting points for the parking lot entrance, the end point. Descriptive information for the route path for the fixed parking space.
  • the navigation device can automatically select the description information of the shortest path of the path for the user to guide the user to quickly reach the destination.
  • FIG. 8 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • the navigation device shown in FIG. 8 is optimized by the navigation device shown in FIG. 6.
  • the navigation device shown in FIG. 8 may include a second detection module 606 and a second recording module 607, in addition to all the modules of the navigation device shown in FIG. Module 602
  • a second calculation unit 6023 and a second selection unit 6024 are included. among them:
  • the second detecting module 606 is configured to detect, before the receiving module 601 receives the navigation instruction, the running direction of the user, the running distance of the user in the running direction, and the average vibration amplitude corresponding to the running direction of the user.
  • the second recording module 607 is configured to record the direction information of the sub-path included in the description information of the user detected by the second detecting module 606 as the path of the path, and record the user in the running direction detected by the second detecting module 606.
  • the running distance is used as the length information of the sub-path, and the average vibration amplitude corresponding to the running direction of the user detected by the second detecting module 606 is recorded as the average vibration amplitude corresponding to the sub-path.
  • the obtaining module 602 includes:
  • the second calculating unit 6023 is configured to calculate, according to the average vibration amplitude corresponding to each sub-path of the constituent path included in the description information of each path of the path recorded by the second recording module 607, the average vibration amplitude in the path is higher than the preset The number of subpaths of the amplitude of the vibration.
  • the second selecting unit 6024 is configured to describe, by the second recording module 607, the path information of all the path records recorded by the second recording module 607 according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each path of the path calculated by the second calculating unit 6023.
  • the description information of one path path with the smallest number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude is selected.
  • the amplitude of the vibration of the user running on an uneven road may be greater than the amplitude of the vibration running on a flat road.
  • the navigation device can record the amplitude of the vibration when the user passes through each sub-path, so that the user can provide the most flatness according to the vibration amplitude corresponding to the sub-path of each path of the recorded path.
  • the path is reverse navigation for the user.
  • FIG. 9 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • the navigation device shown in FIG. 9 is optimized by the navigation device shown in FIG. 6.
  • the navigation device shown in FIG. 9 may include a third detection module 608 and a third recording module 609, in addition to all the modules of the navigation device shown in FIG. Module 602 includes a third calculation unit 6025 and a third selection unit 6026. among them:
  • the third detecting module 608 is configured to detect the user before the receiving module 601 receives the navigation instruction.
  • the third recording module 609 is configured to record the direction information of the sub-path included in the description information of the user detected by the third detecting module 608 as the path of the path, and record the user detected by the third detecting module 608 in the running direction.
  • the running distance is used as the length information of the sub-path, and the average brightness value corresponding to the running direction of the user detected by the third detecting module 608 is recorded as the average brightness value corresponding to the sub-path.
  • the obtaining module 602 includes:
  • the third calculating unit 6025 is configured to calculate, according to the average brightness value corresponding to each sub-path of the constituent path included in the description information of each path of the path recorded by the third recording module 609, the average brightness value in the path is lower than the preset The number of subpaths for the brightness value.
  • the third selecting unit 6026 is configured to describe, by the third recording module 609, the path information of all the path records recorded by the third recording module 609 according to the number of sub-paths whose average brightness value in each path is lower than the preset brightness value calculated by the third calculating unit 6025.
  • the description information of one path path with the smallest number of sub-paths whose average brightness value is lower than the preset brightness value is selected.
  • the navigation device can record the light brightness value corresponding to each sub-path that the user passes through, so that the user can provide one light most according to the light brightness value corresponding to the sub-path of each path of the recorded path. Good path for navigation.
  • FIG. 10 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • the navigation device shown in FIG. 10 is optimized by the navigation device shown in FIG. 6.
  • the navigation device shown in FIG. 10 may include a fourth detection module 610, a determination module 611, and an output module 612 in addition to all the modules of the navigation device shown in FIG. among them:
  • the fourth detecting module 610 is configured to detect, in the process of the navigation module 603 performing reverse navigation on the user, the identifier information of the current environment of the user.
  • the description information of the path further includes environment identification information.
  • the determining module 611 is configured to determine whether the identifier information of the current environment of the user matches the environment identifier information.
  • the output module 612 is configured to: when the determining module 611 determines that the identifier information of the current environment of the user does not match the environment identifier information, output prompt information for prompting that the running path is incorrect.
  • the user's running direction or running distance detected by the navigation device may have errors, and the user may not operate in the correct path according to the navigation instruction.
  • the environment identification information of the preset location in the path can be recorded by the implementation of the embodiment.
  • the environment identifier information corresponding to the preset location may be detected in the current environment again. If not, the indication is The running path is incorrect. It can be seen that by implementing the navigation device described in FIG. 10, the user can be reversely navigated more accurately.
  • the description information of the path includes the running angle information
  • the fourth detecting module 610 is further configured to detect the current running angle of the user compared to the horizontal direction during the reverse navigation of the user. information.
  • the determining module 611 is further configured to determine whether the currently detected running angle information matches the running angle information included in the description information of the acquired route path.
  • the output module 612 is further configured to: when the determining module 611 determines that the currently detected running angle information does not match the running angle information included in the description information of the acquired routing path, outputting prompt information for prompting that the running path is incorrect.
  • the user can be reversely navigated more accurately.
  • FIG. 11 is a schematic structural diagram of another navigation device according to an embodiment of the present invention.
  • the air navigation device provided by the embodiment of the present invention can be used to implement the method implemented by the embodiments of the present invention shown in FIG. 1 to FIG. 4 .
  • the navigation device shown in FIG. 11 may include:
  • the memory 5 is configured to store a set of program codes and description information recorded with at least one path, wherein the description information of each path includes the sequence of at least one sub-path constituting the path and the length of each sub-path. Information and direction information; the processor 1 is used to call the program code stored in the memory 5 for performing the following operations:
  • the input device 3 may be a touch screen, a keyboard, or the like, which is not limited in the embodiment of the present invention.
  • the navigation device may further comprise an output device 6 connected to the processor 1 via the interface 2, the output device 6 may be a speaker or a display screen, and the processor 1 reverses the user When navigating, you can control the speaker output voice direction indication or the display shows the navigation route through the display.
  • the specific manner in which the processor 1 obtains the description information of a path from the description information of the at least one path recorded by the memory 5 may be:
  • the processor 1 acquires, from the description information of at least one path of the path recorded by the memory 5, description information of a path path whose recording time is closest to the current time.
  • the specific manner in which the processor 1 obtains the description information of a path from the description information of the at least one path recorded by the memory 5 may be:
  • the description information of one path with the smallest total length is selected from the description information of all the path paths recorded in the memory 5.
  • the navigation device further includes a sensor 7, and the sensor 7 is connected to the processor 1 through the interface 2, and the processor 1 also performs the following operations:
  • the control sensor 7 detects the running direction of the user and the running distance of the user in the running direction
  • the control memory 5 records the direction in which the user runs as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path.
  • the senor 7 includes a direction sensor for detecting the running direction and a speed sensor for detecting the running distance.
  • the direction sensor may include any one or more of a gyroscope, an acceleration sensor, an electronic compass, and the like.
  • the sensor 7 may further comprise a light sensor.
  • the sensor 7 may further comprise a vibration amplitude sensor.
  • the sensor 7 may further comprise an angle sensor.
  • the description information of each path recorded by the memory 5 further includes an average vibration amplitude corresponding to each sub-path constituting the path, and description of at least one path recorded by the processor 1 from the memory 5.
  • the processor 1 also performs the following operations:
  • the control sensor 7 detects the running direction of the user, the running distance of the user in the running direction, and the average vibration amplitude corresponding to the running direction of the user;
  • the control memory 5 records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the average vibration corresponding to the running direction of the user.
  • the amplitude is the average vibration amplitude corresponding to the sub-path.
  • the description information of each path recorded by the memory 5 further includes an average brightness value corresponding to each sub path constituting the path, and the processor 1 records at least one piece from the memory 5 in response to the navigation instruction.
  • the specific manner of obtaining the description information of a path through the description information of the path may be:
  • the processor 1 also performs the following operations:
  • the control sensor 7 detects the running direction of the user, the running distance of the user in the running direction, and the average brightness value corresponding to the running direction of the user;
  • the control memory 5 records the direction information of the sub-path included in the description information of the path of the user, and records the running distance of the user in the running direction as the length information of the sub-path, and records the average brightness corresponding to the running direction of the user.
  • the value is the average brightness value corresponding to the sub path.
  • the navigation device further includes an image capturing device 8 connected to the processor 1 through an interface, and the description information of the path recorded by the memory 5 further includes environmental characteristic information, and the processor 1 further executes the following operating:
  • control camera 8 detects the identification information of the environment in which the user is currently located
  • control output device 6 When there is no match, the control output device 6 outputs prompt information for prompting that the operation path is incorrect.
  • the description information of the path recorded by the memory 5 further includes running angle information
  • the processor 1 further performs the following operations:
  • control sensor 7 detects the current running angle information of the user compared to the horizontal direction;
  • control output device 6 When they do not match, the control output device 6 outputs prompt information for prompting that the operation path is incorrect.
  • the specific manner in which the processor 1 performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and the direction information of the sub-path may be:
  • the user is navigated according to the length information and direction information of each sub-path of the reverse navigation path.
  • the navigation device may obtain the path sequence and sub-path of the sub-path of the reverse navigation path according to the path sequence of the sub-path of the path path and the length information and direction information of the sub-path recorded by the navigation path. Length information and direction information, and outputting length information and direction information of each sub-path of the reverse navigation path through the display screen or the horn according to the path sequence of each sub-path of the reverse navigation path to reverse navigation to the user; or, navigation The device can detect the running direction and running distance of the user in real time through the sensor of the navigation device, and follow the sub-path of the reverse navigation path. The order of the route, combined with the length information and direction information of the sub-path of the reverse navigation path, provides real-time reverse navigation to the user, thereby eliminating the need for navigation through the network and reducing the environmental network deployment requirements in the navigation process.
  • FIG. 12 is a schematic structural diagram of a path recording device according to an embodiment of the present invention.
  • the path recording device may include a detecting module 1201 and a recording module 1202, wherein:
  • the detecting module 1201 is configured to detect running information of the user, where the running information includes a running direction of the user and a running distance of the user in the running direction.
  • the recording module 1202 is configured to record the running direction of the user as the direction information of the sub-paths constituting the path, and record the running distance of the user in the running direction as the length information of the sub-path.
  • the operation information further includes an average vibration amplitude corresponding to the running direction of the user
  • the recording module 1202 is further configured to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
  • the recording module 1202 can record the average vibration amplitude of the user when passing through each sub-path, so that the navigation device that performs navigation can provide the user with an average vibration amplitude corresponding to the sub-path of each path of the recorded path.
  • the flattest path routes the user.
  • the running information further includes an average brightness value corresponding to the running direction of the user
  • the recording module 1202 is further configured to record the average brightness value corresponding to the running direction of the user as the average brightness value corresponding to the sub path.
  • the recording module 1202 can record the average ray brightness value corresponding to each sub-path that the user passes through, so that the navigating navigation device can make the average ray brightness value corresponding to the sub-path of each path of the recorded path The user provides a path with the best light for navigation.
  • the operation information further includes environment identification information corresponding to the running direction of the user
  • the recording module 1202 is further configured to record the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
  • the recording module 1202 can record the environment identification information corresponding to each sub-path that the user passes through, so that the navigation device can detect the current environment standard when navigating for the user. Whether the information matches the recorded environmental identification information, and when the mismatch is detected, the user is notified in time that the path is incorrect, so that the navigation device can navigate the user more accurately.
  • the operation information further includes running angle information corresponding to the running direction of the user
  • the recording module 1202 is further configured to record the running angle information corresponding to the running direction of the user as the running angle information corresponding to the sub-path.
  • the recording module can record the direction of the user's running direction as the sub-path of the path, and can record the running distance of the user in the running direction as the length information of the sub-path, so as to navigate the device. The user can be navigated according to the information recorded by the recording module.
  • FIG. 13 is a schematic structural diagram of a path recording device according to an embodiment of the present invention.
  • the path recording device provided by the embodiment of the present invention may be used to implement the method implemented by the embodiment of the present invention shown in FIG. 6.
  • the path recording device shown in FIG. 13 may include:
  • the processor 1 and a sensor 3 connected to the processor 1 via the interface 2 and a memory 5 connected to the processor 1 via a bus 4.
  • the memory 5 is used to store a set of program codes; the processor 1 is used to call the program code stored in the memory 5 for performing the following operations:
  • the control sensor 3 detects the running information of the user, and the running information includes a running direction of the user and a running distance of the user in the running direction;
  • the control memory 5 records the running direction of the user as the direction information of the sub-paths constituting the route path, and records the running distance of the user in the running direction as the length information of the sub-path.
  • the sensor 3 includes a direction sensor for detecting the running direction and a speed sensor for detecting the running distance.
  • the direction sensor may include any one or more of a gyroscope, an acceleration sensor, an electronic compass, and the like.
  • the sensor 3 may further comprise a light sensor; in order to detect the vibration amplitude of the user, the sensor 3 may further comprise a vibration amplitude sensor; in order to detect the environmental identification information, the sensor 3 may further comprise an image sensor; in order to detect the user's operation Angle, sensor 3 may also include an angle sensor.
  • the running information further includes a running direction of the user.
  • the average vibration amplitude, processor 1 also performs the following operations:
  • the control memory 5 records the average vibration amplitude corresponding to the user's running direction as the average vibration amplitude corresponding to the sub-path.
  • the operation information further includes an average brightness value corresponding to the running direction of the user, and the processor 1 further performs the following operations:
  • the control memory 5 records the average luminance value corresponding to the user's running direction as the average luminance value corresponding to the sub-path.
  • the operation information further includes environment identification information corresponding to the running direction of the user, and the processor 1 further performs the following operations:
  • the control memory 5 records the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
  • the running information further includes running angle information corresponding to the running direction of the user, and the processor 1 further performs the following operations:
  • the control memory 5 records the running angle information corresponding to the running direction of the user as the running angle information corresponding to the sub-path.
  • the path recording device can record the direction of the user's running direction as the sub-path of the path, and record the running distance of the user in the running direction as the length information of the sub-path for navigation.
  • the device can navigate the user based on the information recorded by the recording module.
  • modules or units in the device of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

Disclosed are an indoor navigation method and device. The method comprises: receiving a navigation instruction; acquiring description information about one passed path from recorded description information about at least one passed path, so as to respond to the navigation instruction, wherein the description information about each of the passed paths comprises a passed order of at least one sub-path constituting the passed path and length information and direction information about each of the sub-paths; and performing converse navigation on a user according to the passed order of the sub-paths which is comprised in the description information about the one passed path and the length information and direction information about the sub-paths. It can be seen that, by implementing the embodiments of the present invention, a navigation device can perform converse navigation on a user according to length information and direction information about a sub-path to be navigated, which are recorded by the device itself; accordingly, it is unnecessary to perform navigation by means of a network, which reduces environment network deployment requirements in a navigation process.

Description

一种导航方法及设备Navigation method and device 技术领域Technical field
本发明实施例涉及导航技术领域,具体涉及一种导航方法及设备。The embodiments of the present invention relate to the field of navigation technologies, and in particular, to a navigation method and device.
背景技术Background technique
随着经济的迅猛发展,越来越多的大型建筑物(如大型的购物中心、停车场、地铁站、机场、医院等)出现在城市当中。由于大型建筑物的室内面积较大且室内环境结构较复杂,人们在这些大型建筑物内找到想要到达的位置通常需要花费很多时间。为了帮助人们在大型建筑物内快速地、准确地找到想要到达的位置,室内导航技术应运而生。With the rapid development of the economy, more and more large buildings (such as large shopping centers, parking lots, subway stations, airports, hospitals, etc.) appear in the city. Due to the large indoor area of large buildings and the complex internal environment structure, it usually takes a lot of time for people to find the location they want to reach in these large buildings. In order to help people quickly and accurately find the location they want to reach in large buildings, indoor navigation technology came into being.
常见的一种室内导航技术是基于WI-FI的室内导航技术。在基于WI-FI的室内导航技术中,需要对环境进行网络部署,即在环境中部署一定数量的WI-FI热点。导航设备根据环境中部署的WI-FI热点发射的信号的强度,才能对用户当前的位置进行定位,进而根据用户当前的位置对用户进行导航。虽然这种室内导航技术能准确地对用户进行室内导航,但这种室内导航技术需对环境进行网络部署,对环境的网络部署要求较高。A common indoor navigation technology is based on WI-FI's indoor navigation technology. In the WI-FI-based indoor navigation technology, network deployment of the environment is required, that is, a certain number of WI-FI hotspots are deployed in the environment. The navigation device can locate the current location of the user according to the strength of the signal transmitted by the WI-FI hotspot deployed in the environment, and then navigate the user according to the current location of the user. Although such indoor navigation technology can accurately navigate indoors for users, such indoor navigation technology requires network deployment of the environment, and requires high network deployment for the environment.
发明内容Summary of the invention
本发明实施例公开了一种导航方法及设备,能够降低导航过程中对环境的网络部署要求。The embodiment of the invention discloses a navigation method and device, which can reduce network deployment requirements for the environment in the navigation process.
本发明实施例第一方面公开了一种导航方法,所述方法包括:A first aspect of the embodiments of the present invention discloses a navigation method, where the method includes:
接收导航指令;Receiving navigation instructions;
从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应所述导航指令,其中,每一条所述途经路径的描述信息包括组成所述途经路径的至少一条子路径的途经顺序以及每条所述子路径的长度信息和方向信息;Obtaining, by the description information of the at least one path of the record, the description information of the path, in response to the navigation instruction, where the description information of each of the path includes at least one sub-path constituting the path Sequence and length information and direction information of each of the sub-paths;
根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径 的长度信息和方向信息,对用户进行逆向导航。The order of the sub-paths included in the description information of the one path, and the sub-paths Length information and direction information for reverse navigation to the user.
在本发明实施例第一方面的第一种可能的实现方式中,所述从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,包括:In a first possible implementation manner of the first aspect of the present disclosure, the obtaining, by the description information of the at least one path of the path, the description information of the path, including:
根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径的长度信息,计算所述途经路径的总长度;Calculating a total length of the path according to the length information of each subpath constituting the path included by the description information of each path of the record;
根据每一条所述途经路径的总长度,从记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。Descriptive information of a path having the smallest total length is selected from the description information of all the path paths recorded according to the total length of each of the path paths.
结合本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述接收导航指令之前,所述方法还包括:With reference to the first possible implementation manner of the first aspect of the embodiments of the present invention, in a second possible implementation manner of the first aspect of the embodiments of the present disclosure, before the receiving the navigation instruction, the method further includes:
检测所述用户的运行方向以及所述用户在所述运行方向的运行距离;Detecting a running direction of the user and a running distance of the user in the running direction;
记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息。The running direction of the user is recorded as the direction information of the sub-path included in the description information of the path, and the running distance of the user in the running direction is recorded as the length information of the sub-path.
在本发明实施例第一方面的第三种可能的实现方式中,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均振动幅度,所述从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,包括:In a third possible implementation manner of the first aspect of the embodiment, the description information of each of the path paths further includes an average vibration amplitude corresponding to each sub-path constituting the path, the slave record Obtaining a description of a path through the description information of at least one path, including:
根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均振动幅度,计算所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量;Calculating, according to the average vibration amplitude corresponding to each sub-path constituting the path path included in the description information of each path of the recorded path, calculating the number of sub-paths in the path path that have an average vibration amplitude higher than a preset vibration amplitude ;
根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。Selecting, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, from the description information of all the path paths recorded, the sub-path whose average vibration amplitude is higher than the preset vibration amplitude The smallest number of descriptions of a path.
结合本发明实施例第一方面的第三种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述接收导航指令之前,所述方法还包括:With reference to the third possible implementation manner of the first aspect of the embodiments of the present invention, in a fourth possible implementation manner of the first aspect of the embodiments, the method further includes:
检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均振动幅度;Detecting a running direction of the user, an operating distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user;
记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均振动幅度作为所述子路径对应的平 均振动幅度。Recording the direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording the user's The average vibration amplitude corresponding to the running direction is the flat corresponding to the sub path The amplitude of the vibration.
在本发明实施例第一方面的第五种可能的实现方式中,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均亮度值,所述从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,包括:In a fifth possible implementation manner of the first aspect of the embodiments, the description information of each of the path paths further includes an average brightness value corresponding to each sub-path constituting the path, the slave record Obtaining a description of a path through the description information of at least one path, including:
根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均亮度值,计算所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量;Calculating, according to the average brightness value corresponding to each sub-path of the path path included in the description information of each path of the record, the number of sub-paths whose average brightness value is lower than the preset brightness value in the path ;
根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths in which the average brightness value is lower than the preset brightness value in each of the path paths, selecting the sub-path whose average brightness value is lower than the preset brightness value from the description information of all the path paths recorded. The smallest number of descriptions of a path.
结合本发明实施例第一方面的第五种可能的实现方式,在本发明实施例第一方面的第六种可能的实现方式中,所述接收导航指令之前,所述方法还包括:With reference to the fifth possible implementation manner of the first aspect of the embodiments of the present invention, in a sixth possible implementation manner of the first aspect of the embodiments, the method further includes:
检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均亮度值;Detecting a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to a running direction of the user;
记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均亮度值作为所述子路径对应的平均亮度值。Recording the direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording the user's The average brightness value corresponding to the running direction is used as the average brightness value corresponding to the sub path.
结合本发明实施例第一方面、本发明实施例第一方面的第一种可能的实现方式、本发明实施例第一方面的第二种可能的实现方式、本发明实施例第一方面的第三种可能的实现方式、本发明实施例第一方面的第四种可能的实现方式、本发明实施例第一方面的第五种可能的实现方式以及本发明实施例第一方面的第六种可能的实现方式中的任一种实现方式,在本发明实施例第一方面的第七种可能的实现方式中,所述途经路径的描述信息还包括环境标识信息,所述方法还包括:With reference to the first aspect of the embodiments of the present invention, the first possible implementation manner of the first aspect of the embodiment of the present invention, the second possible implementation manner of the first aspect of the embodiment of the present invention, and the first aspect of the first aspect of the embodiment of the present invention The third possible implementation manner of the first aspect of the embodiment of the present invention, the fifth possible implementation manner of the first aspect of the embodiment of the present invention, and the sixth aspect of the first aspect of the embodiment of the present invention In any one of the possible implementation manners, in the seventh possible implementation manner of the first aspect of the embodiments, the description information of the path further includes the environment identifier information, where the method further includes:
在对所述用户进行逆向导航的过程中,检测所述用户当前所处环境的标识信息;In the process of performing reverse navigation on the user, detecting identification information of an environment in which the user is currently located;
判断所述用户当前所处环境的标识信息是否与所述环境标识信息相匹配;Determining whether the identification information of the current environment of the user matches the environmental identification information;
若不相匹配,则输出用于提示运行路径有误的提示信息。 If they do not match, the prompt message indicating that the running path is incorrect is output.
结合本发明实施例第一方面、本发明实施例第一方面的第一种可能的实现方式、本发明实施例第一方面的第二种可能的实现方式、本发明实施例第一方面的第三种可能的实现方式、本发明实施例第一方面的第四种可能的实现方式、本发明实施例第一方面的第五种可能的实现方式以及本发明实施例第一方面的第六种可能的实现方式中的任一种实现方式,在本发明实施例第一方面的第八种可能的实现方式中,所述根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航,包括:With reference to the first aspect of the embodiments of the present invention, the first possible implementation manner of the first aspect of the embodiment of the present invention, the second possible implementation manner of the first aspect of the embodiment of the present invention, and the first aspect of the first aspect of the embodiment of the present invention The third possible implementation manner of the first aspect of the embodiment of the present invention, the fifth possible implementation manner of the first aspect of the embodiment of the present invention, and the sixth aspect of the first aspect of the embodiment of the present invention In any one of the possible implementation manners, in an eighth possible implementation manner of the first aspect of the embodiments, the sub-path sequence and the sub-path included according to the description information of the one path The length information and direction information of the path, and reverse navigation to the user, including:
将所述一条途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据所述一条途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取所述逆向导航路径的每条子路径的长度信息以及方向信息;Inverting the order of the sub-paths included in the description information of the one path path to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the length of each sub-path included in the description information of the one path Information and direction information, obtaining length information and direction information of each sub-path of the reverse navigation path;
按照所述逆向导航路径的子路径的途径顺序,并根据所述逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。And following the path sequence of the sub-paths of the reverse navigation path, and navigating the user according to the length information and direction information of each sub-path of the reverse navigation path.
本发明实施例第二方面公开了一种路径记录方法,所述方法包括:A second aspect of the embodiments of the present invention discloses a path recording method, where the method includes:
检测用户的运行信息,所述运行信息包括所述用户的运行方向以及所述用户在所述运行方向的运行距离;Detecting operation information of the user, where the operation information includes a running direction of the user and a running distance of the user in the running direction;
将所述用户的运行方向记录为组成途径路径的子路径的方向信息,并将所述用户在所述运行方向的运行距离记录为所述子路径的长度信息。The running direction of the user is recorded as the direction information of the sub-paths constituting the route path, and the running distance of the user in the running direction is recorded as the length information of the sub-path.
在本发明实施例第二方面的第一种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的平均振动幅度,所述方法还包括:In a first possible implementation manner of the second aspect of the embodiment, the operation information further includes an average vibration amplitude corresponding to a running direction of the user, and the method further includes:
将所述用户的运行方向对应的平均振动幅度记录为所述子路径对应的平均振动幅度。The average vibration amplitude corresponding to the running direction of the user is recorded as the average vibration amplitude corresponding to the sub-path.
在本发明实施例第二方面的第二种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的平均亮度值,所述方法还包括:In a second possible implementation manner of the second aspect of the embodiment, the operation information further includes an average brightness value corresponding to a running direction of the user, where the method further includes:
将所述用户的运行方向对应的平均亮度值记录为所述子路径对应的平均亮度值。The average brightness value corresponding to the running direction of the user is recorded as the average brightness value corresponding to the sub path.
在本发明实施例第二方面的第三种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的环境标识信息,所述方法还包括:In a third possible implementation manner of the second aspect of the embodiment, the operation information further includes the environment identifier information corresponding to the running direction of the user, and the method further includes:
将所述用户的运行方向对应的环境标识信息记录为所述子路径对应的环境标识信息。 The environment identifier information corresponding to the running direction of the user is recorded as the environment identifier information corresponding to the sub-path.
本发明实施例第三方面公开了一种导航设备,所述设备包括:A third aspect of the embodiments of the present invention discloses a navigation device, where the device includes:
接收模块,用于接收导航指令;a receiving module, configured to receive a navigation instruction;
获取模块,用于从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应所述导航指令,其中,每一条所述途经路径的描述信息包括组成所述途经路径的至少一条子路径的途经顺序以及每条所述子路径的长度信息和方向信息;And an obtaining module, configured to acquire, from the description information of the at least one path of the record, description information of a path, in response to the navigation instruction, where the description information of each path includes at least the path that constitutes the path The order of the path of a sub-path and the length information and direction information of each of the sub-paths;
导航模块,用于根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。The navigation module is configured to perform reverse navigation on the user according to the sequence of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
在本发明实施例第三方面的第一种可能的实现方式中,所述获取模块包括:In a first possible implementation manner of the third aspect of the embodiment, the acquiring module includes:
第一计算单元,用于根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径的长度信息,计算所述途经路径的总长度;a first calculating unit, configured to calculate a total length of the path according to the length information of each sub-path constituting the path included by the description information of each path of the record;
第一选取单元,用于根据每一条所述途经路径的总长度,从记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。And a first selecting unit, configured to select, according to the total length of each of the path paths, description information of a path with the smallest total length from the description information of all the path paths recorded.
结合本发明实施例第三方面的第一种可能的实现方式,在本发明实施例第三方面的第二种可能的实现方式中,所述设备还包括:With reference to the first possible implementation manner of the third aspect of the embodiments of the present invention, in a second possible implementation manner of the third aspect of the embodiments, the device further includes:
第一检测模块,用于在所述接收模块接收导航指令之前,检测所述用户的运行方向以及所述用户在所述运行方向的运行距离;a first detecting module, configured to detect a running direction of the user and a running distance of the user in the running direction before the receiving module receives the navigation instruction;
第一记录模块,用于记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息。a first recording module, configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path .
在本发明实施例第三方面的第三种可能的实现方式中,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均振动幅度,所述获取模块包括:In a third possible implementation manner of the third aspect of the embodiments of the present disclosure, the description information of each of the path paths further includes an average vibration amplitude corresponding to each sub-path constituting the path, the acquiring module includes :
第二计算单元,用于根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均振动幅度,计算所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量;a second calculating unit, configured to calculate, according to an average vibration amplitude corresponding to each sub-path of the path path included in the description information of each path of the recorded path, the average vibration amplitude in the path is higher than a preset The number of sub-paths of vibration amplitude;
第二选取单元,用于根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。 a second selecting unit, configured to select, according to the number of sub-paths in which the average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, the average vibration amplitude is higher than the description information of all the path paths recorded A description of a path through which the number of subpaths of the preset vibration amplitude is the smallest.
结合本发明实施例第三方面的第三种可能的实现方式,在本发明实施例第三方面的第四种可能的实现方式中,所述设备还包括:With reference to the third possible implementation manner of the third aspect of the embodiments of the present invention, in a fourth possible implementation manner of the third aspect of the embodiments, the device further includes:
第二检测模块,用于在所述接收模块接收导航指令之前,检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均振动幅度;a second detecting module, configured to detect a running direction of the user, a running distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user, before the receiving module receives the navigation instruction;
第二记录模块,用于记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均振动幅度作为所述子路径对应的平均振动幅度。a second recording module, configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path And recording an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
在本发明实施例第三方面的第五种可能的实现方式中,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均亮度值,所述获取模块包括:In a fifth possible implementation manner of the third aspect of the embodiment, the description information of each of the path paths further includes an average brightness value corresponding to each sub-path constituting the path, the acquiring module includes :
第三计算单元,用于根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均亮度值,计算所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量;a third calculating unit, configured to calculate, according to an average brightness value corresponding to each sub-path of the path that is included in the description information of each path of the record, that the average brightness value in the path is lower than a preset The number of subpaths of the luminance value;
第三选取单元,用于根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。a third selecting unit, configured to select, according to the number of sub-paths whose average brightness value is lower than the preset brightness value, in each of the path paths, the average brightness value is lower than the description information of all the path paths recorded A description of a path through which the number of sub-paths of the preset luminance value is the smallest.
结合本发明实施例第三方面的第五种可能的实现方式,在本发明实施例第三方面的第六种可能的实现方式中,所述设备还包括:With reference to the fifth possible implementation manner of the third aspect of the embodiments of the present invention, in a sixth possible implementation manner of the third aspect of the embodiments, the device further includes:
第三检测模块,用于在所述接收模块接收导航指令之前,检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均亮度值;a third detecting module, configured to: before the receiving module receives the navigation instruction, detecting a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to a running direction of the user;
第三记录模块,用于记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均亮度值作为所述子路径对应的平均亮度值。a third recording module, configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path And recording an average brightness value corresponding to the running direction of the user as an average brightness value corresponding to the sub path.
结合本发明实施例第三方面、本发明实施例第三方面的第一种可能的实现方式、本发明实施例第三方面的第二种可能的实现方式、本发明实施例第三方面的第三种可能的实现方式、本发明实施例第三方面的第四种可能的实现方式、 本发明实施例第三方面的第五种可能的实现方式以及本发明实施例第三方面的第六种可能的实现方式中的任一种实现方式,在本发明实施例第三方面的第七种可能的实现方式中,所述途经路径的描述信息还包括环境标识信息,所述设备还包括:With reference to the third aspect of the embodiments of the present invention, the first possible implementation manner of the third aspect of the embodiment of the present invention, the second possible implementation manner of the third aspect of the embodiment of the present invention, and the third aspect of the third embodiment of the present invention The three possible implementation manners, the fourth possible implementation manner of the third aspect of the embodiment of the present invention, The fifth possible implementation manner of the third aspect of the embodiment of the present invention, and any one of the sixth possible implementation manners of the third aspect of the embodiment of the present invention, the seventh aspect of the third aspect of the embodiment of the present invention In a possible implementation manner, the description information of the path further includes environment identification information, and the device further includes:
第四检测模块,用于在对所述用户进行逆向导航的过程中,检测所述用户当前所处环境的标识信息;a fourth detecting module, configured to detect, in a process of performing reverse navigation on the user, identifier information of an environment in which the user is currently located;
判断模块,用于判断所述用户当前所处环境的标识信息是否与所述环境标识信息相匹配;a determining module, configured to determine whether the identifier information of the current environment of the user matches the environment identifier information;
输出模块,用于当所述判断模块判断所述用户当前所处环境的标识信息与所述环境标识信息不相匹配时,输出用于提示运行路径有误的提示信息。And an output module, configured to: when the determining module determines that the identifier information of the current environment of the user does not match the environment identifier information, output prompt information for prompting that the running path is incorrect.
结合本发明实施例第三方面、本发明实施例第三方面的第一种可能的实现方式、本发明实施例第三方面的第二种可能的实现方式、本发明实施例第三方面的第三种可能的实现方式、本发明实施例第三方面的第四种可能的实现方式、本发明实施例第三方面的第五种可能的实现方式以及本发明实施例第三方面的第六种可能的实现方式中的任一种实现方式,在本发明实施例第三方面的第八种可能的实现方式中,所述导航模块包括:With reference to the third aspect of the embodiments of the present invention, the first possible implementation manner of the third aspect of the embodiment of the present invention, the second possible implementation manner of the third aspect of the embodiment of the present invention, and the third aspect of the third embodiment of the present invention The third possible implementation manner of the third aspect of the embodiment of the present invention, the fifth possible implementation manner of the third aspect of the embodiment of the present invention, and the sixth aspect of the third aspect of the embodiment of the present invention In any one of the possible implementation manners, in the eighth possible implementation manner of the third aspect of the embodiments, the navigation module includes:
获取单元,用于将所述一条途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据所述一条途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取所述逆向导航路径的每条子路径的长度信息以及方向信息;An obtaining unit, configured to invert an order of the path of the sub-path included in the description information of the one path, to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the description information of the path The length information and the direction information of each sub-path are obtained, and the length information and the direction information of each sub-path of the reverse navigation path are obtained;
导航单元,用于按照所述逆向导航路径的子路径的途径顺序,并根据所述逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。And a navigation unit, configured to follow the path sequence of the sub-paths of the reverse navigation path, and navigate the user according to length information and direction information of each sub-path of the reverse navigation path.
本发明实施例第四方面公开了一种导航设备,包括处理器,与所述处理器相连接的输入装置,以及与所述处理器相连接的存储器,其特征在于,所述存储器中存储一组程序代码以及记录至少一条途经路径的描述信息,其中,每一条所述途经路径的描述信息包括组成所述途经路径的至少一条子路径的途经顺序以及每条所述子路径的长度信息和方向信息,其中,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A fourth aspect of the embodiments of the present invention discloses a navigation device, including a processor, an input device connected to the processor, and a memory connected to the processor, wherein the memory stores one a group program code and description information for recording at least one path, wherein the description information of each of the path includes a path sequence of at least one sub-path constituting the path and length information and direction of each of the sub-paths Information, wherein the processor is configured to invoke program code stored in the memory for performing the following operations:
通过所述输入装置接收导航指令;Receiving navigation instructions through the input device;
从所述存储器记录的至少一条途经路径的描述信息中获取一条途经路径 的描述信息,以响应所述导航指令;Obtaining a path from the description information of at least one path recorded by the memory Descriptive information in response to the navigation instruction;
根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。The user is reversely navigated according to the order of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
在本发明实施例第四方面的第一种可能的实现方式中,所述处理器从所述存储器记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,包括:In a first possible implementation manner of the fourth aspect of the embodiment of the present invention, the processor, from the description information of the at least one path of the path recorded by the memory, obtains description information of a path, including:
根据所述存储器记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径的长度信息,计算所述途经路径的总长度;Calculating a total length of the path according to length information of each sub-path constituting the path included by the description information of each path of the memory record;
根据每一条所述途经路径的总长度,从所述存储器记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。Descriptive information of a path having the smallest total length is selected from description information of all path paths recorded by the memory according to the total length of each of the path paths.
结合本发明实施例第四方面的第一种可能的实现方式,在本发明实施例第四方面的第二种可能的实现方式中,所述导航设备还包括传感器,所述传感器通过接口与所述处理器相连接,所述处理器还执行以下操作:With reference to the first possible implementation manner of the fourth aspect of the embodiments of the present invention, in a second possible implementation manner of the fourth aspect of the embodiments, the navigation device further includes a sensor, and the sensor The processors are connected, and the processor also performs the following operations:
控制所述传感器检测所述用户的运行方向以及所述用户在所述运行方向的运行距离;Controlling the sensor to detect a running direction of the user and a running distance of the user in the running direction;
控制所述存储器记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息。Controlling, by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path.
在本发明实施例第四方面的第三种可能的实现方式中,所述存储器记录的每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均振动幅度,所述处理器从所述存储器记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,包括:In a third possible implementation manner of the fourth aspect of the embodiment, the description information of each path of the path recorded by the memory further includes an average vibration amplitude corresponding to each sub-path constituting the path. And the acquiring, by the processor, the description information of the path of the path from the description information of the at least one path recorded by the memory, including:
根据所述存储器记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均振动幅度,计算所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量;Calculating, according to the average vibration amplitude of each sub-path constituting the path path included in the description information of each path of the path recorded by the memory, calculating the average vibration amplitude in the path through the preset vibration amplitude The number of paths;
根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从所述存储器记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, from the description information of all the path paths recorded by the memory, the average vibration amplitude is higher than the preset vibration amplitude. The description of the path of the path with the smallest number of subpaths.
结合本发明实施例第四方面的第三种可能的实现方式,在本发明实施例第四方面的第四种可能的实现方式中,所述设备还包括传感器,所述传感器通过 接口与所述处理器相连接,所述处理器还执行以下操作:With reference to the third possible implementation manner of the fourth aspect of the embodiments of the present invention, in a fourth possible implementation manner of the fourth aspect of the embodiments, the device further includes a sensor, where the sensor passes An interface is coupled to the processor, the processor further performing the following operations:
控制所述传感器检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均振动幅度;Controlling, by the sensor, a running direction of the user, an operating distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user;
控制所述存储器记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均振动幅度作为所述子路径对应的平均振动幅度。Controlling, by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording The average vibration amplitude corresponding to the running direction of the user is taken as the average vibration amplitude corresponding to the sub-path.
在本发明实施例第四方面的第五种可能的实现方式中,所述存储器记录的每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均亮度值,所述处理器从所述存储器记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,包括:In a fifth possible implementation manner of the fourth aspect of the embodiments, the description information of each path of the path recorded by the memory further includes an average brightness value corresponding to each sub-path constituting the path. And the acquiring, by the processor, the description information of the path of the path from the description information of the at least one path recorded by the memory, including:
根据所述存储器记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均亮度值,计算所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量;Calculating, according to the average brightness value corresponding to each sub-path of the path path included in the description information of each path of the memory record, the child whose average brightness value is lower than the preset brightness value in the path The number of paths;
根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从所述存储器记录的所有途经路径的描述信息中选取所述平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths in which the average brightness value is lower than the preset brightness value, the average brightness value is lower than the preset brightness value from description information of all path paths recorded by the memory. The description of the path of the path with the smallest number of subpaths.
结合本发明实施例第四方面的第五种可能的实现方式,在本发明实施例第四方面的第六种可能的实现方式中,所述设备还包括传感器,所述传感器通过接口与所述处理器相连接,所述处理器还执行以下操作:With reference to the fifth possible implementation manner of the fourth aspect of the embodiments of the present invention, in a sixth possible implementation manner of the fourth aspect of the embodiments, the device further includes a sensor, The processors are connected, and the processor also performs the following operations:
控制所述传感器检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均亮度值;Controlling, by the sensor, a running direction of the user, an operating distance of the user in the running direction, and an average brightness value corresponding to a running direction of the user;
控制所述存储器记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均亮度值作为所述子路径对应的平均亮度值。Controlling, by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording The average brightness value corresponding to the running direction of the user is used as the average brightness value corresponding to the sub path.
结合本发明实施例第四方面、本发明实施例第四方面的第一种可能的实现方式、本发明实施例第四方面的第二种可能的实现方式、本发明实施例第四方面的第三种可能的实现方式、本发明实施例第四方面的第四种可能的实现方式、本发明实施例第四方面的第五种可能的实现方式以及本发明实施例第四方面 的第六种可能的实现方式中的任一种实现方式,在本发明实施例第四方面的第七种可能的实现方式中,所述设备还包括摄像装置以及输出装置,所述摄像装置和所述输出装置通过接口与所述处理器相连接,所述存储器记录的所述途经路径的描述信息还包括环境特征信息,所述处理器还执行以下操作:With reference to the fourth aspect of the embodiments of the present invention, the first possible implementation manner of the fourth aspect of the embodiment of the present invention, the second possible implementation manner of the fourth aspect of the embodiment of the present invention, and the fourth aspect of the fourth embodiment of the present invention The three possible implementation manners, the fourth possible implementation manner of the fourth aspect of the embodiment of the present invention, the fifth possible implementation manner of the fourth aspect of the embodiment of the present invention, and the fourth aspect of the embodiment of the present invention In a seventh possible implementation manner of the fourth aspect of the embodiments of the present invention, the device further includes an image capturing device and an output device, and the image capturing device and The output device is connected to the processor through an interface, and the description information of the path recorded by the memory further includes environment feature information, and the processor further performs the following operations:
在对用户进行逆向导航的过程中,控制所述摄像装置检测所述用户当前所处环境的标识信息;Controlling, by the camera device, the identification information of the environment in which the user is currently located in the process of performing reverse navigation on the user;
判断所述用户当前所处环境的标识信息是否与所述存储器记录的所述环境标识信息相匹配;Determining whether the identification information of the current environment of the user matches the environmental identification information recorded by the memory;
当不匹配时,控制所述输出装置输出用于提示运行路径有误的提示信息。When there is no match, the output device is controlled to output prompt information for prompting that the running path is incorrect.
结合本发明实施例第四方面、本发明实施例第四方面的第一种可能的实现方式、本发明实施例第四方面的第二种可能的实现方式、本发明实施例第四方面的第三种可能的实现方式、本发明实施例第四方面的第四种可能的实现方式、本发明实施例第四方面的第五种可能的实现方式以及本发明实施例第四方面的第六种可能的实现方式中的任一种实现方式,在本发明实施例第四方面的第八种可能的实现方式中,所述处理器根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航,包括:With reference to the fourth aspect of the embodiments of the present invention, the first possible implementation manner of the fourth aspect of the embodiment of the present invention, the second possible implementation manner of the fourth aspect of the embodiment of the present invention, and the fourth aspect of the fourth embodiment of the present invention The third possible implementation manner of the fourth aspect of the embodiment of the present invention, the fifth possible implementation manner of the fourth aspect of the embodiment of the present invention, and the sixth aspect of the fourth aspect of the embodiment of the present invention In any one of the possible implementation manners, in an eighth possible implementation manner of the fourth aspect, the processor, according to the description manner of the sub-path included in the description information of the one path And the length information and direction information of the sub-path, and the reverse navigation of the user, including:
将所述一条途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据所述一条途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取所述逆向导航路径的每条子路径的长度信息以及方向信息;Inverting the order of the sub-paths included in the description information of the one path path to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the length of each sub-path included in the description information of the one path Information and direction information, obtaining length information and direction information of each sub-path of the reverse navigation path;
按照所述逆向导航路径的子路径的途径顺序,并根据所述逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。And following the path sequence of the sub-paths of the reverse navigation path, and navigating the user according to the length information and direction information of each sub-path of the reverse navigation path.
本发明实施例第五方面公开了一种路径记录设备,所述设备包括:A fifth aspect of the embodiments of the present invention discloses a path recording device, where the device includes:
检测模块,用于检测用户的运行信息,所述运行信息包括所述用户的运行方向以及所述用户在所述运行方向的运行距离;a detecting module, configured to detect running information of the user, where the running information includes a running direction of the user and a running distance of the user in the running direction;
记录模块,用于将所述用户的运行方向记录为组成途径路径的子路径的方向信息,并将所述用户在所述运行方向的运行距离记录为所述子路径的长度信息。And a recording module, configured to record the running direction of the user as the direction information of the sub-paths constituting the path, and record the running distance of the user in the running direction as the length information of the sub-path.
在本发明实施例第五方面的第一种可能的实现方式中,所述运行信息还包 括所述用户的运行方向对应的平均振动幅度,所述记录模块,还用于将所述用户的运行方向对应的平均振动幅度记录为所述子路径对应的平均振动幅度。In a first possible implementation manner of the fifth aspect of the embodiment of the present invention, the running information is further included The recording module is further configured to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
在本发明实施例第五方面的第二种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的平均亮度值,所述记录模块,还用于将所述用户的运行方向对应的平均亮度值记录为所述子路径对应的平均亮度值。In a second possible implementation manner of the fifth aspect of the embodiment, the operation information further includes an average brightness value corresponding to a running direction of the user, and the recording module is further configured to run the user. The average brightness value corresponding to the direction is recorded as the average brightness value corresponding to the sub path.
在本发明实施例第五方面的第三种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的环境标识信息,所述记录模块,还用于将所述用户的运行方向对应的环境标识信息记录为所述子路径对应的环境标识信息。In a third possible implementation manner of the fifth aspect of the embodiment, the operation information further includes environment identification information corresponding to a running direction of the user, and the recording module is further configured to run the user. The environment identifier information corresponding to the direction is recorded as the environment identifier information corresponding to the sub-path.
本发明实施例第六方面公开了一种路径记录设备,包括处理器,与所述处理器相连接的传感器,以及与所述处理器相连接的存储器,其特征在于,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A sixth aspect of the embodiments of the present invention discloses a path recording device, including a processor, a sensor connected to the processor, and a memory connected to the processor, wherein the memory stores one a program code, the processor is configured to invoke program code stored in the memory, to perform the following operations:
控制所述传感器检测用户的运行信息,所述运行信息包括所述用户的运行方向以及所述用户在所述运行方向的运行距离;Controlling the sensor to detect operation information of the user, where the operation information includes a running direction of the user and a running distance of the user in the running direction;
控制所述存储器将所述用户的运行方向记录为组成途径路径的子路径的方向信息,并将所述用户在所述运行方向的运行距离记录为所述子路径的长度信息。The memory is controlled to record the running direction of the user as the direction information of the sub-paths constituting the route path, and record the running distance of the user in the running direction as the length information of the sub-path.
在本发明实施例第六方面的第一种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的平均振动幅度,所述处理器还执行以下操作:In a first possible implementation manner of the sixth aspect of the embodiment, the operation information further includes an average vibration amplitude corresponding to a running direction of the user, and the processor further performs the following operations:
控制所述存储器将所述用户的运行方向对应的平均振动幅度记录为所述子路径对应的平均振动幅度。The memory is controlled to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
在本发明实施例第六方面的第二种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的平均亮度值,所述处理器还执行以下操作:In a second possible implementation manner of the sixth aspect of the embodiment, the operation information further includes an average brightness value corresponding to a running direction of the user, and the processor further performs the following operations:
控制所述存储器将所述用户的运行方向对应的平均亮度值记录为所述子路径对应的平均亮度值。The memory is controlled to record an average brightness value corresponding to the running direction of the user as an average brightness value corresponding to the sub path.
在本发明实施例第六方面的第三种可能的实现方式中,所述运行信息还包括所述用户的运行方向对应的环境标识信息,所述处理器还执行以下操作:In a third possible implementation manner of the sixth aspect of the embodiment, the operation information further includes environment identification information corresponding to a running direction of the user, and the processor further performs the following operations:
控制所述存储器将所述用户的运行方向对应的环境标识信息记录为所述子路径对应的环境标识信息。The memory is controlled to record the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
本发明实施例中,导航设备接收导航指令之后,将从记录的至少一条途经 路径的描述信息中获取一条途径路径的描述信息,并根据获取的途径路径的描述信息包括的组成该途径路径的子路径的途经顺序和子路径长度信息以及方向信息,对用户进行逆向导航。可见,通过实施本发明实施例,导航设备可根据自身记录的途径路径的子路径的途径顺序和子路径的长度信息和方向信息,得到逆向导航路径的子路径的途经顺序和子路径的长度信息和方向信息,并根据逆向导航路径的各子路径的途径顺序通过显示屏或喇叭一次性输出逆向导航路径的各子路径的长度信息与方向信息,以对用户进行逆向导航;或,导航设备可通过导航设备的传感器实时检测用户的运行方向以及运行距离,并按照逆向导航路径的子路径的途径顺序,结合逆向导航路径的子路径的长度信息和方向信息来对用户进行实时逆向导航,从而不需要通过网络来进行导航,降低了导航过程中的环境网络部署要求。In the embodiment of the present invention, after the navigation device receives the navigation instruction, at least one path to be recorded will be The description information of the path is obtained in the description information of the path, and the user is reversely navigated according to the route sequence and the sub-path length information and the direction information of the sub-paths of the path path included in the obtained path path description information. It can be seen that, by implementing the embodiment of the present invention, the navigation device can obtain the route sequence of the sub-path of the reverse navigation path and the length information and direction of the sub-path according to the path sequence of the sub-path of the path path and the length information and direction information of the sub-path. Information, and according to the path of each sub-path of the reverse navigation path, the length information and the direction information of each sub-path of the reverse navigation path are outputted by the display screen or the horn to reversely navigate the user; or the navigation device can navigate through The sensor of the device detects the running direction and running distance of the user in real time, and performs real-time reverse navigation on the user according to the path sequence of the sub-path of the reverse navigation path and the direction information of the sub-path of the reverse navigation path, so that the user does not need to pass The network is used for navigation, which reduces the environmental network deployment requirements during the navigation process.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种导航方法的流程示意图;1 is a schematic flow chart of a navigation method according to an embodiment of the present invention;
图1a是本发明实施例公开的一种途径路径的示意图;FIG. 1a is a schematic diagram of a route path disclosed in an embodiment of the present invention; FIG.
图1b是本发明实施例公开的另一种途径路径的示意图;FIG. 1b is a schematic diagram of another path of the path disclosed in the embodiment of the present invention; FIG.
图1c是本发明实施例公开的一种途径路径和逆向导航路径的示意图;FIG. 1c is a schematic diagram of a route path and a reverse navigation path according to an embodiment of the present invention; FIG.
图1d是本发明实施例公开的另一种途径路径和逆向导航路径的示意图;FIG. 1d is a schematic diagram of another path path and a reverse navigation path disclosed in an embodiment of the present invention;
图1e是本发明实施例公开的一种逆向导航路径的示意图;1e is a schematic diagram of a reverse navigation path disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种导航方法的流程示意图;2 is a schematic flow chart of another navigation method according to an embodiment of the present invention;
图3是本发明实施例公开的另一种导航方法的流程示意图;3 is a schematic flow chart of another navigation method according to an embodiment of the present invention;
图4是本发明实施例公开的另一种导航方法的流程示意图;4 is a schematic flow chart of another navigation method according to an embodiment of the present invention;
图5是本发明实施例公开的另一种路径记录方法的流程示意图;FIG. 5 is a schematic flowchart diagram of another path recording method according to an embodiment of the present invention; FIG.
图6是本发明实施例公开的一种导航设备的结构示意图; 6 is a schematic structural diagram of a navigation device according to an embodiment of the present invention;
图7是本发明实施例公开的另一种导航设备的结构示意图;FIG. 7 is a schematic structural diagram of another navigation device according to an embodiment of the present disclosure;
图8是本发明实施例公开的另一种导航设备的结构示意图;FIG. 8 is a schematic structural diagram of another navigation device according to an embodiment of the present invention; FIG.
图9是本发明实施例公开的另一种导航设备的结构示意图;FIG. 9 is a schematic structural diagram of another navigation device according to an embodiment of the present disclosure;
图10是本发明实施例公开的另一种导航设备的结构示意图;FIG. 10 is a schematic structural diagram of another navigation device according to an embodiment of the present disclosure;
图11是本发明实施例公开的另一种导航设备的结构示意图;11 is a schematic structural diagram of another navigation device according to an embodiment of the present invention;
图12是本发明实施例公开的一种路径记录设备的结构示意图;FIG. 12 is a schematic structural diagram of a path recording device according to an embodiment of the present invention; FIG.
图13是本发明实施例公开的另一种路径记录设备的结构示意图。FIG. 13 is a schematic structural diagram of another path recording device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种导航方法及设备,能够降低导航过程中对环境的硬件配置要求。以下分别进行详细说明。The embodiment of the invention discloses a navigation method and device, which can reduce hardware configuration requirements for the environment in the navigation process. The details are described below separately.
本发明实施例中,导航设备可在停车场、大型购物中心、博物馆等室内建筑中对用户进行导航。以停车场为例,导航设备可通过自身配置的传感器对用户的运行方向以及运行距离进行检测,并根据检测到的运行方向以及运行距离得到一条从停车场入口到停车位的用户的途经路径,并记录该途径路径。当用户需要出停车场时,用户可在导航设备输入导航指令。在导航设备接收到用户输入的导航指令后,将使用记录的途经路径对用户进行逆向导航(即以停车位为起点,以停车场入口为终点对用户进行导航),以指引用户原路返回。In the embodiment of the present invention, the navigation device can navigate the user in an indoor building such as a parking lot, a shopping mall, a museum, or the like. Taking the parking lot as an example, the navigation device can detect the running direction and the running distance of the user through the sensor configured by itself, and obtain a path of the user from the parking lot entrance to the parking space according to the detected running direction and the running distance. And record the path of the route. When the user needs to leave the parking lot, the user can input navigation instructions on the navigation device. After the navigation device receives the navigation command input by the user, the navigation path of the user is used to reversely navigate the user (ie, starting from the parking space and navigating the user with the entrance of the parking lot) to guide the user to return.
请参阅图1,图1是本发明实施例公开的一种导航方法的流程示意图。如图1所示,该导航方法可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart diagram of a navigation method according to an embodiment of the present invention. As shown in FIG. 1, the navigation method may include the following steps:
S101、导航设备接收导航指令。S101. The navigation device receives the navigation instruction.
其中,该导航设备可包括但不限于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、智能眼镜、智能手表、智能手环以及车载导航等设备。 The navigation device may include but is not limited to a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a smart glasses, a smart watch, Smart bracelets and devices such as car navigation.
本发明实施例中,可选的,该导航指令可以是由用户通过导航设备的功能按钮输入的,或该导航指令可以是由用户通过穿戴设备发送至导航设备的,本发明实施例不做限定。In the embodiment of the present invention, the navigation instruction may be input by the user through a function button of the navigation device, or the navigation instruction may be sent by the user to the navigation device through the wearable device, which is not limited by the embodiment of the present invention. .
S102、导航设备从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应该导航指令。S102. The navigation device acquires, from the description information of the at least one path that is recorded, a description information of a path, in response to the navigation instruction.
本发明实施例中,导航设备接收导航指令之后,将从导航设备记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,以响应接收的导航指令。其中,导航设备记录的每一条途经路径的描述信息包括组成该途经路径的至少一条子路径的途经顺序,以及组成该途径路径的每条子路径的长度信息和方向信息。In the embodiment of the present invention, after receiving the navigation instruction, the navigation device acquires description information of a route path from the description information of the at least one path recorded by the navigation device, in response to the received navigation instruction. The description information of each path of the path recorded by the navigation device includes a sequence of paths of at least one sub-path constituting the path, and length information and direction information of each sub-path constituting the path.
本发明实施例中,在导航设备接收导航指令之前,导航设备可记录用户的途径路径。可选的,一条途径路径可以是导航设备记录的用户在一次连续运行(即行动,如开车,跑步,步行等)中所途径的路径,例如,用户在一次连续运行中从A点到达B点,再从B点到达C点,则导航设备将记录一条从A点经B点到达C点的途径路径。可选的,一条途径路径可以是导航设备在接收到路径开始记录指令之后,在接收到路径结束记录指令之前所记录的路径,其中,路径开始记录指令用于指示导航设备记录用户途径的路径,路径结束记录指令用于指示导航设备停止记录用户途径的路径。可选的,可根据用户在某一位置停止运行时间是否超过预设时间来判断是否停止记录用户的途径路径,如用户从A点连续运行到达B点,到达B点之后停止运行,若在预设时间内,用户开始运行,并从B点连续运行到达C点,用户到达C点之后停止运行,并且停止时间超过预设时间,则导航设备将记录一条从A点到达B点,再从B点到达C点的途径路径。In the embodiment of the present invention, before the navigation device receives the navigation instruction, the navigation device may record the path of the user. Optionally, one route path may be a path taken by the user recorded by the navigation device in a continuous operation (ie, action, such as driving, running, walking, etc.), for example, the user reaches point B from point A in a continuous operation. Then, from point B to point C, the navigation device will record a path from point A to point B through point B. Optionally, a path may be a path recorded by the navigation device before receiving the path end record instruction after receiving the path start record instruction, where the path start record instruction is used to instruct the navigation device to record the path of the user path. The path end record instruction is used to instruct the navigation device to stop recording the path of the user path. Optionally, according to whether the user stops running at a certain position for more than a preset time to determine whether to stop recording the path of the user, for example, the user continuously runs from point A to point B, and stops after reaching point B. During the set time, the user starts running and runs continuously from point B to point C. When the user stops running after reaching point C, and the stop time exceeds the preset time, the navigation device will record a point from point A to point B, and then from B. Point to the path of the route to point C.
本发明实施例中,一条途经路径可由一条子路径或多条子路径按照用户的途经顺序组成。其中,一条子路径对应一个方向信息,相邻的两条子路径对应的方向信息不相同,子路径的方向信息可以为绝对方向信息(例如,东西南北方向),或子路径的方向信息可以为相对方向信息(例如,可以为相对于相邻子路径向左或向左),本发明实施例不做限定。In the embodiment of the present invention, a path may be composed of a sub-path or a plurality of sub-paths in the order of the user. Wherein, one sub-path corresponds to one direction information, and the direction information corresponding to the two adjacent sub-paths is different, the direction information of the sub-paths may be absolute direction information (for example, east-south-north direction), or the direction information of the sub-paths may be relative The direction information (for example, may be left or left relative to the adjacent sub-path) is not limited in the embodiment of the present invention.
以子路径的方向信息为绝对方向为例,如图1a所示,图1a为本发明实施例公开的一种途径路径的示意图,图1a所示的途经路径的途经顺序为先途经 路径1再途经路径2,且路径1对应一个运行方向(向北),路径2对应一个运行方向(向东),且路径1与路径2对应的运行方向不相同。因此,图1a所示的途经路径包括两条子路径,分别为路径1和路径2,子路径的途经顺序为先途经路径1再途经路径2,路径1的方向信息为向北,路径2的方向信息为向东。For example, as shown in FIG. 1a, FIG. 1a is a schematic diagram of a route path according to an embodiment of the present invention. Path 1 passes through path 2, and path 1 corresponds to one running direction (north), path 2 corresponds to one running direction (eastward), and path 1 corresponds to the running direction of path 2. Therefore, the path shown in FIG. 1a includes two sub-paths, namely path 1 and path 2, and the path of the sub-path is the path 1 and then the path 2, and the direction information of the path 1 is north, and the direction of the path 2 The information is eastward.
以子路径的方向信息为相对方向信息为例,如图1b所示,图1b为本发明实施例公开的另一种途径路径的示意图,图1b所示的途经路径的途经顺序为先途经路径1再途经路径2,且路径1对应一个运行方向(向前),路径2对应一个运行方向(相对于路径1的运行方向向右),且路径1与路径2对应的运行方向不相同。因此,图1b所示的途经路径包括两条子路径,分别为路径1和路径2,子路径的途经顺序为先途经路径1再途经路径2,路径1的方向信息为向前,路径2的方向信息为相对于路径1的方向信息向右。Taking the direction information of the sub-path as the relative direction information as an example, as shown in FIG. 1b, FIG. 1b is a schematic diagram of another path of the path disclosed in the embodiment of the present invention, and the path of the path shown in FIG. 1b is the path of the first path. 1 then passes through path 2, and path 1 corresponds to one running direction (forward), path 2 corresponds to one running direction (to the right with respect to the running direction of path 1), and the running direction of path 1 and path 2 is different. Therefore, the path shown in FIG. 1b includes two sub-paths, namely path 1 and path 2, and the path of the sub-path is first path 1 and then path 2, and the direction information of path 1 is forward, and the direction of path 2 The information is to the right with respect to the direction information of path 1.
作为一种可选的实施方式,上述步骤S102中,导航设备从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体实施方式可以为:As an optional implementation manner, in the foregoing step S102, the specific implementation manner that the navigation device acquires the description information of a path through the description information of the at least one path that is recorded may be:
步骤11)、导航设备从记录的至少一条途经路径的描述信息中获取记录时间离当前时间最接近的一条途径路径的描述信息。Step 11) The navigation device acquires, from the description information of the at least one path that is recorded, the description information of a route path whose recording time is closest to the current time.
在该实施方式中,导航设备储存有各途经路径的描述信息对应的记录时间。In this embodiment, the navigation device stores the recording time corresponding to the description information of each path.
在实际应用中,用户经常使用最后记录的途径路径的描述信息进行逆向导航。例如,用户上班时,从停车场入口开始,记录行驶至某一空车位的途径路径的描述信息,在用户下班后,用户需从空车位开车至停车场出口,这时用户需要使用最后记录的途径路径进行逆向导航。通过步骤11)可以实现由导航设备自动选取记录时间离当前时间最接近的一条途径路径的描述信息,避免了用户手动从多条途径路径的描述信息选择出最后记录的途径路径的描述信息,更加智能化。In practical applications, users often use the description information of the last recorded route path for reverse navigation. For example, when the user goes to work, starting from the entrance of the parking lot, the description information of the route path to an empty parking space is recorded. After the user gets off work, the user needs to drive from the empty parking space to the parking lot exit, and the user needs to use the last recorded route. The path is reverse navigated. Through step 11), the navigation device can automatically select the description information of the path of the path that is closest to the current time, and avoid the user manually selecting the description information of the path of the last record from the description information of the multiple path paths, and further Intelligent.
作为一种可选的实施方式,上述步骤S102中,导航设备从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体实施方式可包括以下步骤:As an optional implementation manner, in the foregoing step S102, the specific implementation manner that the navigation device acquires the description information of a path through the description information of the at least one path that is recorded may include the following steps:
步骤21)、导航设备根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径的长度信息,计算途经路径的总长度; Step 21), the navigation device calculates the total length of the path according to the length information of each sub-path constituting the path included in the description information of each path of the recorded path;
步骤22)、导航设备根据每一条途经路径的总长度,从记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。Step 22) The navigation device selects, according to the total length of each path, the description information of a path with the smallest total length from the description information of all the path paths recorded.
其中,通过执行步骤21)和步骤22),导航设备可自动地为用户选择一条路径最短的途经路径的描述信息,以便于指引用户快速地到达目的地。Wherein, by performing step 21) and step 22), the navigation device can automatically select the description information of the path with the shortest path for the user, so as to guide the user to quickly reach the destination.
作为一种可选的实施方式,在图1所描述的室内导航方法中,在导航设备执行步骤S101之前,还可执行以下步骤:As an optional implementation manner, in the indoor navigation method described in FIG. 1, before the navigation device performs step S101, the following steps may also be performed:
步骤31)、导航设备检测用户的运行方向以及用户在该运行方向的运行距离;Step 31), the navigation device detects a running direction of the user and a running distance of the user in the running direction;
步骤32)、导航设备记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息。Step 32) The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path.
其中,通过执行步骤31)和步骤32),导航设备可记录用户的运行方向作为途经路径的子路径的方向信息,并记录用户在运行方向的运行距离为该子路径的长度信息,以便导航设备能够根据记录的信息对用户进行导航。The navigation device may record the direction of the user's running direction as the sub-path of the path, and record the running distance of the user in the running direction as the length information of the sub-path, so that the navigation device is configured to perform the step 31) and the step 32). Ability to navigate users based on recorded information.
作为一种可选的实施方式,当每一条途经路径的描述信息还包括组成途经路径的每一条子路径对应的平均振动幅度时,上述步骤S102中,导航设备从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体实施方式可包括以下步骤:As an optional implementation manner, when the description information of each path further includes an average vibration amplitude corresponding to each sub-path constituting the path, in step S102, the description of the at least one path of the navigation device is recorded. The specific implementation manner of obtaining the description information of a path in the information may include the following steps:
步骤41)、导航设备根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均振动幅度,计算途经路径中平均振动幅度高于预设振动幅度的子路径的数量;Step 41) The navigation device calculates the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in the path according to the average vibration amplitude corresponding to each sub-path of the constituent path included in the description information of each path of the recorded path. ;
步骤42)、导航设备根据每一条途经路径中平均振动幅度高于预设振动幅度的子路径的数量,从记录的所有途经路径的描述信息中选取平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。Step 42) The navigation device selects a sub-path with an average vibration amplitude higher than a preset vibration amplitude from the description information of all the path paths recorded according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each path. The smallest number of descriptions of a path.
其中,通过执行步骤41)和步骤42),导航设备可以根据记录的每一条途经路径的子路径对应的平均振动幅度,为用户提供一条最平坦的途经路径对用户进行导航。Wherein, by performing step 41) and step 42), the navigation device can provide the user with the most flat path to navigate the user according to the average vibration amplitude corresponding to the sub-path of each path of the recorded path.
作为一种可选的实施方式,在图1所描述的室内导航方法中,在导航设备执行步骤S101之前,还可执行以下步骤:As an optional implementation manner, in the indoor navigation method described in FIG. 1, before the navigation device performs step S101, the following steps may also be performed:
步骤51)、导航设备检测用户的运行方向、用户在运行方向的运行距离以 及用户的运行方向对应的平均振动幅度;Step 51), the navigation device detects the running direction of the user and the running distance of the user in the running direction. And the average vibration amplitude corresponding to the user's running direction;
步骤52)、导航设备记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息,并记录用户的运行方向对应的平均振动幅度作为该子路径对应的平均振动幅度。Step 52) The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the running direction of the user. The average vibration amplitude is taken as the average vibration amplitude corresponding to the sub path.
其中,通过执行步骤51)和步骤52),导航设备可以记录用户途经每条子路径时的平均振动幅度,从而可以使导航设备根据记录的每一条途经路径的子路径对应的平均振动幅度,为用户提供一条最平坦的途经路径为用户进行逆向导航。Wherein, by performing step 51) and step 52), the navigation device can record the average vibration amplitude of the user when passing through each sub-path, so that the navigation device can make the navigation device according to the average vibration amplitude corresponding to the sub-path of each path of the recorded path. Provides a flattest path for reverse navigation for the user.
作为一种可选的实施方式,当每一条途经路径的描述信息还包括组成途经路径的每一条子路径对应的平均亮度值时,上述步骤S102中,导航设备从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体实施方式可包括以下步骤:As an optional implementation manner, when the description information of each path further includes an average brightness value corresponding to each sub-path constituting the path, in step S102, the description of the at least one path of the navigation device is recorded. The specific implementation manner of obtaining the description information of a path in the information may include the following steps:
步骤61)、导航设备根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均亮度值,计算途经路径中平均亮度值低于预设亮度值的子路径的数量;Step 61) The navigation device calculates the number of sub-paths whose average brightness value in the path is lower than the preset brightness value according to the average brightness value corresponding to each sub-path of the composition path included in the description information of each path of the recorded path. ;
步骤62)、导航设备根据每一条途经路径中平均亮度值低于预设亮度值的子路径的数量,从记录的所有途经路径的描述信息中选取平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。Step 62) The navigation device selects a sub-path with an average luminance value lower than the preset luminance value from the description information of all the path paths recorded according to the number of sub-paths whose average luminance value is lower than the preset luminance value in each path. The smallest number of descriptions of a path.
其中,通过执行步骤61)和步骤62),导航设备根据记录的每一条途经路径的子路径对应的平均光线亮度值,为用户提供一条光线最好的路径进行导航。By performing step 61) and step 62), the navigation device provides the user with a path with the best light for navigation according to the average light illuminance value corresponding to the sub-path of each path of the record.
作为一种可选的实施方式,在图1所描述的室内导航方法中,在导航设备执行步骤S101之前,还可执行以下步骤:As an optional implementation manner, in the indoor navigation method described in FIG. 1, before the navigation device performs step S101, the following steps may also be performed:
步骤71)、导航设备检测用户的运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均亮度值;Step 71): The navigation device detects a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to the running direction of the user;
步骤72)、导航设备记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息,并记录用户的运行方向对应的平均亮度值作为该子路径对应的平均亮度值。Step 72) The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the running direction of the user. The average brightness value is taken as the average brightness value corresponding to the sub path.
其中,通过执行步骤71)和步骤72),导航设备能够记录用户途经的每条 子路径对应的平均光线亮度值,从而能够使导航设备根据记录的每一条途经路径的子路径对应的平均光线亮度值,为用户提供一条光线最好的路径进行导航。Wherein, by performing step 71) and step 72), the navigation device can record each piece of the user's way. The average ray brightness value corresponding to the sub-path, so that the navigation device can provide the user with the best ray path for navigation according to the average ray brightness value corresponding to the sub-path of each path of the recorded path.
S103、导航设备根据获取的途经路径的描述信息中包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。S103. The navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and direction information of the sub-path.
本发明实施例中,导航设备从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息之后,将根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。In the embodiment of the present invention, after acquiring the description information of a path through the description information of the at least one path, the navigation device selects the path sequence of the sub-path and the length information of the sub-path according to the description information of the acquired path. And direction information to reverse navigation to the user.
作为一种可选的实施方式,导航设备根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航的具体实施方式可包括以下步骤:As an optional implementation manner, the specific implementation manner of the reverse navigation of the user by the navigation device according to the sequence of the sub-paths included in the description information of the acquired path and the length information and the direction information of the sub-path may include the following steps:
步骤81)导航设备将获取的途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据获取的途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取该逆向导航路径的每条子路径的长度信息以及方向信息;Step 81) The navigation device inverts the order of the sub-paths included in the description information of the acquired path, obtains the path sequence of at least one sub-path that constitutes the reverse navigation path, and includes each sub-item according to the description information of the acquired path. Length information of the path and direction information, obtaining length information and direction information of each subpath of the reverse navigation path;
步骤82)导航设备按照该逆向导航路径的子路径的途径顺序,并根据该逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。Step 82) The navigation device follows the route order of the sub-paths of the reverse navigation path, and navigates the user according to the length information and direction information of each sub-path of the reverse navigation path.
在该实施方式中,可选的,在执行步骤82)时,导航设备可按照逆向导航路径的各子路径的途径顺序在显示屏输出逆向导航路径中各子路径的长度信息与方向信息,以对用户进行导航。或,导航设备可通过喇叭按照逆向导航路径的各子路径的途经顺序输出逆向导航路径的各子路径的长度信息与方向信息,以对用户进行导航。In this embodiment, optionally, when performing step 82), the navigation device may output length information and direction information of each sub-path in the reverse navigation path on the display screen according to the path sequence of each sub-path of the reverse navigation path. Navigate the user. Alternatively, the navigation device may sequentially output the length information and the direction information of each sub-path of the reverse navigation path by the horn according to the path of each sub-path of the reverse navigation path to navigate the user.
举例来说,如图1c所示,图1c为本发明实施例公开的一种途径路径和逆向导航路径的示意图。其中,途经路径包括的子路径为路径1和路径2,路径1的长度信息为50米,路径1对应的方向信息为向北,路径2的长度信息为100米,路径2对应的方向信息为向东,子路径的途径顺序为先途径路径1再途径路径2。导航设备获取到该途经路径的描述信息之后,按照子路径的途经顺序相反的原则,对途径路径的子路径的途径顺序进行倒置(即先途径路径2再途径路径1),得到逆向导航路径的子路径的途径顺序,并将路径1和路径2的方向信息进行反向,保持路径1和路径2的长度信息不变,得到如图1c所示的逆向导航路径。如图1c所示的,在图1c所示的逆向导航路径中,逆向导航路径的路径2对应的方 向信息为向西,逆向导航路径的路径1对应的方向信息为向南;逆向导航路径的路径2对应的长度信息为100米,逆向导航路径的路径1对应的长度信息为50米。导航设备在对用户进行导航时,将按照先途径路径2再途径路径1的路径途径顺序来指引用户先向西前行100米,再向南前行50米。For example, as shown in FIG. 1c, FIG. 1c is a schematic diagram of a route path and a reverse navigation path according to an embodiment of the present invention. The sub-paths included in the path are path 1 and path 2, and the length information of the path 1 is 50 meters. The direction information corresponding to the path 1 is northward, and the length information of the path 2 is 100 meters. To the east, the order of the sub-paths is first route 1 and then route 2. After the navigation device obtains the description information of the path, according to the principle that the path of the sub-path is reversed, the order of the path of the sub-path of the path is reversed (ie, path 2 is followed by path 1), and the reverse navigation path is obtained. The order of the sub-paths is reversed, and the direction information of path 1 and path 2 is reversed, and the length information of path 1 and path 2 is kept unchanged, and a reverse navigation path as shown in FIG. 1c is obtained. As shown in FIG. 1c, in the reverse navigation path shown in FIG. 1c, the path corresponding to path 2 of the reverse navigation path The direction information corresponding to the path 1 of the reverse navigation path is southward; the length information corresponding to the path 2 of the reverse navigation path is 100 meters, and the length information corresponding to the path 1 of the reverse navigation path is 50 meters. When navigating the user, the navigation device will guide the user to go west for 100 meters and then south for 50 meters according to the path route of path 2 and route 1 first.
可选的,若逆向导航路径对应的方向信息为绝对方向信息,则导航设备在使用逆向导航路径对用户进行导航时,可以将绝对方向信息转换为相对方向信息,使用相对方向信息进行导航。例如,导航设备使用图1c的逆向导航路径对用户进行导航时,若用户当前正对的方向为向北,则导航设备输出的逆向导航路径的路径2对应的方向信息为相对于当前面对的方向向左,导航设备输出的逆向导航路径的路径1对应的方向信息为向左。Optionally, if the direction information corresponding to the reverse navigation path is absolute direction information, when the navigation device navigates the user by using the reverse navigation path, the navigation device may convert the absolute direction information into relative direction information, and use the relative direction information to navigate. For example, when the navigation device uses the reverse navigation path of FIG. 1c to navigate the user, if the direction that the user is currently facing is northward, the direction information corresponding to the path 2 of the reverse navigation path output by the navigation device is relative to the current face. The direction is to the left, and the direction information corresponding to the path 1 of the reverse navigation path output by the navigation device is leftward.
又举例来说,如图1d所示,图1d为本发明实施例公开的另一种途经路径和逆向导航路径的示意图。其中,图1d所示的途经路径包括的子路径为路径1和路径2,路径1的长度信息为50米,路径1对应的方向信息为向前,路径2的长度信息为100米,路径2对应的方向信息为相对于路径1向右,子路径的途径顺序为先途径路径1再途径路径2。导航设备获取到该途经路径的描述信息之后,按照子路径的途经顺序相反的原则,对途径路径的子路径的途径顺序进行倒置(即先途径路径2再途径路径1),得到逆向导航路径的子路径的途径顺序,并对路径2相对于路径1的方向信息进行反向,得到路径1相对于路径2的方向信息(相对于路径2向左),并保持路径1和路径2的长度信息不变,得到如图1d所示的逆向导航路径。在图1d所示的逆向导航路径中,逆向导航路径的路径2对应的方向信息为向前,逆向导航路径的路径1对应的方向信息为向左;逆向导航路径的路径2对应的长度信息为100米,逆向导航路径的路径1对应的长度信息为50米。导航设备在使用该逆向导航路径对用户进行导航时,将按照先途径路径2再途径路径1的路径途径顺序来指引用户先向前行100米,再向左前行50米。在使用该逆向导航路径对用户进行导航时,用户需自行调整起始正对方向。For example, as shown in FIG. 1d, FIG. 1d is a schematic diagram of another path and a reverse navigation path disclosed in the embodiment of the present invention. The sub-paths included in the path shown in FIG. 1d are path 1 and path 2, the length information of the path 1 is 50 meters, the direction information corresponding to the path 1 is forward, and the length information of the path 2 is 100 meters, and the path 2 is The corresponding direction information is rightward relative to path 1, and the order of the sub-paths is first path 1 and then path 2. After the navigation device obtains the description information of the path, according to the principle that the path of the sub-path is reversed, the order of the path of the sub-path of the path is reversed (ie, path 2 is followed by path 1), and the reverse navigation path is obtained. The order of the path of the sub-path, and reverse the direction information of the path 2 with respect to the path 1, obtaining the direction information of the path 1 with respect to the path 2 (to the left with respect to the path 2), and maintaining the length information of the path 1 and the path 2 Without change, a reverse navigation path as shown in Figure 1d is obtained. In the reverse navigation path shown in FIG. 1d, the direction information corresponding to the path 2 of the reverse navigation path is forward, the direction information corresponding to the path 1 of the reverse navigation path is leftward, and the length information corresponding to the path 2 of the reverse navigation path is At 100 meters, the length information corresponding to path 1 of the reverse navigation path is 50 meters. When the navigation device uses the reverse navigation path to navigate the user, the user will guide the user to go forward for 100 meters and then to the left for 50 meters according to the route route of the route 2 and the route 1 . When using the reverse navigation path to navigate the user, the user needs to adjust the starting direction.
可选的,在执行步骤82)时,导航设备可按照逆向导航路径的子路径的途径顺序以及逆向导航路径的子路径的方向信息,对用户的起始运行方向进行指示;并且,导航设备可通过自身配置的传感器装置实时检测用户的运行方向以及用户在该运行方向运行的距离,以根据实时检测到的用户的运行方向、用户在该运行方向运行的距离以及逆向导航路径的子路径的方向信息和长度信息, 实时地对用户进行方向指引。Optionally, when performing step 82), the navigation device may indicate the initial running direction of the user according to the path sequence of the sub-path of the reverse navigation path and the direction information of the sub-path of the reverse navigation path; and, the navigation device may The sensor device configured by itself detects the running direction of the user and the distance the user runs in the running direction in real time, according to the running direction of the user detected in real time, the distance the user runs in the running direction, and the direction of the sub path of the reverse navigation path. Information and length information, Direct direction guidance to users in real time.
举例来说,如图1e所示,图1e为本发明实施例公开的一种逆向导航路径的示意图。图1e所示的逆向导航路径包括的子路径为路径1和路径2,其中,路径1对应的方向信息为向北,路径1对应的长度信息为50,路径2对应的方向信息为向东,路径2对应的长度信息为100,子路径的途径顺序为先途径路径1再途径路径2。导航设备开始导航之后,导航设备将提示用户向北运行50米;导航设备可检测用户的运行方向是否为向北的方向,若否,则导航设备可输出用于提示运行方向有误的提示信息;若是,则导航设备继续检测用户向北运行的距离;当路径1的长度与用户向北运行的距离之差小于或等于预设阈值时,导航设备对用户指引路径2对应的运行方向,以实现实时地对用户进行方向指引。例如,当导航设备根据用户向北运行的距离为45米时,若预设阈值为5,则导航设备可提示用户向北运行5米后,向东运行100米。For example, as shown in FIG. 1e, FIG. 1e is a schematic diagram of a reverse navigation path according to an embodiment of the present invention. The sub-paths included in the reverse navigation path shown in FIG. 1e are path 1 and path 2, wherein the direction information corresponding to path 1 is northward, the length information corresponding to path 1 is 50, and the direction information corresponding to path 2 is eastward. The length information corresponding to path 2 is 100, and the path order of the sub-path is first path 1 and then path 2. After the navigation device starts to navigate, the navigation device will prompt the user to run north for 50 meters; the navigation device can detect whether the user's running direction is the northward direction, and if not, the navigation device can output a prompt message for prompting the running direction to be incorrect. If yes, the navigation device continues to detect the distance that the user runs northward; when the difference between the length of the path 1 and the distance traveled by the user to the north is less than or equal to a preset threshold, the navigation device guides the user to the running direction corresponding to the path 2, Realize direction guidance to users in real time. For example, when the navigation device runs 45 meters according to the northward distance of the user, if the preset threshold is 5, the navigation device may prompt the user to run 100 meters to the east and then run 100 meters to the east.
作为一种可选的实施方式,途经路径的描述信息还包括环境标识信息,导航设备还可执行以下步骤:As an optional implementation manner, the description information of the path further includes environment identification information, and the navigation device may further perform the following steps:
步骤91)在对用户进行逆向导航的过程中,检测用户当前所处环境的标识信息;Step 91) detecting, in the process of performing reverse navigation on the user, the identification information of the environment in which the user is currently located;
步骤92)判断用户当前所处环境的标识信息是否与环境标识信息相匹配;Step 92) determining whether the identification information of the current environment of the user matches the environmental identification information;
步骤93)若不相匹配,则输出用于提示运行路径有误的提示信息。Step 93) If there is no match, the prompt information for prompting that the running path is incorrect is output.
在该实施方式中,途经路径的描述信息还包括一个或多个环境标识信息,该环境标识信息可以为文字信息或环境标识物的图像信息等,本发明实施例不做限定。In this embodiment, the description information of the path further includes one or more environment identification information, and the environment identification information may be text information or image information of the environment identifier, and the like, which is not limited in the embodiment of the present invention.
在该实施方式中,可选的,环境标识信息可对应途经路径的子路径中的一个相对位置(该相对位置,例如可以为在子路径的第40米处)。若环境标识信息在途径路径的子路径的第40米处,途径路径的子路径为50米,则在对用户进行逆向导航时,环境标识信息在该子路径的第10米处。导航设备在对用户进行逆向导航的过程中,当导航设备检测到用户在该子路径的运行距离为10米时,导航设备检测环境标识信息,可选的,导航设备可通过摄像装置检测环境标识信息。导航设备检测到环境标识信息时,判断检测到的环境标识信息是否与记录的环境标识信息相匹配,若不匹配,则输出用于提示运行路径有误的提示信息。 In this embodiment, optionally, the environment identification information may correspond to a relative position in the sub path of the path (the relative position may be, for example, at the 40th meter of the sub path). If the environment identification information is at the 40th meter of the subpath of the route path and the subpath of the route path is 50 meters, the environment identification information is at the 10th meter of the subpath when the user is reversely navigated. During the reverse navigation of the user by the navigation device, when the navigation device detects that the user runs at a distance of 10 meters, the navigation device detects the environment identification information. Optionally, the navigation device can detect the environment identifier by using the camera device. information. When the navigation device detects the environmental identification information, it determines whether the detected environmental identification information matches the recorded environmental identification information. If not, the prompt information indicating that the running path is incorrect is output.
在实际应用中,导航设备检测到的用户的运行方向或运行距离可能会有误差,导致用户根据导航的指示并不能在正确的路径中运行。通过实施该实施方式可以记录路径中的预设位置的环境标识信息,当用户到达该预设位置时,可再次检测当前环境中是否存在预设位置对应的环境标识信息,若不存在,则表明运行路径有误。可见,通过实施步骤91)~步骤93),可以更准确地对用户进行逆向导航。In practical applications, the user's running direction or running distance detected by the navigation device may have errors, and the user may not operate in the correct path according to the navigation instruction. The environment identification information of the preset location in the path can be recorded by the implementation of the embodiment. When the user arrives at the preset location, the environment identifier information corresponding to the preset location may be detected in the current environment again. If not, the indication is The running path is incorrect. It can be seen that by implementing steps 91) to 93), the user can be reversely navigated more accurately.
作为一种可选的实施方式,途经路径的描述信息还包括运行角度信息,导航设备还可执行以下步骤:As an optional implementation manner, the description information of the path further includes running angle information, and the navigation device may further perform the following steps:
步骤101)在对用户进行逆向导航的过程中,检测用户当前相较于水平方向的运行角度信息;Step 101) in the process of performing reverse navigation on the user, detecting the current running angle information of the user compared to the horizontal direction;
步骤102)判断当前检测到的运行角度信息是否与获取的途径路径的描述信息包括的运行角度信息相匹配;Step 102) determining whether the currently detected running angle information matches the running angle information included in the description information of the acquired route path;
步骤103)若不相匹配,则输出用于提示运行路径有误的提示信息。Step 103) If not matched, output prompt information for prompting that the running path is incorrect.
在该实施方式中,途经路径的描述信息可包括一个或多个运行角度信息,该运行角度信息可包括与水平方向的夹角值,以及相较于水平方向的方向信息。例如,若用户当前向相较于水平方向斜向上30度的方向运行,则导航设备通过角度传感器可检测到用户当前相较于水平方向的运行角度信息为:与水平方向的夹角值为30度,且方向为沿水平方向向上。In this embodiment, the description information of the path may include one or more operating angle information, which may include an angle value with respect to the horizontal direction, and direction information compared to the horizontal direction. For example, if the user is currently running in a direction obliquely upward by 30 degrees compared to the horizontal direction, the navigation device can detect that the current running angle information of the user compared to the horizontal direction by the angle sensor is: the angle value with the horizontal direction is 30. Degree, and the direction is upward in the horizontal direction.
在该实施方式中,可选的,途经路径的描述信息包括的运行角度信息可对应途经路径的子路径中的一个相对位置(该相对位置,例如可以为在子路径的第40米处)。举例来说,若运行角度信息1对应途径路径的子路径的第40米处,途径路径的子路径为50米,则导航设备在对用户进行逆向导航的过程中,当导航设备检测到用户在该子路径的运行距离为10米时,导航设备判断当前检测到的运行角度信息是否与运行角度信息1相匹配,若不匹配,则输出用于提示运行路径有误的提示信息。例如,若运行角度信息1为与水平方向的夹角值30度,且方向为沿水平方向向上,则当导航设备检测到用户当前的运行角度信息为与水平方向的夹角值为30度,且方向为沿水平方向向下时,导航设备才判定当前检测到的运行角度信息与运行角度信息1相匹配,否则,导航设备判定当前检测到的运行角度信息与运行角度信息1不相匹配。In this embodiment, optionally, the description information of the path includes the running angle information corresponding to a relative position in the sub path of the path (the relative position may be, for example, at the 40th meter of the sub path). For example, if the running angle information 1 corresponds to the 40th meter of the sub path of the path path and the sub path of the path path is 50 meters, the navigation device detects that the user is in the process of reverse navigation to the user. When the running distance of the sub-path is 10 meters, the navigation device determines whether the currently detected running angle information matches the running angle information 1. If not, the prompt information for prompting that the running path is incorrect is output. For example, if the running angle information 1 is 30 degrees from the horizontal direction and the direction is upward in the horizontal direction, when the navigation device detects that the current running angle information of the user is 30 degrees from the horizontal direction, When the direction is down in the horizontal direction, the navigation device determines that the currently detected running angle information matches the running angle information 1. Otherwise, the navigation device determines that the currently detected running angle information does not match the running angle information 1.
通过实施步骤101)~步骤103),可以更准确地对用户进行逆向导航。 By implementing steps 101) to 103), the user can be more accurately navigated backwards.
在图1所描述的方法中,导航设备接收导航指令之后,将从记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,并根据获取的途径路径的描述信息包括的组成该途径路径的子路径的途经顺序和子路径长度信息以及方向信息,对用户进行逆向导航。可见,通过实施本发明实施例,导航设备可根据自身记录的途径路径的子路径的途径顺序和子路径的长度信息和方向信息,得到逆向导航路径的子路径的途经顺序和子路径的长度信息和方向信息,并根据逆向导航路径的各子路径的途径顺序通过显示屏或喇叭一次性输出逆向导航路径的各子路径的长度信息与方向信息,以对用户进行逆向导航;或,导航设备可通过导航设备的传感器实时检测用户的运行方向以及运行距离,并按照逆向导航路径的子路径的途径顺序,结合逆向导航路径的子路径的长度信息和方向信息来对用户进行实时逆向导航,从而不需要通过网络来进行导航,降低了导航过程中的环境网络部署要求。In the method described in FIG. 1 , after receiving the navigation instruction, the navigation device acquires description information of a route path from the description information of the at least one path of the record, and forms the route according to the description information of the acquired route path. The user's reverse navigation is performed on the path sequence and sub-path length information and direction information of the sub-path of the path. It can be seen that, by implementing the embodiment of the present invention, the navigation device can obtain the route sequence of the sub-path of the reverse navigation path and the length information and direction of the sub-path according to the path sequence of the sub-path of the path path and the length information and direction information of the sub-path. Information, and according to the path of each sub-path of the reverse navigation path, the length information and the direction information of each sub-path of the reverse navigation path are outputted by the display screen or the horn to reversely navigate the user; or the navigation device can navigate through The sensor of the device detects the running direction and running distance of the user in real time, and performs real-time reverse navigation on the user according to the path sequence of the sub-path of the reverse navigation path and the direction information of the sub-path of the reverse navigation path, so that the user does not need to pass The network is used for navigation, which reduces the environmental network deployment requirements during the navigation process.
请参阅图2,图2是本发明实施例公开的另一种导航方法的流程示意图。如图2所示,该导航方法可以包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of another navigation method according to an embodiment of the present invention. As shown in FIG. 2, the navigation method may include the following steps:
S201、导航设备检测用户的运行方向以及用户在该运行方向的运行距离。S201. The navigation device detects a running direction of the user and a running distance of the user in the running direction.
本发明实施例中,可选的,若用户想要记录途径路径的描述信息,则用户可点击导航设备的功能按钮,以输入路径记录指令。在导航设备接收到路径记录指令之后,将执行步骤S201,以响应路径记录指令。In the embodiment of the present invention, optionally, if the user wants to record the description information of the route path, the user may click a function button of the navigation device to input a path record instruction. After the navigation device receives the path record instruction, step S201 is performed to respond to the path record instruction.
本发明实施例中,可选的,导航设备可通过摄像装置扫描当前的环境标识信息,若当前环境标识信息与预设标识信息相匹配,则导航设备执行步骤S201。例如,若预设标识信息包括停车场入口图标,则当摄像装置扫描到停车场入口图标时,导航设备执行步骤S201。In the embodiment of the present invention, the navigation device may scan the current environment identifier information by using the camera device. If the current environment identifier information matches the preset identifier information, the navigation device performs step S201. For example, if the preset identification information includes a parking lot entrance icon, when the camera scans to the parking lot entrance icon, the navigation device performs step S201.
本发明实施例中,导航设备可通过电子罗盘等方向传感器测量用户的运行方向;或,若导航设备为车载导航设备,则导航设备可通过检测汽车方向盘旋转方向来检测用户的运行方向。In the embodiment of the present invention, the navigation device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the navigation device is an in-vehicle navigation device, the navigation device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile.
本发明实施例中,导航设备可通过加速度传感器测量用户在该运行方向的加速度,再根据加速度求取用户在该运行方向的运行距离;或,导航设备可通过位移传感器直接检测用户在该运行方向的运行距离;或,若导航设备为车载导航设备,则导航设备可通过检测汽车轮胎旋转的圈数以及根据汽车轮胎的周 长,来检测用户在运行方向的运行距离。In the embodiment of the present invention, the navigation device can measure the acceleration of the user in the running direction by using the acceleration sensor, and then calculate the running distance of the user in the running direction according to the acceleration; or the navigation device can directly detect the user in the running direction through the displacement sensor. The running distance; or, if the navigation device is a car navigation device, the navigation device can detect the number of turns of the car tire and the week according to the car tire Long, to detect the user's running distance in the running direction.
S202、导航设备记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在该运行方向的运行距离作为该子路径的长度信息。S202. The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path.
举例来说,若检测到用户向北前进了10米,再向东前进了20米,则导航设备可将向北的方向信息记录为途经路径的一个子路径的方向信息,并将10米记录为该子路径的长度信息,将向东的方向信息记录为途经路径的另一子路径的方向信息,并将20米记录为该另一子路径的长度信息。其中,途径路径是由子路径按照用户的途径顺序组成的。For example, if it is detected that the user advances 10 meters to the north and then advances 20 meters to the east, the navigation device can record the direction information of the north direction as the direction information of a sub-path of the path, and record the 10 meters. For the length information of the sub-path, the east direction information is recorded as the direction information of the other sub-path of the path, and 20 meters is recorded as the length information of the other sub-path. Wherein, the path is composed of sub-paths in the order of the user.
再举例来说,若检测到用户向右转并前进了10米,再向左转前进了20米,则导航设备可将向右的方向信息记录为途经路径的一个子路径的方向信息,并将10米记录为该子路径的长度信息,将向左的方向信息记录为途经路径的另一子路径的方向信息,并将20米记录为该另一子路径的长度信息。For another example, if it is detected that the user turns right and advances by 10 meters and then advances to the left by 20 meters, the navigation device can record the direction information of the right direction as the direction information of a sub-path of the path, and 10 meters is recorded as the length information of the sub path, the left direction information is recorded as the direction information of the other sub path of the path, and 20 meters is recorded as the length information of the other sub path.
S203、导航设备接收导航指令。S203. The navigation device receives the navigation instruction.
S204、导航设备根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径的长度信息,计算途经路径的总长度。S204. The navigation device calculates a total length of the path according to the length information of each subpath constituting the path included in the recorded description information of each path.
本发明实施例中,导航设备接收导航指令之后,将根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径的长度信息,计算途经路径的总长度,以响应该导航指令。In the embodiment of the present invention, after receiving the navigation instruction, the navigation device calculates the total length of the path according to the length information of each sub-path constituting the path included in the description information of each path of the record, in response to the navigation instruction. .
S205、导航设备根据每一条途经路径的总长度,从记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。S205. The navigation device selects, according to the total length of each path, the description information of a path with the smallest total length from the description information of all the path paths recorded.
本发明实施例中,举例来说,若途径路径包括途径路径A和途径路径B,途径路径A包括子路径1和子路径2,途径路径B包括子路径3和子路径4和子路径5,子路径1的长度信息为50米,子路径2长度信息为60米,子路径3长度信息为70米,子路径4长度信息为50米,子路径5长度信息为10米,则途径路径A的总长度为110米,途径路径B的总长度为130米,则导航设备将选取途径路径A的描述信息。In the embodiment of the present invention, for example, if the path includes path path A and path B, path path A includes sub path 1 and sub path 2, and path B includes sub path 3 and sub path 4 and sub path 5, sub path 1 The length information is 50 meters, the length information of the sub-path 2 is 60 meters, the length information of the sub-path 3 is 70 meters, the length information of the sub-path 4 is 50 meters, and the length information of the sub-path 5 is 10 meters, and the total length of the path A is For 110 meters, the total length of the route B is 130 meters, then the navigation device will select the description information of the route A.
S206、导航设备根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。S206. The navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and direction information of the sub-path.
在实际应用中,用户经常去到室内的某一个固定位置,例如,用户经常从 停车场入口将车行驶至一个固定的停车位上,则导航设备中可能记录多条起点为停车场入口,终点为固定停车位的途径路径的描述信息。通过实施图2所描述的方法,导航设备可自动地为用户选择一条路径最短的途经路径的描述信息作为待导航路径的描述信息,以便于指引用户快速地到达目的地。In practical applications, users often go to a fixed location in the room, for example, users often When the car park entrance drives the car to a fixed parking space, the navigation device may record a description of the route path starting from the parking lot entrance and ending at the fixed parking space. By implementing the method described in FIG. 2, the navigation device can automatically select the description information of the shortest path of the path for the user as the description information of the path to be navigated, so as to guide the user to quickly reach the destination.
请参阅图3,图3是本发明实施例公开的另一种导航方法的流程示意图。如图3所示,该导航方法可以包括以下步骤:Please refer to FIG. 3. FIG. 3 is a schematic flowchart diagram of another navigation method according to an embodiment of the present invention. As shown in FIG. 3, the navigation method may include the following steps:
S301、导航设备检测用户的运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均振动幅度。S301. The navigation device detects a running direction of the user, a running distance of the user in the running direction, and an average vibration amplitude corresponding to the running direction of the user.
本发明实施例中,可选的,若用户想要记录途径路径的描述信息,则用户可点击导航设备的功能按钮,以输入路径记录指令。在导航设备接收到路径记录指令之后,将响应路径记录指令,执行步骤S301。In the embodiment of the present invention, optionally, if the user wants to record the description information of the route path, the user may click a function button of the navigation device to input a path record instruction. After the navigation device receives the path record instruction, the response path record instruction is executed, and step S301 is performed.
本发明实施例中,可选的,导航设备可通过摄像装置扫描当前的环境标识信息,若当前环境标识信息与预设标识信息相匹配,则导航设备执行步骤S301。例如,若预设标识信息包括停车场入口图标,则当摄像装置扫描到停车场入口图标时,导航设备执行步骤S301。In the embodiment of the present invention, the navigation device may scan the current environment identifier information by using the camera device. If the current environment identifier information matches the preset identifier information, the navigation device performs step S301. For example, if the preset identification information includes a parking lot entrance icon, when the camera detects the parking lot entrance icon, the navigation device performs step S301.
本发明实施例中,导航设备可通过电子罗盘等方向传感器测量用户的运行方向;或,若导航设备为车载导航设备,则导航设备可通过检测汽车方向盘旋转方向来检测用户的运行方向。In the embodiment of the present invention, the navigation device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the navigation device is an in-vehicle navigation device, the navigation device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile.
本发明实施例中,导航设备可通过加速度传感器测量用户在该运行方向的加速度,再根据加速度求取用户在该运行方向的运行距离;或,导航设备可通过位移传感器直接检测用户在该运行方向的运行距离;或,若导航设备为车载导航设备,则导航设备可通过检测汽车轮胎旋转的圈数以及根据汽车轮胎的周长,来检测用户在运行方向的运行距离。In the embodiment of the present invention, the navigation device can measure the acceleration of the user in the running direction by using the acceleration sensor, and then calculate the running distance of the user in the running direction according to the acceleration; or the navigation device can directly detect the user in the running direction through the displacement sensor. The running distance; or, if the navigation device is a car navigation device, the navigation device can detect the running distance of the user in the running direction by detecting the number of turns of the car tire and according to the circumference of the car tire.
本发明实施例中,导航设备可通过配置于导航设备的振动幅度检测装置,以预设的时间周期来检测用户在该运行方向运行时的振动幅度;当检测到用户的运行方向改变时,导航设备根据以预设的时间周期检测到的用户在该运行方向运行时的振动幅度,来计算用户在该运行方向运行时的平均振动幅度作为该运行方向对应的平均振动幅度。In the embodiment of the present invention, the navigation device can detect the vibration amplitude of the user when the user runs in the running direction by using the vibration amplitude detecting device configured in the navigation device, and navigates when the running direction of the user is detected. The device calculates the average vibration amplitude of the user when operating in the running direction according to the vibration amplitude of the user running in the running direction detected by the preset time period as the average vibration amplitude corresponding to the running direction.
S302、导航设备记录用户的运行方向作为途经路径的描述信息中包括的子 路径的方向信息,并记录用户在运行方向的运行距离作为子路径的长度信息,并记录用户的运行方向对应的平均振动幅度作为子路径对应的平均振动幅度。S302. The navigation device records a running direction of the user as a sub-inclusion included in the description information of the path. The direction information of the path, and record the running distance of the user in the running direction as the length information of the sub-path, and record the average vibration amplitude corresponding to the running direction of the user as the average vibration amplitude corresponding to the sub-path.
举例来说,若检测到用户向北前进了10米,并且在该方向前进时检测到的平均振动幅度为7厘米,再向东前进了20米,并且在该方向前进时检测到的平均振动幅度为6厘米,则导航设备将向北的方向信息记录为途经路径的一个子路径的方向信息,将10米记录为该子路径的长度信息,并将7厘米的平均振动幅度记录为该子路径的平均振动幅度;导航设备将向东的方向信息记录为途经路径的另一子路径的方向信息,将20米记录为该另一子路径的长度信息,并将6厘米的平均振动幅度记录为该另一子路径的平均振动幅度。其中,途径路径是由子路径按照用户的途径顺序组成的。For example, if it is detected that the user has advanced 10 meters to the north, and the average vibration amplitude detected in the direction is 7 cm, and then advanced 20 meters to the east, and the average vibration detected in the direction is advanced. When the amplitude is 6 cm, the navigation device records the north direction information as the direction information of a subpath of the path, records 10 meters as the length information of the subpath, and records the average vibration amplitude of 7 cm as the sub-path. The average vibration amplitude of the path; the navigation device records the east direction information as the direction information of the other subpath of the path, records 20 meters as the length information of the other subpath, and records the average vibration amplitude of 6 cm. The average vibration amplitude for this other subpath. Wherein, the path is composed of sub-paths in the order of the user.
再举例来说,若检测到用户向右转并前进了10米,并且在该方向前进时检测到的平均振动幅度为7厘米,再向左转前进了20米,并且在该方向前进时检测到的平均振动幅度为6厘米,则导航设备将向右的方向信息记录为途经路径的一个子路径的方向信息,将10米记录为该子路径的长度信息,并将7厘米的平均振动幅度记录为该子路径的平均振动幅度;导航设备将向左的方向信息记录为途经路径的另一子路径的方向信息,将20米记录为该另一子路径的长度信息,并将6厘米的平均振动幅度记录为该另一子路径的平均振动幅度。For another example, if it is detected that the user turns right and advances by 10 meters, and the average vibration amplitude detected when moving in the direction is 7 cm, then turns left 20 meters, and detects when moving in the direction. When the average vibration amplitude is 6 cm, the navigation device records the direction information to the right as the direction information of one subpath of the path, records 10 meters as the length information of the subpath, and averages the amplitude of 7 cm. Recorded as the average vibration amplitude of the sub-path; the navigation device records the left direction information as the direction information of the other sub-path of the path, records 20 meters as the length information of the other sub-path, and 6 cm The average vibration amplitude is recorded as the average vibration amplitude of the other sub-path.
S303、导航设备接收导航指令。S303. The navigation device receives the navigation instruction.
S304、导航设备根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均振动幅度,计算途经路径中平均振动幅度高于预设振动幅度的子路径的数量。S304. The navigation device calculates, according to the average vibration amplitude corresponding to each sub-path of the composition path included in the description information of each path of the recorded path, the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in the path.
本发明实施例中,导航设备接收导航指令之后,将根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均振动幅度,计算途经路径中平均振动幅度高于预设振动幅度的子路径的数量,以响应该导航指令。In the embodiment of the present invention, after receiving the navigation instruction, the navigation device calculates the average vibration amplitude corresponding to each sub-path of the composition path according to the description information of each path of the recorded path, and calculates the average vibration amplitude in the path is higher than the pre-predetermined The number of sub-paths of the vibration amplitude is set in response to the navigation command.
S305、导航设备根据每一条途经路径中平均振动幅度高于预设振动幅度的子路径的数量,从记录的所有途经路径的描述信息中选取平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。S305. The navigation device selects, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each path, from the description information of all the path paths recorded, the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude. The smallest piece of description of the path.
本发明实施例中,举例来说,若途径路径包括途径路径A和途径路径B,途径路径A包括子路径1和子路径2,途径路径B包括子路径3和子路径4 和子路径5,子路径1对应的平均振动幅度为3厘米,子路径2对应的平均振动幅度为3厘米,子路径3对应的平均振动幅度为6厘米,子路径4对应的平均振动幅度为7厘米,子路径5对应的平均振动幅度为4厘米,若预设振动幅度为5厘米,则途径路径A中平均振动幅度高于预设振动幅度的子路径的数量为0,途径路径B中平均振动幅度高于预设振动幅度的子路径的数量为2,则导航设备将选取途径路径A的描述信息。In the embodiment of the present invention, for example, if the path includes path path A and path B, path path A includes sub path 1 and sub path 2, and path path B includes sub path 3 and sub path 4 And the sub-path 5, the average vibration amplitude corresponding to the sub-path 1 is 3 cm, the average vibration amplitude corresponding to the sub-path 2 is 3 cm, the average vibration amplitude corresponding to the sub-path 3 is 6 cm, and the average vibration amplitude corresponding to the sub-path 4 is 7 In centimeters, the average vibration amplitude corresponding to sub-path 5 is 4 cm. If the preset vibration amplitude is 5 cm, the number of sub-paths in the path A with an average vibration amplitude higher than the preset vibration amplitude is 0, and the average path path B is 0. If the number of sub-paths whose vibration amplitude is higher than the preset vibration amplitude is 2, the navigation device will select the description information of the path A.
S306、导航设备根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。S306. The navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the acquired description information of the path and the length information and direction information of the sub-path.
在实际应用中,用户在不平坦的道路上运行的振动幅度可能比在平坦的道路上运行的振动幅度更大。例如,若用户驾驶汽车进行运行,则用户在不平坦的道路上运行的振动幅度比在平坦的道路上运行的振动幅度更大。可见,通过实施图3所描述的方法,导航设备可以记录用户途经每条子路径时的振动幅度,从而可以根据记录的每一条途经路径的子路径对应的振动幅度,为用户提供一条最平坦的途经路径为用户进行逆向导航。In practical applications, the amplitude of the vibration of the user running on an uneven road may be greater than the amplitude of the vibration running on a flat road. For example, if a user drives a car to run, the user will run more vibrations on an uneven road than on a flat road. It can be seen that by implementing the method described in FIG. 3, the navigation device can record the amplitude of the vibration when the user passes through each sub-path, so that the user can provide a smoothest path according to the vibration amplitude corresponding to the sub-path of each path of the recorded path. The path is reverse navigation for the user.
请参阅图4,图4是本发明实施例公开的另一种导航方法的流程示意图。如图4所示,该导航方法可以包括以下步骤:Please refer to FIG. 4. FIG. 4 is a schematic flowchart diagram of another navigation method according to an embodiment of the present invention. As shown in FIG. 4, the navigation method may include the following steps:
S401、导航设备检测用户的运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均亮度值。S401. The navigation device detects a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to the running direction of the user.
本发明实施例中,可选的,若用户想要记录途径路径的描述信息,则用户可点击导航设备的功能按钮,以输入路径记录指令。在导航设备接收到路径记录指令之后,将响应路径记录指令,执行步骤S301。In the embodiment of the present invention, optionally, if the user wants to record the description information of the route path, the user may click a function button of the navigation device to input a path record instruction. After the navigation device receives the path record instruction, the response path record instruction is executed, and step S301 is performed.
本发明实施例中,可选的,导航设备可通过摄像装置扫描当前的环境标识信息,若当前环境标识信息与预设标识信息相匹配,则导航设备执行步骤S301。例如,若预设标识信息包括停车场入口图标,则当摄像装置扫描到停车场入口图标时,导航设备执行步骤S301。In the embodiment of the present invention, the navigation device may scan the current environment identifier information by using the camera device. If the current environment identifier information matches the preset identifier information, the navigation device performs step S301. For example, if the preset identification information includes a parking lot entrance icon, when the camera detects the parking lot entrance icon, the navigation device performs step S301.
本发明实施例中,导航设备可通过电子罗盘等方向传感器测量用户的运行方向;或,若导航设备为车载导航设备,则导航设备可通过检测汽车方向盘旋转方向来检测用户的运行方向。In the embodiment of the present invention, the navigation device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the navigation device is an in-vehicle navigation device, the navigation device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile.
本发明实施例中,导航设备可通过加速度传感器测量用户在该运行方向的 加速度,再根据加速度求取用户在该运行方向的运行距离;或,导航设备可通过位移传感器直接检测用户在该运行方向的运行距离;或,若导航设备为车载导航设备,则导航设备可通过检测汽车轮胎旋转的圈数以及根据汽车轮胎的周长,来检测用户在运行方向的运行距离。In the embodiment of the present invention, the navigation device can measure the user in the running direction by using the acceleration sensor. Acceleration, and then calculate the running distance of the user in the running direction according to the acceleration; or, the navigation device can directly detect the running distance of the user in the running direction through the displacement sensor; or, if the navigation device is a car navigation device, the navigation device can pass The number of turns of the car tire is detected and the running distance of the user in the running direction is detected according to the circumference of the car tire.
本发明实施例中,导航设备可通过光线传感器检测环境的光线亮度值,以获取用户的运行方向对应的平均亮度值。In the embodiment of the present invention, the navigation device may detect the light brightness value of the environment through the light sensor to obtain an average brightness value corresponding to the running direction of the user.
S402、导航设备记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息,并记录用户的运行方向对应的平均亮度值作为该子路径对应的平均亮度值。S402. The navigation device records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the average corresponding to the running direction of the user. The brightness value is taken as the average brightness value corresponding to the sub path.
举例来说,若检测到用户向北前进了10米,并且在该方向前进时检测到的平均亮度值为300勒克斯,再向东前进了20米,并且在该方向前进时检测到的平均亮度值为200勒克斯,则导航设备可将向北的方向信息记录为途经路径的一个子路径的方向信息,将10米记录为该子路径的长度信息,并将300勒克斯的平均亮度值记录为该子路径的平均亮度值;导航设备将向东的方向信息记录为途经路径的另一子路径的方向信息,并将20米记录为该另一子路径的长度信息,并将200勒克斯的平均亮度值记录为该另一子路径的平均亮度值。其中,途径路径是由子路径按照用户的途径顺序组成的。For example, if it is detected that the user has advanced 10 meters to the north, and the average brightness value detected when moving in the direction is 300 lux, then advances 20 meters to the east, and the average brightness detected when moving in the direction. The value is 200 lux, the navigation device can record the north direction information as the direction information of one subpath of the path, record 10 meters as the length information of the sub path, and record the average brightness value of 300 lux as the The average brightness value of the sub-path; the navigation device records the east direction information as the direction information of the other sub-path of the path, and records 20 meters as the length information of the other sub-path, and averages the brightness of 200 lux. The value is recorded as the average brightness value of the other subpath. Wherein, the path is composed of sub-paths in the order of the user.
再举例来说,若检测到用户向右转并前进了10米,并且在该方向前进时检测到的平均亮度值为300勒克斯,再向左转前进了20米,并且在该方向前进时检测到的平均亮度值为200勒克斯,则导航设备可将向右的方向信息记录为途经路径的一个子路径的方向信息,将10米记录为该子路径的长度信息,并将300勒克斯的平均亮度值记录为该子路径的平均亮度值;导航设备将向左的方向信息记录为途经路径的另一子路径的方向信息,并将20米记录为该另一子路径的长度信息,并将200勒克斯的平均亮度值记录为该另一子路径的平均亮度值。For another example, if it is detected that the user turns right and advances by 10 meters, and the average brightness value detected when moving in the direction is 300 lux, then the left direction is advanced by 20 meters, and when the direction is advanced, the detection is performed. When the average brightness value is 200 lux, the navigation device can record the direction information of the right direction as the direction information of one subpath of the path, record 10 meters as the length information of the sub path, and average the brightness of 300 lux. The value is recorded as the average brightness value of the sub-path; the navigation device records the left direction information as the direction information of the other sub-path of the path, and records 20 meters as the length information of the other sub-path, and 200 The average luminance value of the lux is recorded as the average luminance value of the other subpath.
S403、导航设备接收导航指令。S403. The navigation device receives the navigation instruction.
S404、导航设备根据记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均亮度值,计算途经路径中平均亮度值低于预设亮度值的子路径的数量。S404. The navigation device calculates, according to the average brightness value corresponding to each sub-path of the composition path included in the description information of each path of the record, the number of sub-paths whose average brightness value in the path is lower than the preset brightness value.
本发明实施例中,导航设备接收导航指令之后,将根据记录的每一条途经 路径的描述信息包括的组成途经路径的每一条子路径对应的平均亮度值,计算途经路径中平均亮度值低于预设亮度值的子路径的数量,以响应该导航指令。In the embodiment of the present invention, after receiving the navigation instruction, the navigation device will follow each path according to the record. The description information of the path includes an average brightness value corresponding to each sub-path constituting the path, and the number of sub-paths whose average brightness value in the path is lower than the preset brightness value is calculated in response to the navigation instruction.
S405、导航设备根据每一条途经路径中平均亮度值低于预设亮度值的子路径的数量,从记录的所有途经路径的描述信息中选取平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。S405. The navigation device selects, according to the number of sub-paths whose average brightness value is lower than the preset brightness value in each path, from the description information of all the path paths recorded, the number of sub-paths whose average brightness value is lower than the preset brightness value. The smallest piece of description of the path.
本发明实施例中,举例来说,若途径路径包括途径路径A和途径路径B,途径路径A包括子路径1和子路径2,途径路径B包括子路径3和子路径4和子路径5,子路径1对应的平均亮度值为300勒克斯,子路径2对应的平均亮度值为300勒克斯,子路径3对应的平均亮度值为10勒克斯,子路径4对应的平均亮度值为100勒克斯,子路径5对应的平均亮度值为300勒克斯,若预设亮度值为200勒克斯,则途径路径A中平均亮度值高于预设亮度值的子路径的数量为0,途径路径B中平均亮度值高于预设亮度值的子路径的数量为2,则导航设备将选取途径路径A的描述信息。In the embodiment of the present invention, for example, if the path includes path path A and path B, path path A includes sub path 1 and sub path 2, and path B includes sub path 3 and sub path 4 and sub path 5, sub path 1 The corresponding average luminance value is 300 lux, the average luminance value corresponding to sub-path 2 is 300 lux, the average luminance value corresponding to sub-path 3 is 10 lux, and the average luminance value corresponding to sub-path 4 is 100 lux, and sub-path 5 corresponds to The average brightness value is 300 lux. If the preset brightness value is 200 lux, the number of sub-paths in the path path A whose average brightness value is higher than the preset brightness value is 0, and the average brightness value in the path B is higher than the preset brightness. If the number of subpaths of the value is 2, the navigation device will select the description information of the path A.
S406、导航设备根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。S406. The navigation device performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and direction information of the sub-path.
通过实施图4所描述的方法,导航设备能够记录用户途经的每条子路径对应的光线亮度值,从而能够根据记录的每一条途经路径的子路径对应的光线亮度值,为用户提供一条光线最好的路径进行导航。By implementing the method described in FIG. 4, the navigation device can record the brightness value of the light corresponding to each sub-path that the user passes through, so that the user can provide a light with the light value corresponding to the sub-path of each path of the recorded path. The path to navigate.
请参阅图5,图5是本发明实施例公开的一种路径记录方法的流程示意图。如图5所示,该路径记录方法可以包括以下步骤:Please refer to FIG. 5. FIG. 5 is a schematic flowchart diagram of a path recording method according to an embodiment of the present invention. As shown in FIG. 5, the path recording method may include the following steps:
S501、路径记录设备检测用户的运行信息。S501. The path recording device detects the running information of the user.
本发明实施例中,路径记录设备可包括但不限于智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、智能眼镜、智能手表、智能手环以及车载导航等设备。In the embodiment of the present invention, the path recording device may include, but is not limited to, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a UMPC (Ultra-mobile Personal Computer), a netbook, and a smart glasses. , smart watches, smart bracelets and car navigation and other equipment.
可选的,若用户想要记录途径的路径,则用户可点击路径记录设备的功能按钮,以输入路径记录指令。在路径记录设备接收到路径记录指令之后,将执行步骤S501,以响应路径记录指令。Optionally, if the user wants to record the path of the path, the user can click the function button of the path recording device to input the path record instruction. After the path recording device receives the path record instruction, step S501 is performed to respond to the path record instruction.
本发明实施例中,可选的,路径记录设备可通过摄像装置扫描当前的环境 标识信息,若当前环境标识信息与预设标识信息相匹配,则路径记录设备执行步骤S501。例如,若预设标识信息包括停车场入口图标,则当摄像装置扫描到停车场入口图标时,路径记录设备执行步骤S501。In the embodiment of the present invention, optionally, the path recording device can scan the current environment by using the camera device. The identifier information, if the current environment identifier information matches the preset identifier information, the path record device performs step S501. For example, if the preset identification information includes a parking lot entrance icon, when the camera scans to the parking lot entrance icon, the path recording device performs step S501.
本发明实施例中,运行信息包括用户的运行方向以及用户在该运行方向的运行距离。可选的,运行信息包括用户的运行方向可以是绝对方向(例如,东西南北方向)或相对方向(例如,向左,向右等)。In the embodiment of the present invention, the running information includes a running direction of the user and a running distance of the user in the running direction. Optionally, the running information includes that the running direction of the user may be an absolute direction (for example, east-south direction) or a relative direction (for example, leftward, rightward, etc.).
本发明实施例中,路径记录设备可通过电子罗盘等方向传感器测量用户的运行方向;或,若路径记录设备为车载导航设备,则路径记录设备可通过检测汽车方向盘旋转方向来检测用户的运行方向。In the embodiment of the present invention, the path recording device can measure the running direction of the user through a direction sensor such as an electronic compass; or if the path recording device is a car navigation device, the path recording device can detect the running direction of the user by detecting the direction of rotation of the steering wheel of the automobile. .
本发明实施例中,路径记录设备可通过加速度传感器测量用户在该运行方向的加速度,再根据加速度求取用户在该运行方向的运行距离;或,路径记录设备可通过位移传感器直接检测用户在该运行方向的运行距离;或,若路径记录设备为车载导航设备,则路径记录设备可通过检测汽车轮胎旋转的圈数以及根据汽车轮胎的周长,来检测用户在运行方向的运行距离。In the embodiment of the present invention, the path recording device can measure the acceleration of the user in the running direction by using the acceleration sensor, and then calculate the running distance of the user in the running direction according to the acceleration; or the path recording device can directly detect the user by using the displacement sensor. The running distance of the running direction; or, if the path recording device is a car navigation device, the path recording device can detect the running distance of the user in the running direction by detecting the number of turns of the car tire and according to the circumference of the car tire.
S502、路径记录设备将运行信息包括的用户的运行方向记录为组成途径路径的子路径的方向信息,并将运行信息包括的用户在运行方向的运行距离记录为子路径的长度信息。S502. The path recording device records the running direction of the user included in the running information as the direction information of the sub-paths constituting the path, and records the running distance of the user in the running direction included in the running information as the length information of the sub-path.
以运行方向为绝对方向为例,举例来说,若检测到用户向北前进了10米,再向东前进了20米,则路径记录设备可将向北的方向信息记录为一条途经路径的一个子路径的方向信息,并将10米记录为该子路径的长度信息;路径记录设备将向东的方向信息记录为该途经路径的另一子路径的方向信息,并将20米记录为该另一子路径的长度信息。其中,途径路径是由子路径按照用户的途径顺序组成的。Taking the running direction as an absolute direction, for example, if it is detected that the user advances 10 meters northward and then advances 20 meters to the east, the path recording device can record the north direction information as one path path. The direction information of the sub path, and records 10 meters as the length information of the sub path; the path recording device records the direction information of the east direction as the direction information of another sub path of the path, and records 20 meters as the other The length information of a subpath. Wherein, the path is composed of sub-paths in the order of the user.
以运行方向为相对方向为例,举例来说,若检测到用户向右转并前进了10米,再向左转前进了20米,则路径记录设备可将向右的方向信息记录为途经路径的一个子路径的方向信息,并将10米记录为该子路径的长度信息,将向左的方向信息记录为途经路径的另一子路径的方向信息,并将20米记录为该另一子路径的长度信息。Taking the running direction as the opposite direction, for example, if it is detected that the user turns right and advances by 10 meters and then advances to the left by 20 meters, the path recording device can record the right direction information as the path. The direction information of one subpath, and record 10 meters as the length information of the subpath, record the left direction information as the direction information of the other subpath of the path, and record 20 meters as the other sub The length information of the path.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的平均振动幅度,路径记录设备还执行以下步骤: As an optional implementation manner, the operation information further includes an average vibration amplitude corresponding to the running direction of the user, and the path recording device further performs the following steps:
将用户的运行方向对应的平均振动幅度记录为子路径对应的平均振动幅度。The average vibration amplitude corresponding to the user's running direction is recorded as the average vibration amplitude corresponding to the sub-path.
在该实施方式中,路径记录设备可通过配置于路径记录设备的振动幅度检测装置,以预设的时间周期来检测用户在该运行方向运行时的振动幅度;当检测到用户的运行方向改变时,路径记录设备根据以预设的时间周期检测到的用户在该运行方向运行时的振动幅度,来计算用户在该运行方向运行时的平均振动幅度作为该运行方向对应的平均振动幅度。In this embodiment, the path recording device can detect the vibration amplitude of the user when the user runs in the running direction by using the vibration amplitude detecting device configured in the path recording device for a preset time period; when detecting that the user's running direction is changed The path recording device calculates the average vibration amplitude of the user when operating in the running direction according to the amplitude of the vibration when the user runs in the running direction detected by the preset time period as the average vibration amplitude corresponding to the running direction.
通过实施该实施方式,路径记录设备可以记录用户途经每条子路径时的平均振动幅度,从而可以使进行导航的导航设备根据记录的每一条途经路径的子路径对应的平均振动幅度,为用户提供一条最平坦的途经路径对用户进行导航。By implementing the embodiment, the path recording device can record the average vibration amplitude of the user when passing through each sub-path, so that the navigation device that performs navigation can provide the user with an average vibration amplitude corresponding to the sub-path of each path of the recorded path. The flattest path routes the user.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的平均亮度值,路径记录设备还执行以下步骤:As an optional implementation manner, the operation information further includes an average brightness value corresponding to the running direction of the user, and the path recording device further performs the following steps:
将用户的运行方向对应的平均亮度值记录为子路径对应的平均亮度值。The average brightness value corresponding to the running direction of the user is recorded as the average brightness value corresponding to the sub path.
在该实施方式中,路径记录设备可通过光线传感器检测环境的光线亮度值,以获取用户的运行方向对应的平均亮度值。In this embodiment, the path recording device can detect the light brightness value of the environment through the light sensor to obtain an average brightness value corresponding to the running direction of the user.
通过实施该实施方式,路径记录设备能够记录用户途经的每条子路径对应的平均光线亮度值,从而可以使进行导航的导航设备根据记录的每一条途经路径的子路径对应的平均光线亮度值,为用户提供一条光线最好的路径进行导航。By implementing the embodiment, the path recording device can record the average light illuminance value corresponding to each sub-path that the user passes through, so that the navigation device that performs navigation can obtain the average light illuminance value corresponding to the sub-path of each path of the recorded path. The user provides a path with the best light for navigation.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的环境标识信息,路径记录设备还执行以下步骤:As an optional implementation manner, the operation information further includes environment identification information corresponding to the running direction of the user, and the path recording device further performs the following steps:
将用户的运行方向对应的环境标识信息记录为子路径对应的环境标识信息。The environment identifier information corresponding to the running direction of the user is recorded as the environment identifier information corresponding to the sub-path.
在该实施方式中,路径记录设备可通过图像传感器以预设时间周期来检测环境的标识信息,以获取用户的运行方向对应的环境标识信息。In this embodiment, the path recording device may detect the identification information of the environment by using the image sensor for a preset time period to obtain the environment identification information corresponding to the running direction of the user.
通过实施该实施方式,路径记录设备能够记录用户途经的每条子路径对应的环境标识信息,从而可以使导航设备在为用户进行导航时,检测当前环境标识信息是否与记录的环境标识信息相匹配,并当检测到不相匹配时,及时通知用户运行的路径有误,从而能够使导航设备更精确地为用户进行导航。By implementing the embodiment, the path recording device can record the environment identification information corresponding to each sub-path that the user passes through, so that the navigation device can detect whether the current environment identification information matches the recorded environment identification information when navigating for the user. And when the mismatch is detected, the user is notified in time that the path is incorrect, so that the navigation device can navigate the user more accurately.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的运行角度信息,路径记录设备还执行以下步骤: As an optional implementation manner, the operation information further includes running angle information corresponding to the running direction of the user, and the path recording device further performs the following steps:
将用户的运行方向对应的运行角度信息记录为子路径对应的运行角度信息。The running angle information corresponding to the running direction of the user is recorded as the running angle information corresponding to the sub path.
通过实施该实施方式,有利于导航设备根据记录的运行角度信息更精确地为用户进行导航。By implementing this embodiment, it is advantageous for the navigation device to navigate the user more accurately according to the recorded running angle information.
通过实施图5所描述的方法,路径记录设备可记录用户的运行方向作为途经路径的子路径的方向信息,并记录用户在运行方向的运行距离为该子路径的长度信息,以便导航设备能够根据路径记录设备记录的信息对用户进行导航。By implementing the method described in FIG. 5, the path recording device can record the direction information of the user's running direction as the sub-path of the path, and record the running distance of the user in the running direction as the length information of the sub-path, so that the navigation device can The information recorded by the path recording device navigates the user.
请参阅图6,图6是本发明实施例公开的一种导航设备的结构示意图。如图6所示,该导航设备可以包括接收模块601、获取模块602以及导航模块603,其中:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a navigation device according to an embodiment of the present invention. As shown in FIG. 6, the navigation device may include a receiving module 601, an obtaining module 602, and a navigation module 603, where:
接收模块601,用于接收导航指令。The receiving module 601 is configured to receive a navigation instruction.
获取模块602,用于从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应接收模块601接收的导航指令,其中,每一条途经路径的描述信息包括组成该途经路径的至少一条子路径的途经顺序以及每条子路径的长度信息和方向信息。The obtaining module 602 is configured to obtain, from the description information of the at least one path that is recorded, a description information of a path, in response to the navigation instruction received by the receiving module 601, where the description information of each path includes the path that constitutes the path. The order of the path of at least one sub-path and the length information and direction information of each sub-path.
作为一种可选的实施方式,获取模块602可具体用于:As an optional implementation manner, the obtaining module 602 may be specifically configured to:
从记录的至少一条途经路径的描述信息中获取记录时间离当前时间最接近的一条途径路径的描述信息。Descriptive information of a route path whose recording time is closest to the current time is obtained from the description information of the at least one path of the record.
通过实施该实施方式,可以实现由导航设备自动选取记录时间离当前时间最接近的途径路径的描述信息,避免了用户手动从多条途径路径的描述信息选择途径路径的描述信息,更加智能化。By implementing the implementation manner, the description information of the route path whose recording time is closest to the current time is automatically selected by the navigation device, and the description information of the path of the description route of the description information of the multiple route paths is avoided by the user, which is more intelligent.
导航模块603,用于根据获取模块602获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。The navigation module 603 is configured to perform reverse navigation on the user according to the sequence of the sub-paths included in the description information of the path of the path acquired by the obtaining module 602 and the length information and direction information of the sub-path.
作为一种可选的实施方式,导航模块603包括:As an optional implementation manner, the navigation module 603 includes:
获取单元6031,用于将获取模块602获取的途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据获取模块602获取的途径路径的描述信息包括的每条子路径的长度信息以及方向信息,获取该逆向导航路径的每条子路径的长度信息以及方向信息; The obtaining unit 6031 is configured to invert the path sequence of the sub-paths included in the description information of the path path acquired by the obtaining module 602, and obtain the path sequence of the at least one sub-path constituting the reverse navigation path, and obtain the path of the path according to the obtaining module 602. The length information of each sub-path included in the description information and the direction information, and the length information and the direction information of each sub-path of the reverse navigation path are obtained;
导航单元6032,用于按照该逆向导航路径的子路径的途径顺序,并根据该逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。The navigation unit 6032 is configured to follow the path sequence of the sub-paths of the reverse navigation path, and navigate the user according to the length information and direction information of each sub-path of the reverse navigation path.
请一并参阅图7,图7是本发明实施例公开的另一种导航设备的结构示意图。其中,图7所示的导航设备是由图6所示的导航设备进行优化得到的。与图6所示的导航设备相比较,图7所示的导航设备除包括图6所示的导航设备的所有模块外,还可以包括第一检测模块604和第一记录模块605,其中,获取模块602包括第一计算单元6021和第一选取单元6022。其中:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of another navigation device according to an embodiment of the present invention. The navigation device shown in FIG. 7 is optimized by the navigation device shown in FIG. 6. The navigation device shown in FIG. 7 may include a first detecting module 604 and a first recording module 605, in addition to all the modules of the navigation device shown in FIG. 6, in comparison with the navigation device shown in FIG. Module 602 includes a first computing unit 6021 and a first picking unit 6022. among them:
第一检测模块604,用于在接收模块601接收导航指令之前,检测用户的运行方向以及用户在运行方向的运行距离。The first detecting module 604 is configured to detect a running direction of the user and a running distance of the user in the running direction before the receiving module 601 receives the navigation instruction.
第一记录模块605,用于记录第一检测模块604检测到的用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录第一检测模块604检测到的用户在运行方向的运行距离作为该子路径的长度信息。The first recording module 605 is configured to record the direction information of the sub-path included in the description information of the user detected by the first detecting module 604 as the path of the path, and record the user in the running direction detected by the first detecting module 604. The running distance is used as the length information of the sub path.
获取模块602包括:The obtaining module 602 includes:
第一计算单元6021,用于根据第一记录模块605记录的每一条途经路径的描述信息包括的组成途经路径的至少一条子路径的长度信息,计算途经路径的总长度。The first calculating unit 6021 is configured to calculate the total length of the path according to the length information of the at least one sub-path constituting the path path included in the description information of each path of the path recorded by the first recording module 605.
第一选取单元6022,用于根据第一计算单元6021计算的每一条途经路径的总长度,从第一记录模块605记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。The first selecting unit 6022 is configured to select, according to the total length of each path of the path calculated by the first calculating unit 6021, the description information of a path with the smallest total length from the description information of all the path paths recorded by the first recording module 605. .
在实际应用中,用户经常去到室内的某一个固定位置,例如,用户经常从停车场入口将车行驶至一个固定的停车位上,则导航设备中可能记录多条起点为停车场入口,终点为固定停车位的途径路径的描述信息。通过实施图7所描述的导航设备,导航设备可自动地为用户选择一条路径最短的途经路径的描述信息,以便于指引用户快速地到达目的地。In practical applications, the user often goes to a certain fixed position in the room. For example, the user often drives the car from the parking lot entrance to a fixed parking space, and the navigation device may record multiple starting points for the parking lot entrance, the end point. Descriptive information for the route path for the fixed parking space. By implementing the navigation device described in FIG. 7, the navigation device can automatically select the description information of the shortest path of the path for the user to guide the user to quickly reach the destination.
请一并参阅图8,图8是本发明实施例公开的另一种导航设备的结构示意图。其中,图8所示的导航设备是由图6所示的导航设备进行优化得到的。与图6所示的导航设备相比较,图8所示的导航设备除包括图6所示的导航设备的所有模块外,还可以包括第二检测模块606和第二记录模块607,其中,获取模块602 包括第二计算单元6023和第二选取单元6024。其中:Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of another navigation device according to an embodiment of the present invention. The navigation device shown in FIG. 8 is optimized by the navigation device shown in FIG. 6. Compared with the navigation device shown in FIG. 6, the navigation device shown in FIG. 8 may include a second detection module 606 and a second recording module 607, in addition to all the modules of the navigation device shown in FIG. Module 602 A second calculation unit 6023 and a second selection unit 6024 are included. among them:
第二检测模块606,用于在接收模块601接收导航指令之前,检测用户的运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均振动幅度。The second detecting module 606 is configured to detect, before the receiving module 601 receives the navigation instruction, the running direction of the user, the running distance of the user in the running direction, and the average vibration amplitude corresponding to the running direction of the user.
第二记录模块607,用于记录第二检测模块606检测到的用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录第二检测模块606检测到的用户在运行方向的运行距离作为该子路径的长度信息,并记录第二检测模块606检测到的用户的运行方向对应的平均振动幅度作为该子路径对应的平均振动幅度。The second recording module 607 is configured to record the direction information of the sub-path included in the description information of the user detected by the second detecting module 606 as the path of the path, and record the user in the running direction detected by the second detecting module 606. The running distance is used as the length information of the sub-path, and the average vibration amplitude corresponding to the running direction of the user detected by the second detecting module 606 is recorded as the average vibration amplitude corresponding to the sub-path.
获取模块602包括:The obtaining module 602 includes:
第二计算单元6023,用于根据第二记录模块607记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均振动幅度,计算途经路径中平均振动幅度高于预设振动幅度的子路径的数量。The second calculating unit 6023 is configured to calculate, according to the average vibration amplitude corresponding to each sub-path of the constituent path included in the description information of each path of the path recorded by the second recording module 607, the average vibration amplitude in the path is higher than the preset The number of subpaths of the amplitude of the vibration.
第二选取单元6024,用于根据第二计算单元6023计算的每一条途经路径中平均振动幅度高于预设振动幅度的子路径的数量,从第二记录模块607记录的所有途经路径的描述信息中选取平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。The second selecting unit 6024 is configured to describe, by the second recording module 607, the path information of all the path records recorded by the second recording module 607 according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each path of the path calculated by the second calculating unit 6023. The description information of one path path with the smallest number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude is selected.
在实际应用中,用户在不平坦的道路上运行的振动幅度可能比在平坦的道路上运行的振动幅度更大。例如,若用户驾驶汽车进行运行,则用户在不平坦的道路上运行的振动幅度比在平坦的道路上运行的振动幅度更大。可见,通过实施图8所描述的导航设备,导航设备可以记录用户途经每条子路径时的振动幅度,从而可以根据记录的每一条途经路径的子路径对应的振动幅度,为用户提供一条最平坦的途经路径为用户进行逆向导航。In practical applications, the amplitude of the vibration of the user running on an uneven road may be greater than the amplitude of the vibration running on a flat road. For example, if a user drives a car to run, the user will run more vibrations on an uneven road than on a flat road. It can be seen that by implementing the navigation device described in FIG. 8, the navigation device can record the amplitude of the vibration when the user passes through each sub-path, so that the user can provide the most flatness according to the vibration amplitude corresponding to the sub-path of each path of the recorded path. The path is reverse navigation for the user.
请一并参阅图9,图9是本发明实施例公开的另一种导航设备的结构示意图。其中,图9所示的导航设备是由图6所示的导航设备进行优化得到的。与图6所示的导航设备相比较,图9所示的导航设备除包括图6所示的导航设备的所有模块外,还可以包括第三检测模块608和第三记录模块609,其中,获取模块602包括第三计算单元6025和第三选取单元6026。其中:Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of another navigation device according to an embodiment of the present invention. The navigation device shown in FIG. 9 is optimized by the navigation device shown in FIG. 6. Compared with the navigation device shown in FIG. 6, the navigation device shown in FIG. 9 may include a third detection module 608 and a third recording module 609, in addition to all the modules of the navigation device shown in FIG. Module 602 includes a third calculation unit 6025 and a third selection unit 6026. among them:
第三检测模块608,用于在接收模块601接收导航指令之前,检测用户的 运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均亮度值。The third detecting module 608 is configured to detect the user before the receiving module 601 receives the navigation instruction. The running direction, the running distance of the user in the running direction, and the average brightness value corresponding to the running direction of the user.
第三记录模块609,用于记录第三检测模块608检测到的用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录第三检测模块608检测到的用户在运行方向的运行距离作为该子路径的长度信息,并记录第三检测模块608检测到的用户的运行方向对应的平均亮度值作为该子路径对应的平均亮度值。The third recording module 609 is configured to record the direction information of the sub-path included in the description information of the user detected by the third detecting module 608 as the path of the path, and record the user detected by the third detecting module 608 in the running direction. The running distance is used as the length information of the sub-path, and the average brightness value corresponding to the running direction of the user detected by the third detecting module 608 is recorded as the average brightness value corresponding to the sub-path.
获取模块602包括:The obtaining module 602 includes:
第三计算单元6025,用于根据第三记录模块609记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均亮度值,计算途经路径中平均亮度值低于预设亮度值的子路径的数量。The third calculating unit 6025 is configured to calculate, according to the average brightness value corresponding to each sub-path of the constituent path included in the description information of each path of the path recorded by the third recording module 609, the average brightness value in the path is lower than the preset The number of subpaths for the brightness value.
第三选取单元6026,用于根据第三计算单元6025计算的每一条途经路径中平均亮度值低于预设亮度值的子路径的数量,从第三记录模块609记录的所有途经路径的描述信息中选取平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。The third selecting unit 6026 is configured to describe, by the third recording module 609, the path information of all the path records recorded by the third recording module 609 according to the number of sub-paths whose average brightness value in each path is lower than the preset brightness value calculated by the third calculating unit 6025. The description information of one path path with the smallest number of sub-paths whose average brightness value is lower than the preset brightness value is selected.
通过实施图9所描述的导航设备,导航设备能够记录用户途经的每条子路径对应的光线亮度值,从而能够根据记录的每一条途经路径的子路径对应的光线亮度值,为用户提供一条光线最好的路径进行导航。By implementing the navigation device described in FIG. 9, the navigation device can record the light brightness value corresponding to each sub-path that the user passes through, so that the user can provide one light most according to the light brightness value corresponding to the sub-path of each path of the recorded path. Good path for navigation.
请一并参阅图10,图10是本发明实施例公开的另一种导航设备的结构示意图。其中,图10所示的导航设备是由图6所示的导航设备进行优化得到的。与图6所示的导航设备相比较,图10所示的导航设备除包括图6所示的导航设备的所有模块外,还可以包括第四检测模块610、判断模块611和输出模块612。其中:Please refer to FIG. 10 together. FIG. 10 is a schematic structural diagram of another navigation device according to an embodiment of the present invention. The navigation device shown in FIG. 10 is optimized by the navigation device shown in FIG. 6. Compared with the navigation device shown in FIG. 6, the navigation device shown in FIG. 10 may include a fourth detection module 610, a determination module 611, and an output module 612 in addition to all the modules of the navigation device shown in FIG. among them:
第四检测模块610,用于在导航模块603对用户进行逆向导航的过程中,检测用户当前所处环境的标识信息。The fourth detecting module 610 is configured to detect, in the process of the navigation module 603 performing reverse navigation on the user, the identifier information of the current environment of the user.
本发明实施例中,途经路径的描述信息还包括环境标识信息。In the embodiment of the present invention, the description information of the path further includes environment identification information.
判断模块611,用于判断用户当前所处环境的标识信息是否与环境标识信息相匹配。The determining module 611 is configured to determine whether the identifier information of the current environment of the user matches the environment identifier information.
输出模块612,用于当判断模块611判断用户当前所处环境的标识信息与环境标识信息不相匹配时,输出用于提示运行路径有误的提示信息。 The output module 612 is configured to: when the determining module 611 determines that the identifier information of the current environment of the user does not match the environment identifier information, output prompt information for prompting that the running path is incorrect.
在实际应用中,导航设备检测到的用户的运行方向或运行距离可能会有误差,导致用户根据导航的指示并不能在正确的路径中运行。通过实施该实施方式可以记录路径中的预设位置的环境标识信息,当用户到达该预设位置时,可再次检测当前环境中是否存在预设位置对应的环境标识信息,若不存在,则表明运行路径有误。可见,通过实施图10所描述的导航设备,可以更准确地对用户进行逆向导航。In practical applications, the user's running direction or running distance detected by the navigation device may have errors, and the user may not operate in the correct path according to the navigation instruction. The environment identification information of the preset location in the path can be recorded by the implementation of the embodiment. When the user arrives at the preset location, the environment identifier information corresponding to the preset location may be detected in the current environment again. If not, the indication is The running path is incorrect. It can be seen that by implementing the navigation device described in FIG. 10, the user can be reversely navigated more accurately.
作为一种可选的实施方式,途经路径的描述信息还包括运行角度信息,第四检测模块610,还用于在对用户进行逆向导航的过程中,检测用户当前相较于水平方向的运行角度信息。As an optional implementation manner, the description information of the path includes the running angle information, and the fourth detecting module 610 is further configured to detect the current running angle of the user compared to the horizontal direction during the reverse navigation of the user. information.
判断模块611,还用于判断当前检测到的运行角度信息是否与获取的途径路径的描述信息包括的运行角度信息相匹配。The determining module 611 is further configured to determine whether the currently detected running angle information matches the running angle information included in the description information of the acquired route path.
输出模块612,还用于当判断模块611判断当前检测到的运行角度信息与获取的途径路径的描述信息包括的运行角度信息不相匹配时,则输出用于提示运行路径有误的提示信息。The output module 612 is further configured to: when the determining module 611 determines that the currently detected running angle information does not match the running angle information included in the description information of the acquired routing path, outputting prompt information for prompting that the running path is incorrect.
通过实施该实施方式,可以更准确地对用户进行逆向导航。By implementing this embodiment, the user can be reversely navigated more accurately.
请参阅图11,图11是本发明实施例公开的另一种导航设备的结构示意图。其中,本发明实施例提供的导室内航设备可以用于实施上述图1~图4所示的本发明各实施例实现的方法,为了便于说明,仅示出了与本发明各实施例相关的部分,具体技术细节未揭示的,请参照图1~图4所示的本发明各实施例。其中,图11所示的导航设备可以包括:Referring to FIG. 11, FIG. 11 is a schematic structural diagram of another navigation device according to an embodiment of the present invention. The air navigation device provided by the embodiment of the present invention can be used to implement the method implemented by the embodiments of the present invention shown in FIG. 1 to FIG. 4 . For the convenience of description, only the embodiments related to the present invention are shown. In part, specific technical details are not disclosed, please refer to the embodiments of the present invention shown in FIGS. 1 to 4. The navigation device shown in FIG. 11 may include:
处理器1以及通过接口2与处理器1相连接的输入模块3、以及通过总线4与处理器1相连接的存储器5。其中,存储器5用于存储一组程序代码以及记录有至少一条途经路径的描述信息,其中,每一条途经路径的描述信息包括组成该途经路径的至少一条子路径的途经顺序以及每条子路径的长度信息和方向信息;处理器1用于调用存储器5中存储的程序代码,用于执行以下操作:The processor 1 and an input module 3 connected to the processor 1 via the interface 2 and a memory 5 connected to the processor 1 via a bus 4. The memory 5 is configured to store a set of program codes and description information recorded with at least one path, wherein the description information of each path includes the sequence of at least one sub-path constituting the path and the length of each sub-path. Information and direction information; the processor 1 is used to call the program code stored in the memory 5 for performing the following operations:
通过输入装置3接收导航指令;Receiving a navigation instruction through the input device 3;
从存储器5记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应导航指令;Obtaining, from the description information of the at least one path of the path recorded by the memory 5, a description information of the path, in response to the navigation instruction;
根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的 长度信息和方向信息,对用户进行逆向导航。The order of the sub-paths included in the description information of the acquired path and the sub-path Length information and direction information for reverse navigation to the user.
本发明实施例中,输入装置3可以为触摸屏,按键盘等,本发明实施例不做限定。In the embodiment of the present invention, the input device 3 may be a touch screen, a keyboard, or the like, which is not limited in the embodiment of the present invention.
作为一种可选的实施方式,导航设备还可包括输出装置6,输出装置6通过接口2与处理器1相连接,该输出装置6可以为喇叭或显示屏,处理器1在对用户进行逆向导航时,可控制喇叭输出语音方向指示或显示屏通过显示屏显示导航的路线。As an optional implementation, the navigation device may further comprise an output device 6 connected to the processor 1 via the interface 2, the output device 6 may be a speaker or a display screen, and the processor 1 reverses the user When navigating, you can control the speaker output voice direction indication or the display shows the navigation route through the display.
作为一种可选的实施方式,处理器1从存储器5记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体方式可以为:As an optional implementation manner, the specific manner in which the processor 1 obtains the description information of a path from the description information of the at least one path recorded by the memory 5 may be:
处理器1从存储器5记录的至少一条途经路径的描述信息中获取记录时间离当前时间最接近的一条途径路径的描述信息。The processor 1 acquires, from the description information of at least one path of the path recorded by the memory 5, description information of a path path whose recording time is closest to the current time.
作为一种可选的实施方式,处理器1从存储器5记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体方式可以为:As an optional implementation manner, the specific manner in which the processor 1 obtains the description information of a path from the description information of the at least one path recorded by the memory 5 may be:
根据存储器5记录的每一条途经路径的描述信息包括的组成途经路径的至少一条子路径的长度信息,计算途经路径的总长度;Calculating the total length of the path according to the length information of at least one sub-path constituting the path path included in the description information of each path of the path recorded by the memory 5;
根据每一条途经路径的总长度,从存储器5记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。According to the total length of each path, the description information of one path with the smallest total length is selected from the description information of all the path paths recorded in the memory 5.
作为一种可选的实施方式,导航设备还包括传感器7,传感器7通过接口2与处理器1相连接,处理器1还执行以下操作:As an optional implementation manner, the navigation device further includes a sensor 7, and the sensor 7 is connected to the processor 1 through the interface 2, and the processor 1 also performs the following operations:
控制传感器7检测用户的运行方向以及用户在运行方向的运行距离;The control sensor 7 detects the running direction of the user and the running distance of the user in the running direction;
控制存储器5记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息。The control memory 5 records the direction in which the user runs as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path.
其中,传感器7包括用于检测运行方向的方向传感器和用于检测运行距离的速度传感器。其中,方向传感器可包括陀螺仪、加速度传感器、电子罗盘等中的任一种或多种。且为了检测环境亮度值,传感器7还可以包括光线传感器,为了检测用户的振动幅度,传感器7还可包括振动幅度传感器,为了检测用户的运行角度,传感器7还可包括角度传感器。Therein, the sensor 7 includes a direction sensor for detecting the running direction and a speed sensor for detecting the running distance. Wherein, the direction sensor may include any one or more of a gyroscope, an acceleration sensor, an electronic compass, and the like. In order to detect the ambient brightness value, the sensor 7 may further comprise a light sensor. In order to detect the vibration amplitude of the user, the sensor 7 may further comprise a vibration amplitude sensor. In order to detect the running angle of the user, the sensor 7 may further comprise an angle sensor.
作为一种可选的实施方式,存储器5记录的每一条途经路径的描述信息还包括组成途经路径的每一条子路径对应的平均振动幅度,处理器1从存储器5记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体 方式可以为:As an optional implementation manner, the description information of each path recorded by the memory 5 further includes an average vibration amplitude corresponding to each sub-path constituting the path, and description of at least one path recorded by the processor 1 from the memory 5. Obtaining the specific description information of a path in the information The way can be:
根据存储器5记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均振动幅度,计算途经路径中平均振动幅度高于预设振动幅度的子路径的数量;Calculating, according to the average vibration amplitude of each sub-path constituting the path path included in the description information of each path of the path recorded by the memory 5, calculating the number of sub-paths whose average vibration amplitude in the path is higher than the preset vibration amplitude;
根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从存储器5记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, from the description information of all the path paths recorded by the memory 5, the average vibration amplitude is higher than the preset vibration amplitude. A description of the path of the path with the smallest number of sub-paths.
作为一种可选的实施方式,处理器1还执行以下操作:As an optional implementation manner, the processor 1 also performs the following operations:
控制传感器7检测用户的运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均振动幅度;The control sensor 7 detects the running direction of the user, the running distance of the user in the running direction, and the average vibration amplitude corresponding to the running direction of the user;
控制存储器5记录用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息,并记录用户的运行方向对应的平均振动幅度作为该子路径对应的平均振动幅度。The control memory 5 records the running direction of the user as the direction information of the sub-path included in the description information of the path, and records the running distance of the user in the running direction as the length information of the sub-path, and records the average vibration corresponding to the running direction of the user. The amplitude is the average vibration amplitude corresponding to the sub-path.
作为一种可选的实施方式,存储器5记录的每一条途经路径的描述信息还包括组成途经路径的每一条子路径对应的平均亮度值,处理器1响应导航指令,从存储器5记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息的具体方式可以为:As an optional implementation manner, the description information of each path recorded by the memory 5 further includes an average brightness value corresponding to each sub path constituting the path, and the processor 1 records at least one piece from the memory 5 in response to the navigation instruction. The specific manner of obtaining the description information of a path through the description information of the path may be:
根据存储器5记录的每一条途经路径的描述信息包括的组成途经路径的每一条子路径对应的平均亮度值,计算途经路径中平均亮度值低于预设亮度值的子路径的数量;Calculating, according to the average brightness value corresponding to each sub-path of the composition path included in the description information of each path of the path recorded by the memory 5, calculating the number of sub-paths whose average brightness value in the path is lower than the preset brightness value;
根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从存储器5记录的所有途经路径的描述信息中选取所述平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths in which the average brightness value is lower than the preset brightness value, in each of the path paths, selecting, from the description information of all the path paths recorded by the memory 5, that the average brightness value is lower than the preset brightness value. A description of the path of the path with the smallest number of sub-paths.
作为一种可选的实施方式,处理器1还执行以下操作:As an optional implementation manner, the processor 1 also performs the following operations:
控制传感器7检测用户的运行方向、用户在运行方向的运行距离以及用户的运行方向对应的平均亮度值;The control sensor 7 detects the running direction of the user, the running distance of the user in the running direction, and the average brightness value corresponding to the running direction of the user;
控制存储器5记录用户的运行方向为途经路径的描述信息中包括的子路径的方向信息,并记录用户在运行方向的运行距离作为该子路径的长度信息,并记录用户的运行方向对应的平均亮度值作为该子路径对应的平均亮度值。 The control memory 5 records the direction information of the sub-path included in the description information of the path of the user, and records the running distance of the user in the running direction as the length information of the sub-path, and records the average brightness corresponding to the running direction of the user. The value is the average brightness value corresponding to the sub path.
作为一种可选的实施方式,导航设备还包括摄像装置8,摄像装置8通过接口与处理器1相连接,存储器5记录的途经路径的描述信息还包括环境特征信息,处理器1还执行以下操作:As an optional implementation manner, the navigation device further includes an image capturing device 8 connected to the processor 1 through an interface, and the description information of the path recorded by the memory 5 further includes environmental characteristic information, and the processor 1 further executes the following operating:
在对用户进行逆向导航的过程中,控制摄像装置8检测用户当前所处环境的标识信息;In the process of performing reverse navigation on the user, the control camera 8 detects the identification information of the environment in which the user is currently located;
判断用户当前所处环境的标识信息是否与存储器5记录的环境标识信息相匹配;Determining whether the identification information of the current environment of the user matches the environmental identification information recorded by the memory 5;
当不匹配时,控制输出装置6输出用于提示运行路径有误的提示信息。When there is no match, the control output device 6 outputs prompt information for prompting that the operation path is incorrect.
作为一种可选的实施方式,存储器5记录的途经路径的描述信息还包括运行角度信息,处理器1还执行以下操作:As an optional implementation manner, the description information of the path recorded by the memory 5 further includes running angle information, and the processor 1 further performs the following operations:
在对用户进行逆向导航的过程中,控制传感器7检测用户当前相较于水平方向的运行角度信息;In the process of reverse navigation to the user, the control sensor 7 detects the current running angle information of the user compared to the horizontal direction;
判断当前检测到的运行角度信息是否与获取的途经路径的描述信息包括的运行角度信息相匹配;Determining whether the currently detected running angle information matches the running angle information included in the description information of the acquired routing path;
当不相匹配时,则控制输出装置6输出用于提示运行路径有误的提示信息。When they do not match, the control output device 6 outputs prompt information for prompting that the operation path is incorrect.
作为一种可选的实施方式,处理器1根据获取的途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航的具体方式可以为:As an optional implementation manner, the specific manner in which the processor 1 performs reverse navigation on the user according to the sequence of the sub-paths included in the description information of the acquired path and the length information and the direction information of the sub-path may be:
将获取的途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据获取的途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取该逆向导航路径的每条子路径的长度信息以及方向信息;Inverting the order of the path of the sub-path included in the description information of the obtained path, obtaining the path sequence of the at least one sub-path constituting the reverse navigation path, and obtaining the length information of each sub-path included in the description information of the acquired path and Direction information, obtaining length information and direction information of each subpath of the reverse navigation path;
按照该逆向导航路径的子路径的途径顺序,并根据该逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。According to the order of the sub-paths of the reverse navigation path, the user is navigated according to the length information and direction information of each sub-path of the reverse navigation path.
在图6~图11所描述的导航设备中,导航设备可根据自身记录的途径路径的子路径的途径顺序和子路径的长度信息和方向信息,得到逆向导航路径的子路径的途经顺序和子路径的长度信息和方向信息,并根据逆向导航路径的各子路径的途径顺序通过显示屏或喇叭一次性输出逆向导航路径的各子路径的长度信息与方向信息,以对用户进行逆向导航;或,导航设备可通过导航设备的传感器实时检测用户的运行方向以及运行距离,并按照逆向导航路径的子路径 的途径顺序,结合逆向导航路径的子路径的长度信息和方向信息来对用户进行实时逆向导航,从而不需要通过网络来进行导航,降低了导航过程中的环境网络部署要求。In the navigation device described in FIG. 6 to FIG. 11 , the navigation device may obtain the path sequence and sub-path of the sub-path of the reverse navigation path according to the path sequence of the sub-path of the path path and the length information and direction information of the sub-path recorded by the navigation path. Length information and direction information, and outputting length information and direction information of each sub-path of the reverse navigation path through the display screen or the horn according to the path sequence of each sub-path of the reverse navigation path to reverse navigation to the user; or, navigation The device can detect the running direction and running distance of the user in real time through the sensor of the navigation device, and follow the sub-path of the reverse navigation path. The order of the route, combined with the length information and direction information of the sub-path of the reverse navigation path, provides real-time reverse navigation to the user, thereby eliminating the need for navigation through the network and reducing the environmental network deployment requirements in the navigation process.
请参见图12,图12是本发明实施例公开的一种路径记录设备的结构示意图。如图12所示,该路径记录设备可以包括检测模块1201和记录模块1202,其中:Referring to FIG. 12, FIG. 12 is a schematic structural diagram of a path recording device according to an embodiment of the present invention. As shown in FIG. 12, the path recording device may include a detecting module 1201 and a recording module 1202, wherein:
检测模块1201,用于检测用户的运行信息,该运行信息包括用户的运行方向以及用户在运行方向的运行距离。The detecting module 1201 is configured to detect running information of the user, where the running information includes a running direction of the user and a running distance of the user in the running direction.
记录模块1202,用于将用户的运行方向记录为组成途径路径的子路径的方向信息,并将用户在运行方向的运行距离记录为子路径的长度信息。The recording module 1202 is configured to record the running direction of the user as the direction information of the sub-paths constituting the path, and record the running distance of the user in the running direction as the length information of the sub-path.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的平均振动幅度,记录模块1202,还用于将用户的运行方向对应的平均振动幅度记录为子路径对应的平均振动幅度。As an optional implementation manner, the operation information further includes an average vibration amplitude corresponding to the running direction of the user, and the recording module 1202 is further configured to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
通过实施该实施方式,记录模块1202可以记录用户途经每条子路径时的平均振动幅度,从而可以使进行导航的导航设备根据记录的每一条途经路径的子路径对应的平均振动幅度,为用户提供一条最平坦的途经路径对用户进行导航。By implementing the embodiment, the recording module 1202 can record the average vibration amplitude of the user when passing through each sub-path, so that the navigation device that performs navigation can provide the user with an average vibration amplitude corresponding to the sub-path of each path of the recorded path. The flattest path routes the user.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的平均亮度值,记录模块1202,还用于将用户的运行方向对应的平均亮度值记录为子路径对应的平均亮度值。As an optional implementation, the running information further includes an average brightness value corresponding to the running direction of the user, and the recording module 1202 is further configured to record the average brightness value corresponding to the running direction of the user as the average brightness value corresponding to the sub path.
通过实施该实施方式,记录模块1202能够记录用户途经的每条子路径对应的平均光线亮度值,从而可以使进行导航的导航设备根据记录的每一条途经路径的子路径对应的平均光线亮度值,为用户提供一条光线最好的路径进行导航。By implementing the embodiment, the recording module 1202 can record the average ray brightness value corresponding to each sub-path that the user passes through, so that the navigating navigation device can make the average ray brightness value corresponding to the sub-path of each path of the recorded path The user provides a path with the best light for navigation.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的环境标识信息,记录模块1202,还用于将用户的运行方向对应的环境标识信息记录为子路径对应的环境标识信息。As an optional implementation manner, the operation information further includes environment identification information corresponding to the running direction of the user, and the recording module 1202 is further configured to record the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
通过实施该实施方式,记录模块1202能够记录用户途经的每条子路径对应的环境标识信息,从而可以使导航设备在为用户进行导航时,检测当前环境标 识信息是否与记录的环境标识信息相匹配,并当检测到不相匹配时,及时通知用户运行的路径有误,从而能够使导航设备更精确地为用户进行导航。By implementing the implementation manner, the recording module 1202 can record the environment identification information corresponding to each sub-path that the user passes through, so that the navigation device can detect the current environment standard when navigating for the user. Whether the information matches the recorded environmental identification information, and when the mismatch is detected, the user is notified in time that the path is incorrect, so that the navigation device can navigate the user more accurately.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的运行角度信息,记录模块1202,还用于将用户的运行方向对应的运行角度信息记录为子路径对应的运行角度信息。As an optional implementation manner, the operation information further includes running angle information corresponding to the running direction of the user, and the recording module 1202 is further configured to record the running angle information corresponding to the running direction of the user as the running angle information corresponding to the sub-path.
通过实施该实施方式,有利于导航设备根据记录的运行角度信息更精确地为用户进行导航。By implementing this embodiment, it is advantageous for the navigation device to navigate the user more accurately according to the recorded running angle information.
通过实施图12所描述的路径记录设备,记录模块可记录用户的运行方向作为途经路径的子路径的方向信息,并可记录用户在运行方向的运行距离为该子路径的长度信息,以便导航设备能够根据记录模块记录的信息对用户进行导航。By implementing the path recording device described in FIG. 12, the recording module can record the direction of the user's running direction as the sub-path of the path, and can record the running distance of the user in the running direction as the length information of the sub-path, so as to navigate the device. The user can be navigated according to the information recorded by the recording module.
请参见图13,图13是本发明实施例公开的一种路径记录设备的结构示意图。其中,本发明实施例提供的路径记录设备可以用于实施上述图6所示的本发明实施例实现的方法,为了便于说明,仅示出了与本发明各实施例相关的部分,具体技术细节未揭示的,请参照图6所示的本发明实施例。其中,图13所示的路径记录设备可以包括:Referring to FIG. 13, FIG. 13 is a schematic structural diagram of a path recording device according to an embodiment of the present invention. The path recording device provided by the embodiment of the present invention may be used to implement the method implemented by the embodiment of the present invention shown in FIG. 6. For the convenience of description, only parts related to the embodiments of the present invention are shown, and the specific technical details are provided. Unexplained, please refer to the embodiment of the present invention shown in FIG. 6. The path recording device shown in FIG. 13 may include:
处理器1以及通过接口2与处理器1相连接的传感器3、以及通过总线4与处理器1相连接的存储器5。其中,存储器5用于存储一组程序代码;处理器1用于调用存储器5中存储的程序代码,用于执行以下操作:The processor 1 and a sensor 3 connected to the processor 1 via the interface 2 and a memory 5 connected to the processor 1 via a bus 4. The memory 5 is used to store a set of program codes; the processor 1 is used to call the program code stored in the memory 5 for performing the following operations:
控制传感器3检测用户的运行信息,该运行信息包括用户的运行方向以及用户在运行方向的运行距离;The control sensor 3 detects the running information of the user, and the running information includes a running direction of the user and a running distance of the user in the running direction;
控制存储器5将用户的运行方向记录为组成途径路径的子路径的方向信息,并将用户在运行方向的运行距离记录为子路径的长度信息。The control memory 5 records the running direction of the user as the direction information of the sub-paths constituting the route path, and records the running distance of the user in the running direction as the length information of the sub-path.
本发明实施例中,传感器3包括用于检测运行方向的方向传感器和用于检测运行距离的速度传感器。其中,方向传感器可包括陀螺仪、加速度传感器、电子罗盘等中的任一种或多种。且为了检测环境亮度值,传感器3还可以包括光线传感器;为了检测用户的振动幅度,传感器3还可包括振动幅度传感器;为了检测环境标识信息,传感器3还可包括图像传感器;为了检测用户的运行角度,传感器3还可包括角度传感器。In the embodiment of the invention, the sensor 3 includes a direction sensor for detecting the running direction and a speed sensor for detecting the running distance. Wherein, the direction sensor may include any one or more of a gyroscope, an acceleration sensor, an electronic compass, and the like. And in order to detect the ambient brightness value, the sensor 3 may further comprise a light sensor; in order to detect the vibration amplitude of the user, the sensor 3 may further comprise a vibration amplitude sensor; in order to detect the environmental identification information, the sensor 3 may further comprise an image sensor; in order to detect the user's operation Angle, sensor 3 may also include an angle sensor.
作为一种可选的实施方式,所述运行信息还包括所述用户的运行方向对应 的平均振动幅度,处理器1还执行以下操作:In an optional implementation manner, the running information further includes a running direction of the user. The average vibration amplitude, processor 1 also performs the following operations:
控制存储器5将用户的运行方向对应的平均振动幅度记录为子路径对应的平均振动幅度。The control memory 5 records the average vibration amplitude corresponding to the user's running direction as the average vibration amplitude corresponding to the sub-path.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的平均亮度值,处理器1还执行以下操作:As an optional implementation manner, the operation information further includes an average brightness value corresponding to the running direction of the user, and the processor 1 further performs the following operations:
控制存储器5将用户的运行方向对应的平均亮度值记录为子路径对应的平均亮度值。The control memory 5 records the average luminance value corresponding to the user's running direction as the average luminance value corresponding to the sub-path.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的环境标识信息,处理器1还执行以下操作:As an optional implementation manner, the operation information further includes environment identification information corresponding to the running direction of the user, and the processor 1 further performs the following operations:
控制存储器5将用户的运行方向对应的环境标识信息记录为子路径对应的环境标识信息。The control memory 5 records the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
作为一种可选的实施方式,运行信息还包括用户的运行方向对应的运行角度信息,处理器1还执行以下操作:As an optional implementation manner, the running information further includes running angle information corresponding to the running direction of the user, and the processor 1 further performs the following operations:
控制存储器5将用户的运行方向对应的运行角度信息记录为子路径对应的运行角度信息。The control memory 5 records the running angle information corresponding to the running direction of the user as the running angle information corresponding to the sub-path.
通过实施图13所描述的路径记录设备,路径记录设备可记录用户的运行方向作为途经路径的子路径的方向信息,并可记录用户在运行方向的运行距离为该子路径的长度信息,以便导航设备能够根据记录模块记录的信息对用户进行导航。By implementing the path recording device described in FIG. 13, the path recording device can record the direction of the user's running direction as the sub-path of the path, and record the running distance of the user in the running direction as the length information of the sub-path for navigation. The device can navigate the user based on the information recorded by the recording module.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment may be referred to the related descriptions of other embodiments. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例设备中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the device of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本发明实施例中所述模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The module in the embodiment of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。One of ordinary skill in the art can understand all or part of the process in implementing the above embodiments. This may be accomplished by a computer program instructing the associated hardware, which may be stored in a computer readable storage medium, which, when executed, may include the flow of an embodiment of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (39)

  1. 一种导航方法,其特征在于,所述方法包括:A navigation method, the method comprising:
    接收导航指令;Receiving navigation instructions;
    从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应所述导航指令,其中,每一条所述途经路径的描述信息包括组成所述途经路径的至少一条子路径的途经顺序以及每条所述子路径的长度信息和方向信息;Obtaining, by the description information of the at least one path of the record, the description information of the path, in response to the navigation instruction, where the description information of each of the path includes at least one sub-path constituting the path Sequence and length information and direction information of each of the sub-paths;
    根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。The user is reversely navigated according to the order of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
  2. 根据权利要求1所述的方法,其特征在于,所述从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,包括:The method according to claim 1, wherein the obtaining the description information of a path from the description information of the at least one path of the record includes:
    根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径的长度信息,计算所述途经路径的总长度;Calculating a total length of the path according to the length information of each subpath constituting the path included by the description information of each path of the record;
    根据每一条所述途经路径的总长度,从记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。Descriptive information of a path having the smallest total length is selected from the description information of all the path paths recorded according to the total length of each of the path paths.
  3. 根据权利要求2所述的方法,其特征在于,所述接收导航指令之前,所述方法还包括:The method according to claim 2, wherein before the receiving the navigation instruction, the method further comprises:
    检测所述用户的运行方向以及所述用户在所述运行方向的运行距离;Detecting a running direction of the user and a running distance of the user in the running direction;
    记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息。The running direction of the user is recorded as the direction information of the sub-path included in the description information of the path, and the running distance of the user in the running direction is recorded as the length information of the sub-path.
  4. 根据权利要求1所述的方法,其特征在于,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均振动幅度,所述从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,包括:The method according to claim 1, wherein the description information of each of the path paths further comprises an average vibration amplitude corresponding to each of the sub-paths constituting the path, the at least one path of the record Descriptive information to obtain a description of a path, including:
    根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均振动幅度,计算所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量; Calculating, according to the average vibration amplitude corresponding to each sub-path constituting the path path included in the description information of each path of the recorded path, calculating the number of sub-paths in the path path that have an average vibration amplitude higher than a preset vibration amplitude ;
    根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。Selecting, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, from the description information of all the path paths recorded, the sub-path whose average vibration amplitude is higher than the preset vibration amplitude The smallest number of descriptions of a path.
  5. 根据权利要求4所述的方法,其特征在于,所述接收导航指令之前,所述方法还包括:The method according to claim 4, wherein before the receiving the navigation instruction, the method further comprises:
    检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均振动幅度;Detecting a running direction of the user, an operating distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user;
    记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均振动幅度作为所述子路径对应的平均振动幅度。Recording the direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording the user's The average vibration amplitude corresponding to the running direction is taken as the average vibration amplitude corresponding to the sub-path.
  6. 根据权利要求1所述的方法,其特征在于,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均亮度值,所述从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,包括:The method according to claim 1, wherein the description information of each of the path paths further comprises an average brightness value corresponding to each of the sub-paths constituting the path, the at least one path of the record Descriptive information to obtain a description of a path, including:
    根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均亮度值,计算所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量;Calculating, according to the average brightness value corresponding to each sub-path of the path path included in the description information of each path of the record, the number of sub-paths whose average brightness value is lower than the preset brightness value in the path ;
    根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths in which the average brightness value is lower than the preset brightness value in each of the path paths, selecting the sub-path whose average brightness value is lower than the preset brightness value from the description information of all the path paths recorded. The smallest number of descriptions of a path.
  7. 根据权利要求6所述的方法,其特征在于,所述接收导航指令之前,所述方法还包括:The method according to claim 6, wherein before the receiving the navigation instruction, the method further comprises:
    检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均亮度值;Detecting a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to a running direction of the user;
    记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均亮度值作为所述子路径对应的平均 亮度值。Recording the direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording the user's The average brightness value corresponding to the running direction is used as the average corresponding to the sub path Brightness value.
  8. 根据权利要求1~7任意一项所述的方法,其特征在于,所述途经路径的描述信息还包括环境标识信息,所述方法还包括:The method according to any one of claims 1 to 7, wherein the description information of the path further includes environment identification information, the method further comprising:
    在对所述用户进行逆向导航的过程中,检测所述用户当前所处环境的标识信息;In the process of performing reverse navigation on the user, detecting identification information of an environment in which the user is currently located;
    判断所述用户当前所处环境的标识信息是否与所述环境标识信息相匹配;Determining whether the identification information of the current environment of the user matches the environmental identification information;
    若不相匹配,则输出用于提示运行路径有误的提示信息。If they do not match, the prompt message indicating that the running path is incorrect is output.
  9. 根据权利要求1~7任意一项所述的方法,其特征在于,所述根据所述一条途经路径的描述信息中的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航,包括:The method according to any one of claims 1 to 7, wherein the user reverses the user according to the order of the sub-paths in the description information of the one path and the length information and direction information of the sub-paths Navigation, including:
    将所述一条途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据所述一条途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取所述逆向导航路径的每条子路径的长度信息以及方向信息;Inverting the order of the sub-paths included in the description information of the one path path to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the length of each sub-path included in the description information of the one path Information and direction information, obtaining length information and direction information of each sub-path of the reverse navigation path;
    按照所述逆向导航路径的子路径的途径顺序,并根据所述逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。And following the path sequence of the sub-paths of the reverse navigation path, and navigating the user according to the length information and direction information of each sub-path of the reverse navigation path.
  10. 一种路径记录方法,其特征在于,所述方法包括:A path recording method, characterized in that the method comprises:
    检测用户的运行信息,所述运行信息包括所述用户的运行方向以及所述用户在所述运行方向的运行距离;Detecting operation information of the user, where the operation information includes a running direction of the user and a running distance of the user in the running direction;
    将所述用户的运行方向记录为组成途径路径的子路径的方向信息,并将所述用户在所述运行方向的运行距离记录为所述子路径的长度信息。The running direction of the user is recorded as the direction information of the sub-paths constituting the route path, and the running distance of the user in the running direction is recorded as the length information of the sub-path.
  11. 根据权利要求10所述的方法,其特征在于,所述运行信息还包括所述用户的运行方向对应的平均振动幅度,所述方法还包括:The method according to claim 10, wherein the operation information further comprises an average vibration amplitude corresponding to a running direction of the user, the method further comprising:
    将所述用户的运行方向对应的平均振动幅度记录为所述子路径对应的平均振动幅度。 The average vibration amplitude corresponding to the running direction of the user is recorded as the average vibration amplitude corresponding to the sub-path.
  12. 根据权利要求10所述的方法,其特征在于,所述运行信息还包括所述用户的运行方向对应的平均亮度值,所述方法还包括:The method according to claim 10, wherein the operation information further comprises an average brightness value corresponding to a running direction of the user, the method further comprising:
    将所述用户的运行方向对应的平均亮度值记录为所述子路径对应的平均亮度值。The average brightness value corresponding to the running direction of the user is recorded as the average brightness value corresponding to the sub path.
  13. 根据权利要求10所述的方法,其特征在于,所述运行信息还包括所述用户的运行方向对应的环境标识信息,所述方法还包括:The method according to claim 10, wherein the operation information further includes environment identification information corresponding to a running direction of the user, the method further comprising:
    将所述用户的运行方向对应的环境标识信息记录为所述子路径对应的环境标识信息。The environment identifier information corresponding to the running direction of the user is recorded as the environment identifier information corresponding to the sub-path.
  14. 一种导航设备,其特征在于,所述设备包括:A navigation device, characterized in that the device comprises:
    接收模块,用于接收导航指令;a receiving module, configured to receive a navigation instruction;
    获取模块,用于从记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应所述导航指令,其中,每一条所述途经路径的描述信息包括组成所述途经路径的至少一条子路径的途经顺序以及每条所述子路径的长度信息和方向信息;And an obtaining module, configured to acquire, from the description information of the at least one path of the record, description information of a path, in response to the navigation instruction, where the description information of each path includes at least the path that constitutes the path The order of the path of a sub-path and the length information and direction information of each of the sub-paths;
    导航模块,用于根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。The navigation module is configured to perform reverse navigation on the user according to the sequence of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
  15. 根据权利要求14所述的设备,其特征在于,所述获取模块包括:The device according to claim 14, wherein the obtaining module comprises:
    第一计算单元,用于根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径的长度信息,计算所述途经路径的总长度;a first calculating unit, configured to calculate a total length of the path according to the length information of each sub-path constituting the path included by the description information of each path of the record;
    第一选取单元,用于根据每一条所述途经路径的总长度,从记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。And a first selecting unit, configured to select, according to the total length of each of the path paths, description information of a path with the smallest total length from the description information of all the path paths recorded.
  16. 根据权利要求15所述的设备,其特征在于,所述设备还包括:The device according to claim 15, wherein the device further comprises:
    第一检测模块,用于在所述接收模块接收导航指令之前,检测所述用户的运行方向以及所述用户在所述运行方向的运行距离;a first detecting module, configured to detect a running direction of the user and a running distance of the user in the running direction before the receiving module receives the navigation instruction;
    第一记录模块,用于记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所 述子路径的长度信息。a first recording module, configured to record the running direction of the user as the direction information of the sub-path included in the description information of the path, and record the running distance of the user in the running direction as a The length information of the subpath.
  17. 根据权利要求14所述的设备,其特征在于,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均振动幅度,所述获取模块包括:The device according to claim 14, wherein the description information of each of the path paths further comprises an average vibration amplitude corresponding to each of the sub-paths constituting the path, the obtaining module comprising:
    第二计算单元,用于根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均振动幅度,计算所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量;a second calculating unit, configured to calculate, according to an average vibration amplitude corresponding to each sub-path of the path path included in the description information of each path of the recorded path, the average vibration amplitude in the path is higher than a preset The number of sub-paths of vibration amplitude;
    第二选取单元,用于根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。a second selecting unit, configured to select, according to the number of sub-paths in which the average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, the average vibration amplitude is higher than the description information of all the path paths recorded A description of a path through which the number of subpaths of the preset vibration amplitude is the smallest.
  18. 根据权利要求17所述的设备,其特征在于,所述设备还包括:The device according to claim 17, wherein the device further comprises:
    第二检测模块,用于在所述接收模块接收导航指令之前,检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均振动幅度;a second detecting module, configured to detect a running direction of the user, a running distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user, before the receiving module receives the navigation instruction;
    第二记录模块,用于记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均振动幅度作为所述子路径对应的平均振动幅度。a second recording module, configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path And recording an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
  19. 根据权利要求14所述的设备,其特征在于,每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均亮度值,所述获取模块包括:The device according to claim 14, wherein the description information of each of the path paths further comprises an average brightness value corresponding to each of the sub-paths constituting the path, the obtaining module comprising:
    第三计算单元,用于根据记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均亮度值,计算所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量;a third calculating unit, configured to calculate, according to an average brightness value corresponding to each sub-path of the path that is included in the description information of each path of the record, that the average brightness value in the path is lower than a preset The number of subpaths of the luminance value;
    第三选取单元,用于根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从记录的所有途经路径的描述信息中选取所述平均亮 度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。a third selecting unit, configured to select the average bright light from the description information of all the path paths recorded according to the number of sub-paths in which the average brightness value is lower than the preset brightness value in each of the path paths A description of a path of the path with the smallest number of sub-paths whose degree is lower than the preset brightness value.
  20. 根据权利要求19所述的设备,其特征在于,所述设备还包括:The device according to claim 19, wherein the device further comprises:
    第三检测模块,用于在所述接收模块接收导航指令之前,检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均亮度值;a third detecting module, configured to: before the receiving module receives the navigation instruction, detecting a running direction of the user, a running distance of the user in the running direction, and an average brightness value corresponding to a running direction of the user;
    第三记录模块,用于记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均亮度值作为所述子路径对应的平均亮度值。a third recording module, configured to record direction information of the sub-path included in the description information of the user path, and record the running distance of the user in the running direction as the length information of the sub-path And recording an average brightness value corresponding to the running direction of the user as an average brightness value corresponding to the sub path.
  21. 根据权利要求14~20任意一项所述的设备,其特征在于,所述途经路径的描述信息还包括环境标识信息,所述设备还包括:The device according to any one of claims 14 to 20, wherein the description information of the path further includes environment identification information, and the device further includes:
    第四检测模块,用于在对所述用户进行逆向导航的过程中,检测所述用户当前所处环境的标识信息;a fourth detecting module, configured to detect, in a process of performing reverse navigation on the user, identifier information of an environment in which the user is currently located;
    判断模块,用于判断所述用户当前所处环境的标识信息是否与所述环境标识信息相匹配;a determining module, configured to determine whether the identifier information of the current environment of the user matches the environment identifier information;
    输出模块,用于当所述判断模块判断所述用户当前所处环境的标识信息与所述环境标识信息不相匹配时,输出用于提示运行路径有误的提示信息。And an output module, configured to: when the determining module determines that the identifier information of the current environment of the user does not match the environment identifier information, output prompt information for prompting that the running path is incorrect.
  22. 根据权利要求14~20任意一项所述的设备,其特征在于,所述导航模块包括:The device according to any one of claims 14 to 20, wherein the navigation module comprises:
    获取单元,用于将所述一条途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据所述一条途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取所述逆向导航路径的每条子路径的长度信息以及方向信息;An obtaining unit, configured to invert an order of the path of the sub-path included in the description information of the one path, to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the description information of the path The length information and the direction information of each sub-path are obtained, and the length information and the direction information of each sub-path of the reverse navigation path are obtained;
    导航单元,用于按照所述逆向导航路径的子路径的途径顺序,并根据所述逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。And a navigation unit, configured to follow the path sequence of the sub-paths of the reverse navigation path, and navigate the user according to length information and direction information of each sub-path of the reverse navigation path.
  23. 一种导航设备,包括处理器,与所述处理器相连接的输入装置,以及 与所述处理器相连接的存储器,其特征在于,所述存储器中存储一组程序代码以及记录至少一条途经路径的描述信息,其中,每一条所述途经路径的描述信息包括组成所述途经路径的至少一条子路径的途经顺序以及每条所述子路径的长度信息和方向信息,其中,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A navigation device includes a processor, an input device coupled to the processor, and a memory connected to the processor, wherein the memory stores a set of program codes and description information for recording at least one path, wherein the description information of each of the path includes the path The sequence of the at least one sub-path and the length information and direction information of each of the sub-paths, wherein the processor is configured to invoke program code stored in the memory for performing the following operations:
    通过所述输入装置接收导航指令;Receiving navigation instructions through the input device;
    从所述存储器记录的至少一条途经路径的描述信息中获取一条途经路径的描述信息,以响应所述导航指令;Obtaining, from the description information of the at least one path of the path recorded by the memory, description information of a path to respond to the navigation instruction;
    根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航。The user is reversely navigated according to the order of the sub-paths included in the description information of the one path and the length information and direction information of the sub-path.
  24. 根据权利要求23所述的设备,其特征在于,所述处理器从所述存储器记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,包括:The device according to claim 23, wherein the processor acquires description information of a route path from the description information of the at least one path recorded by the memory, including:
    根据所述存储器记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径的长度信息,计算所述途经路径的总长度;Calculating a total length of the path according to length information of each sub-path constituting the path included by the description information of each path of the memory record;
    根据每一条所述途经路径的总长度,从所述存储器记录的所有途经路径的描述信息中选取总长度最小的一条途经路径的描述信息。Descriptive information of a path having the smallest total length is selected from description information of all path paths recorded by the memory according to the total length of each of the path paths.
  25. 根据权利要求24所述的设备,其特征在于,所述导航设备还包括传感器,所述传感器通过接口与所述处理器相连接,所述处理器还执行以下操作:The device according to claim 24, wherein said navigation device further comprises a sensor, said sensor being connected to said processor through an interface, said processor further performing the following operations:
    控制所述传感器检测所述用户的运行方向以及所述用户在所述运行方向的运行距离;Controlling the sensor to detect a running direction of the user and a running distance of the user in the running direction;
    控制所述存储器记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息。Controlling, by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path.
  26. 根据权利要求23所述的设备,其特征在于,所述存储器记录的每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均振动幅度,所述处理器从所述存储器记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,包括: The device according to claim 23, wherein the description information of each of the path records recorded by the memory further comprises an average vibration amplitude corresponding to each sub-path constituting the path, the processor Obtaining, by the description information of the at least one path of the path, the description information of the path of the path, including:
    根据所述存储器记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均振动幅度,计算所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量;Calculating, according to the average vibration amplitude of each sub-path constituting the path path included in the description information of each path of the path recorded by the memory, calculating the average vibration amplitude in the path through the preset vibration amplitude The number of paths;
    根据每一条所述途经路径中所述平均振动幅度高于预设振动幅度的子路径的数量,从所述存储器记录的所有途经路径的描述信息中选取所述平均振动幅度高于预设振动幅度的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths whose average vibration amplitude is higher than the preset vibration amplitude in each of the path paths, from the description information of all the path paths recorded by the memory, the average vibration amplitude is higher than the preset vibration amplitude. The description of the path of the path with the smallest number of subpaths.
  27. 根据权利要求26所述的设备,其特征在于,所述设备还包括传感器,所述传感器通过接口与所述处理器相连接,所述处理器还执行以下操作:The device according to claim 26, wherein said device further comprises a sensor, said sensor being coupled to said processor via an interface, said processor further performing the following operations:
    控制所述传感器检测所述用户的运行方向、所述用户在所述运行方向的运行距离以及所述用户的运行方向对应的平均振动幅度;Controlling, by the sensor, a running direction of the user, an operating distance of the user in the running direction, and an average vibration amplitude corresponding to a running direction of the user;
    控制所述存储器记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均振动幅度作为所述子路径对应的平均振动幅度。Controlling, by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording The average vibration amplitude corresponding to the running direction of the user is taken as the average vibration amplitude corresponding to the sub-path.
  28. 根据权利要求23所述的设备,其特征在于,所述存储器记录的每一条所述途经路径的描述信息还包括组成所述途经路径的每一条子路径对应的平均亮度值,所述处理器从所述存储器记录的至少一条途经路径的描述信息中获取一条途径路径的描述信息,包括:The device according to claim 23, wherein the description information of each of the path records recorded by the memory further comprises an average brightness value corresponding to each sub-path constituting the path, the processor Obtaining, by the description information of the at least one path of the path, the description information of the path of the path, including:
    根据所述存储器记录的每一条途经路径的描述信息包括的组成所述途经路径的每一条子路径对应的平均亮度值,计算所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量;Calculating, according to the average brightness value corresponding to each sub-path of the path path included in the description information of each path of the memory record, the child whose average brightness value is lower than the preset brightness value in the path The number of paths;
    根据每一条所述途经路径中所述平均亮度值低于预设亮度值的子路径的数量,从所述存储器记录的所有途经路径的描述信息中选取所述平均亮度值低于预设亮度值的子路径的数量最小的一条途经路径的描述信息。And selecting, according to the number of sub-paths in which the average brightness value is lower than the preset brightness value, the average brightness value is lower than the preset brightness value from description information of all path paths recorded by the memory. The description of the path of the path with the smallest number of subpaths.
  29. 根据权利要求28所述的设备,其特征在于,所述设备还包括传感器,所述传感器通过接口与所述处理器相连接,所述处理器还执行以下操作:The device according to claim 28, wherein said device further comprises a sensor, said sensor being coupled to said processor via an interface, said processor further performing the following operations:
    控制所述传感器检测所述用户的运行方向、所述用户在所述运行方向的运 行距离以及所述用户的运行方向对应的平均亮度值;Controlling the sensor to detect a running direction of the user, and the user is in the running direction The line distance and the average brightness value corresponding to the running direction of the user;
    控制所述存储器记录所述用户的运行方向作为途经路径的描述信息中包括的子路径的方向信息,并记录所述用户在所述运行方向的运行距离作为所述子路径的长度信息,并记录所述用户的运行方向对应的平均亮度值作为所述子路径对应的平均亮度值。Controlling, by the memory, the running direction of the user as the direction information of the sub-path included in the description information of the path, and recording the running distance of the user in the running direction as the length information of the sub-path, and recording The average brightness value corresponding to the running direction of the user is used as the average brightness value corresponding to the sub path.
  30. 根据权利要求23~29任意一项所述的设备,其特征在于,所述设备还包括摄像装置以及输出装置,所述摄像装置和所述输出装置通过接口与所述处理器相连接,所述存储器记录的所述途经路径的描述信息还包括环境特征信息,所述处理器还执行以下操作:The device according to any one of claims 23 to 29, further comprising an image pickup device and an output device, wherein the image pickup device and the output device are connected to the processor through an interface, The description information of the path recorded by the memory further includes environment characteristic information, and the processor further performs the following operations:
    在对用户进行逆向导航的过程中,控制所述摄像装置检测所述用户当前所处环境的标识信息;Controlling, by the camera device, the identification information of the environment in which the user is currently located in the process of performing reverse navigation on the user;
    判断所述用户当前所处环境的标识信息是否与所述存储器记录的所述环境标识信息相匹配;Determining whether the identification information of the current environment of the user matches the environmental identification information recorded by the memory;
    当不匹配时,控制所述输出装置输出用于提示运行路径有误的提示信息。When there is no match, the output device is controlled to output prompt information for prompting that the running path is incorrect.
  31. 根据权利要求23~29任意一项所述的设备,其特征在于,所述处理器根据所述一条途经路径的描述信息包括的子路径的途经顺序以及子路径的长度信息和方向信息,对用户进行逆向导航,包括:The device according to any one of claims 23 to 29, wherein the processor is configured to the user according to the order of the sub-paths included in the description information of the one path, and the length information and direction information of the sub-paths. Reverse navigation, including:
    将所述一条途径路径的描述信息包括的子路径的途径顺序进行倒置,得到组成逆向导航路径的至少一条子路径的途径顺序,并根据所述一条途经路径的描述信息包括的每条子路径的长度信息以及方向信息,获取所述逆向导航路径的每条子路径的长度信息以及方向信息;Inverting the order of the sub-paths included in the description information of the one path path to obtain a path sequence of at least one sub-path constituting the reverse navigation path, and according to the length of each sub-path included in the description information of the one path Information and direction information, obtaining length information and direction information of each sub-path of the reverse navigation path;
    按照所述逆向导航路径的子路径的途径顺序,并根据所述逆向导航路径的每条子路径的长度信息和方向信息对用户进行导航。And following the path sequence of the sub-paths of the reverse navigation path, and navigating the user according to the length information and direction information of each sub-path of the reverse navigation path.
  32. 一种路径记录设备,其特征在于,所述设备包括:A path recording device, characterized in that the device comprises:
    检测模块,用于检测用户的运行信息,所述运行信息包括所述用户的运行方向以及所述用户在所述运行方向的运行距离;a detecting module, configured to detect running information of the user, where the running information includes a running direction of the user and a running distance of the user in the running direction;
    记录模块,用于将所述用户的运行方向记录为组成途径路径的子路径的方 向信息,并将所述用户在所述运行方向的运行距离记录为所述子路径的长度信息。a recording module, configured to record the running direction of the user as a subpath constituting the path of the path The information is recorded, and the running distance of the user in the running direction is recorded as the length information of the sub path.
  33. 根据权利要求32所述的设备,其特征在于,所述运行信息还包括所述用户的运行方向对应的平均振动幅度,所述记录模块,还用于将所述用户的运行方向对应的平均振动幅度记录为所述子路径对应的平均振动幅度。The device according to claim 32, wherein the operation information further comprises an average vibration amplitude corresponding to a running direction of the user, and the recording module is further configured to: average vibration corresponding to a running direction of the user The amplitude is recorded as the average vibration amplitude corresponding to the sub-path.
  34. 根据权利要求32所述的设备,其特征在于,所述运行信息还包括所述用户的运行方向对应的平均亮度值,所述记录模块,还用于将所述用户的运行方向对应的平均亮度值记录为所述子路径对应的平均亮度值。The device according to claim 32, wherein the operation information further comprises an average brightness value corresponding to a running direction of the user, and the recording module is further configured to: average brightness corresponding to a running direction of the user The value is recorded as the average brightness value corresponding to the sub path.
  35. 根据权利要求32所述的设备,其特征在于,所述运行信息还包括所述用户的运行方向对应的环境标识信息,所述记录模块,还用于将所述用户的运行方向对应的环境标识信息记录为所述子路径对应的环境标识信息。The device according to claim 32, wherein the operation information further includes environment identification information corresponding to a running direction of the user, and the recording module is further configured to: use an environment identifier corresponding to a running direction of the user. The information record is the environment identification information corresponding to the sub path.
  36. 一种路径记录设备,包括处理器,与所述处理器相连接的传感器,以及与所述处理器相连接的存储器,其特征在于,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,用于执行以下操作:A path recording device comprising a processor, a sensor coupled to the processor, and a memory coupled to the processor, wherein the memory stores a set of program codes, the processor for Calling the program code stored in the memory to perform the following operations:
    控制所述传感器检测用户的运行信息,所述运行信息包括所述用户的运行方向以及所述用户在所述运行方向的运行距离;Controlling the sensor to detect operation information of the user, where the operation information includes a running direction of the user and a running distance of the user in the running direction;
    控制所述存储器将所述用户的运行方向记录为组成途径路径的子路径的方向信息,并将所述用户在所述运行方向的运行距离记录为所述子路径的长度信息。The memory is controlled to record the running direction of the user as the direction information of the sub-paths constituting the route path, and record the running distance of the user in the running direction as the length information of the sub-path.
  37. 根据权利要求36所述的设备,其特征在于,所述运行信息还包括所述用户的运行方向对应的平均振动幅度,所述处理器还执行以下操作:The device according to claim 36, wherein said operation information further comprises an average vibration amplitude corresponding to a running direction of said user, and said processor further performs the following operations:
    控制所述存储器将所述用户的运行方向对应的平均振动幅度记录为所述子路径对应的平均振动幅度。The memory is controlled to record an average vibration amplitude corresponding to the running direction of the user as an average vibration amplitude corresponding to the sub-path.
  38. 根据权利要求36所述的设备,其特征在于,所述运行信息还包括所 述用户的运行方向对应的平均亮度值,所述处理器还执行以下操作:The device according to claim 36, wherein said operational information further comprises The average brightness value corresponding to the running direction of the user, the processor also performs the following operations:
    控制所述存储器将所述用户的运行方向对应的平均亮度值记录为所述子路径对应的平均亮度值。The memory is controlled to record an average brightness value corresponding to the running direction of the user as an average brightness value corresponding to the sub path.
  39. 根据权利要求36所述的设备,其特征在于,所述运行信息还包括所述用户的运行方向对应的环境标识信息,所述处理器还执行以下操作:The device according to claim 36, wherein the operation information further includes environment identification information corresponding to a running direction of the user, and the processor further performs the following operations:
    控制所述存储器将所述用户的运行方向对应的环境标识信息记录为所述子路径对应的环境标识信息。 The memory is controlled to record the environment identification information corresponding to the running direction of the user as the environment identification information corresponding to the sub-path.
PCT/CN2015/095024 2015-11-19 2015-11-19 Navigation method and device WO2017084068A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580084705.9A CN108369778A (en) 2015-11-19 2015-11-19 A kind of air navigation aid and equipment
PCT/CN2015/095024 WO2017084068A1 (en) 2015-11-19 2015-11-19 Navigation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/095024 WO2017084068A1 (en) 2015-11-19 2015-11-19 Navigation method and device

Publications (1)

Publication Number Publication Date
WO2017084068A1 true WO2017084068A1 (en) 2017-05-26

Family

ID=58717260

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095024 WO2017084068A1 (en) 2015-11-19 2015-11-19 Navigation method and device

Country Status (2)

Country Link
CN (1) CN108369778A (en)
WO (1) WO2017084068A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118347496A (en) * 2024-06-18 2024-07-16 中国人民解放军海军潜艇学院 Reverse navigation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364725B2 (en) * 2011-03-24 2013-01-29 International Business Machines Corporation Bidirectional navigation between mapped model objects
CN103337196A (en) * 2013-06-21 2013-10-02 苏州大方特种车股份有限公司 Parking stall guiding and reversed car searching method and systems thereof
CN104390647A (en) * 2014-11-27 2015-03-04 上海斐讯数据通信技术有限公司 Car looking-for method and device, and car key
CN104931055A (en) * 2015-06-09 2015-09-23 西安交通大学 Anti-lost detection and navigation method and system based on micro-environmental perception through Bluetooth

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090015485A (en) * 2007-08-08 2009-02-12 엘지전자 주식회사 Apparatus and method for guidance a position of parking vehicle
CN101246021B (en) * 2007-12-18 2011-05-11 北京捷易联科技有限公司 Method, equipment and system for implementing intelligent navigation
US8467951B2 (en) * 2010-05-06 2013-06-18 Telenav, Inc. Navigation system with alternative route determination mechanism and method of operation thereof
CN102486875B (en) * 2010-12-06 2014-02-26 深圳市赛格导航科技股份有限公司 Roam quality recorder and method thereof
CN102788589B (en) * 2011-05-18 2015-08-26 神达电脑股份有限公司 The method of the individualized movable route of the user of planning personal navigation apparatus
DE102011080758A1 (en) * 2011-08-10 2013-02-14 Bayerische Motoren Werke Aktiengesellschaft Navigation method and navigation device
CN203894939U (en) * 2013-07-22 2014-10-22 深圳市美赛达科技股份有限公司 Vehicle status information collection system
CN103625367A (en) * 2013-12-11 2014-03-12 魏子安 Road obstacle recognition device and recognition method thereof
CN104240527A (en) * 2014-09-09 2014-12-24 广东欧珀移动通信有限公司 Road condition early warning method and device
CN104833364B (en) * 2015-05-07 2018-05-18 深圳市爱民科技有限公司 A kind of emergency route indicating means on bump course

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8364725B2 (en) * 2011-03-24 2013-01-29 International Business Machines Corporation Bidirectional navigation between mapped model objects
CN103337196A (en) * 2013-06-21 2013-10-02 苏州大方特种车股份有限公司 Parking stall guiding and reversed car searching method and systems thereof
CN104390647A (en) * 2014-11-27 2015-03-04 上海斐讯数据通信技术有限公司 Car looking-for method and device, and car key
CN104931055A (en) * 2015-06-09 2015-09-23 西安交通大学 Anti-lost detection and navigation method and system based on micro-environmental perception through Bluetooth

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118347496A (en) * 2024-06-18 2024-07-16 中国人民解放军海军潜艇学院 Reverse navigation method and device

Also Published As

Publication number Publication date
CN108369778A (en) 2018-08-03

Similar Documents

Publication Publication Date Title
US11035687B2 (en) Virtual breadcrumbs for indoor location wayfinding
ES2769843T3 (en) Method and device for intelligently guiding a user to take an elevator / escalator
KR102021050B1 (en) Method for providing navigation information, machine-readable storage medium, mobile terminal and server
US8489325B2 (en) Point of interest based directions in a mapping application
US9823077B2 (en) Navigation application with several navigation modes
US8615359B2 (en) Map navigation with suppression of off-route feedback near route terminus
US9818196B2 (en) Method and device for positioning and navigating
US10823577B2 (en) Navigation method and navigation device
US20160356622A1 (en) Walking Guidance During Transit Navigation
JP5832394B2 (en) Navigation device
WO2017084068A1 (en) Navigation method and device
JP2006250874A (en) Navigation device and guidance method for own vehicle relative position
JP2009198508A (en) Route guidance device
KR20110020572A (en) Method for providing position information and image pickup apparatus applying the same
JP4148075B2 (en) Navigation device
WO2021090219A1 (en) 3d video generation for showing shortest path to destination
JP6476008B2 (en) Portable electronic devices
KR20150073236A (en) Method for providing road guide voice in vehicle terminal with navigation function
US20180027379A1 (en) Companion device location within enclosed spaces
CN111324129A (en) Navigation method and device based on face recognition
JP2018059817A (en) Information processing device, information processing method and program
JP2007048012A (en) Frame acquisition device, moving image data structure, map data and on-vehicle navigation device
JP2014089099A (en) Navigation device, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15908565

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15908565

Country of ref document: EP

Kind code of ref document: A1