WO2016131279A1 - Movement track recording method and user equipment - Google Patents

Movement track recording method and user equipment Download PDF

Info

Publication number
WO2016131279A1
WO2016131279A1 PCT/CN2015/091478 CN2015091478W WO2016131279A1 WO 2016131279 A1 WO2016131279 A1 WO 2016131279A1 CN 2015091478 W CN2015091478 W CN 2015091478W WO 2016131279 A1 WO2016131279 A1 WO 2016131279A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
motion
sensor
trajectory
navigation
Prior art date
Application number
PCT/CN2015/091478
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 中兴通讯股份有限公司
Publication of WO2016131279A1 publication Critical patent/WO2016131279A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations

Definitions

  • the present invention relates to the field of communications, and in particular to a motion track recording method and user equipment.
  • the use of smart phones is very common, and today's users are more eager to use the fast and convenient process of using mobile phones, such as: how to quickly wake up the phone, how to facilitate one-handed operation, these are increasingly becoming the direction of the development of smart phones.
  • the ever-increasing smart somatosensory technology is an intelligent technology that can directly manipulate the physical movements and the intelligent terminal and the environment without any other control equipment.
  • the core of this technology is that it allows the intelligent terminal to have a more accurate and effective "eyes" to observe the world, and to judge various operations according to human actions.
  • navigation relies on external artificial signals for positioning, such as a Global Position System (GPS), a wireless network, a base station, etc., and an electronic map of a place is also required.
  • GPS Global Position System
  • Indoor navigation often uses wireless fidelity (WIFI), micro base station, and radio frequency identification (RFID) to identify the signal source.
  • WIFI wireless fidelity
  • RFID radio frequency identification
  • the signal source must be densely distributed in the navigation area. If external artificial signals cannot be used in complex situations such as underground parking lots, indoors, and mountains, positioning and trajectory navigation cannot be completed. It can be seen that the cost of the related art solution is too high and the use is complicated. The user must connect the signal and download the electronic map to use it. If there is no network, the navigation cannot be located.
  • the invention provides a motion track recording method and user equipment to solve at least the problem of relying on an electronic map for navigation.
  • a motion track recording method including: collecting motion related data of a user holding the user equipment by using a sensor in a user equipment, wherein the motion related data includes at least : angular velocity and acceleration in the horizontal direction and the vertical direction; calculating a moving direction and a moving distance of the user based on at least the motion related data; and recording a motion trajectory of the user according to the moving direction and the moving distance.
  • the senor in the user equipment at least comprises: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
  • the angular velocity and acceleration in the horizontal direction include: angular velocity and acceleration of the geographic direction.
  • the motion related data further includes: altitude information.
  • calculating the motion direction and the motion distance of the user according to the motion related data at least: acquiring step information of the user; determining, according to the motion related data, the number of walking steps of the user; The motion related data, the step size information, and the walking step number, and the moving direction and the moving distance of the user are calculated.
  • the motion track is composed of a plurality of recording points, wherein each of the plurality of recording points further includes information of at least one of: an altitude of the recorded point, a temperature of the recorded point, and a record The time of the point, the user operation information of the recorded point.
  • the method further includes: providing, according to the moving track, a starting point of the moving track to the Navigation of the end point of the motion trajectory, or navigation from the end of the motion trajectory to the beginning of the motion trajectory.
  • providing navigation from a starting point of the motion trajectory to an end point of the motion trajectory comprises: receiving a first navigation start instruction of a user, wherein the first navigation start instruction is set to indicate Opening a navigation function from a starting point of the motion track to an end point of the motion track; calculating a direction and a distance that the user needs to travel according to the motion track; indicating the user by a screen prompt and/or a voice prompt The direction and distance of travel required.
  • providing navigation from an end point of the motion trajectory to a start point of the motion trajectory comprises: receiving a second navigation start instruction of a user, wherein the second navigation start instruction is set to indicate Opening a navigation function from an end point of the motion trajectory to a starting point of the motion trajectory; calculating a direction and a distance that the user needs to walk according to the motion trajectory; indicating the user by a screen prompt and/or a voice prompt The direction and distance of travel required.
  • the method further includes: deriving trajectory information, wherein the trajectory information includes the motion trajectory.
  • a user equipment including: a sensor configured to collect motion related data of a user holding the user equipment, wherein the motion related data at least includes: a horizontal direction And angular velocity and acceleration in a vertical direction; the processor, coupled to the sensor, configured to calculate a direction of motion and a distance of the user based on at least the motion related data; and, according to the direction of motion and the distance of the motion, Record the movement trajectory of the user.
  • the senor comprises at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
  • the senor further comprises: a geomagnetic sensor, wherein the geomagnetic sensor is configured to collect a geographic direction.
  • the senor further comprises: an air pressure sensor, wherein the air pressure sensor is configured to collect altitude information.
  • the processor is further configured to: acquire step information of the user; determine, according to the motion related data, a number of walking steps of the user; according to the motion related data, the step information, and The number of walking steps calculates the moving direction of the user and the moving distance.
  • the user equipment further includes: a first user interaction interface, connected to the processor, configured to receive The input information of the user is described, and the input information is transmitted to the processor, wherein the input information includes: the step information, or the height and weight of the user.
  • a first user interaction interface connected to the processor, configured to receive The input information of the user is described, and the input information is transmitted to the processor, wherein the input information includes: the step information, or the height and weight of the user.
  • the user equipment further includes: a second user interaction interface, connected to the processor, configured to provide navigation from a starting point of the motion track to an end point of the motion track according to the motion track, Or providing navigation from the end of the motion trajectory to the beginning of the motion trajectory.
  • a second user interaction interface connected to the processor, configured to provide navigation from a starting point of the motion track to an end point of the motion track according to the motion track, Or providing navigation from the end of the motion trajectory to the beginning of the motion trajectory.
  • the motion related data of the user holding the user equipment is collected by the sensor in the user equipment, wherein the sensor at least includes: a sensor configured to collect angular velocity and acceleration in the horizontal direction and the vertical direction, and the motion related data is at least Including: horizontal and vertical angular velocity and acceleration; at least according to the motion related data, calculate the user's motion direction and motion distance; according to the motion direction and the motion distance, record the user's motion trajectory, and solve the dependence on the electronic map for navigation
  • the sensor at least includes: a sensor configured to collect angular velocity and acceleration in the horizontal direction and the vertical direction
  • the motion related data is at least Including: horizontal and vertical angular velocity and acceleration; at least according to the motion related data, calculate the user's motion direction and motion distance; according to the motion direction and the motion distance, record the user's motion trajectory, and solve the dependence on the electronic map for navigation
  • the problem is that navigation can be achieved without an electronic map.
  • FIG. 1 is a flow chart of a motion track recording method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a user equipment according to an embodiment of the present invention.
  • FIG. 3 is a three-axis schematic view of a handset in accordance with an alternate embodiment of the present invention.
  • FIG. 1 is a flowchart of a motion track recording method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 Collect motion related data of a user holding the user equipment by using a sensor in the user equipment, where the motion related data at least includes: angular velocity and acceleration in a horizontal direction and a vertical direction;
  • Step S104 calculating a moving direction and a moving distance of the user according to at least the motion related data
  • step S106 the motion track of the user is recorded according to the moving direction and the moving distance.
  • the motion-related data of the user holding the user equipment is collected by using the sensor of the user equipment, so that the motion direction and the motion distance of the user can be calculated according to the motion-related data, and the motion track of the user is recorded.
  • external artificial signals such as GPS signals, WIFI signals, etc.
  • the recording of the trajectory on the other hand, after the trajectory recording, the navigation can be performed within the range of the trajectory according to the recorded trajectory, instead of relying on the electronic map. It can be seen that the above solution solves at least the problem of relying on the electronic map for navigation, so that navigation can be realized without an electronic map.
  • the senor comprises at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
  • a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
  • gyro sensors and gravity acceleration sensors also known as gravity sensors.
  • the sensor is not limited to include other sensors.
  • the sensors in the user equipment may also include geomagnetic sensors; the geomagnetic sensors utilize geomagnetism to achieve geographic direction determination.
  • the acquired angular velocity and acceleration in the horizontal direction can be combined with the geographic direction of the geomagnetic sensor to convert the angular velocity and acceleration into the geographic direction.
  • the sensor in the user equipment may further include an air pressure sensor; the air pressure sensor uses the detection of the air pressure to determine the altitude.
  • the motion related data may further include: altitude information. Through the air pressure sensor, the height change of the user's motion trajectory can be collected.
  • the sensors in the user equipment may further include: a temperature sensor, or even a body temperature sensor, a heart rate sensor, etc., which are set to detect the physiological condition of the user; some of the sensors may not help the navigation, but the motion trajectory may be adopted by these sensors. The user status or the user's environmental data is recorded.
  • step S104 considering that the angular velocity and the acceleration collected by the sensor are generally instantaneous values, determining the motion distance of the user directly according to the angular velocity and the acceleration may generate a large error in a long time, and therefore, in the embodiment of the present invention, Combining the step information to correct the motion distance, for example, acquiring the step information of the user; determining the number of walking steps of the user according to the motion related data; calculating the moving direction of the user according to the motion related data, the step information, and the walking step number Movement distance.
  • the step information of the user may be input by the user according to experience, or the user may input data related to the step information, such as height and weight information, thereby calculating the step information of the user; the number of steps of the user It can be obtained according to the pedometer principle of the related art, that is, counting the number of walking steps of the user by the gyro sensor and/or the gravity sensor.
  • the motion track is composed of a plurality of recording points, wherein each of the plurality of recording points further includes information of at least one of: an altitude of the recorded point, a temperature of the recorded point, a time of the recorded point, Record user action information for the point.
  • the user operation information is included in the record point information, and the user can take a photo at a certain point in time, or record a piece of text, and add the photo or text as user operation information to the record point information, so that When you include the motion track of the recorded point information to navigate or play back the motion track, you can view these photos or text again, which enhances the fun and enhances the user experience.
  • the recorded motion trajectory may be utilized to provide navigation from the beginning of the motion trajectory to the end of the motion trajectory, or to provide navigation from the end of the motion trajectory to the beginning of the motion trajectory.
  • the user opens the trajectory digital map and uses the function of returning to the starting point.
  • the mobile phone processor calculates the direction and distance that the user needs to travel according to the digital map of the user's motion trajectory acquired in the previous period, starting from the end point and combining the current trajectory of the end user. Finally, the user is prompted by voice and screen display, the direction of walking, and the approximate distance.
  • the motion trajectory can be depicted on the electronic map, and in the absence of the electronic map, the motion trajectory itself can also serve as a navigation basis, and the user can initiate navigation at the beginning or end of the previous motion trajectory, thereby being able to navigate according to the original route or Navigate in the opposite direction of the original road.
  • the user starts to start navigation at a certain node position in the middle of the motion track. At this time, the user only needs to set the starting point of the navigation as the corresponding recording point position in the motion track.
  • the user takes a live photo at one of the recorded points; at this time, the user walks to the geographic location corresponding to the live photo, and after comparison, the user confirms the geographic location and records the live photo.
  • the points are consistent.
  • the user can click the record point if needed, and start navigation from the record point (where the end point of the navigation can be the start point, the end point, or another record point).
  • the detected direction of movement of the user equipment will only have opposite directions. For example, four directions may be indicated by “front”, “rear”, “left”, and “right”.
  • the direction of motion can be described by 20° to the left; thus, when recording the motion trajectory, the four directions of “front”, “rear”, “left”, and “right” can be used as a reference. recording. If the user wants to use the recorded motion trajectory for navigation, since there is no geographical direction indication in the recorded motion trajectory, the direction correction can be realized in various ways at this time.
  • the user when the user starts to record the starting point of the motion trajectory facing the north, he can first correct his or her face to the north and then open the navigation when navigating at the starting point, thus realizing the use of the relative direction of the navigation trajectory for the original path.
  • the user if the end point of the end of the recorded motion trajectory is facing north, the user can first correct his or her face to the south and then open the navigation when navigating at the end point, thus realizing the use of the opposite direction.
  • the navigation track performs navigation for the original return. For another example, after the user turns on the navigation, the user can walk by a certain distance by using the memory.
  • the senor simultaneously detects the motion track of the user equipment, and then the user equipment compares and matches the newly detected motion track with the previous motion track, thereby realizing Correction of the direction of the user's walking route and the motion trajectory set to navigation; after the direction correction is implemented, the navigation of the original path re-entry or the navigation of the original return is performed according to the previously recorded motion trajectory.
  • the track information may also be derived, wherein the track information includes a motion track.
  • the exported track information may be stored on a non-volatile storage medium or shared with other user terminals of other users; other user terminals may play back, review motion tracks, or navigate according to motion trajectories.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a user equipment is also provided in this embodiment, and the user equipment is configured to implement the foregoing embodiments and optional implementation manners, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the user equipment includes: a sensor 22 and a processor 24, wherein the sensor 22 is configured to collect motion related data of a user holding the user equipment, wherein the motion related data includes at least: angular velocity and acceleration in a horizontal direction and a vertical direction; the processor 24, and The sensor connection 22 is configured to calculate a movement direction and a movement distance of the user based on at least the motion related data; and record a movement trajectory of the user according to the movement direction and the movement distance.
  • the senor 22 includes at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
  • the senor 22 may further comprise: a geomagnetic sensor, wherein the geomagnetic sensor is arranged to collect a geographic direction.
  • the sensor 22 may further include: an air pressure sensor, wherein the air pressure sensor is configured to collect altitude information.
  • the processor 24 may be further configured to: acquire step information of the user; determine a number of walking steps of the user according to the motion related data; calculate a motion direction of the user according to the motion related data, the step information, and the walking step Movement distance.
  • the user equipment may further include: a first user interaction interface, connected to the processor, configured to receive the input information of the user, and transmit the input information to the processor, where the input information includes: step information, or The height and weight of the user.
  • the first user interaction interface is an input module such as a keyboard, a voice recognition module, or a touch display screen.
  • the user equipment may further include: a second user interaction interface, connected to the processor, configured to provide navigation from a start point of the motion track to an end point of the motion track according to the motion track, or provide an end point to the motion from the motion track Navigation of the starting point of the trajectory.
  • the second user interaction interface is: an output module such as a display or a speaker.
  • Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • S1 collecting motion related data of a user holding the user equipment by using a sensor of the user equipment, where the sensor at least includes: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction, where the motion related data at least includes: a horizontal direction and Angular velocity and acceleration in the vertical direction;
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • Today's smartphone hardware has a variety of sensors, such as acceleration, gyroscope, geomagnetic, pneumatic and other sensor technologies have been applied to smart phones, if you can use a variety of sensors to detect the environment and the state of the human body, The user action trajectory can be comprehensively judged according to the detection result, and the trajectory navigation without external resources can be realized, and the method can make the smart phone more authentic.
  • sensors such as acceleration, gyroscope, geomagnetic, pneumatic and other sensor technologies have been applied to smart phones, if you can use a variety of sensors to detect the environment and the state of the human body, The user action trajectory can be comprehensively judged according to the detection result, and the trajectory navigation without external resources can be realized, and the method can make the smart phone more authentic.
  • the optional embodiment uses the somatosensory technology to determine the user's motion trajectory and direction, and records the user's walking route (including direction and distance) in combination with the sensor information. After the user reaches the destination, the intelligent terminal can guide the user back according to the generated route. To the place of departure.
  • the direction is opposite to the user's face when the user operates normally; wherein the Y axis can be agreed that when the Z axis is kept parallel to the horizontal plane, the Y axis is perpendicular to the horizontal plane direction, wherein the positive direction of the Y axis can be agreed to be perpendicular to the horizontal plane;
  • the X-axis is perpendicular to the Z-axis and perpendicular to the Y-axis direction.
  • the three-axis convention of an alternative embodiment of the present invention is shown in Figure 3, but is not limited to this figure.
  • the mobile phone provided by the optional embodiment of the present invention can also obtain the angular velocity of the deflection on the X, Y, and Z axis planes by the gyro sensor, and can transmit the changed angular velocity. Calculate the processing of the processor of the mobile phone. At the same time, the magnitude and direction of the acceleration received on X, Y, and Z can be detected by the acceleration sensor, and the value can be sent to the processor of the mobile phone for calculation processing.
  • An optional embodiment of the present invention further describes a method for detecting a user walking parameter by using a somatosensory posture sensor module, determining a distance and a direction of the user walking by changing the parameter, and calculating a user walking trajectory according to the sensor data, thereby helping the user to return to the end point and returning to the end point. Start point and record walking information. Including the following steps:
  • Step 1 The user activates the somatosensory navigation application, the user inputs personal information such as height and weight, opens the geomagnetic sensor, and the somatosensory detection module is initialized, ready to detect the user walking distance.
  • Step 2 the user starts walking, starts the somatosensory attitude acquisition module, the gyro sensor and the acceleration sensor work normally, and acquires the relevant parameters of each axis in a plurality of consecutive sampling points in real time, wherein the parameters of the sampling point include the X, Y, and Z axes.
  • the angular velocity value and the change value and the values and changes of the acceleration in the three-axis directions of X, Y, and Z, and the values are reported to the mobile phone processor for processing in real time;
  • Step 3 The mobile phone processor calculates the speed of the sampling point according to the angular velocity value and the variation value reported by the sampling point, the acceleration value and the variation value, and calculates the walking distance and the trajectory of the user according to the sampling interval.
  • the number of steps of the user walking can also be detected, the distance traveled by the user is corrected according to the preset height and weight, and the direction of the user walking is determined according to the geomagnetic sensor and the gyroscope data, and the digital map drawing of the user walking track is completed;
  • Step 4 After the user arrives at the destination, click OK to complete the recording of the walking track.
  • the digital track map is stored in the smart terminal, and the display can be called up.
  • Step 5 The user wants to return to the departure place from the destination, and selects a return operation in the somatosensory navigation application.
  • the somatosensory navigation will remind the user of the walking distance and direction according to the last stored walking track, and guide the user to return to the departure place.
  • This embodiment provides a method for a user to find his own vehicle in an underground parking lot, including:
  • Step 1 After the user stops the car, the somatosensory navigation application is activated, and the user inputs personal information such as height and weight, and the user puts the mobile phone into the pocket and walks toward the parking lot exit;
  • the intelligent terminal turns on related sensors such as acceleration, gyroscope, geomagnetic sensor, etc., and starts data acquisition.
  • the intelligent terminal first calculates the number of steps the user walks according to the collected sensor information, and then calculates the distance and direction of the user's walking according to the number of steps combined with the user's height and weight.
  • the intelligent terminal completes the digital trajectory of the route that the user walks.
  • Step 2 After the user reaches the end point, click Finish to close the somatosensory navigation application, and the smart terminal stores the digital track;
  • Step 4 The smart terminal takes out the digital trajectory and prompts the user to return the direction and distance according to the walking distance and direction of the user;
  • Step 5 The user returns to his or her vehicle location according to the prompt.
  • This embodiment provides a method for a user to navigate in the mountain, including:
  • Step 1 The user starts the somatosensory navigation application at the beginning of the route, and the user puts the mobile phone into the pocket and starts climbing;
  • the intelligent terminal starts the acceleration, gyroscope, geomagnetic sensor, air pressure sensor and other related sensors to start data acquisition.
  • the intelligent terminal calculates the distance and height of the user's walking based on the collected sensor information, combined with the user's height, weight, direction, and air pressure.
  • the intelligent terminal completes the digital trajectory of the route that the user walks.
  • Step 2 After the user arrives at the destination, click Finish to close the somatosensory navigation application, and the smart terminal stores the digital track;
  • Step 3 The user prepares to return from the destination, starts the somatosensory navigation application, and clicks the return function;
  • Step 4 The smart terminal takes out the digital trajectory and prompts the user to return the direction and distance according to the walking distance and direction of the user;
  • Step 5 The user returns to the starting point according to the prompt and goes down safely.
  • This embodiment provides a method for a user to visit a record in an indoor museum, including:
  • Step 1 The user launches a somatosensory navigation application at the entrance of the museum, and the user puts the mobile phone into his pocket and starts to tour;
  • the intelligent terminal turns on related sensors such as acceleration, gyroscope, geomagnetic sensor, etc., and starts data acquisition.
  • the intelligent terminal calculates the distance direction of the user's walking based on the collected sensor information, combined with the user's height, weight, and direction.
  • the intelligent terminal draws a digital trajectory on the route that the user walks.
  • Step 2 During the tour, if there is content of interest, the user pulls out the mobile phone to take a photo or voice record, and the smart terminal puts the picture and audio information into the digital track;
  • Step 3 After the user completes the tour, close the somatosensory navigation application and generate a digital track with pictures and audio information;
  • Step 4 After the user returns home, he can generate a tour route map with his own unique style according to the digital trajectory, or he can tell his friends the interesting content according to the digital trajectory as the guide route map of others.
  • the foregoing solution provided by the embodiment of the present invention or the optional embodiment may not require external artificial signals (such as WIFI, RFID, special signs, etc.), is not restricted by the environment and time, and is convenient to operate.
  • external artificial signals such as WIFI, RFID, special signs, etc.
  • the present invention uses the sensor of the user equipment to collect motion-related data of the user holding the user equipment, so that the motion direction and the motion distance of the user can be calculated according to the motion-related data, and the motion trajectory of the user is recorded.
  • external artificial signals such as GPS signals, WIFI signals, etc.
  • the recorded motion can be based on the recorded motion.
  • the trajectory navigates within the trajectory of the trajectory, eliminating the need to rely on electronic maps. It can be seen that the above solution solves at least the problem of relying on the electronic map for navigation, so that navigation can be realized without an electronic map.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or make multiple modules or steps into a single The integrated circuit module is implemented. Thus, the invention is not limited to any specific combination of hardware and software.

Abstract

Provided are a movement track recording method and a user equipment. The user equipment includes: by means of a sensor in a user equipment, collecting movement-related data of a user holding the user equipment, wherein the movement-related data at least includes: an angular velocity and an acceleration in a horizontal direction and a vertical direction; calculating a movement direction and a movement distance of the user at least according to the movement-related data; and according to the movement direction and the movement distance, recording a movement track of the user. By means of the present invention, the problem in navigation relying on an electronic map is solved, so that navigation can be realized in the case where there is no electronic map.

Description

运动轨迹记录方法和用户设备Motion track recording method and user equipment 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种运动轨迹记录方法和用户设备。The present invention relates to the field of communications, and in particular to a motion track recording method and user equipment.
背景技术Background technique
智能手机的使用已非常普遍,而现今用户则更多的追求在使用手机过程中的快捷及便利,例如:如何快速唤醒手机、如何方便单手操作、这些越来越成为智能手机发展的方向。而日渐发展的智能体感技术是一项无需借助任何其他控制设备,可以直接使用肢体动作与智能终端和环境互动,随心所欲地操控的智能技术。此技术的核心在于它让智能终端有了更精准有效的“眼睛”去观察这个世界,并根据人的动作来判断完成各种操作。The use of smart phones is very common, and today's users are more eager to use the fast and convenient process of using mobile phones, such as: how to quickly wake up the phone, how to facilitate one-handed operation, these are increasingly becoming the direction of the development of smart phones. The ever-increasing smart somatosensory technology is an intelligent technology that can directly manipulate the physical movements and the intelligent terminal and the environment without any other control equipment. The core of this technology is that it allows the intelligent terminal to have a more accurate and effective "eyes" to observe the world, and to judge various operations according to human actions.
相关技术中导航依靠外部人工信号来进行定位,例如全球定位系统(Global Position System,简称为GPS)、无线网络、基站等,还必须要有场所的电子地图。室内导航常采用无线保真(Wireless Fidelity,简称为WIFI)、微基站、射频识别(Radio Frequency Identification,简称为RFID)等信号识别方式,必须在导航区域密布信号源,终端收到信号后才能定位,如果在地下停车场、室内、山区等复杂情况场合无法使用外部人工信号,定位和轨迹导航就无法完成。可见,相关技术的方案的成本过高,使用复杂,用户必须连接信号和下载电子地图才能使用,如果在没有布网的地方,则无法定位导航。In the related art, navigation relies on external artificial signals for positioning, such as a Global Position System (GPS), a wireless network, a base station, etc., and an electronic map of a place is also required. Indoor navigation often uses wireless fidelity (WIFI), micro base station, and radio frequency identification (RFID) to identify the signal source. The signal source must be densely distributed in the navigation area. If external artificial signals cannot be used in complex situations such as underground parking lots, indoors, and mountains, positioning and trajectory navigation cannot be completed. It can be seen that the cost of the related art solution is too high and the use is complicated. The user must connect the signal and download the electronic map to use it. If there is no network, the navigation cannot be located.
针对相关技术中依赖电子地图进行导航的问题,目前尚未提出有效的解决方案。In view of the problem of relying on electronic maps for navigation in related technologies, an effective solution has not yet been proposed.
发明内容Summary of the invention
本发明提供了一种运动轨迹记录方法和用户设备,以至少解决依赖电子地图进行导航的问题。The invention provides a motion track recording method and user equipment to solve at least the problem of relying on an electronic map for navigation.
根据本发明实施例的一个方面,提供了一种运动轨迹记录方法,包括:通过用户设备中的传感器,采集持有所述用户设备的用户的运动相关数据,其中,所述运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;至少根据所述运动相关数据,计算所述用户的运动方向和运动距离;根据所述运动方向和所述运动距离,记录所述用户的运动轨迹。According to an aspect of the embodiments of the present invention, a motion track recording method is provided, including: collecting motion related data of a user holding the user equipment by using a sensor in a user equipment, wherein the motion related data includes at least : angular velocity and acceleration in the horizontal direction and the vertical direction; calculating a moving direction and a moving distance of the user based on at least the motion related data; and recording a motion trajectory of the user according to the moving direction and the moving distance.
可选地,所述用户设备中的所述传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器。Optionally, the sensor in the user equipment at least comprises: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
可选地,在所述用户设备中的所述传感器还包括地磁传感器的情况下,水平方向的角速度和加速度包括:地理方向的角速度和加速度。Optionally, in the case where the sensor in the user equipment further includes a geomagnetic sensor, the angular velocity and acceleration in the horizontal direction include: angular velocity and acceleration of the geographic direction.
可选地,在所述用户设备中的所述传感器还包括气压传感器的情况下,所述运动相关数据还包括:海拔高度信息。 Optionally, in the case that the sensor in the user equipment further includes an air pressure sensor, the motion related data further includes: altitude information.
可选地,至少根据所述运动相关数据,计算所述用户的运动方向和运动距离包括:获取所述用户的步长信息;根据所述运动相关数据,确定所述用户的行走步数;根据所述运动相关数据、所述步长信息和所述行走步数,计算所述用户的所述运动方向和所述运动距离。Optionally, calculating the motion direction and the motion distance of the user according to the motion related data at least: acquiring step information of the user; determining, according to the motion related data, the number of walking steps of the user; The motion related data, the step size information, and the walking step number, and the moving direction and the moving distance of the user are calculated.
可选地,所述运动轨迹由多个记录点组成,其中,所述多个记录点中的每个记录点还包括以下至少之一的信息:记录点的海拔高度、记录点的温度、记录点的时间、记录点的用户操作信息。Optionally, the motion track is composed of a plurality of recording points, wherein each of the plurality of recording points further includes information of at least one of: an altitude of the recorded point, a temperature of the recorded point, and a record The time of the point, the user operation information of the recorded point.
可选地,在根据所述运动方向和所述运动距离,记录所述用户的所述运动轨迹之后,所述方法还包括:根据所述运动轨迹,提供由所述运动轨迹的起点至所述运动轨迹的终点的导航,或者提供由所述运动轨迹的终点至所述运动轨迹的起点的导航。Optionally, after the moving track of the user is recorded according to the moving direction and the moving distance, the method further includes: providing, according to the moving track, a starting point of the moving track to the Navigation of the end point of the motion trajectory, or navigation from the end of the motion trajectory to the beginning of the motion trajectory.
可选地,根据所述运动轨迹,提供由所述运动轨迹的起点至所述运动轨迹的终点的导航包括:接收用户的第一导航启动指令,其中,所述第一导航启动指令设置为指示开启由所述运动轨迹的起点至所述运动轨迹的终点的导航功能;根据所述运动轨迹,计算所述用户所需行走的方向和距离;通过画面提示和/或语音提示指示所述用户所需的行走方向和距离。Optionally, according to the motion trajectory, providing navigation from a starting point of the motion trajectory to an end point of the motion trajectory comprises: receiving a first navigation start instruction of a user, wherein the first navigation start instruction is set to indicate Opening a navigation function from a starting point of the motion track to an end point of the motion track; calculating a direction and a distance that the user needs to travel according to the motion track; indicating the user by a screen prompt and/or a voice prompt The direction and distance of travel required.
可选地,根据所述运动轨迹,提供由所述运动轨迹的终点至所述运动轨迹的起点的导航包括:接收用户的第二导航启动指令,其中,所述第二导航启动指令设置为指示开启由所述运动轨迹的终点至所述运动轨迹的起点的导航功能;根据所述运动轨迹,计算所述用户所需行走的方向和距离;通过画面提示和/或语音提示指示所述用户所需的行走方向和距离。Optionally, according to the motion trajectory, providing navigation from an end point of the motion trajectory to a start point of the motion trajectory comprises: receiving a second navigation start instruction of a user, wherein the second navigation start instruction is set to indicate Opening a navigation function from an end point of the motion trajectory to a starting point of the motion trajectory; calculating a direction and a distance that the user needs to walk according to the motion trajectory; indicating the user by a screen prompt and/or a voice prompt The direction and distance of travel required.
可选地,在根据所述运动方向和所述运动距离,记录所述用户的所述运动轨迹之后,所述方法还包括:导出轨迹信息,其中,所述轨迹信息包括所述运动轨迹。Optionally, after recording the motion trajectory of the user according to the motion direction and the motion distance, the method further includes: deriving trajectory information, wherein the trajectory information includes the motion trajectory.
根据本发明实施例的另一个方面,还提供了一种用户设备,包括:传感器,设置为采集持有所述用户设备的用户的运动相关数据,其中,所述运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;处理器,与所述传感器连接,设置为至少根据所述运动相关数据,计算所述用户的运动方向和运动距离;以及根据所述运动方向和所述运动距离,记录所述用户的运动轨迹。According to another aspect of the embodiments of the present invention, a user equipment is provided, including: a sensor configured to collect motion related data of a user holding the user equipment, wherein the motion related data at least includes: a horizontal direction And angular velocity and acceleration in a vertical direction; the processor, coupled to the sensor, configured to calculate a direction of motion and a distance of the user based on at least the motion related data; and, according to the direction of motion and the distance of the motion, Record the movement trajectory of the user.
可选地,所述传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器。Optionally, the sensor comprises at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
可选地,所述传感器还包括:地磁传感器,其中,所述地磁传感器设置为采集地理方向。Optionally, the sensor further comprises: a geomagnetic sensor, wherein the geomagnetic sensor is configured to collect a geographic direction.
可选地,所述传感器还包括:气压传感器,其中,所述气压传感器设置为采集海拔高度信息。Optionally, the sensor further comprises: an air pressure sensor, wherein the air pressure sensor is configured to collect altitude information.
可选地,所述处理器还设置为:获取所述用户的步长信息;根据所述运动相关数据,确定所述用户的行走步数;根据所述运动相关数据、所述步长信息和所述行走步数,计算所述用户的所述运动方向和所述运动距离。Optionally, the processor is further configured to: acquire step information of the user; determine, according to the motion related data, a number of walking steps of the user; according to the motion related data, the step information, and The number of walking steps calculates the moving direction of the user and the moving distance.
可选地,所述用户设备还包括:第一用户交互接口,与所述处理器连接,设置为接收所 述用户的输入信息,并将所述输入信息传递给所述处理器,其中,所述输入信息包括:所述步长信息,或者,所述用户的身高和体重。Optionally, the user equipment further includes: a first user interaction interface, connected to the processor, configured to receive The input information of the user is described, and the input information is transmitted to the processor, wherein the input information includes: the step information, or the height and weight of the user.
可选地,所述用户设备还包括:第二用户交互接口,与所述处理器连接,设置为根据所述运动轨迹,提供由所述运动轨迹的起点至所述运动轨迹的终点的导航,或者提供由所述运动轨迹的终点至所述运动轨迹的起点的导航。Optionally, the user equipment further includes: a second user interaction interface, connected to the processor, configured to provide navigation from a starting point of the motion track to an end point of the motion track according to the motion track, Or providing navigation from the end of the motion trajectory to the beginning of the motion trajectory.
通过本发明实施例,通过用户设备中的传感器,采集持有用户设备的用户的运动相关数据,其中,传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器,运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;至少根据运动相关数据,计算用户的运动方向和运动距离;根据运动方向和运动距离,记录用户的运动轨迹的方式,解决了依赖电子地图进行导航的问题,从而可以在没有电子地图的情况下实现导航。According to the embodiment of the present invention, the motion related data of the user holding the user equipment is collected by the sensor in the user equipment, wherein the sensor at least includes: a sensor configured to collect angular velocity and acceleration in the horizontal direction and the vertical direction, and the motion related data is at least Including: horizontal and vertical angular velocity and acceleration; at least according to the motion related data, calculate the user's motion direction and motion distance; according to the motion direction and the motion distance, record the user's motion trajectory, and solve the dependence on the electronic map for navigation The problem is that navigation can be achieved without an electronic map.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的运动轨迹记录方法的流程图;1 is a flow chart of a motion track recording method according to an embodiment of the present invention;
图2是根据本发明实施例的用户设备的结构示意图;2 is a schematic structural diagram of a user equipment according to an embodiment of the present invention;
图3是根据本发明可选实施例的手机的三轴示意图。3 is a three-axis schematic view of a handset in accordance with an alternate embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种运动轨迹记录方法,图1是根据本发明实施例的运动轨迹记录方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, a motion track recording method is provided. FIG. 1 is a flowchart of a motion track recording method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,通过用户设备中的传感器,采集持有用户设备的用户的运动相关数据,其中,运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;Step S102: Collect motion related data of a user holding the user equipment by using a sensor in the user equipment, where the motion related data at least includes: angular velocity and acceleration in a horizontal direction and a vertical direction;
步骤S104,至少根据运动相关数据,计算用户的运动方向和运动距离;Step S104, calculating a moving direction and a moving distance of the user according to at least the motion related data;
步骤S106,根据运动方向和运动距离,记录用户的运动轨迹。In step S106, the motion track of the user is recorded according to the moving direction and the moving distance.
通过上述步骤,采用用户设备的传感器采集持有用户设备的用户的运动相关数据,从而可以根据运动相关数据计算用户的运动方向和运动距离,记录用户的运动轨迹。通过这种方式,一方面,不再需要依靠外部人工信号(例如GPS信号、WIFI信号等)就能实现用户的运 动轨迹的记录,另一方面,进行运动轨迹记录后,则可以根据记录的运动轨迹,在运动轨迹范围内进行导航,而不再需要依赖电子地图。可见,采用上述方案至少解决了依赖电子地图进行导航的问题,从而可以在没有电子地图的情况下实现导航。Through the above steps, the motion-related data of the user holding the user equipment is collected by using the sensor of the user equipment, so that the motion direction and the motion distance of the user can be calculated according to the motion-related data, and the motion track of the user is recorded. In this way, on the one hand, it is no longer necessary to rely on external artificial signals (such as GPS signals, WIFI signals, etc.) to achieve user traffic. The recording of the trajectory, on the other hand, after the trajectory recording, the navigation can be performed within the range of the trajectory according to the recorded trajectory, instead of relying on the electronic map. It can be seen that the above solution solves at least the problem of relying on the electronic map for navigation, so that navigation can be realized without an electronic map.
可选地,传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器。例如,陀螺仪传感器和重力加速度传感器(又称为重力传感器)。此外,在本发明实施例中,并不限制传感器还包括其他的传感器。Optionally, the sensor comprises at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction. For example, gyro sensors and gravity acceleration sensors (also known as gravity sensors). Moreover, in the embodiment of the present invention, the sensor is not limited to include other sensors.
例如,用户设备中的传感器还可以包括地磁传感器;地磁传感器利用地磁实现地理方向的确定。在这种情况下,采集到的水平方向的角速度和加速度可以结合地磁传感器的地理方向采集结果,转换为地理方向的角速度和加速度。For example, the sensors in the user equipment may also include geomagnetic sensors; the geomagnetic sensors utilize geomagnetism to achieve geographic direction determination. In this case, the acquired angular velocity and acceleration in the horizontal direction can be combined with the geographic direction of the geomagnetic sensor to convert the angular velocity and acceleration into the geographic direction.
又例如,用户设备中的传感器还可以包括气压传感器;气压传感器利用对气压的检测,实现海拔高度的确定。在这种情况下,运动相关数据还可以包括:海拔高度信息。通过气压传感器,则可以采集到用户的运动轨迹的高度变化。For another example, the sensor in the user equipment may further include an air pressure sensor; the air pressure sensor uses the detection of the air pressure to determine the altitude. In this case, the motion related data may further include: altitude information. Through the air pressure sensor, the height change of the user's motion trajectory can be collected.
此外,用户设备中的传感器还可以包括:温度传感器,甚至设置为检测用户生理状况的体温传感器、心率传感器等;这些传感器中有的传感器虽然无法帮助导航定位,但是通过这些传感器,可以将运动轨迹中用户状态或者用户的环境数据进行记录。In addition, the sensors in the user equipment may further include: a temperature sensor, or even a body temperature sensor, a heart rate sensor, etc., which are set to detect the physiological condition of the user; some of the sensors may not help the navigation, but the motion trajectory may be adopted by these sensors. The user status or the user's environmental data is recorded.
在步骤S104中,考虑到传感器采集的角速度和加速度一般为瞬时值,直接根据角速度和加速度判断用户的运动距离可能在较长的时间内会产生较大的误差,因此,在本发明实施例中结合步长信息校正运动距离的方式,例如,获取用户的步长信息;根据运动相关数据,确定用户的行走步数;根据运动相关数据、步长信息和行走步数,计算用户的运动方向和运动距离。其中,用户的步长信息可以是用户根据经验输入的,或者,用户可以输入与步长信息相关的数据,例如:身高和体重信息等,从而计算得到用户的步长信息;用户的行走步数可以根据相关技术的计步器原理获取,即通过陀螺仪传感器和/或重力传感器,实现用户行走步数的计数。In step S104, considering that the angular velocity and the acceleration collected by the sensor are generally instantaneous values, determining the motion distance of the user directly according to the angular velocity and the acceleration may generate a large error in a long time, and therefore, in the embodiment of the present invention, Combining the step information to correct the motion distance, for example, acquiring the step information of the user; determining the number of walking steps of the user according to the motion related data; calculating the moving direction of the user according to the motion related data, the step information, and the walking step number Movement distance. The step information of the user may be input by the user according to experience, or the user may input data related to the step information, such as height and weight information, thereby calculating the step information of the user; the number of steps of the user It can be obtained according to the pedometer principle of the related art, that is, counting the number of walking steps of the user by the gyro sensor and/or the gravity sensor.
可选地,运动轨迹由多个记录点组成,其中,多个记录点中的每个记录点还包括以下至少之一的信息:记录点的海拔高度、记录点的温度、记录点的时间、记录点的用户操作信息。通过这些信息,可以实现更广阔的应用场景。例如,在记录点信息中包括用户操作信息,用户可以在某个时间点拍摄一张照片,或者记录一段文字,并将照片或者文字作为用户操作信息添加到记录点信息中,这样,在利用由包括记录点信息的运动轨迹进行导航或者回放运动轨迹时,可以再次查看这些照片或者文字,增强了趣味性,提升了用户的体验。Optionally, the motion track is composed of a plurality of recording points, wherein each of the plurality of recording points further includes information of at least one of: an altitude of the recorded point, a temperature of the recorded point, a time of the recorded point, Record user action information for the point. With this information, a broader application scenario can be achieved. For example, the user operation information is included in the record point information, and the user can take a photo at a certain point in time, or record a piece of text, and add the photo or text as user operation information to the record point information, so that When you include the motion track of the recorded point information to navigate or play back the motion track, you can view these photos or text again, which enhances the fun and enhances the user experience.
可选地,在运动轨迹记录之后,可以利用记录的运动轨迹,提供由运动轨迹的起点至运动轨迹的终点的导航,或者提供由运动轨迹的终点至运动轨迹的起点的导航。例如,用户打开轨迹数字地图,使用返回出发点功能,手机处理器根据前期所获取的用户运动轨迹的数字地图,从终点开始,结合当前终端用户的运动轨迹,计算用户所需要行走的方向和距离,最后通过语音、屏幕显示提示用户,行走的方向,大概距离。 Alternatively, after the motion trajectory is recorded, the recorded motion trajectory may be utilized to provide navigation from the beginning of the motion trajectory to the end of the motion trajectory, or to provide navigation from the end of the motion trajectory to the beginning of the motion trajectory. For example, the user opens the trajectory digital map and uses the function of returning to the starting point. The mobile phone processor calculates the direction and distance that the user needs to travel according to the digital map of the user's motion trajectory acquired in the previous period, starting from the end point and combining the current trajectory of the end user. Finally, the user is prompted by voice and screen display, the direction of walking, and the approximate distance.
其中,运动轨迹可以描绘在电子地图上,而在没有电子地图的情况下,运动轨迹本身也能作为导航依据,用户可以在之前的运动轨迹的起点或者终点启动导航,从而可以依据原路导航或者依据原路的相反方向导航。此外,也不排除用户在运动轨迹中间的某个特殊节点位置开始启动导航,此时,用户只需要将导航的起点设定为运动轨迹中相应的记录点位置即可。例如,在运动轨迹中,用户在其中的一个记录点拍摄了一张现场照片;此时用户行走到现场照片所对应的地理位置,经过比对,用户确认该地理位置与拍摄了现场照片的记录点一致,此时用户在需要的情况下,可以点选该记录点,并从该记录点开始进行导航(其中,导航的终点可以是起点、终点,也可以是另一个记录点)。Wherein, the motion trajectory can be depicted on the electronic map, and in the absence of the electronic map, the motion trajectory itself can also serve as a navigation basis, and the user can initiate navigation at the beginning or end of the previous motion trajectory, thereby being able to navigate according to the original route or Navigate in the opposite direction of the original road. In addition, it is not excluded that the user starts to start navigation at a certain node position in the middle of the motion track. At this time, the user only needs to set the starting point of the navigation as the corresponding recording point position in the motion track. For example, in the motion track, the user takes a live photo at one of the recorded points; at this time, the user walks to the geographic location corresponding to the live photo, and after comparison, the user confirms the geographic location and records the live photo. The points are consistent. At this time, the user can click the record point if needed, and start navigation from the record point (where the end point of the navigation can be the start point, the end point, or another record point).
在不具备地磁传感器时,检测到的用户设备的运动方向将只具备相对的方向,例如,可以以“前方”、“后方”、“左方”、“右方”表示四个方位,同样地,例如,可以用前方偏左方20°的方式描述运动的方向;这样,在记录运动轨迹时,可以“前方”、“后方”、“左方”、“右方”四个方位为参考进行记录。若用户要使用记录的运动轨迹进行导航,由于在记录的运动轨迹中没有地理方向标识,此时可以通过多种方式实现方向的校正。例如:用户在开始记录运动轨迹的起点面向正北方,则可以在该起点进行导航时,首先校正自己的面向为正北方,再开启导航,这样就实现了利用相对方向的导航轨迹进行原路重走的导航;同样地,用户在结束记录运动轨迹的终点若面向正北方,则可以在该终点进行导航时,首先校正自己的面向为正南方,再开启导航,这样就实现了利用相对方向的导航轨迹进行原路返回的导航。又例如:用户在开启导航之后,可以凭借记忆先自行行走一定距离,此时传感器同时检测用户设备的运动轨迹,然后用户设备将新检测到的运动轨迹与之前的运动轨迹进行对比匹配,从而实现用户行走路线与设置为导航的运动轨迹的方向校正;在实现方向校正之后,根据先前记录的运动轨迹进行原路重走的导航或者原路返回的导航。When the geomagnetic sensor is not provided, the detected direction of movement of the user equipment will only have opposite directions. For example, four directions may be indicated by “front”, “rear”, “left”, and “right”. For example, the direction of motion can be described by 20° to the left; thus, when recording the motion trajectory, the four directions of “front”, “rear”, “left”, and “right” can be used as a reference. recording. If the user wants to use the recorded motion trajectory for navigation, since there is no geographical direction indication in the recorded motion trajectory, the direction correction can be realized in various ways at this time. For example, when the user starts to record the starting point of the motion trajectory facing the north, he can first correct his or her face to the north and then open the navigation when navigating at the starting point, thus realizing the use of the relative direction of the navigation trajectory for the original path. In the same way, if the end point of the end of the recorded motion trajectory is facing north, the user can first correct his or her face to the south and then open the navigation when navigating at the end point, thus realizing the use of the opposite direction. The navigation track performs navigation for the original return. For another example, after the user turns on the navigation, the user can walk by a certain distance by using the memory. At this time, the sensor simultaneously detects the motion track of the user equipment, and then the user equipment compares and matches the newly detected motion track with the previous motion track, thereby realizing Correction of the direction of the user's walking route and the motion trajectory set to navigation; after the direction correction is implemented, the navigation of the original path re-entry or the navigation of the original return is performed according to the previously recorded motion trajectory.
可选地,在根据运动方向和运动距离,记录用户的运动轨迹之后,还可以导出轨迹信息,其中,轨迹信息包括运动轨迹。导出的轨迹信息可以存储在非易失存储介质上,也可以分享给其他用户的其他用户终端;其他用户终端可以回放、查阅运动轨迹,或者根据运动轨迹进行导航。Optionally, after the motion track of the user is recorded according to the motion direction and the motion distance, the track information may also be derived, wherein the track information includes a motion track. The exported track information may be stored on a non-volatile storage medium or shared with other user terminals of other users; other user terminals may play back, review motion tracks, or navigate according to motion trajectories.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种用户设备,该用户设备设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。A user equipment is also provided in this embodiment, and the user equipment is configured to implement the foregoing embodiments and optional implementation manners, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的用户设备的结构示意图,如图2所示,该用户设备包括:传 感器22和处理器24,其中,传感器22,设置为采集持有用户设备的用户的运动相关数据,其中,运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;处理器24,与传感器连接22,设置为至少根据运动相关数据,计算用户的运动方向和运动距离;以及根据运动方向和运动距离,记录用户的运动轨迹。2 is a schematic structural diagram of a user equipment according to an embodiment of the present invention. As shown in FIG. 2, the user equipment includes: a sensor 22 and a processor 24, wherein the sensor 22 is configured to collect motion related data of a user holding the user equipment, wherein the motion related data includes at least: angular velocity and acceleration in a horizontal direction and a vertical direction; the processor 24, and The sensor connection 22 is configured to calculate a movement direction and a movement distance of the user based on at least the motion related data; and record a movement trajectory of the user according to the movement direction and the movement distance.
可选地,传感器22至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器。Optionally, the sensor 22 includes at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
可选地,传感器22还可以包括:地磁传感器,其中,地磁传感器设置为采集地理方向。Optionally, the sensor 22 may further comprise: a geomagnetic sensor, wherein the geomagnetic sensor is arranged to collect a geographic direction.
可选地,传感器22还可以包括:气压传感器,其中,气压传感器设置为采集海拔高度信息。Optionally, the sensor 22 may further include: an air pressure sensor, wherein the air pressure sensor is configured to collect altitude information.
可选地,处理器24还可以设置为:获取用户的步长信息;根据运动相关数据,确定用户的行走步数;根据运动相关数据、步长信息和行走步数,计算用户的运动方向和运动距离。Optionally, the processor 24 may be further configured to: acquire step information of the user; determine a number of walking steps of the user according to the motion related data; calculate a motion direction of the user according to the motion related data, the step information, and the walking step Movement distance.
可选地,用户设备还可以包括:第一用户交互接口,与处理器连接,设置为接收用户的输入信息,并将输入信息传递给处理器,其中,输入信息包括:步长信息,或者,用户的身高和体重。例如,第一用户交互接口为:键盘、语音识别模块或者触摸显示屏等输入模块。Optionally, the user equipment may further include: a first user interaction interface, connected to the processor, configured to receive the input information of the user, and transmit the input information to the processor, where the input information includes: step information, or The height and weight of the user. For example, the first user interaction interface is an input module such as a keyboard, a voice recognition module, or a touch display screen.
可选地,用户设备还可以包括:第二用户交互接口,与处理器连接,设置为根据运动轨迹,提供由运动轨迹的起点至运动轨迹的终点的导航,或者提供由运动轨迹的终点至运动轨迹的起点的导航。例如,第二用户交互接口为:显示屏或者喇叭等输出模块。Optionally, the user equipment may further include: a second user interaction interface, connected to the processor, configured to provide navigation from a start point of the motion track to an end point of the motion track according to the motion track, or provide an end point to the motion from the motion track Navigation of the starting point of the trajectory. For example, the second user interaction interface is: an output module such as a display or a speaker.
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。Embodiments of the present invention also provide a software for performing the technical solutions described in the above embodiments and preferred embodiments.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
S1,通过用户设备的传感器,采集持有用户设备的用户的运动相关数据,其中,传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器,运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;S1, collecting motion related data of a user holding the user equipment by using a sensor of the user equipment, where the sensor at least includes: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction, where the motion related data at least includes: a horizontal direction and Angular velocity and acceleration in the vertical direction;
S2,至少根据运动相关数据,计算用户的运动方向和运动距离;S2, calculating a moving direction and a moving distance of the user according to at least the motion related data;
S3,根据运动方向和运动距离,记录用户的运动轨迹。S3, recording the user's motion trajectory according to the moving direction and the moving distance.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。 In order to make the description of the embodiments of the present invention more clear, the following description and description are made in conjunction with the exemplary embodiments.
随着智能终端越来越普及,人们对智能终端在导航方面也逐渐提出了更高的要求,希望智能终端在日常生活中能够扮演更重要的角色,特别是在导航方面。希望能够通过这些传感器技术进行体感检测,从而使用体感技术来一定程度上实现轨迹导航。例如在地下停车场,用户停车后希望根据轨迹导航再次找到自己车辆,在大商场和建筑物中,用户希望能够记录自己的轨迹,避免迷路。如今的智能手机硬件上已有多种多样的传感器,例如加速度、陀螺仪、地磁、气压等传感器技术已应用到智能手机上,如果能合理的运用各种传感器对环境及人体的状态进行检测,则可根据检测结果综合判断用户行动轨迹,实现不需要外部资源的轨迹导航,这种方法可使智能手机更加名副其实。With the increasing popularity of smart terminals, people have gradually put forward higher requirements for navigation in intelligent terminals. It is hoped that smart terminals can play a more important role in daily life, especially in navigation. It is hoped that the somatosensory detection can be performed by these sensor technologies, so that the trajectory navigation can be realized to some extent using the somatosensory technology. For example, in an underground parking lot, after parking, the user hopes to find his own vehicle again according to the trajectory navigation. In large shopping malls and buildings, the user wants to be able to record his own trajectory and avoid getting lost. Today's smartphone hardware has a variety of sensors, such as acceleration, gyroscope, geomagnetic, pneumatic and other sensor technologies have been applied to smart phones, if you can use a variety of sensors to detect the environment and the state of the human body, The user action trajectory can be comprehensively judged according to the detection result, and the trajectory navigation without external resources can be realized, and the method can make the smart phone more authentic.
本可选实施例利用体感技术判断用户行动轨迹和方向,结合传感器信息对用户的行走路线进行记录(包括方向和距离),当用户达到目的地后,智能终端根据生成的路线,可以指导用户回到出发地。The optional embodiment uses the somatosensory technology to determine the user's motion trajectory and direction, and records the user's walking route (including direction and distance) in combination with the sensor information. After the user reaches the destination, the intelligent terminal can guide the user back according to the generated route. To the place of departure.
本发明可选实施例中采用了包括体感姿势获取模块(相当于上述的传感器)的手机装置(相当于上述用户设备)。体感姿态获取模块包括传感器(如陀螺仪传感器、重力加速度传感器等)。其中陀螺仪传感器及重力加速度传感器可分别检测三轴方向上的角速度及加速度的变化,三轴为X、Y、Z轴,其中Z轴可约定为垂直于手机显示面为Z轴,Z轴正方向为用户正常操作时与用户脸部正对;其中Y轴可约定为,当Z轴保持与水平面平行时,Y轴为垂直于水平面方向,其中Y轴正方向可约定为垂直于水平面向上;X轴为垂直于Z轴且垂直于Y轴方向,本发明可选实施例的三轴约定如附图3所示,但不仅限于此图。In an alternative embodiment of the present invention, a mobile phone device (corresponding to the above-described user equipment) including a somatosensory posture acquisition module (corresponding to the above-described sensor) is employed. The somatosensory attitude acquisition module includes sensors (such as a gyro sensor, a gravitational acceleration sensor, etc.). The gyro sensor and the gravity acceleration sensor can respectively detect the angular velocity and the change of the acceleration in the three-axis direction, and the three axes are the X, Y, and Z axes, wherein the Z axis can be agreed to be perpendicular to the display surface of the mobile phone as the Z axis, and the Z axis is positive. The direction is opposite to the user's face when the user operates normally; wherein the Y axis can be agreed that when the Z axis is kept parallel to the horizontal plane, the Y axis is perpendicular to the horizontal plane direction, wherein the positive direction of the Y axis can be agreed to be perpendicular to the horizontal plane; The X-axis is perpendicular to the Z-axis and perpendicular to the Y-axis direction. The three-axis convention of an alternative embodiment of the present invention is shown in Figure 3, but is not limited to this figure.
本发明可选实施例提供的手机除了通讯、显示、音频等子系统外,还可以通过陀螺仪传感器获取X、Y、Z轴平面上偏转、倾斜时的转动角速度,并可以将变化的角速度传递给手机的处理器进行计算处理。同时还可以通过加速度传感器检测X、Y、Z上受到的加速度的大小和方向,并且可将此值发送给手机的处理器进行计算处理。In addition to the communication, display, audio and other subsystems, the mobile phone provided by the optional embodiment of the present invention can also obtain the angular velocity of the deflection on the X, Y, and Z axis planes by the gyro sensor, and can transmit the changed angular velocity. Calculate the processing of the processor of the mobile phone. At the same time, the magnitude and direction of the acceleration received on X, Y, and Z can be detected by the acceleration sensor, and the value can be sent to the processor of the mobile phone for calculation processing.
本发明可选实施例还描述了一种利用体感姿态传感器模块检测用户行走参数,通过参数的变化判断判断用户行走的距离和方向,结合传感器数据计算出用户行走轨迹,帮助用户达到终点后重回起始点和记录行走信息。包括如下步骤:An optional embodiment of the present invention further describes a method for detecting a user walking parameter by using a somatosensory posture sensor module, determining a distance and a direction of the user walking by changing the parameter, and calculating a user walking trajectory according to the sensor data, thereby helping the user to return to the end point and returning to the end point. Start point and record walking information. Including the following steps:
步骤1,用户启动体感导航应用,用户输入身高、体重等个人信息,打开地磁传感器,体感检测模块初始化完成,准备检测用户行走距离。Step 1: The user activates the somatosensory navigation application, the user inputs personal information such as height and weight, opens the geomagnetic sensor, and the somatosensory detection module is initialized, ready to detect the user walking distance.
步骤2,用户开始步行,启动体感姿态获取模块,陀螺仪传感器及加速度传感器正常工作,并实时在连续多个采样点获取各轴相关参数,其中采样点的参数包括X、Y、Z三轴方向的角速度数值和变化值以及X、Y、Z三轴方向的加速度的数值和变化值,同时实时将这些数值上报给手机处理器进行处理;Step 2, the user starts walking, starts the somatosensory attitude acquisition module, the gyro sensor and the acceleration sensor work normally, and acquires the relevant parameters of each axis in a plurality of consecutive sampling points in real time, wherein the parameters of the sampling point include the X, Y, and Z axes. The angular velocity value and the change value and the values and changes of the acceleration in the three-axis directions of X, Y, and Z, and the values are reported to the mobile phone processor for processing in real time;
步骤3,手机处理器根据采样点所上报的角速度值和变化值以及加速度值和变化值,计算出采样点当时的速度,根据采样间隔计算出用户的行走距离和轨迹。较优的,还可以检测用户行走的步数,根据预设的身高和体重,校正用户行走的距离,以及根据地磁传感器、陀螺仪数据判断用户行走的方向,完成用户行走轨迹的数字地图绘制; Step 3: The mobile phone processor calculates the speed of the sampling point according to the angular velocity value and the variation value reported by the sampling point, the acceleration value and the variation value, and calculates the walking distance and the trajectory of the user according to the sampling interval. Preferably, the number of steps of the user walking can also be detected, the distance traveled by the user is corrected according to the preset height and weight, and the direction of the user walking is determined according to the geomagnetic sensor and the gyroscope data, and the digital map drawing of the user walking track is completed;
步骤4,用户到达目的地后,点击确认完成此次行走轨迹的记录工作,数字轨迹图存储在智能终端中,并且可以调出显示。Step 4: After the user arrives at the destination, click OK to complete the recording of the walking track. The digital track map is stored in the smart terminal, and the display can be called up.
步骤5,用户希望从目的地返回出发地,在体感导航应用中选择返回操作,体感导航会根据上次存储的行走轨迹,提醒用户行走距离和方向,引导用户返回出发地。Step 5: The user wants to return to the departure place from the destination, and selects a return operation in the somatosensory navigation application. The somatosensory navigation will remind the user of the walking distance and direction according to the last stored walking track, and guide the user to return to the departure place.
下面结合应用场景对本发明可选实施例进行描述和说明。The optional embodiments of the present invention are described and illustrated below in conjunction with application scenarios.
实施例一Embodiment 1
本实施例提供了一种用户在地下停车场找到自己车辆的方法,包括:This embodiment provides a method for a user to find his own vehicle in an underground parking lot, including:
步骤1:用户停好车后启动体感导航应用,用户输入身高、体重等个人信息,用户将手机放入口袋中,向停车场出口走去;Step 1: After the user stops the car, the somatosensory navigation application is activated, and the user inputs personal information such as height and weight, and the user puts the mobile phone into the pocket and walks toward the parking lot exit;
1、智能终端打开加速度、陀螺仪、地磁传感器等相关传感器,开始进行数据采集。1. The intelligent terminal turns on related sensors such as acceleration, gyroscope, geomagnetic sensor, etc., and starts data acquisition.
2、在用户步行过程中,智能终端根据采集到的传感器信息,先计算出用户行走的步数,再根据步数结合用户身高、体重,计算出用户行走的距离和方向。2. During the user's walking process, the intelligent terminal first calculates the number of steps the user walks according to the collected sensor information, and then calculates the distance and direction of the user's walking according to the number of steps combined with the user's height and weight.
3、智能终端将用户行走的路线完成数字轨迹。3. The intelligent terminal completes the digital trajectory of the route that the user walks.
步骤2:用户到达终点后,点击完成关闭体感导航应用,智能终端将数字轨迹进行存储;Step 2: After the user reaches the end point, click Finish to close the somatosensory navigation application, and the smart terminal stores the digital track;
步骤3:用户从停车场出口进入,准备回到自己的车辆位置,启动体感导航应用,点击返回功能;Step 3: The user enters from the parking lot exit, prepares to return to his own vehicle location, activates the somatosensory navigation application, and clicks on the return function;
步骤4:智能终端取出数字轨迹,按照用户的行走距离和方向提示用户返回的方向和距离;Step 4: The smart terminal takes out the digital trajectory and prompts the user to return the direction and distance according to the walking distance and direction of the user;
步骤5:用户根据提示返回到自己的车辆位置。Step 5: The user returns to his or her vehicle location according to the prompt.
实施例二Embodiment 2
本实施例提供了一种用户在山区体感导航的方法,包括:This embodiment provides a method for a user to navigate in the mountain, including:
步骤1:用户在路线起点处启动体感导航应用,用户将手机放入口袋中,开始爬山;Step 1: The user starts the somatosensory navigation application at the beginning of the route, and the user puts the mobile phone into the pocket and starts climbing;
1、智能终端打开加速度、陀螺仪、地磁传感器、气压传感器等相关传感器,开始进行数据采集。1. The intelligent terminal starts the acceleration, gyroscope, geomagnetic sensor, air pressure sensor and other related sensors to start data acquisition.
2、在用户步行过程中,智能终端根据采集到的传感器信息,结合用户身高、体重、方向、气压计算出用户行走的距离方向和高度。2. During the user's walking process, the intelligent terminal calculates the distance and height of the user's walking based on the collected sensor information, combined with the user's height, weight, direction, and air pressure.
3、智能终端将用户行走的路线完成数字轨迹。3. The intelligent terminal completes the digital trajectory of the route that the user walks.
步骤2:用户到达目的地后,点击完成关闭体感导航应用,智能终端将数字轨迹进行存储; Step 2: After the user arrives at the destination, click Finish to close the somatosensory navigation application, and the smart terminal stores the digital track;
步骤3:用户从目的地准备准备返回,启动体感导航应用,点击返回功能;Step 3: The user prepares to return from the destination, starts the somatosensory navigation application, and clicks the return function;
步骤4:智能终端取出数字轨迹,按照用户的行走距离和方向提示用户返回的方向和距离;Step 4: The smart terminal takes out the digital trajectory and prompts the user to return the direction and distance according to the walking distance and direction of the user;
步骤5:用户根据提示返回起点,安全下山。Step 5: The user returns to the starting point according to the prompt and goes down safely.
实施例三Embodiment 3
本实施例提供了一种用户在室内博物馆游览记录的方法,包括:This embodiment provides a method for a user to visit a record in an indoor museum, including:
步骤1:用户在博物馆入口处启动体感导航应用,用户将手机放入口袋中,开始游览;Step 1: The user launches a somatosensory navigation application at the entrance of the museum, and the user puts the mobile phone into his pocket and starts to tour;
1、智能终端打开加速度、陀螺仪、地磁传感器等相关传感器,开始进行数据采集。1. The intelligent terminal turns on related sensors such as acceleration, gyroscope, geomagnetic sensor, etc., and starts data acquisition.
2、在用户步行过程中,智能终端根据采集到的传感器信息,结合用户身高、体重、方向计算出用户行走的距离方向。2. During the user's walking process, the intelligent terminal calculates the distance direction of the user's walking based on the collected sensor information, combined with the user's height, weight, and direction.
3、智能终端将用户行走的路线绘制数字轨迹。3. The intelligent terminal draws a digital trajectory on the route that the user walks.
步骤2:用户在游览的过程中,如果有感兴趣的内容,掏出手机进行拍照留念或语音记录,智能终端将图片、音频信息放入数字轨迹;Step 2: During the tour, if there is content of interest, the user pulls out the mobile phone to take a photo or voice record, and the smart terminal puts the picture and audio information into the digital track;
步骤3:用户游览完毕后,关闭体感导航应用,生成带有图片、音频信息的数字轨迹;Step 3: After the user completes the tour, close the somatosensory navigation application and generate a digital track with pictures and audio information;
步骤4:用户回家后,可以根据数字轨迹,生成具有自己独特风格的游览路线图,也可以根据数字轨迹作为别人的导游路线图将有趣的内容告诉自己的朋友。Step 4: After the user returns home, he can generate a tour route map with his own unique style according to the digital trajectory, or he can tell his friends the interesting content according to the digital trajectory as the guide route map of others.
综上所述,通过本发明实施例或者可选实施例提供的上述方案,可以不需要外部人工信号(例如WIFI、RFID、特殊标志等),不受环境及时空限制,操作便捷。通过体感技术,可以根据每位用户的实际行走姿态,结合地磁传感器、气压传感器等,可以精确计算用户行走轨迹和路线。In summary, the foregoing solution provided by the embodiment of the present invention or the optional embodiment may not require external artificial signals (such as WIFI, RFID, special signs, etc.), is not restricted by the environment and time, and is convenient to operate. Through the somatosensory technology, the user's walking trajectory and route can be accurately calculated according to the actual walking posture of each user, combined with the geomagnetic sensor, the air pressure sensor, and the like.
工业实用性:通过上述描述可知,本发明采用用户设备的传感器采集持有用户设备的用户的运动相关数据,从而可以根据运动相关数据计算用户的运动方向和运动距离,记录用户的运动轨迹。通过这种方式,一方面,不再需要依靠外部人工信号(例如GPS信号、WIFI信号等)就能实现用户的运动轨迹的记录,另一方面,进行运动轨迹记录后,则可以根据记录的运动轨迹,在运动轨迹范围内进行导航,而不再需要依赖电子地图。可见,采用上述方案至少解决了依赖电子地图进行导航的问题,从而可以在没有电子地图的情况下实现导航。Industrial Applicability: As can be seen from the above description, the present invention uses the sensor of the user equipment to collect motion-related data of the user holding the user equipment, so that the motion direction and the motion distance of the user can be calculated according to the motion-related data, and the motion trajectory of the user is recorded. In this way, on the one hand, it is no longer necessary to rely on external artificial signals (such as GPS signals, WIFI signals, etc.) to achieve the recording of the user's motion trajectory. On the other hand, after the motion track is recorded, the recorded motion can be based on the recorded motion. The trajectory navigates within the trajectory of the trajectory, eliminating the need to rely on electronic maps. It can be seen that the above solution solves at least the problem of relying on the electronic map for navigation, so that navigation can be realized without an electronic map.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个 集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or make multiple modules or steps into a single The integrated circuit module is implemented. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to 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 (16)

  1. 一种运动轨迹记录方法,包括:A method for recording a motion track, comprising:
    通过用户设备中的传感器,采集持有所述用户设备的用户的运动相关数据,其中,所述运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;Collecting motion related data of a user holding the user equipment by using a sensor in the user equipment, wherein the motion related data at least includes: angular velocity and acceleration in a horizontal direction and a vertical direction;
    至少根据所述运动相关数据,计算所述用户的运动方向和运动距离;Calculating a moving direction and a moving distance of the user according to at least the motion related data;
    根据所述运动方向和所述运动距离,记录所述用户的运动轨迹。A motion trajectory of the user is recorded according to the moving direction and the moving distance.
  2. 根据权利要求1所述的方法,其中,所述用户设备中的所述传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器。The method of claim 1 wherein said sensor in said user device comprises at least: a sensor arranged to acquire angular velocity and acceleration in a horizontal direction and a vertical direction.
  3. 根据权利要求1所述的方法,其中,在所述用户设备中的所述传感器还包括地磁传感器的情况下,水平方向的角速度和加速度包括:地理方向的角速度和加速度。The method of claim 1 wherein, in the case where the sensor in the user device further comprises a geomagnetic sensor, the angular velocity and acceleration in the horizontal direction comprise: angular velocity and acceleration of the geographic direction.
  4. 根据权利要求1所述的方法,其中,在所述用户设备中的所述传感器还包括气压传感器的情况下,所述运动相关数据还包括:海拔高度信息。The method of claim 1, wherein, in the case where the sensor in the user equipment further comprises an air pressure sensor, the motion related data further comprises: altitude information.
  5. 根据权利要求1所述的方法,其中,至少根据所述运动相关数据,计算所述用户的运动方向和运动距离包括:The method of claim 1, wherein calculating the direction of motion and the distance of movement of the user based at least on the motion related data comprises:
    获取所述用户的步长信息;Obtaining step information of the user;
    根据所述运动相关数据,确定所述用户的行走步数;Determining the number of walking steps of the user according to the motion related data;
    根据所述运动相关数据、所述步长信息和所述行走步数,计算所述用户的所述运动方向和所述运动距离。And calculating the moving direction and the moving distance of the user according to the motion related data, the step information, and the walking step.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述运动轨迹由多个记录点组成,其中,所述多个记录点中的每个记录点还包括以下至少之一的信息:The method according to any one of claims 1 to 5, wherein the motion trajectory is composed of a plurality of recording points, wherein each of the plurality of recording points further includes information of at least one of the following :
    记录点的海拔高度、记录点的温度、记录点的时间、记录点的用户操作信息。The altitude of the recorded point, the temperature of the recorded point, the time of the recorded point, and the user operation information of the recorded point.
  7. 根据权利要求1至5中任一项所述的方法,其中,在根据所述运动方向和所述运动距离,记录所述用户的所述运动轨迹之后,所述方法还包括:The method according to any one of claims 1 to 5, wherein after the recording of the motion trajectory of the user according to the moving direction and the moving distance, the method further comprises:
    根据所述运动轨迹,提供由所述运动轨迹的起点至所述运动轨迹的终点的导航,或者提供由所述运动轨迹的终点至所述运动轨迹的起点的导航。According to the motion trajectory, navigation from a starting point of the motion trajectory to an end point of the motion trajectory is provided, or navigation from an end point of the motion trajectory to a starting point of the motion trajectory is provided.
  8. 根据权利要求7所述的方法,其中,The method of claim 7 wherein
    根据所述运动轨迹,提供由所述运动轨迹的起点至所述运动轨迹的终点的导航包括:接收用户的第一导航启动指令,其中,所述第一导航启动指令设置为指示开启由所述运动轨迹的起点至所述运动轨迹的终点的导航功能;根据所述运动轨迹,计算所述用户所需行走的方向和距离;通过画面提示和/或语音提示指示所述用户所需的行走方向和距离;According to the motion trajectory, providing navigation from a start point of the motion trajectory to an end point of the motion trajectory includes: receiving a first navigation start instruction of a user, wherein the first navigation start instruction is set to indicate that the a navigation function of a starting point of the motion trajectory to an end point of the motion trajectory; calculating a direction and a distance that the user needs to travel according to the motion trajectory; indicating a walking direction required by the user by a screen prompt and/or a voice prompt And distance;
    根据所述运动轨迹,提供由所述运动轨迹的终点至所述运动轨迹的起点的导航包括: 接收用户的第二导航启动指令,其中,所述第二导航启动指令设置为指示开启由所述运动轨迹的终点至所述运动轨迹的起点的导航功能;根据所述运动轨迹,计算所述用户所需行走的方向和距离;通过画面提示和/或语音提示指示所述用户所需的行走方向和距离。According to the motion trajectory, providing navigation from an end point of the motion trajectory to a start point of the motion trajectory includes: Receiving a second navigation start command of the user, wherein the second navigation start command is set to instruct to open a navigation function from an end point of the motion track to a start point of the motion track; and calculating the user according to the motion track The direction and distance of walking required; the user's desired walking direction and distance are indicated by screen prompts and/or voice prompts.
  9. 根据权利要求1至5中任一项所述的方法,其中,在根据所述运动方向和所述运动距离,记录所述用户的所述运动轨迹之后,所述方法还包括:The method according to any one of claims 1 to 5, wherein after the recording of the motion trajectory of the user according to the moving direction and the moving distance, the method further comprises:
    导出轨迹信息,其中,所述轨迹信息包括所述运动轨迹。The trajectory information is derived, wherein the trajectory information includes the motion trajectory.
  10. 一种用户设备,包括:A user equipment comprising:
    传感器,设置为采集持有所述用户设备的用户的运动相关数据,其中,所述运动相关数据至少包括:水平方向及垂直方向的角速度和加速度;a sensor configured to collect motion related data of a user holding the user equipment, wherein the motion related data includes at least: angular velocity and acceleration in a horizontal direction and a vertical direction;
    处理器,与所述传感器连接,设置为至少根据所述运动相关数据,计算所述用户的运动方向和运动距离;以及根据所述运动方向和所述运动距离,记录所述用户的运动轨迹。a processor coupled to the sensor, configured to calculate a motion direction and a motion distance of the user based on at least the motion related data; and record a motion trajectory of the user according to the motion direction and the motion distance.
  11. 根据权利要求10所述的用户设备,其中,所述传感器至少包括:设置为采集水平方向及垂直方向的角速度和加速度的传感器。The user equipment of claim 10, wherein the sensor comprises at least: a sensor configured to collect angular velocity and acceleration in a horizontal direction and a vertical direction.
  12. 根据权利要求10所述的用户设备,其中,所述传感器还包括:地磁传感器,其中,所述地磁传感器设置为采集地理方向。The user equipment of claim 10, wherein the sensor further comprises: a geomagnetic sensor, wherein the geomagnetic sensor is configured to acquire a geographic direction.
  13. 根据权利要求10所述的用户设备,其中,所述传感器还包括:气压传感器,其中,所述气压传感器设置为采集海拔高度信息。The user equipment of claim 10, wherein the sensor further comprises: an air pressure sensor, wherein the air pressure sensor is configured to collect altitude information.
  14. 根据权利要求10所述的用户设备,其中,所述处理器还设置为:获取所述用户的步长信息;根据所述运动相关数据,确定所述用户的行走步数;根据所述运动相关数据、所述步长信息和所述行走步数,计算所述用户的所述运动方向和所述运动距离。The user equipment according to claim 10, wherein the processor is further configured to: acquire step information of the user; determine, according to the motion related data, a number of walking steps of the user; The data, the step information, and the number of walking steps are calculated, and the moving direction and the moving distance of the user are calculated.
  15. 根据权利要求14所述的用户设备,其中,所述用户设备还包括:The user equipment of claim 14, wherein the user equipment further comprises:
    第一用户交互接口,与所述处理器连接,设置为接收所述用户的输入信息,并将所述输入信息传递给所述处理器,其中,所述输入信息包括:所述步长信息,或者,所述用户的身高和体重。a first user interaction interface, connected to the processor, configured to receive input information of the user, and transmit the input information to the processor, where the input information includes: the step information, Or the height and weight of the user.
  16. 根据权利要求10至15中任一项所述的用户设备,其中,所述用户设备还包括:The user equipment according to any one of claims 10 to 15, wherein the user equipment further comprises:
    第二用户交互接口,与所述处理器连接,设置为根据所述运动轨迹,提供由所述运动轨迹的起点至所述运动轨迹的终点的导航,或者提供由所述运动轨迹的终点至所述运动轨迹的起点的导航。 a second user interaction interface, coupled to the processor, configured to provide navigation from a start point of the motion trajectory to an end point of the motion trajectory according to the motion trajectory, or provide an end point to the motion trajectory Navigation of the starting point of the motion trajectory.
PCT/CN2015/091478 2015-08-04 2015-10-08 Movement track recording method and user equipment WO2016131279A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510472865.2A CN106441296A (en) 2015-08-04 2015-08-04 Motion track recording method and user equipment
CN201510472865.2 2015-08-04

Publications (1)

Publication Number Publication Date
WO2016131279A1 true WO2016131279A1 (en) 2016-08-25

Family

ID=56692085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091478 WO2016131279A1 (en) 2015-08-04 2015-10-08 Movement track recording method and user equipment

Country Status (2)

Country Link
CN (1) CN106441296A (en)
WO (1) WO2016131279A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112378406A (en) * 2020-11-25 2021-02-19 苏州光格设备有限公司 Method for automatically generating robot track map
CN114245299A (en) * 2021-12-17 2022-03-25 歌尔科技有限公司 Remote controller anti-lost method, electronic equipment and computer readable storage medium

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886844A (en) * 2017-03-27 2017-06-23 深圳市沃特沃德股份有限公司 Improve method, device and the mobile terminal of navigation efficiency
CN107632966B (en) * 2017-09-08 2021-10-19 歌尔科技有限公司 Motion trajectory determination method and electronic equipment
CN110030990A (en) * 2019-03-21 2019-07-19 浙江航芯科技有限公司 Management system of parking and method
CN110057380B (en) * 2019-04-30 2021-07-27 北京卡路里信息技术有限公司 Step counting method, step counting device, terminal and storage medium
CN110332936B (en) * 2019-05-23 2023-04-21 湖南大学 Indoor motion trail navigation method based on multiple sensors
CN110715654A (en) * 2019-10-10 2020-01-21 北京无限光场科技有限公司 Motion track determination method and device of terminal equipment and electronic equipment
CN110796888A (en) * 2019-10-29 2020-02-14 广东乐心医疗电子股份有限公司 Parking position searching method and device, electronic equipment and readable storage medium
CN110889971B (en) * 2019-11-08 2021-11-30 深圳市国佳智能软件有限公司 Intelligent vehicle finding method and device for parking lot
CN112533146A (en) * 2020-11-24 2021-03-19 维沃移动通信有限公司 Navigation database establishing method and device and electronic equipment
CN113485597A (en) * 2021-07-09 2021-10-08 上海明我信息技术有限公司 Video conference interaction method and controller
CN113810845B (en) * 2021-09-17 2022-10-14 广州悦跑信息科技有限公司 Effective running distance statistical method and system based on multi-angle monitoring

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004163168A (en) * 2002-11-11 2004-06-10 Sumitomo Precision Prod Co Ltd Portable autonomous navigation device
CN102278988A (en) * 2011-07-01 2011-12-14 微迈森惯性技术开发(北京)有限公司 Walking positioning method and equipment
US20120083962A1 (en) * 2010-09-30 2012-04-05 Honda Motor Co., Ltd. Control apparatus for autonomous operating vehicle
CN102944240A (en) * 2012-11-02 2013-02-27 清华大学 Inertial navigation system based on smart phone and method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103697902A (en) * 2013-12-27 2014-04-02 深圳市金立通信设备有限公司 Navigation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004163168A (en) * 2002-11-11 2004-06-10 Sumitomo Precision Prod Co Ltd Portable autonomous navigation device
US20120083962A1 (en) * 2010-09-30 2012-04-05 Honda Motor Co., Ltd. Control apparatus for autonomous operating vehicle
CN102278988A (en) * 2011-07-01 2011-12-14 微迈森惯性技术开发(北京)有限公司 Walking positioning method and equipment
CN102944240A (en) * 2012-11-02 2013-02-27 清华大学 Inertial navigation system based on smart phone and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112378406A (en) * 2020-11-25 2021-02-19 苏州光格设备有限公司 Method for automatically generating robot track map
CN112378406B (en) * 2020-11-25 2023-05-19 苏州光格科技股份有限公司 Method for automatically generating robot track map
CN114245299A (en) * 2021-12-17 2022-03-25 歌尔科技有限公司 Remote controller anti-lost method, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106441296A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2016131279A1 (en) Movement track recording method and user equipment
US11035687B2 (en) Virtual breadcrumbs for indoor location wayfinding
US9116000B2 (en) Map-assisted sensor-based positioning of mobile devices
Solin et al. Inertial odometry on handheld smartphones
US9599473B2 (en) Utilizing magnetic field based navigation
EP3014476B1 (en) Using movement patterns to anticipate user expectations
CN103471580B (en) For providing method, mobile terminal and the server of navigation information
WO2018149324A1 (en) Detection method and terminal device
WO2016198009A1 (en) Heading checking method and apparatus
JP2017535792A (en) Simultaneous execution of self-location estimation and map creation using geomagnetic field
CN111829516B (en) Autonomous pedestrian positioning method based on smart phone
US10533874B2 (en) Inertial positioning and navigation device featuring a novel walk detection method
CN107990901B (en) User direction positioning method based on sensor
CN103968846A (en) Positioning and navigation method and device
CN104266648A (en) Indoor location system based on Android platform MARG sensor
CN104501808A (en) Path tracking method and device
JP5742794B2 (en) Inertial navigation device and program
WO2016145905A1 (en) Network signal recording method, device, mobile terminal and storage medium
WO2015184741A1 (en) Navigation information acquisition method and device, and mobile terminal
WO2020114214A1 (en) Blind guiding method and apparatus, storage medium and electronic device
KR102578119B1 (en) Smart glasses operation method interworking to mobile device
KR101525224B1 (en) A portable terminal of having the auto photographing mode
CN114252068A (en) Pedestrian track generation method and device, electronic equipment and storage medium
Monteserin Multi sensor system for pedestrian tracking and activity recognition in indoor environments
Chirakkal et al. Exploring smartphone-based indoor navigation: A QR code assistance-based approach

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: 15882418

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: 15882418

Country of ref document: EP

Kind code of ref document: A1