[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110715654A - Motion track determination method and device of terminal equipment and electronic equipment - Google Patents

Motion track determination method and device of terminal equipment and electronic equipment Download PDF

Info

Publication number
CN110715654A
CN110715654A CN201910959740.0A CN201910959740A CN110715654A CN 110715654 A CN110715654 A CN 110715654A CN 201910959740 A CN201910959740 A CN 201910959740A CN 110715654 A CN110715654 A CN 110715654A
Authority
CN
China
Prior art keywords
target user
determining
motion
movement
step interval
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
CN201910959740.0A
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.)
Beijing Infinite Light Field Technology Co Ltd
Original Assignee
Beijing Infinite Light Field Technology 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 Beijing Infinite Light Field Technology Co Ltd filed Critical Beijing Infinite Light Field Technology Co Ltd
Priority to CN201910959740.0A priority Critical patent/CN110715654A/en
Publication of CN110715654A publication Critical patent/CN110715654A/en
Pending legal-status Critical Current

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/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P13/00Indicating or recording presence, absence, or direction, of movement
    • G01P13/02Indicating direction only, e.g. by weather vane
    • G01P13/04Indicating positive or negative direction of a linear movement or clockwise or anti-clockwise direction of a rotational movement

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a method and a device for determining a motion track of terminal equipment and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: determining at least one movement direction of a target user according to data collected by a direction sensor; determining the number of moving steps of the target user in each moving direction according to the data acquired by the step counting sensor; acquiring a step interval matched with a target user; and determining the motion trail of the target user based on at least one motion direction, the motion step number of the target user in each motion direction and the step interval. The present disclosure enhances the accuracy of the determined user motion trajectory.

Description

Motion track determination method and device of terminal equipment and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for determining a motion trajectory of a terminal device, and an electronic device.
Background
At present, in order to meet User requirements, many User Equipments (UEs) have a function of determining a motion trajectory of a User, and generally, the UE may locate the User through a Global Positioning System (GPS) to determine the motion trajectory of the User.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
A first aspect of the present disclosure provides a method for determining a motion trajectory of a terminal device, including:
determining at least one movement direction of a target user according to data collected by a direction sensor;
determining the number of moving steps of the target user in each moving direction according to the data acquired by the step counting sensor;
acquiring a step interval matched with a target user;
and determining the motion trail of the target user based on at least one motion direction, the motion step number of the target user in each motion direction and the step interval.
A second aspect of the present disclosure provides a motion trajectory determination apparatus for a terminal device, including:
the first determination module is used for determining at least one motion direction of a target user according to data collected by the direction sensor;
the second determination module is used for determining the movement step number of the target user in each movement direction according to the data acquired by the step counting sensor;
the acquisition module is used for acquiring the step interval matched with the target user;
and the third determination module is used for determining the motion trail of the target user based on at least one motion direction, the motion step number and the step interval of the target user in each motion direction.
A third aspect of the present disclosure provides an electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has a computer program stored therein;
a processor for performing the method of the first aspect when executing the computer program.
A fourth aspect of the disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
The technical scheme provided by the disclosure has the following beneficial effects:
the method comprises the steps of determining at least one motion direction of a target user according to data collected by a direction sensor, determining the motion step number of the user in each motion direction according to data collected by a step counting sensor, determining the motion track of the target user according to the at least one motion direction, the motion step number of the target user in each motion direction and the step interval after obtaining the step interval matched with the target user, obtaining local accurate data by using various sensors carried by terminal equipment without using GPS (global positioning system) positioning, determining the motion track of the target user according to the local accurate data, and achieving determination of the motion track of a single machine without being limited by other external conditions such as network environment.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic diagram of an embodiment of a method for determining a motion trajectory of a terminal device according to the present disclosure;
fig. 2 is a schematic structural diagram of a motion trajectory determination apparatus of a terminal device according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
Referring to fig. 1, the present disclosure provides a method for determining a motion trajectory of a terminal device, where the method may be specifically executed by an electronic device, where the electronic device may be a terminal device, and the terminal device may be a desktop device or a mobile terminal, and the method includes:
step S101: determining at least one movement direction of a target user according to data collected by a direction sensor;
step S102: determining the number of moving steps of the target user in each moving direction according to the data acquired by the step counting sensor;
the terminal equipment is internally provided with a direction sensor and a step counting sensor which are different sensors, the direction sensor has the function of sensing the motion direction of a user, the motion direction of a target user can be changed frequently in the motion process, and the terminal equipment can determine at least one motion direction of the target user using the terminal equipment according to data collected by the direction sensor.
The step counting sensor has a function of calculating the number of moving steps of the user, and the terminal equipment can respectively determine the number of moving steps of the target user in each moving direction according to data collected by the step counting sensor.
Step S103: acquiring a step interval matched with a target user;
step S104: and determining the motion trail of the target user based on at least one motion direction, the motion step number of the target user in each motion direction and the step interval.
Each user has a unique step interval, which can be called as a step length, and refers to a distance between a front foot and a rear foot of the user in the movement process, and the terminal device obtains the step interval matched with the target user, so that the terminal device can determine the movement track of the target user based on at least one movement direction, the movement step number of the target user in each movement direction and the step interval matched with the target user.
In this embodiment, the motion trajectory of the target user refers to the motion trajectory of the target user within a preset time period, and the preset time period may be one day, 1h, and other possible time periods. And after the preset time length is reached, the terminal equipment determines the motion track of the target user in the next time period again.
The method comprises the steps of determining at least one motion direction of a target user according to data collected by a direction sensor, determining the motion step number of the user in each motion direction according to data collected by a step counting sensor, determining the motion track of the target user according to the at least one motion direction, the motion step number of the target user in each motion direction and the step interval after obtaining the step interval matched with the target user, obtaining local accurate data by using various sensors carried by terminal equipment without using GPS (global positioning system) positioning, determining the motion track of the target user according to the local accurate data, and achieving determination of the motion track of a single machine without being limited by other external conditions such as network environment.
Optionally, the step distance matched with the target user is obtained, including any one of the following cases:
determining a step interval corresponding to the attribute information through a preset step interval database according to the attribute information of the target user, wherein the step interval corresponding to the attribute information of the user is stored in the step interval database;
and determining the step interval of the target user according to the data acquired by the acceleration sensor.
Optionally, the attribute information includes at least one of:
height of the user, weight of the user, age of the user.
In this embodiment, there are two following ways to obtain the step distance matching the target user:
the first method is as follows: the method comprises the steps that a preset step interval database stores massive user attribute information and step intervals corresponding to the user attribute information one by one, and if the step interval database is a local database of the terminal equipment, the terminal equipment can determine the step interval corresponding to the attribute information of a target user from the local step interval database according to the attribute information of the target user; if the step interval database is located on the server side, the terminal device may send the attribute information of the target user to the server, so that the receiving server returns the step interval corresponding to the attribute information of the target user.
In this embodiment, the attribute information of the user includes at least one of a height of the user, a weight of the user, and an age of the user, and generally, the height of the user is positively correlated with the step interval of the user, and the age of the user is negatively correlated with the step interval of the user.
The second method comprises the following steps: the inside acceleration sensor that still is provided with of terminal equipment, acceleration sensor and direction sensor and meter step sensor are different sensors, and acceleration sensor has the function of confirming user's motion acceleration, and terminal equipment can confirm user's step interval according to the data that acceleration sensor gathered simultaneously, and one possible mode that acceleration sensor confirmed user step interval is: based on the curve characteristics of the motion acceleration, preprocessing such as signal drying removal and extraction of abnormal sampling points is carried out, then corresponding step frequency and acceleration peak value key characteristics are extracted, and a mathematical model for estimating the step interval is established, so that the step interval of the user is determined by utilizing the mathematical model.
Optionally, determining the motion trajectory of the target user based on at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval, includes:
determining the movement distance of the target user in each movement direction based on the movement step number and step interval of the target user in each movement direction;
and determining the motion trail of the target user based on the at least one motion direction and the motion distance of the target user in each motion direction.
Optionally, the method further includes:
determining the state of a target user according to data acquired by the step counting sensor;
the state of the target user comprises any one of a walking state, a running state and a stopping state of the target user;
and displaying the motion trail to the target user based on the state of the target user.
In this embodiment, for a certain movement direction, the terminal device may obtain the movement distance of the target user in the movement direction by multiplying the movement step number of the target user in the movement direction by the step pitch of the target user, and in this way, the movement distance of the target user in each movement direction may be obtained, and then, in combination with at least one movement direction of the target user, the movement trajectory of the target user may be determined.
In this embodiment, the step counting sensor may further determine the state of the target user, that is, whether the target user is in a stop state or a moving state, and if the target user is in the moving state, further determine whether the target user is in a walking state or a running state, so that the terminal device may present the movement track to the target user on the terminal screen interface based on the state of the target user, for example, when the target user is in the stop state, the movement track does not change, and when the target user is in the running state or the walking state, the movement track changes, and the change of the movement track in the running state is more obvious than the change of the movement track in the walking state.
It can be understood that, if the target user can move first and then stop and then move repeatedly, the number of states in which the target user is located determined by the step counting sensor is at least one, and the state in which at least one target user is located cannot only include a stop state, otherwise, the target user does not have a motion track.
Optionally, the method further includes:
determining the duration of the target user in a walking state or a running state according to the state of the target user;
determining the movement distance of a target user;
and determining the average movement speed of the target user according to the movement distance and the time length so as to be used for showing the average movement speed to the target user.
Optionally, determining the movement distance of the target user includes at least one of:
determining a movement distance of the target user based on the movement track;
and determining the movement distance of the target user based on the step distance of the target user and the total step number of the target user moving in at least one movement direction.
In this embodiment, a monitor is further disposed inside the terminal device, and the monitor may record the movement time of the user by using a timestamp, specifically, the monitor establishes a communication connection with the step-counting sensor, so as to determine a state of the target user, starts timing when the target user starts to move (for example, run or walk), and ends timing when the target user is in a stopped state, where the terminal device may determine a movement track of the target user within a preset time period, and the target user may move first and then stop moving again within the preset time period, so that the monitor needs to continuously record a time period when the target user is in a movement state (i.e., any one of the above-mentioned running state and walking state) within the preset time period, and the movement time period of the target user in the monitor is cleared after the preset time period is reached.
Meanwhile, the terminal device may also determine a moving distance of the target user, specifically, one possible case is: the terminal equipment can determine the movement distance of the target user directly according to the length of the movement track and the length proportion of the preset actual movement distance of the user to the movement track displayed by the terminal; another possible scenario is: as the terminal device knows the step distance of the target user and the total step number of the target user moving in at least one moving direction, the terminal device may further obtain the moving distance of the target user by multiplying the total step number by the step distance.
Further, after the movement distance and the movement duration of the target user are known by the terminal device, the average movement speed of the target user can be calculated. The terminal equipment can show the movement track of the target user on the terminal screen interface, can also show the movement duration of the target user determined by the monitor on the terminal screen interface, and can also show the average movement speed of the target user on the terminal screen interface.
In this embodiment, the movement track, the movement duration and the average movement speed are displayed to the target user on the screen interface of the terminal device, so that the target user can better know the movement condition of the target user, and the user experience is improved.
Fig. 2 is a movement track determining apparatus of a terminal device according to another embodiment of the present disclosure, and as shown in fig. 2, the apparatus according to the embodiment of the present disclosure may include:
a first determining module 201, configured to determine at least one motion direction of a target user according to data collected by a direction sensor;
the second determining module 202 is configured to determine the number of moving steps of the target user in each moving direction according to data acquired by the step counting sensor;
an obtaining module 203, configured to obtain a step interval matched with a target user;
and a third determining module 204, configured to determine a motion trajectory of the target user based on the at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval.
Optionally, the obtaining module 203 is specifically configured to perform any one of the following operations when obtaining the step interval matched with the target user:
determining a step interval corresponding to the attribute information through a preset step interval database according to the attribute information of the target user, wherein the step interval corresponding to the attribute information of the user is stored in the step interval database;
and determining the step interval of the target user according to the data acquired by the acceleration sensor.
Optionally, the attribute information includes at least one of:
height of the user, weight of the user, age of the user.
Optionally, the third determining module 204, when determining the motion trajectory of the target user based on at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval, is specifically configured to:
determining the movement distance of the target user in each movement direction based on the movement step number and step interval of the target user in each movement direction;
and determining the motion trail of the target user based on the at least one motion direction and the motion distance of the target user in each motion direction.
Optionally, the apparatus further comprises:
the fourth determining module is used for determining the state of the target user according to the data acquired by the step counting sensor;
the state of the target user comprises any one of a walking state, a running state and a stopping state of the target user;
and the display module is used for displaying the motion trail to the target user based on the state of the target user.
Optionally, the apparatus further comprises:
the fifth determining module is used for determining the duration of the target user in the walking state or the running state according to the state of the target user;
a sixth determining module, configured to determine a movement distance of the target user;
and the seventh determining module is used for determining the average movement speed of the target user according to the movement distance and the time length so as to show the average movement speed to the target user.
Optionally, the sixth determining module is specifically configured to perform any one of the following operations when determining the movement distance of the target user:
determining a movement distance of the target user based on the movement track;
and determining the movement distance of the target user based on the step distance of the target user and the total step number of the target user moving in at least one movement direction.
Referring now to fig. 3, an electronic device (e.g., a schematic block diagram of a terminal device 600 in fig. 3) suitable for implementing embodiments of the present disclosure is shown, the terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), etc., and a fixed terminal such as a digital TV, a desktop computer, etc. the electronic device shown in fig. 3 is only one example and should not bring any limitations to the function and scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 601 hereinafter, and the memory may include at least one of a Read Only Memory (ROM)602, a Random Access Memory (RAM)603 and a storage device 608 hereinafter, which are specifically shown as follows:
as shown in fig. 3, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: determining at least one movement direction of a target user according to data collected by a direction sensor; determining the number of moving steps of the target user in each moving direction according to the data acquired by the step counting sensor; acquiring a step interval matched with a target user; and determining the motion trail of the target user based on at least one motion direction, the motion step number of the target user in each motion direction and the step interval.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a module or unit does not in some cases form a limitation of the unit itself, for example, the first determination unit may also be described as a "unit for determining at least one direction of movement of the target user from data collected by the direction sensor".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a method for determining a motion trajectory of a terminal device, including:
determining at least one movement direction of a target user according to data collected by a direction sensor;
determining the number of moving steps of the target user in each moving direction according to the data acquired by the step counting sensor;
acquiring a step interval matched with a target user;
and determining the motion trail of the target user based on at least one motion direction, the motion step number of the target user in each motion direction and the step interval.
Optionally, the step distance matched with the target user is obtained, including any one of the following cases:
determining a step interval corresponding to the attribute information through a preset step interval database according to the attribute information of the target user, wherein the step interval corresponding to the attribute information of the user is stored in the step interval database;
and determining the step interval of the target user according to the data acquired by the acceleration sensor.
Optionally, the attribute information includes at least one of:
height of the user, weight of the user, age of the user.
Optionally, determining the motion trajectory of the target user based on at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval, includes:
determining the movement distance of the target user in each movement direction based on the movement step number and step interval of the target user in each movement direction;
and determining the motion trail of the target user based on the at least one motion direction and the motion distance of the target user in each motion direction.
Optionally, the method further comprises:
determining the state of a target user according to data acquired by the step counting sensor;
the state of the target user comprises any one of a walking state, a running state and a stopping state of the target user;
and displaying the motion trail to the target user based on the state of the target user.
Optionally, the method further comprises:
determining the duration of the target user in a walking state or a running state according to the state of the target user;
determining the movement distance of a target user;
and determining the average movement speed of the target user according to the movement distance and the time length so as to be used for showing the average movement speed to the target user.
Optionally, determining the movement distance of the target user includes any one of:
determining a movement distance of the target user based on the movement track;
and determining the movement distance of the target user based on the step distance of the target user and the total step number of the target user moving in at least one movement direction.
According to one or more embodiments of the present disclosure, there is also provided a motion trajectory determination apparatus of a terminal device, including:
the first determination module is used for determining at least one motion direction of a target user according to data collected by the direction sensor;
the second determination module is used for determining the movement step number of the target user in each movement direction according to the data acquired by the step counting sensor;
the acquisition module is used for acquiring the step interval matched with the target user;
and the third determination module is used for determining the motion trail of the target user based on at least one motion direction, the motion step number and the step interval of the target user in each motion direction.
Optionally, the obtaining module is specifically configured to perform any one of the following operations when obtaining the step interval matched with the target user:
determining a step interval corresponding to the attribute information through a preset step interval database according to the attribute information of the target user, wherein the step interval corresponding to the attribute information of the user is stored in the step interval database;
and determining the step interval of the target user according to the data acquired by the acceleration sensor.
Optionally, the attribute information includes at least one of:
height of the user, weight of the user, age of the user.
Optionally, the third determining module, when determining the motion trajectory of the target user based on at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval, is specifically configured to:
determining the movement distance of the target user in each movement direction based on the movement step number and step interval of the target user in each movement direction;
and determining the motion trail of the target user based on the at least one motion direction and the motion distance of the target user in each motion direction.
Optionally, the apparatus further comprises:
the fourth determining module is used for determining the state of the target user according to the data acquired by the step counting sensor;
the state of the target user comprises any one of a walking state, a running state and a stopping state of the target user;
and the display module is used for displaying the motion trail to the target user based on the state of the target user.
Optionally, the apparatus further comprises:
the fifth determining module is used for determining the duration of the target user in the walking state or the running state according to the state of the target user;
a sixth determining module, configured to determine a movement distance of the target user;
and the seventh determining module is used for determining the average movement speed of the target user according to the movement distance and the time length so as to show the average movement speed to the target user.
Optionally, the sixth determining module is specifically configured to perform any one of the following operations when determining the movement distance of the target user:
determining a movement distance of the target user based on the movement track;
and determining the movement distance of the target user based on the step distance of the target user and the total step number of the target user moving in at least one movement direction.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A motion trail determination method for terminal equipment is characterized by comprising the following steps:
determining at least one movement direction of a target user according to data collected by a direction sensor;
determining the number of moving steps of the target user in each moving direction according to data acquired by a step counting sensor;
acquiring a step interval matched with the target user;
and determining the motion trail of the target user based on the at least one motion direction, the motion step number of the target user in each motion direction and the step interval.
2. The method of claim 1, wherein obtaining the step distance matching the target user comprises any of:
determining a step interval corresponding to the attribute information through a preset step interval database according to the attribute information of the target user, wherein the step interval corresponding to the attribute information of the user is stored in the step interval database;
and determining the step interval of the target user according to the data acquired by the acceleration sensor.
3. The method of claim 2, wherein the attribute information comprises at least one of:
height of the user, weight of the user, age of the user.
4. The method of any one of claims 1 to 3, wherein the determining the motion trajectory of the target user based on the at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval comprises:
determining the movement distance of the target user in each movement direction based on the movement step number and the step interval of the target user in each movement direction;
and determining the motion trail of the target user based on the at least one motion direction and the motion distance of the target user in each motion direction.
5. The method according to any one of claims 1 to 4, further comprising:
determining the state of the target user according to the data acquired by the step counting sensor;
the target user is in any one of a walking state, a running state and a stopping state;
and displaying the motion trail to the target user based on the state of the target user.
6. The method of claim 5, further comprising:
determining the duration of the target user in a walking state or a running state according to the state of the target user;
determining a movement distance of the target user;
and determining the average movement speed of the target user according to the movement distance and the time length so as to be used for displaying the average movement speed to the target user.
7. The method of claim 6, wherein the determining the movement distance of the target user comprises any one of:
determining a movement distance of the target user based on the movement track;
and determining the movement distance of the target user based on the step distance of the target user and the total step number of the target user moving in at least one movement direction.
8. A motion trajectory determination device for a terminal device, comprising:
the first determination module is used for determining at least one motion direction of a target user according to data collected by the direction sensor;
the second determination module is used for determining the number of moving steps of the target user in each moving direction according to the data collected by the step counting sensor;
the acquisition module is used for acquiring the step interval matched with the target user;
and a third determining module, configured to determine a motion trajectory of the target user based on the at least one motion direction, the number of motion steps of the target user in each motion direction, and the step interval.
9. An electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has stored therein a computer program;
the processor, when executing the computer program, is configured to perform the method of any of claims 1-7.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN201910959740.0A 2019-10-10 2019-10-10 Motion track determination method and device of terminal equipment and electronic equipment Pending CN110715654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910959740.0A CN110715654A (en) 2019-10-10 2019-10-10 Motion track determination method and device of terminal equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910959740.0A CN110715654A (en) 2019-10-10 2019-10-10 Motion track determination method and device of terminal equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN110715654A true CN110715654A (en) 2020-01-21

Family

ID=69211365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910959740.0A Pending CN110715654A (en) 2019-10-10 2019-10-10 Motion track determination method and device of terminal equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN110715654A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112629554A (en) * 2020-12-10 2021-04-09 维沃移动通信有限公司 Motion trajectory acquisition method and device and electronic equipment
CN113537323A (en) * 2021-07-02 2021-10-22 香港理工大学深圳研究院 Indoor track error evaluation method based on LSTM neural network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102944240A (en) * 2012-11-02 2013-02-27 清华大学 Inertial navigation system based on smart phone and method thereof
CN104540220A (en) * 2014-12-30 2015-04-22 中国科学院深圳先进技术研究院 Intelligent terminal positioning method and system
CN105403228A (en) * 2015-12-18 2016-03-16 北京朗动科技有限公司 Determination method and device of movement distance
JP2016211972A (en) * 2015-05-08 2016-12-15 富士通株式会社 Movement information calculation method, movement information calculation device, and movement information calculation program
CN106441296A (en) * 2015-08-04 2017-02-22 中兴通讯股份有限公司 Motion track recording method and user equipment
CN110057380A (en) * 2019-04-30 2019-07-26 北京卡路里信息技术有限公司 Step-recording method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102944240A (en) * 2012-11-02 2013-02-27 清华大学 Inertial navigation system based on smart phone and method thereof
CN104540220A (en) * 2014-12-30 2015-04-22 中国科学院深圳先进技术研究院 Intelligent terminal positioning method and system
JP2016211972A (en) * 2015-05-08 2016-12-15 富士通株式会社 Movement information calculation method, movement information calculation device, and movement information calculation program
CN106441296A (en) * 2015-08-04 2017-02-22 中兴通讯股份有限公司 Motion track recording method and user equipment
CN105403228A (en) * 2015-12-18 2016-03-16 北京朗动科技有限公司 Determination method and device of movement distance
CN110057380A (en) * 2019-04-30 2019-07-26 北京卡路里信息技术有限公司 Step-recording method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
夏颖: "《面向移动终端用户的WLAN定位技术》", 31 July 2018 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112629554A (en) * 2020-12-10 2021-04-09 维沃移动通信有限公司 Motion trajectory acquisition method and device and electronic equipment
CN113537323A (en) * 2021-07-02 2021-10-22 香港理工大学深圳研究院 Indoor track error evaluation method based on LSTM neural network
CN113537323B (en) * 2021-07-02 2023-11-07 香港理工大学深圳研究院 An indoor trajectory error assessment method based on LSTM neural network

Similar Documents

Publication Publication Date Title
CN110704751B (en) Data processing method and device, electronic equipment and storage medium
CN114422267B (en) Flow detection method, device, equipment and medium
CN112650790B (en) Target point cloud plane determining method and device, electronic equipment and storage medium
CN110362750B (en) Target user determination method, device, electronic equipment and computer readable medium
CN114827750B (en) Viewing angle prediction method, device, equipment and storage medium
CN110619027B (en) House source information recommendation method and device, terminal equipment and medium
CN110715654A (en) Motion track determination method and device of terminal equipment and electronic equipment
CN110555861B (en) Optical flow calculation method and device and electronic equipment
CN111445499B (en) Method and device for identifying target information
CN110457106B (en) Information display method, device, equipment and storage medium
CN111311358B (en) Information processing method and device and electronic equipment
CN110378936B (en) Optical flow calculation method and device and electronic equipment
CN113176937B (en) Task processing method and device and electronic equipment
CN113034580B (en) Image information detection method and device and electronic equipment
CN112906551B (en) Video processing method, device, storage medium and electronic device
CN112418233B (en) Image processing method and device, readable medium and electronic equipment
CN111628913B (en) Online time length determining method and device, readable medium and electronic equipment
CN111694875B (en) Method and device for outputting information
CN112685271A (en) Pressure measurement data processing method and device, electronic equipment and readable storage medium
CN112486318B (en) Image display method and device, readable medium and electronic equipment
CN110033088B (en) Method and device for estimating GPS data
CN112328341B (en) Model display method, device, electronic equipment and storage medium
CN115002557B (en) Network speed prediction method, device, equipment and storage medium
CN113761086A (en) Method and device for displaying track of automatic guided transport vehicle
CN115862183B (en) Sensor characteristic engineering information construction method, device, equipment and computer medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200121

RJ01 Rejection of invention patent application after publication