CN112629554A - Motion trajectory acquisition method and device and electronic equipment - Google Patents

Motion trajectory acquisition method and device and electronic equipment Download PDF

Info

Publication number
CN112629554A
CN112629554A CN202011441128.3A CN202011441128A CN112629554A CN 112629554 A CN112629554 A CN 112629554A CN 202011441128 A CN202011441128 A CN 202011441128A CN 112629554 A CN112629554 A CN 112629554A
Authority
CN
China
Prior art keywords
signal
stride
signal receiving
user
direction information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202011441128.3A
Other languages
Chinese (zh)
Inventor
谭栋源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011441128.3A priority Critical patent/CN112629554A/en
Publication of CN112629554A publication Critical patent/CN112629554A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)

Abstract

The application discloses a motion trail obtaining method and device and electronic equipment. Belongs to the technical field of communication. An embodiment of the method comprises: acquiring the time length of a target signal transmitted from a signal transmitting end to a signal receiving end, wherein the signal transmitting end and the signal receiving end are positioned on different feet of a user; determining the step distance of the user based on the propagation speed and the time length of the target signal; and acquiring geomagnetic direction information, and determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information. The embodiment can be applied to various scenes including indoor and outdoor closed areas, has universality and improves the positioning precision.

Description

Motion trajectory acquisition method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a motion trail obtaining method and device and electronic equipment.
Background
With the development of the internet, users have increasingly demanded the positioning of indoor and outdoor enclosed areas. For example, users often have location needs in indoor locations such as shopping malls, museums, and the like, and in outdoor enclosed areas such as mountains, large tunnels, mine caves, and the like.
Conventionally, Positioning is generally performed by Positioning technologies such as GPS (Global Positioning System), Wi-Fi, bluetooth, and Zigbee. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: on one hand, the dependence on the environment is large, when the environment changes, the positioning system deployed in the former period is easy to fail, and the applicability of positioning indoor and outdoor closed areas is poor. On the other hand, the positioning accuracy under the scenes of indoor places, outdoor closed areas and the like is improved to be lower.
Disclosure of Invention
The embodiment of the application aims to provide a motion trajectory acquisition method and device, an electronic equipment method and device and electronic equipment, and the technical problems of poor applicability and low positioning accuracy of indoor and outdoor closed area positioning can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for obtaining a time length for a target signal to propagate from a signal transmitting end to a signal receiving end, where the signal transmitting end and the signal receiving end are located on different feet of a user; determining a step distance of the user based on the propagation speed of the target signal and the duration; and acquiring geomagnetic direction information, and determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information.
In a second aspect, an embodiment of the present application provides an obtaining unit, configured to obtain a time length for a target signal to propagate from a signal transmitting end to a signal receiving end, where the signal transmitting end and the signal receiving end are located on different feet of a user; a first determining unit, configured to determine a step distance of the user based on the propagation speed of the target signal and the time length; and the second determining unit is used for acquiring geomagnetic direction information and determining the motion trail of the current stride of the user based on the step pitch and the geomagnetic direction information.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method as described in the first aspect above.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method described in the first aspect.
In the embodiment of the application, the time length of a target signal transmitted from a signal transmitting end to a signal receiving end is obtained, wherein the signal transmitting end and the signal receiving end are located on different feet of a user; then, determining the step distance of the user based on the propagation speed and the time length of the target signal; and finally, acquiring geomagnetic direction information, thereby determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information. The current stepping motion trail of the user is determined by the step distance of the user and the geomagnetic direction, so that a positioning system does not need to be constructed in advance, the method is not influenced by the environment, and the method can be suitable for various scenes including indoor and outdoor closed areas and has universality. Meanwhile, the step pitch of the user is usually small, and the positioning mode is not influenced by the environment, so that the precision of the motion trail determined based on the step pitch is high, and the positioning precision of indoor places, outdoor closed areas and other scenes is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a motion trajectory acquisition method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of installation positions of devices in a motion trajectory acquisition method provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a connection relationship between devices in a motion trajectory acquisition method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a step change process of a motion trajectory acquisition method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a motion trajectory acquisition device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device suitable for implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method, the apparatus, and the electronic device for acquiring a motion trajectory provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Please refer to fig. 1, which shows a flowchart of a motion trajectory obtaining method according to an embodiment of the present application. The motion trail obtaining method provided by the embodiment of the application can be applied to electronic equipment. In practice, the electronic device may be an electronic device such as an MCU (micro controller Unit), and may be disposed in the vicinity of the foot of the user, such as the sole, the upper, the vamp, and so on.
The flow of the motion trail obtaining method provided by the embodiment of the application comprises the following steps:
step 101, acquiring the time length of a target signal transmitted from a signal transmitting end to a signal receiving end, wherein the signal transmitting end and the signal receiving end are located on different feet of a user.
In this embodiment, an executing body of the motion trajectory acquiring method (such as the electronic device described above) may acquire a time length during which the target signal propagates from the signal transmitting end to the signal receiving end. The target signal may be an ultrasonic signal, an infrared signal, or the like, which may be used for ranging. The signal transmitting end can be used for transmitting a target signal, and the signal receiving end can be used for receiving the target signal.
In this embodiment, the signal transmitting end and the signal receiving end can be located on different feet of the user. For example, the signal transmitting end may be located in a user's left shoe and the signal receiving end may be located in a user's right shoe. The execution main body can start timing when the target signal is sent from the signal sending end, and stop timing when the target signal reaches the signal receiving end, so that the time length of the target signal transmitted from the signal sending end to the signal receiving end is obtained.
In some optional implementations of this embodiment, the target signal (e.g., an ultrasonic signal or an infrared signal, etc.) and the radio signal may be transmitted simultaneously through the signal transmitting terminal. Then, a timer may be started when a radio signal is received at the signal receiving end. And then, when the signal receiving end receives the target signal, the timer is stopped. The radio propagation time is extremely short and can be ignored, so that the time length timed by the timer can be used as the time length of the target signal propagated from the signal transmitting end to the signal receiving end.
In some optional implementations of this embodiment, the signal transmitting end may include a first signal transmitting device and a second signal transmitting device. The first signal transmitting device may be configured to transmit a radio signal, for example, a radio signal with a specific frequency. The second signal transmitting device is used for transmitting a target signal, such as an ultrasonic signal or an infrared signal.
Taking the ultrasonic signal as an example, the second signal transmitting device can periodically transmit the ultrasonic signal outward in the form of sound wave by using the inverse piezoelectric effect. The inverse piezoelectric effect is that an electric field is applied in the polarization direction of a dielectric medium, so that the dielectric medium generates mechanical deformation or mechanical pressure in a certain direction, and when the applied electric field is removed, the deformation or stress disappears. When a high-frequency electric signal is applied to the piezoelectric ceramic, a high-frequency acoustic signal (mechanical vibration) is generated, thereby emitting an ultrasonic signal.
The signal receiving end may include a first signal receiving device and a second signal receiving device. The first signal receiving device is used for receiving a radio signal, such as a radio signal with a specific frequency, and the frequency is the same as the frequency of the radio signal sent by the first signal sending device. The second signal receiving device is used for receiving the target signal.
Taking the ultrasonic signal as an example, the second signal receiving device can convert the received ultrasonic signal into an electrical signal by using the direct piezoelectric effect. The positive piezoelectric effect refers to a phenomenon of electric polarization due to deformation. When physical pressure is applied to the piezoelectric material, the electric dipole moment in the material body is shortened due to compression, and the piezoelectric material resists the change, so that equal positive and negative charges are generated on the opposite surfaces of the material to keep the material in an original shape. This phenomenon of electric polarization due to deformation is called positive piezoelectric effect. The direct piezoelectric effect is essentially the process of converting mechanical energy into electrical energy.
Referring to fig. 2, fig. 2 is a schematic view of installation positions of devices in a motion trajectory acquisition method provided in an embodiment of the present application. As shown in fig. 2, the first signal transmitting device and the second signal transmitting device may be installed in a left shoe of a user, and the first signal receiving device may be installed in a right shoe of the user. The first signal receiving means may receive the radio signal transmitted by the first signal transmitting means. The second signal receiving device can receive the target signal transmitted by the second signal transmitting device, such as an ultrasonic signal or an infrared signal.
In addition, a geomagnetic sensor can be further installed in the right shoe and used for collecting geomagnetic direction information. Geomagnetic sensors, which may also be referred to as electronic compasses, may utilize the hall effect to gather earth magnetic field direction information. Among them, the hall effect is an electromagnetic effect. When a current passes through the semiconductor perpendicular to an external magnetic field, carriers are deflected, an additional electric field is generated in a direction perpendicular to the current and the magnetic field, and thus a potential difference is generated at two ends of the semiconductor, which is called a hall effect, and the potential difference is also called a hall potential difference. By this potential difference, the direction of the geomagnetism can be detected.
It should be noted that the executing main body of the movement track acquiring method may also be installed in the right shoe of the user, so as to determine the movement track of the current stride of the user based on the time length for calculating the target signal to propagate from the signal transmitting end to the signal receiving end and based on the time length and the geomagnetic direction information.
It should be noted that the installation positions of the devices and the devices installed in the left and right shoes are not limited to the illustration of fig. 2, and other installation positions may be set as needed, and are not described herein again.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a connection relationship between devices in a motion trajectory acquisition method according to an embodiment of the present application. As shown in fig. 3, the left shoe includes a first signal emitting device and a second signal emitting device therein. The right shoe comprises a first signal receiving device, a second signal receiving device, an MCU, a geomagnetic sensor and a wireless communication circuit. The first signal receiving device can receive the radio signal transmitted by the first signal transmitting device, and the second signal receiving device can receive the target signal transmitted by the second signal transmitting device, such as an ultrasonic signal or an infrared signal. The MCU is an execution body of the motion trajectory acquisition method, and may be electrically connected to the first signal receiving device, the second signal receiving device, the geomagnetic sensor, and the wireless communication circuit. The wireless communication circuit may include, but is not limited to, a bluetooth module for transmitting data to the terminal.
Step 102, determining the step distance of the user based on the propagation speed and the time length of the target signal.
In this embodiment, the step distance is the distance the user travels one step. The execution body may determine the step distance of the user based on the propagation speed and the time length of the target signal. Taking the target signal as an ultrasonic signal as an example, the propagation speed of the ultrasonic signal in the air can be denoted as v, the above time period can be denoted as t, the user step can be denoted as s, and then s equals v × t.
And 103, acquiring geomagnetic direction information, and determining the motion track of the current step of the user based on the step distance and the geomagnetic direction information.
In this embodiment, the user's foot may be mounted with a geomagnetic sensor for collecting geomagnetic direction information. The execution main body may acquire geomagnetic direction information acquired by a geomagnetic sensor, and determine a motion trajectory of a current step of the user based on the step distance and the geomagnetic direction information.
For example, an angle θ between the user's traveling direction and the geomagnetic direction may be determined first, and then a motion trajectory s × sin θ of the user's current stride on the x-axis of the rectangular coordinate system and a motion trajectory s × cos θ of the user's current stride on the y-axis of the rectangular coordinate system are obtained. The user's traveling direction may be determined based on an inertial sensor or the like.
In some optional implementations of this embodiment, based on the step distance and the geomagnetic direction information, the executing body may further determine the motion trajectory of the current stride of the user by:
first, the stride of the user is determined based on the stride.
Through the posture analysis of walking of both feet in advance, can know that the step distance in single stride cycle is the grow after reducing earlier, so circulate, appear sinusoidal periodic variation. As shown in fig. 4, the step distance variation process is schematically illustrated, where the time t1 corresponds to the step distance when one foot (e.g. left foot) stands in front and the other foot (e.g. right foot) stands in back, and the step distance is the maximum value in the last stride period, i.e. the step amplitude. time t1 is also the beginning of the current stride period. the time t2 corresponds to the step distance when the parallel distance between the feet is the shortest, and the step distance is the minimum value in the current step cycle. the time t3 corresponds to the step distance when one foot (such as the left foot) stands behind and the other foot (such as the right foot) stands in front, which is the ending time of the current striding cycle, and the step distance value is the maximum value in the current striding cycle, namely the stride. Thus, by comparing the current stride with the adjacent strides (including the previous stride and the next stride), it can be determined whether the current stride is a stride.
As an example, the execution subject may regard the current stride as the stride of the user if the current stride is greater than adjacent strides (including a previous stride and a next stride).
And secondly, acquiring the traveling direction information of the user under the condition that the stride is larger than a preset threshold value, and determining the motion trail of the current stride of the user based on the stride, the traveling direction information and the geomagnetic direction information. Specifically, the following formula can be adopted:
lx=l×sinθ
ly=l×cosθ
wherein l is stride, lxIs the motion track of the current stride in the x-axis direction,/yThe motion trail of the current stride in the y-axis direction is shown, and theta is an included angle between the advancing direction and the geomagnetic direction.
It should be noted that, if the stride is less than or equal to the preset threshold, the stride value may be designed, and the step of determining the stride may be executed again. Thus, it is possible to prevent the user from erroneously interpreting as traveling when pacing at home, thereby generating an erroneous motion trajectory.
In addition, before the motion track of the current stride of the user is determined, the geomagnetic sensor can be calibrated by combining the inertial sensor, so that the influence of environment hard magnetism and environment soft magnetism on the geomagnetic field is eliminated, more accurate geomagnetic direction information is obtained, and more accurate motion track is obtained.
In some optional implementation manners of this embodiment, after obtaining the motion trajectory, the execution main body may transmit the motion trajectory to the terminal device of the user in a wireless transmission manner. Therefore, the user can obtain a positioning result, a navigation result and the like by using the terminal equipment.
In the method provided by the above embodiment of the present application, a time length for a target signal to propagate from a signal transmitting end to a signal receiving end is obtained, where the signal transmitting end and the signal receiving end are located on different feet of a user; then, determining the step distance of the user based on the propagation speed and the time length of the target signal; and finally, acquiring geomagnetic direction information, thereby determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information. The current stepping motion trail of the user is determined by the step distance of the user and the geomagnetic direction, so that a positioning system does not need to be constructed in advance, the method is not influenced by the environment, and the method can be suitable for various scenes including indoor and outdoor closed areas and has universality. Meanwhile, the step distance of the user is usually small, so that the accuracy of the motion trail determined based on the step distance is high, and the positioning accuracy is improved.
It should be noted that, in the motion trajectory acquisition method provided in the embodiment of the present application, the execution main body may be a motion trajectory acquisition device, or a control module in the motion trajectory acquisition device for executing the loading motion trajectory acquisition method. In the embodiment of the present application, a motion trajectory acquisition device is taken as an example to execute a loading motion trajectory acquisition method, and the motion trajectory acquisition method provided in the embodiment of the present application is described.
As shown in fig. 5, the motion trajectory acquisition device 500 of the present embodiment includes: an obtaining unit 501, configured to obtain a time length for a target signal to propagate from a signal transmitting end to a signal receiving end, where the signal transmitting end and the signal receiving end are located on different feet of a user; a first determining unit 502, configured to determine a step distance of the user based on the propagation speed of the target signal and the time length; a second determining unit 503, configured to obtain geomagnetic direction information, and determine a motion trajectory of the current stride of the user based on the step distance and the geomagnetic direction information.
In some optional implementation manners of this embodiment, the obtaining unit 501 is further configured to: simultaneously sending a radio signal and the target signal through the signal transmitting terminal; starting a timer when the signal receiving end receives the radio signal; stopping the timer when the signal receiving end receives the target signal; and taking the time length counted by the timer as the time length of the target signal transmitted to the signal receiving end from the signal transmitting end.
In some optional implementations of this embodiment, the signal transmitting end includes a first signal transmitting device and a second signal transmitting device, where the first signal transmitting device is configured to transmit a radio signal, and the second signal transmitting device is configured to transmit the target signal; the signal receiving end includes a first signal receiving device for receiving a radio signal and a second signal receiving device for transmitting the target signal.
In some optional implementations of this embodiment, the second determining unit 503 is further configured to: determining the stride of the user based on the stride; and acquiring the traveling direction information of the user when the stride is larger than a preset threshold, and determining the motion trail of the current stride of the user based on the stride, the traveling direction information and the geomagnetic direction information.
In some optional implementations of this embodiment, the second determining unit 503 is further configured to: and if the step distance is larger than the adjacent step distance, taking the step distance as the stride of the user.
In some optional implementations of this embodiment, the apparatus further includes: and the transmission unit is used for transmitting the motion trail to the terminal equipment of the user in a wireless transmission mode.
The motion trajectory acquisition device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The motion trajectory acquisition device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The motion trajectory acquisition device provided in the embodiment of the present application can implement each process implemented by the motion trajectory acquisition device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
In the apparatus provided in the above embodiment of the present application, a time length for a target signal to propagate from a signal transmitting end to a signal receiving end is obtained, where the signal transmitting end and the signal receiving end are located on different feet of a user; then, determining the step distance of the user based on the propagation speed and the time length of the target signal; and finally, acquiring geomagnetic direction information, thereby determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information. The current stepping motion trail of the user is determined by the step distance of the user and the geomagnetic direction, so that a positioning system does not need to be constructed in advance, the method is not influenced by the environment, and the method can be suitable for various scenes including indoor and outdoor closed areas and has universality. Meanwhile, the step distance of the user is usually small, so that the accuracy of the motion trail determined based on the step distance is high, and the positioning accuracy is improved.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 610, a memory 609, and a program or an instruction that is stored in the memory 609 and can be run on the processor 610, and when being executed by the processor 610, the program or the instruction implements each process of the above-mentioned motion trajectory acquisition method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 610 is configured to obtain a time length for a target signal to propagate from a signal transmitting end to a signal receiving end, where the signal transmitting end and the signal receiving end are located on different feet of a user; determining a step distance of the user based on the propagation speed of the target signal and the duration; and acquiring geomagnetic direction information, and determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information.
In the embodiment of the application, the time length of a target signal transmitted from a signal transmitting end to a signal receiving end is obtained, wherein the signal transmitting end and the signal receiving end are located on different feet of a user; then, determining the step distance of the user based on the propagation speed and the time length of the target signal; and finally, acquiring geomagnetic direction information, thereby determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information. The current stepping motion trail of the user is determined by the step distance of the user and the geomagnetic direction, so that a positioning system does not need to be constructed in advance, the method is not influenced by the environment, and the method can be suitable for various scenes including indoor and outdoor closed areas and has universality. Meanwhile, the step distance of the user is usually small, so that the accuracy of the motion trail determined based on the step distance is high, and the positioning accuracy is improved.
Optionally, the processor 610 is further configured to send a radio signal and the target signal simultaneously through the signal transmitting end; starting a timer when the signal receiving end receives the radio signal; stopping the timer when the signal receiving end receives the target signal; and taking the time length timed by the timer as the time length of the target signal transmitted to the signal receiving end by the signal transmitting end.
Optionally, the signal transmitting end includes a first signal transmitting device and a second signal transmitting device, where the first signal transmitting device is configured to transmit a radio signal, and the second signal transmitting device is configured to transmit the target signal; the signal receiving end comprises a first signal receiving device and a second signal receiving device, wherein the first signal receiving device is used for receiving radio signals, and the second signal receiving device is used for receiving the target signals.
Optionally, the processor 610 is further configured to determine a stride of the user based on the stride; and under the condition that the stride is larger than a preset threshold value, acquiring the traveling direction information of the user, and determining the motion trail of the current stride of the user based on the stride, the traveling direction information and the geomagnetic direction information.
Optionally, the processor 610 is further configured to use the step distance as the stride of the user when the step distance is larger than an adjacent step distance.
Optionally, the processor 610 is further configured to transmit the motion trajectory to the terminal device of the user in a wireless transmission manner.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above motion trajectory acquisition method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above motion trajectory acquisition method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A motion trail acquisition method is characterized by comprising the following steps:
acquiring the time length of a target signal transmitted from a signal transmitting end to a signal receiving end, wherein the signal transmitting end and the signal receiving end are positioned on different feet of a user;
determining a step distance of the user based on the propagation speed of the target signal and the duration;
and acquiring geomagnetic direction information, and determining the motion trail of the current step of the user based on the step distance and the geomagnetic direction information.
2. The method of claim 1, wherein obtaining a time duration for the target signal to propagate from the signal transmitting end to the signal receiving end comprises:
simultaneously sending a radio signal and a target signal through a signal transmitting terminal;
starting a timer when a signal receiving end receives the radio signal;
stopping the timer when the signal receiving end receives the target signal;
and taking the time length timed by the timer as the time length of the target signal transmitted to the signal receiving end by the signal transmitting end.
3. The method of claim 2, wherein the signal transmitting end comprises a first signal transmitting device and a second signal transmitting device, the first signal transmitting device is used for transmitting radio signals, and the second signal transmitting device is used for transmitting target signals;
the signal receiving end comprises a first signal receiving device and a second signal receiving device, the first signal receiving device is used for receiving the radio signal, and the second signal receiving device is used for receiving the target signal.
4. The method of claim 1, wherein the determining the motion trajectory of the current stride of the user based on the step pitch and the geomagnetic direction information comprises:
determining a stride of the user based on the stride;
and under the condition that the stride is larger than a preset threshold value, acquiring the traveling direction information of the user, and determining the motion trail of the current stride of the user based on the stride, the traveling direction information and the geomagnetic direction information.
5. The method of claim 4, wherein determining the stride of the user based on the stride comprises:
if the stride is greater than an adjacent stride, treating the stride as the stride of the user.
6. The method of claim 1, further comprising:
and transmitting the motion trail to the terminal equipment of the user in a wireless transmission mode.
7. A motion trajectory acquisition apparatus, characterized in that the apparatus comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the time length of a target signal transmitted from a signal transmitting end to a signal receiving end, and the signal transmitting end and the signal receiving end are positioned on different feet of a user;
a first determining unit, configured to determine a step distance of the user based on the propagation speed of the target signal and the time length;
and the second determining unit is used for acquiring geomagnetic direction information and determining the motion trail of the current stride of the user based on the step pitch and the geomagnetic direction information.
8. The apparatus of claim 7, wherein the obtaining unit is further configured to:
simultaneously sending a radio signal and a target signal through a signal transmitting terminal;
starting a timer when a signal receiving end receives the radio signal;
stopping the timer when the signal receiving end receives the target signal;
and taking the time length timed by the timer as the time length of the target signal transmitted to the signal receiving end by the signal transmitting end.
9. The apparatus of claim 8, wherein the signal transmitting end comprises a first signal transmitting apparatus and a second signal transmitting apparatus, the first signal transmitting apparatus is configured to transmit a radio signal, and the second signal transmitting apparatus is configured to transmit a target signal;
the signal receiving end comprises a first signal receiving device and a second signal receiving device, wherein the first signal receiving device is used for receiving radio signals, and the second signal receiving device is used for sending the target signals.
10. The apparatus of claim 7, wherein the second determining unit is further configured to:
determining a stride of the user based on the stride;
and under the condition that the stride is larger than a preset threshold value, acquiring the traveling direction information of the user, and determining the motion trail of the current stride of the user based on the stride, the traveling direction information and the geomagnetic direction information.
11. The apparatus of claim 10, wherein the second determining unit is further configured to:
if the stride is greater than an adjacent stride, treating the stride as the stride of the user.
12. The apparatus of claim 7, wherein the method further comprises:
and the transmission unit is used for transmitting the motion trail to the terminal equipment of the user in a wireless transmission mode.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the motion trajectory acquisition method according to any one of claims 1-6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the motion trajectory acquisition method according to any one of claims 1 to 6.
CN202011441128.3A 2020-12-10 2020-12-10 Motion trajectory acquisition method and device and electronic equipment Pending CN112629554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011441128.3A CN112629554A (en) 2020-12-10 2020-12-10 Motion trajectory acquisition method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011441128.3A CN112629554A (en) 2020-12-10 2020-12-10 Motion trajectory acquisition method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112629554A true CN112629554A (en) 2021-04-09

Family

ID=75309312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011441128.3A Pending CN112629554A (en) 2020-12-10 2020-12-10 Motion trajectory acquisition method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112629554A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103884337A (en) * 2012-12-19 2014-06-25 财团法人工业技术研究院 Multi-attitude step correction positioning system and method
CN105783920A (en) * 2016-04-22 2016-07-20 李明科 Indoor and outdoor positioning method, positioning system, and positioning foot rings
CN107784298A (en) * 2017-11-23 2018-03-09 维沃移动通信有限公司 A kind of recognition methods and device
CN109725704A (en) * 2017-10-30 2019-05-07 腾讯科技(武汉)有限公司 The method and device of control application operation
CN110715654A (en) * 2019-10-10 2020-01-21 北京无限光场科技有限公司 Motion track determination method and device of terminal equipment and electronic equipment
CN111685442A (en) * 2020-07-11 2020-09-22 上海健康医学院 Step length detection sports shoe based on ultrasonic waves and control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103884337A (en) * 2012-12-19 2014-06-25 财团法人工业技术研究院 Multi-attitude step correction positioning system and method
CN105783920A (en) * 2016-04-22 2016-07-20 李明科 Indoor and outdoor positioning method, positioning system, and positioning foot rings
CN109725704A (en) * 2017-10-30 2019-05-07 腾讯科技(武汉)有限公司 The method and device of control application operation
CN107784298A (en) * 2017-11-23 2018-03-09 维沃移动通信有限公司 A kind of recognition methods and device
CN110715654A (en) * 2019-10-10 2020-01-21 北京无限光场科技有限公司 Motion track determination method and device of terminal equipment and electronic equipment
CN111685442A (en) * 2020-07-11 2020-09-22 上海健康医学院 Step length detection sports shoe based on ultrasonic waves and control method thereof

Similar Documents

Publication Publication Date Title
CN108292935B (en) Bluetooth pairing method and Bluetooth device
CN109074158B (en) Electronic equipment and method for starting application thereof
US9700260B2 (en) Portable device and heartbeat reaching time measurement control method
CN111684293B (en) Apparatus and method for tracking movement of electronic device
CN111366161B (en) Vehicle positioning method and electronic equipment
CN106527670A (en) Hand gesture interaction device
US9151622B2 (en) Method and apparatus for estimating moving direction of user and computer-readable storage medium having recorded thereon the method
US10830606B2 (en) System and method for detecting non-meaningful motion
WO2019037646A1 (en) Positioning method and apparatus, terminal, server, and storage medium
US10143889B2 (en) Positioning system and positioning method
US20140358434A1 (en) Peer-Assisted Dead Reckoning
JP2013213818A (en) Navigation bit boundary determination apparatus and method therefor
EP3023740A2 (en) Method, apparatus and computer program product for route matching
US9980091B2 (en) Location information processing method and electronic device
CN104197929A (en) Localization method, device and system based on geomagnetism and WIFI
CN106527671A (en) Method for spaced control of equipment
US20120010811A1 (en) Route information generation device and route information generation method
CN106355061A (en) Gesture authentication device based on millimeter waves
CN106527672A (en) Non-contact type character input method
KR20100105709A (en) Method and apparatus for establishing a wireless network signal acquisition rate
EP3372958A1 (en) Navigation method and navigation device
JP2015155802A (en) Portable electronic equipment and position calculation program
CN112629554A (en) Motion trajectory acquisition method and device and electronic equipment
CN108036795B (en) Path acquisition method and device and mobile terminal
CN106339618A (en) Authentication method based on gestures

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination