WO2017012526A1 - 记步方法、设备及终端 - Google Patents

记步方法、设备及终端 Download PDF

Info

Publication number
WO2017012526A1
WO2017012526A1 PCT/CN2016/090323 CN2016090323W WO2017012526A1 WO 2017012526 A1 WO2017012526 A1 WO 2017012526A1 CN 2016090323 W CN2016090323 W CN 2016090323W WO 2017012526 A1 WO2017012526 A1 WO 2017012526A1
Authority
WO
WIPO (PCT)
Prior art keywords
devices
data
cooperative
user
terminal
Prior art date
Application number
PCT/CN2016/090323
Other languages
English (en)
French (fr)
Inventor
***
张亚军
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US15/745,911 priority Critical patent/US10620012B2/en
Priority to EP16827217.7A priority patent/EP3315914B1/en
Publication of WO2017012526A1 publication Critical patent/WO2017012526A1/zh

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
    • G01C22/006Pedometers
    • 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

Definitions

  • the present invention relates to the field of terminals and, more particularly, to a method, device and terminal.
  • the existing smart bracelets, smart watches and other wearable products generally have a step-by-step function, using the product integrated motion sensor to sense the human motion to achieve step-by-step, and can further estimate the walking distance, calories burned and other parameters according to the number of steps.
  • the wristband (watch) motion sensor also has a dynamic output signal, which is easy to generate step error and affect the performance of the step.
  • the embodiment of the invention provides a step counting method, a device and a terminal, which can avoid the step error generated by a single device step by step, thereby improving the step accuracy.
  • the first aspect provides a step-by-step method, including: acquiring, by the first device, ping data of at least two devices carried by the same user, where the first device is one of the at least two devices, or A device is different from the at least two devices; the first device determines the number of steps of the user according to the step data of the at least two devices.
  • the first device determines, according to the step data of the at least two devices, the number of steps of the user, where the first device is configured according to the at least two devices.
  • the same or similar walking characteristics in the athletic data determine the number of steps for the user.
  • the first device determines, according to the same or similar walking characteristics in the motion data of the at least two devices
  • the number of steps of the user is specifically implemented as follows: the first device determines the number of steps of the user according to the impact vibration signal data in the motion data of the at least two devices; wherein, when the user walks, the at least two devices
  • the motion data may have corresponding shock vibration signal data during the time period in which the same step is generated, and the corresponding impact vibration signal data in the motion data of the at least two devices is the same or similar.
  • the first device determines the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices. Specifically, the first device determines, according to the slowly changing signal data in the motion data of the at least two devices, the number of steps of the user; wherein, when the user walks, the motion data of the at least two devices are in the same
  • the time period of the second step may have corresponding graded signal data, and the corresponding graded signal data in the motion data of the at least two devices is the same or similar.
  • the first device determines the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices, Specifically, the first device converts the motion data of the at least two devices from the time domain data to the frequency domain data; the first device determines the number of steps of the user according to the characteristics of the converted frequency domain data; When the user walks, the at least two devices have the same or similar characteristics in the frequency domain data after the motion data conversion of the time period in which the same step is generated.
  • the first device determines, according to the step data of the at least two devices, the number of steps of the user, where the specific step is: if the step data of the at least two devices If the step data of at least one device satisfies a zero step condition, the first device determines that the number of steps of the user is zero.
  • the first device determines, according to the step data of the at least two devices, the number of steps of the user, where the first device determines the at least two devices. a correlation coefficient between the motion data; if the correlation coefficient of the motion data of any two of the motion data of the at least two devices is less than a cross-correlation threshold, the first device determines that the number of steps of the user is zero.
  • the first device acquires the step data of the at least two devices carried by the same user, where the first device receives the Step data sent directly by at least two devices.
  • the first device Obtaining the step data of the at least two devices carried by the same user, where the first device receives the step data sent by the at least two devices according to the step data acquisition request of the first device.
  • the method further The first device acquires location information of multiple devices carried by the same user; the first device acquires records from at least two devices belonging to different branches or locations of the user according to location information of the multiple devices. Step data.
  • a method for managing a pacing device including: a first device sending a cooperative ping request in a network accessed by the first device, wherein the cooperative ping request is used to request the same in the network
  • the stepping device of the user participates in the cooperative step of the user, and the user of the step device is also the user of the first device;
  • the first device receives at least one step device of the step device to perform the cooperative step The response of the request;
  • the first device determines the step device participating in the cooperative step based on the response of the at least one step device to the collaborative step request.
  • the stepping device carries the location information of the stepping device in response to the cooperative step request, and the first device is the step of participating in the cooperative step counting And determining, by the first device, the stepping device that participates in the cooperative step according to the response of the at least one stepping device to the cooperative step request, where the first device is configured to: according to the location information of the at least one step device Selecting N step devices as the stepping device participating in the cooperative step, wherein N is an integer greater than or equal to 1, the position of the N step devices is different from the position of the first device, and when N is greater than At 1 o'clock, the N step devices belong to different branches or locations of the user.
  • the stepping device carries the location information of the step device in response to the cooperative step request, and the first device is not the step of participating in the cooperative step
  • the device determines, according to the response of the at least one step device to the coordinated step request, the step device that participates in the cooperative step, the specific device is: the at least one step device is a plurality of step devices,
  • the first device selects, according to the location information of the at least one step device, N step devices as the step device participating in the cooperative step, wherein N is an integer greater than 1, and the N step devices belong to the Different branches or locations of the user.
  • the response of the step counting device to the cooperative step request carries a performance parameter of the step device
  • the first device is configured according to the at least one step device Determining, in response to the cooperative step request, the step counting device participating in the cooperative step, the specific device is: the first device selects N step devices as the participation coordination record according to the performance parameter of the at least one step device
  • the step counting device wherein the stepping device carries the performance parameter of the step device in response to the cooperative step request, N is an integer greater than or equal to 1, and the N step devices are the at least one step N step devices with better performance parameters in the device.
  • the method further includes: the first device, according to the performance parameter of the at least one step device, from the at least one step device Selecting M step devices as the candidate cooperative step device, wherein the M step devices are M step devices other than the N step devices in the at least one step device and having better performance parameters,
  • the candidate cooperative step device is a step device having the capability of cooperative step but not participating in the cooperative step, and M is an integer greater than or equal to 1.
  • the method further includes: when the performance parameter of the second device in the candidate cooperative ping device is better than the participating cooperative step When the performance parameter of the third device in the step device is, the first device replaces the third device with the second device to participate in the cooperative step.
  • the method further includes: the first device according to the at least one Depending on the power and/or computing power of the step-in device, the step-by-step device participating in the cooperative step is selected as a computing device with the highest power and/or the most powerful computing device, wherein the computing device is the participating cooperative A device for calculating a step result based on a plurality of step data in the step counting device of the step.
  • the method further includes: the first device selecting a power quantity according to the power and/or computing capability of the at least one step device A large and/or computationally intensive step device is used as a candidate computing device, wherein the candidate computing device is a device capable of replacing the computing device and calculating a step result based on the plurality of step data.
  • the method further includes: if the performance parameter of the fourth device in the candidate computing device is better than the computing device, A device replaces the computing device with the fourth device.
  • a step counting device in a third aspect, includes: an obtaining unit, configured to acquire step data of at least two devices carried by the same user, where the step counting device is the at least two devices Or, the step counting device is different from the at least two devices; and the determining unit is configured to determine the number of steps of the user according to the step data of the at least two devices.
  • the determining unit is specifically configured to determine the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices.
  • the determining unit is specifically configured to: determine, according to the impact vibration signal data in the motion data of the at least two devices, the number of steps of the user; wherein, when the user walks, the motion data of the at least two devices is The corresponding shock vibration signal data may exist in the time period in which the same step is generated, and the corresponding impact vibration signal data in the motion data of the at least two devices is the same or similar.
  • determining the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices is specifically configured to: determine, according to the gradual change signal data in the motion data of the at least two devices, the number of steps of the user; wherein, when the user walks, the at least two The motion data of the devices may have corresponding graded signal data during the time period in which the same step is generated, and the corresponding graded signal data in the motion data of the at least two devices are the same or similar.
  • determining the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices is specifically configured to: convert the motion data of the at least two devices from the time domain data to the frequency domain data, and determine the number of steps of the user according to the characteristics of the converted frequency domain data; When the user walks, the frequency domain data of the at least two devices after the motion data conversion of the time period in which the same step is generated has the same or similar features.
  • the determining unit is specifically configured to: if the step data of the at least one device of the at least two devices meets the zero step condition, determine the user The number of steps is zero.
  • the determining unit is specifically configured to: determine a correlation coefficient between the motion data of the at least two devices; if any two of the motion data of the at least two devices If the correlation coefficient of the motion data of the device is less than the cross-correlation threshold, it is determined that the number of steps of the user is zero.
  • the acquiring unit Specifically, the method is: receiving step data directly sent by the at least two devices.
  • the acquiring unit Specifically, the method is: receiving the step data sent by the at least two devices according to the step data acquisition request of the step device.
  • the acquiring unit The method is further configured to: obtain location information of a plurality of devices carried by the same user; the stepping device further includes: a selecting unit, configured to: according to the location information of the multiple devices acquired by the acquiring unit, different from the user The step data is obtained in at least two devices of the branch location or location.
  • a management device in a fourth aspect, includes: a sending unit, configured to send a cooperative step request in a network accessed by the management device, where the cooperative step request is used to request the same in the network
  • the stepping device of the user participates in the cooperative step of the user in the management device, and the user of the step device is also the user of the management device
  • the receiving unit is configured to receive at least one step device pair in the step device The response of the collaborative step request
  • the management unit configured to determine, according to the response of the at least one step device to the collaborative step request, the step device participating in the cooperative step.
  • the stepping device carries the location information of the step device in response to the cooperative step request
  • the management device is the step device participating in the cooperative step
  • the management unit is specifically configured to: according to the location information of the at least one step device, select N step devices as the step device participating in the cooperative step, where N is an integer greater than or equal to 1, the N records
  • the location of the step device is different from the location of the management device, and when N is greater than 1, the N step devices belong to different branches or locations of the user.
  • the stepping device carries the location information of the stepping device in response to the cooperative step request, and the management device is not the stepping device participating in the cooperative step counting
  • the management unit is specifically configured to: the at least one step counting device is a plurality of step counting devices, and according to the location information of the at least one step counting device, select N step counting devices as the step counting device participating in the cooperative step, wherein , N is an integer greater than 1, and the N step devices belong to different branches or locations of the user.
  • the response of the stepping device to the cooperative step request carries a performance parameter of the step device
  • the management unit is specifically configured to: according to the at least a performance parameter of a step counting device, wherein N step counting devices are selected as the step counting device participating in the cooperative step, wherein the stepping device carries the performance parameter of the step device in response to the coordinated step request, N
  • the N step devices are N step devices having better performance parameters in the at least one step device.
  • the management unit is further configured to: according to the performance parameter of the at least one step device, from the at least one record Selecting M step devices in the step device as the candidate cooperative step device, wherein the M step devices are other than the N step devices in the at least one step device, and the M parameters are superior in performance parameters.
  • the device, the candidate cooperative step device is a step device having the capability of cooperative stepping but not participating in the cooperative step, and M is an integer greater than or equal to 1.
  • the management unit is further configured to: when a performance parameter of the second device in the candidate cooperative ping device is better than the participation When the performance parameter of the third device in the step counting device is replaced, the third device replaces the third device to participate in the cooperative step.
  • the management unit is further configured to: select, according to the power and/or computing capability of the at least one step device, the one with the largest power and/or the strongest computing power among the step counting devices participating in the coordinated step counting
  • the step device is a computing device, wherein the computing device is a device for calculating a step result based on the plurality of step data in the step device participating in the cooperative step.
  • the management unit is further configured to: select a larger power and/or according to power and/or computing capability of the at least one step device Or a computing device with a strong computing capability as a candidate computing device, wherein the candidate computing device is a device capable of replacing the computing device for calculating a step result according to the plurality of step data.
  • the management unit is further configured to: if a performance parameter of the fourth device in the candidate computing device is better than the computing device, The computing device is replaced with the fourth device.
  • a mobile terminal includes a memory, a channel interface, and a processor, where the memory is used to store a program of the mobile terminal; the processor is configured to execute a program stored in the memory, and specifically For performing the following operations: acquiring, by the channel interface, the step data of the at least two step terminals carried by the same user, where the mobile terminal is one of the at least two step terminals, or the mobile terminal is different from the at least Two step terminals; determining the number of steps of the user according to the step data of the at least two terminals.
  • the processor in determining a step of determining the number of steps of the user according to the step data of the at least two step terminals, is specifically configured to: according to the The same or similar walking characteristics in the motion data of at least two of the step terminals determine the number of steps of the user.
  • determining the user's step is based on the same or similar walking characteristics in the motion data of the at least two step terminals
  • the processor is specifically configured to: determine, according to the impact vibration signal data in the motion data of the at least two step terminals, the number of steps of the user; wherein, when the user walks, the at least two records
  • the motion data of the step terminal may have corresponding shock vibration signal data during the time period in which the same step is generated, and the corresponding impact vibration signal data in the motion data of the at least two step terminals is the same or similar.
  • the processor is specifically configured to: determine, according to the slowly changing signal data in the motion data of the at least two step terminals, the number of steps of the user; wherein, when the user walks, the at least two step terminals
  • the motion data may have corresponding graded signal data during the time period in which the same step is generated, and the corresponding graded signal data in the motion data of the at least two step terminals is the same or similar.
  • the processor is specifically configured to: convert the motion data of the at least two step terminals from the time domain data to the frequency domain data, and determine the number of steps of the user according to the characteristics of the converted frequency domain data; When the user walks, the at least two step terminals have the same or similar characteristics in the frequency domain data after the motion data conversion of the time period in which the same step is generated.
  • the processor in determining a step of determining the number of steps of the user according to the step data of the at least two step terminals, is specifically configured to: if The step data of at least one of the step data of the at least two stepping terminals satisfies the zero step Condition, then the number of steps of the user is determined to be zero.
  • the processor in a process for determining a step of the user according to the step data of the at least two step terminals, is specifically configured to: determine the a correlation coefficient between the motion data of the at least two step terminals; if the correlation coefficient of the motion data of any two of the step terminals of the motion data of the at least two step terminals is less than a cross correlation threshold, determining the step of the user The number is zero.
  • the processor In the process of acquiring the step data of the at least two step terminals carried by the same user, the processor is specifically configured to: receive the step data directly sent by the at least two step terminals through the channel interface.
  • the processor is specifically configured to: receive, by using the channel interface, the at least two step terminals according to the step data acquisition request of the mobile terminal The step data sent.
  • the processor The method is further configured to: obtain location information of multiple step terminals carried by the same user; and obtain step data from at least two devices belonging to different branches or locations of the user.
  • a mobile terminal comprising a memory, a channel interface, and a processor, wherein the memory is configured to store a program of the mobile terminal; the processor is configured to execute a program stored in the memory, and specifically And configured to: send a cooperative step request in a network accessed by the mobile terminal by using a channel interface, where the cooperative step request is used to request a stepping terminal of the same user in the network to participate in the collaborative recording of the user And the user of the step terminal is also the user of the mobile terminal; receiving, by the channel interface, the response of the at least one of the plurality of step devices to the cooperative step request; according to the at least one step device pair The synergy step The response is determined to determine the step device participating in the collaborative step.
  • the response of the stepping terminal to the cooperative step request carries the location information of the stepping terminal, where the mobile terminal is the stepping terminal participating in the cooperative step counting
  • the processor is specifically configured to: according to the location information of the at least one step terminal, in the process of determining the stepping terminal participating in the cooperative step according to the response of the at least one step terminal to the coordinated step request Selecting N step terminals as the step counters participating in the cooperative step, wherein N is an integer greater than or equal to 1, the location of the N step terminals is different from the location of the mobile terminal, and when N is greater than 1
  • the N step terminals belong to different branches or locations of the user.
  • the stepping terminal carries the location information of the stepping terminal in response to the cooperative step request, and the mobile terminal is not the stepping terminal participating in the cooperative step counting
  • the processor is specifically configured to: the at least one stepping device is a plurality of records Step device, according to location information of the at least one step terminal, selecting N step terminals as the step counter participating in the cooperative step, wherein N is an integer greater than 1, and the N step terminals belong to the user Different branches or locations.
  • the response of the stepping terminal to the cooperative step request carries a performance parameter of the step terminal, and is used according to the at least one step terminal
  • the processor is specifically configured to: select, according to the performance parameter of the at least one stepping terminal, N step terminals as the participation a step counter of the cooperative step, wherein the response of the step terminal to the cooperative step request carries a performance parameter of the step terminal, where N is an integer greater than or equal to 1, and the N step terminals are the at least one N step counters with better performance parameters in the step counter.
  • the processor is further configured to: according to the performance parameter of the at least one step terminal, from the at least one step terminal Selecting M step terminals as candidate cooperative step terminals, wherein the M step terminals are other than the N step terminals in the at least one step terminal, and the M performance parameters are better In the step counter, the candidate cooperative step terminal is a step terminal having the capability of cooperative step but not participating in the cooperative step, and M is an integer greater than or equal to 1.
  • the processor is further configured to: when a performance parameter of the second step terminal in the candidate cooperative step terminal is better than When the performance parameter of the third step terminal in the step-by-step terminal participating in the step-by-step operation is replaced by the second step terminal, the third step terminal participates in the cooperative step.
  • the processor is further configured to: select, according to the power and/or the computing power of the at least one stepping terminal, the highest power and/or the most powerful computing power in the stepping terminal participating in the coordinated step counting
  • a step terminal is used as a computing terminal, wherein the computing terminal is a stepping terminal for calculating a step result based on the plurality of step data in the step terminal participating in the cooperative step.
  • the processor is further configured to: select a larger power according to power and/or computing capability of the at least one step terminal And a step counting terminal with strong computing power as a candidate computing terminal, wherein the candidate computing terminal is a stepping terminal capable of calculating a step result according to the plurality of step data instead of the computing terminal.
  • the processor is further configured to: if a performance parameter of the fourth terminal in the candidate computing terminal is better than the computing terminal, Then replacing the computing terminal with the fourth terminal.
  • the first device determines the number of steps of the user according to the step data of at least two devices in the stepping device participating in the cooperative step, thereby avoiding the step error generated by the single device step and improving the step accuracy. degree.
  • FIG. 1 is a flow chart of a step-by-step method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a time-amplitude curve of motion data in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a cross-correlation function curve of an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing motion data curves of a smart wristband and a mobile phone in a walking state according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram showing the motion data recorded by the wristband of the arm swing arm according to the embodiment of the present invention.
  • FIG. 6 is a schematic diagram of time-frequency conversion of motion data according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of interaction of two devices cooperatively stepping in the embodiment of the present invention.
  • FIG. 8 is a flow chart of another step-by-step method according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a step counting device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another step counting device according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of a step-by-step method according to an embodiment of the present invention.
  • the method of Figure 1 is performed by a gait device.
  • the step device can be a smart bracelet, a mobile phone or other mobile terminal.
  • the method includes:
  • the first device acquires step data of at least two devices carried by the same user.
  • the first device is one of the at least two devices, or the first device is different from the at least two devices.
  • the first device can acquire the step data of at least two devices including itself. For example, when the first device itself has the step function, the first device acquires the step data of the device and acquires the step data of the at least one device.
  • the first device may acquire step data of at least two devices other than itself. For example, when the first device itself does not have the step function or has the step function itself but does not participate in the step, the first device needs to obtain the step data from the other device. At this time, the first device needs to acquire at least two of the other devices.
  • the step data of the device in this case, the first device and other devices can be carried by different users or carried by the same user.
  • the step data of the at least two devices acquired by the first device is derived from the step device worn or carried by the same user.
  • the obtained step data is derived from the stepping device on different users, it is not included in the scope of the embodiment of the present invention, and details are not described herein again.
  • the step data includes motion data, step number result data with zero steps obtained from the motion data, and data with zero steps.
  • the motion data includes a motion signal generated by the stepping device when the user moves and a time stamp corresponding to the motion signal.
  • the first device may determine the number of steps of the user by comparing, analyzing, and calculating according to the motion data of the at least two devices. It can be understood that, in the cooperative step of the same user, the first device is used to calculate the step data of the user, which has the computing capability, and may be referred to as a computing device in the collaborative step; other devices participating in the cooperative step have at least a separate The ability to step can be called an auxiliary device in the collaborative step.
  • Step number data obtained by the step device based on a set of motion data includes a step result of zero and no zero, when the step device is based on the motion data
  • the motion data satisfies the zero step condition.
  • step data is data with zero steps and the motion data satisfies the zero step condition, it can be called that the step data satisfies the zero step condition.
  • the step counting device can determine whether the motion data satisfies the zero step condition by using various methods, for example, a pattern recognition algorithm, a threshold method, etc., and the specific implementation can refer to the prior art, and the present invention only uses the threshold method. For example, an example is given.
  • the pacing device can determine whether the user carrying the chronograph device is in a stationary state by comparing the relationship between the amplitude value of the motion signal and the stationary threshold, or whether the number of steps of the user is zero. If the motion signal amplitude value is continuously less than the stationary threshold, it is considered that the user is in a stationary state during the period of time, and the result of the step obtained from the motion data is zero, and the motion data satisfies the zero step condition. Otherwise, if the motion signal appears to fluctuate greatly beyond the threshold, it is considered that the user may be walking during the period of time, and the step result is not necessarily zero.
  • the step data collected by the mobile phone and the smart bracelet is a time-stamped motion signal.
  • the motion data collected by the mobile phone and the smart bracelet is shown in Figure 2.
  • 2 is a schematic diagram of a time-amplitude curve of motion data in an embodiment of the present invention.
  • the motion data a is the motion data collected by the smart bracelet;
  • the motion data b is the motion data collected by the mobile phone,
  • v represents the amplitude value of the motion signal in the motion data
  • t represents the time stamp of the motion signal in the motion data,
  • represents the motion data.
  • the resting threshold is the motion data collected by the smart bracelet.
  • the amplitude value of the motion signal in the motion data is between ⁇ , it can be judged according to the threshold method that the motion data satisfies the zero step condition, that is, the number of steps of the user is zero.
  • the threshold method that the motion data satisfies the zero step condition, that is, the number of steps of the user is zero.
  • the amplitude value fluctuation range of the motion data b is always within the static threshold ⁇ , so that the user can be judged to be in a stationary state according to the relative relationship between the motion data b and the stationary threshold ⁇ , that is, the motion data b satisfies the zero step condition.
  • the mobile phone motion data it can be determined that the user carrying the mobile phone is in a stationary state, or the number of steps is zero.
  • the method for the first device to acquire the step data of the at least two devices carried by the same user includes: the first device receives the step data directly sent by the at least two devices, or the first device receives the at least two devices.
  • the step data transmitted by the request is acquired according to the step data of the first device.
  • the first device determines the number of steps of the user according to the step data of the at least two devices.
  • the first device calculates the step number and needs at least two step data of the device. Determining the number of steps of the user according to the step data of at least two devices, and therefore, also referred to as at least two devices Synergies.
  • the step device participating in the coordinated step is carried or worn by the same user.
  • the step data acquired by the first device may include step data of all devices participating in the cooperative step, or step data of several of the devices.
  • determining the number of steps of the user it includes determining that the number of steps of the user is zero, and the number of steps is not zero, that is, determining the specific number of steps.
  • determining that the number of user steps is zero may include:
  • the first device determines that the number of steps of the user is zero.
  • the first device judges that the stepping device participating in the cooperative step has the step data of one device being zero step data or the motion data satisfying the zero step condition, it is determined that the user's step is zero.
  • the smart bracelet judges that the user may be walking according to the relative relationship between the motion data a and the stationary threshold ⁇ , and the step result is not necessarily zero. . That is to say, the motion data a does not satisfy the zero step condition.
  • the motion data b in FIG. 2 indicates that the motion data collected by the mobile phone satisfies the zero-step condition. Therefore, when the smart bracelet and the mobile phone cooperate to step, the motion data a of the smart bracelet and the motion data b of the mobile phone are determined. The user's step count is zero.
  • determining that the number of user steps is zero may also include:
  • the first device Determining, by the first device, a correlation coefficient between the motion data of the at least two devices; if the cross-correlation coefficient of the motion data of any two of the motion data of the at least two devices is less than a cross-correlation threshold, the first device Make sure the number of steps for this user is zero.
  • the motion data records the amplitude values of the motion signals over a period of time, that is, each set of motion data is used to represent a motion signal over a period of time.
  • the cross-correlation function can be used to detect the number of cross-correlation between the two sets of motion data, thereby determining whether there is a synchronously-adjusted motion signal between the motion signals represented by the motion data, and the greater the number of correlations, the two sets of motion data There are more phase-shifted motion signal components; the mutual correlation number is zero, indicating that the motion signals in the two sets of motion data are completely independent, and there is no synchronous tone signal.
  • FIG. 3 is a schematic diagram of a cross-correlation function curve of an embodiment of the present invention.
  • the functions x(t) and y(t) shown in the left graph respectively represent two sets of motion data
  • the function R xy ( ⁇ ) shown in the right graph represents two sets of motion data x(t) and y.
  • the cross-correlation function of (t), ⁇ represents the amount of time offset between the motion signals of the two sets of motion data.
  • the motion signals in the two sets of motion data can be time synchronized.
  • the method of time synchronization of motion signals of multiple sets of motion data can be obtained by synchronizing pairs of motion data.
  • a form of cross-correlation function is as follows:
  • R xy ( ⁇ ) represents a function of the number of correlations between the two sets of motion data with a time difference of ⁇ .
  • ⁇ x represents the mean of the motion data x(t)
  • ⁇ y represents the mean of the motion data y(t+ ⁇ )
  • ⁇ x represents the standard deviation of the motion data x(t)
  • ⁇ y represents the motion data y(t+ The standard deviation of ⁇ ).
  • the cross-correlation coefficient ⁇ xy ( ⁇ ) has the following physical meanings:
  • the first device may determine that the number of steps of the user is zero.
  • the cross-correlation threshold is a value whose absolute value is greater than 0 and less than 1, and the value is usually calculated according to an empirical formula. Taking FIG. 2 as an example, if the factor that the motion data b satisfies the zero step condition is not considered, according to the curve graph of the motion data a and the motion data b, it can be seen that the similarity between the two is extremely low, and can be calculated according to the formula. The number of correlations between the motion data a and the motion data b is approximately zero. Therefore, it can be easily judged that the correlation coefficient between the motion data a and the motion data b is obviously smaller than the cross-correlation threshold, and at this time, the number of steps of the user carrying the smart bracelet and the mobile phone can be determined to be zero.
  • the first device may determine the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices.
  • the user's step can be determined according to the same or similar walking characteristics appearing in the motion data of the two devices. number.
  • the walking characteristic signal it is first determined whether there is a phase-shifted motion signal component (ie, the same or similar walking characteristics) in the motion data of the two devices by the correlation coefficient of the motion data of the two devices. If the correlation coefficient ⁇ xy ( ⁇ ) of the motion data of the two devices is less than the cross-correlation threshold, it can be considered that there are no phase-tuned motion signal components or less phase-shifted motion signal components of the two devices, and the first device It can be directly determined that the number of steps of the user is zero; if the mutual correlation number ⁇ xy ( ⁇ ) of the motion data of the two devices is greater than the cross-correlation threshold, the first device can be the same or similar according to the motion data of the two devices.
  • the walking feature determines the number of steps for the user.
  • the motion data of the two devices may be correlated or not.
  • the first device determines the number of steps of the user according to the shock vibration signal data in the motion data of the at least two devices; wherein, when the user walks, the motion data of at least two devices are generated
  • the corresponding shock vibration signal data may exist in the time period of the same step, and the corresponding shock vibration signal data in the motion data of at least two devices are the same or similar.
  • the user wears a smart bracelet on his hand and a mobile phone in his trouser pocket.
  • the shock signal is included in the sensing signal, and the shock and vibration cadence of the two signals of the smart bracelet and the mobile phone are the same.
  • the sensing signal without other limb movements will clearly display the shock vibration signal; while the sensing signals of other limb movements will fluctuate in the time domain signal when shock vibration occurs; if the two signals are time synchronized, pass the detection
  • the matching of the fluctuations in the time domain signal can extract the pedestrian impact vibration signal.
  • the shock and vibration signals caused by walking will be transmitted to the smart bracelet and the mobile phone simultaneously. Even if the arm is doing other actions, the impact time characteristics of the mobile phone and the smart bracelet can be matched to correctly record the walking steps.
  • FIG. 4 is a schematic diagram showing motion data curves of a smart wristband and a mobile phone in a walking state according to an embodiment of the present invention.
  • the motion data c is a motion signal collected by the smart bracelet
  • the motion data d is a motion signal collected by the mobile phone.
  • v represents the amplitude value of the motion signal in the motion data
  • t represents the time stamp of the motion signal in the motion data.
  • the cross-correlation threshold is
  • the ellipse on the smart bracelet and the output signal curve of the mobile phone indicates the shock and vibration signals that may be caused by the user walking.
  • the device automatically records the local time series of each shock vibration signal.
  • the time series of the shock vibration time series of the two sets of motion data is matched, and the matching time point can be recorded as one step.
  • the time points (t 1 1 , t 2 1 , t 3 1 , t 4 1 ) of the motion data c and the time points of the motion data d (t 1 2 , t 2 2 , respectively) can be determined.
  • t 3 2 , t 4 2 ) match, and the step result of the motion data shown in FIG. 4 is 4 steps.
  • the method for determining the number of steps of the user may be, for example, the first device determining the number of steps of the user according to the gradual change signal data in the motion data of the at least two devices; wherein, when the user walks, the motion data of the at least two devices Corresponding slowly varying signal data may exist during the time period in which the same step is generated, and the corresponding slowly varying signal data in the motion data of at least two devices are the same or similar.
  • the user wearing the gait device has a plurality of components, such as a slowly varying signal component, during the walking process.
  • the slowly varying signal component refers to the low frequency signal component remaining after the high frequency signal component is filtered by the filter. Most of this part of the signal is caused by a rhythmic swinging action that occurs when the user walks the walking device to wear a limb, such as the swing of the arm.
  • FIG. 5 is a schematic diagram showing the motion data recorded by the wristband of the arm swing arm according to the embodiment of the present invention. Similar to Fig. 2, v represents the amplitude value of the motion signal in the motion data, and t represents the time stamp of the motion signal in the motion data. As shown in Figure 5, the arm swing arm will produce a sinusoidal-like slowly varying signal data.
  • the slowly varying signal component caused by the swing of the limb is usually kept in sync with the user's walking rhythm, and is therefore often used as the main basis for the step.
  • the motion data recorded by the smart bracelet and the mobile phone will have corresponding slow-changing signals during the same time period. Analyzing the slowly varying signals in the motion data of the smart bracelet and the mobile phone, if a slowly varying signal with matching waveform characteristics is generated within the same (or similar) time period, a step is generated.
  • the method for determining the number of user steps may be, for example, the first device converting the motion data of the at least two devices from the time domain data to the frequency domain data; the first device determining the number of steps of the user according to the characteristics of the converted frequency domain data.
  • the frequency domain data converted by the motion data of the at least two devices during the time period in which the same step is generated has the same or similar features.
  • FIG. 6 is a schematic diagram of time-frequency conversion of motion data according to an embodiment of the present invention.
  • the motion data c and the motion data d can be time-frequency converted to obtain the motion data e and the motion data f shown in the lower half of FIG. 6, wherein the motion data e is the frequency domain corresponding to the motion data c.
  • the signal data, the motion data f is frequency domain signal data corresponding to the motion data d.
  • Feature frequency points can be extracted from the motion data e and the motion data f.
  • the two sets of motion data have the same or similar feature frequency points, and the number of walking steps in the user unit time can be calculated according to the frequency value of the same characteristic frequency point.
  • the total number of walking steps can be dynamically calculated and accumulated over time.
  • the motion data e and the motion data f have the same characteristic frequency point at f b , and the number of calculation steps is cumulatively increased by one.
  • the two sets of motion data do not have the same or similar feature frequency points, and the number of calculation steps is not increased at this time.
  • the method of the embodiment of the present invention can also be extended to a scenario of calculating the number of user steps according to multiple sets of motion data. If the same or similar walking characteristics exist for each set of motion data during the same (or similar) time period, then it can be determined that the step is generated.
  • the method for determining the same or similar walking features can be referred to the method for determining the two sets of motion data, which is not described herein again.
  • step S101 may further include:
  • the first device acquires location information of multiple devices carried by the same user; the first device acquires the step data from at least two devices belonging to different branches or locations of the user according to the location information of the multiple devices.
  • the first device may perform a tradeoff between the step data from each device according to the location information of the multiple devices carried by the same user.
  • the first device may obtain the location information to which the device belongs according to the step data of each device; or the first device may directly receive the location information sent by each device.
  • Each device can obtain the location information to which the device belongs according to the step data obtained by itself; or each device can obtain the location information of the device according to the data collected by the gyroscope or the sensor, etc., etc. .
  • a method for obtaining, by the first device, location information of the device according to the step data of the device, or each device The method for obtaining the location information of the device is obtained according to the data collected by the gyroscope or the sensor.
  • the specific implementation of the device can be referred to the prior art, and details are not described herein again.
  • the first device may select one of the participating operations. That is, the first device can acquire the pacing data from at least two devices belonging to different branch locations or locations of the user.
  • the first device receives step data of four devices, namely, step data 1 (left arm), step data 2 (right arm), step data 3 (torso), and step data 4 (left arm) ). Then, at this time, the first device can select one of the participation operations from the step data 1 and the step data 4. The first device may select the step data 1, 2, 3 to participate in the operation, or select the step data 1, 2, 4 to participate in the operation, and the like.
  • step data belonging to the same branch location or location it is permissible to select multiple step data belonging to the same branch location or location to participate in the collaborative operation. It is even possible to select all the step data to participate in the cooperative operation, but only increase the unnecessary calculation amount.
  • the first device determines the number of steps of the user according to the step data of the at least two devices of the same user, and can avoid the step error generated by the single device step, thereby improving the step accuracy.
  • FIG. 7 is a flow chart of interaction of two devices cooperatively stepping in the embodiment of the present invention.
  • the two devices use a smart bracelet and a mobile phone as examples.
  • FIG. 7 only shows an interactive flowchart of a smart bracelet and a mobile phone, in actual applications, there may be multiple smart bracelets or multiple mobile phones.
  • the user can select one of the devices as the first device, that is, the computing device, for calculating the step result based on the plurality of step data.
  • the designated mobile phone is the first device in the embodiment shown in FIG. 1 , that is, the computing device;
  • the smart wristband is a step device that participates in the cooperative step, that is, the auxiliary device, and is used to obtain the record of the device.
  • Step data is aggregated into the computing device.
  • the smart bracelet and the mobile phone in the embodiments of the present invention are devices that are worn or carried by the same user, and can communicate with each other through a network between the devices.
  • the network between the devices can be the Internet of Things, or other wireless networks.
  • the connection between the devices may be a wireless connection based on Bluetooth technology or infrared technology.
  • the mobile phone broadcasts a coordinated step request.
  • the mobile phone broadcasts a cooperative step request in the network between the devices, requesting the stepping device in the network to participate in the coordinated step.
  • the smart bracelet sends a response of the cooperative step request to the mobile phone.
  • the smart bracelet After receiving the collaborative step request from the mobile phone, the smart bracelet can participate in the collaborative step by sending a response.
  • the mobile phone determines a stepping device that participates in the coordinated step.
  • the mobile phone may determine that the smart bracelet is a stepping device participating in the cooperative step.
  • steps S701-S703 are alternatively, and other manners may be used instead.
  • the mobile phone can be directly configured as a computing device, the smart wristband is configured as an auxiliary device, and the device in the network is broadcasted when the device accesses the network; for example, when there are only two devices, the smart wristband and the mobile phone, in two While the device is connected, the mobile phone can determine that the smart bracelet is a step-by-step device that participates in cooperative walking, and so on.
  • the smart bracelet collects motion signals to generate motion data a.
  • the smart bracelet collects its own motion signal and time stamps it to generate motion data a.
  • the smart bracelet can collect the motion signal by the gyroscope, the vibrator, or the like, and generate the motion data a.
  • the specific implementation can refer to the prior art, and details are not described herein again.
  • the smart bracelet can also determine whether its own step data satisfies the zero step condition according to, for example, the threshold method mentioned in S101.
  • the mobile phone collects a motion signal and generates motion data b.
  • This step can be performed in the same manner as S704a, and details are not described herein again.
  • the smart bracelet sends motion data a to the mobile phone.
  • the smart bracelet can send motion data a directly to the phone.
  • step S704a determines in step S704a whether its own step data satisfies the zero step condition, if the smart bracelet determines that the motion data a satisfies the zero step condition, the number of steps can be directly sent to the mobile phone. The result is a zero step result; if the smart bracelet determines that the motion data a does not satisfy the zero step condition, the motion data a is transmitted to the mobile phone.
  • the mobile phone determines whether the step is zero.
  • the mobile phone can judge whether the step is zero according to the step data sent by the smart bracelet and the motion data b collected by itself.
  • step data sent by the smart bracelet satisfies the zero step condition, or the mobile phone's own step data satisfies the zero step condition, the mobile phone can directly determine that the user's step number is zero, and execute step S708 to push the step result. Give a smart bracelet.
  • the mobile phone can calculate the correlation coefficient between the motion data a and the motion data b, and compare the calculated cross-correlation coefficient with the cross-correlation threshold. If the absolute value of the cross-correlation coefficient of the motion data a and the motion data b is less than the cross-correlation threshold, the mobile phone may determine that the number of steps of the user is zero, and perform step S708 to push the step result to the smart bracelet; otherwise, execute Step S707.
  • the mobile phone calculates the number of steps of the user based on the motion data a and the motion data b.
  • step S102 For a specific implementation, reference may be made to the description of step S102, and details are not described herein again.
  • the push result is pushed to the smart bracelet.
  • the step result is stored and displayed on the display unit of the smart bracelet.
  • the mobile phone may also display the calculation result on the screen of the mobile phone, or push the result to the smart bracelet while the mobile phone screen is displayed.
  • the mobile phone calculates the number of steps of the user according to the motion data collected by the smart bracelet and the mobile phone, so that the step error generated by the single device step can be avoided, and the step accuracy is improved.
  • the smart bracelet may also be used as a computing device or a management device.
  • the computing device or the management device may not participate in acquiring the chronograph data, but only exists as a computing device or a management device.
  • FIG. 8 is a flow chart of another step-by-step method according to an embodiment of the present invention.
  • the method of Figure 8 is performed by a management device.
  • the management device is a first device.
  • the method includes:
  • the first device sends a cooperative step request in a network accessed by the first device.
  • the collaborative step request is used to request that the stepping device of the same user in the network participate in the coordinated step of the user.
  • the first device as a management device, can request the chronograph device to participate in the cooperative step by sending a coordinated step request.
  • the first device may determine whether to initiate a coordinated step request based on the reliability of the step data of the device.
  • the first device may determine the reliability of the step data of the device according to the location information (wearing location) of the user according to the device.
  • the device 1-5 is a step device that is worn or carried by the user, and in the same network, the device 3 is a management device, that is, the first device, and is used to determine whether to initiate a coordinated step request.
  • the device 3 determines that the position information of the device is the user's torso portion (for example, in the pocket of the pants), the device 3 can determine that the reliability of the device step data is high. At this point, stepping according to the step data of the device will result in a more accurate step, without performing a collaborative step operation, that is, there is no need to initiate a coordinated step request.
  • the device 3 when the device 3 determines that the location information of the device is the arm portion (for example, worn on the wrist), the device 3 can determine that the reliability of the device step data is low. At this time, stepping according to the step data of the device may result in a step with a large error. To avoid the occurrence of errors, device 3 can initiate a collaborative step-by-step process.
  • the device 3 can determine the location information of the user according to the gyroscope or the sensor.
  • the gyroscope or the sensor For the specific implementation, reference may be made to the prior art, and details are not described herein again.
  • the first device may broadcast the cooperative step request within the network, or send the coordinated step request to the devices in the network one by one.
  • the first device receives a response of the at least one step device of the step device to the cooperative step request.
  • the first device may receive a response of at least two step devices including itself.
  • the first device itself has the step function and responds to the cooperative step request, it can be connected.
  • the coordinated stepping of the user can be completed.
  • the first device can receive a response from at least two step devices other than itself.
  • the first device receives the coordinated step request response of at least two step devices, and the step is coordinated by the response.
  • the two step devices complete the coordinated step to the user.
  • the first device and other step devices can be carried by different users or carried by the same user.
  • the first device determines, according to the response of the at least one step device to the cooperative step request, the step device participating in the cooperative step.
  • the first device may determine the stepping device participating in the cooperative step in a plurality of manners.
  • the step device participating in the cooperative step can be determined based on the location information of the step device.
  • the step device transmits the location information of the step device in response to the cooperative step request.
  • the first device may be a step device that participates in the cooperative step, or may be a step device that does not participate in the cooperative step.
  • the step device participating in the cooperative step is determined according to the location information of the step device, for example, it may be:
  • the first device selects N pacing devices as the chronograph device participating in the cooperative pacing according to the location information of the at least one responsive device.
  • N is an integer greater than or equal to 1
  • the location of the N step devices is different from the location of the first device, and when N is greater than 1, the step device belongs to a different branch location or location of the user.
  • N when the value of N is 1, it belongs to a branch or location of the user; when the value of N is greater than 1, the N step devices belong to N different branches or locations of the user, and the N The position of the step device is different from the position of the first device.
  • Example 1 device 3 initiates a collaborative step request, and device 3 itself also participates in cooperative stepping. If the device 3 is a stepping device for the trouser pocket, the devices 1, 2, 4, 5 respond to the cooperative step request, respectively, for the left hand, the right hand, the trouser pocket, and the right hand gait device. At this time, the device 3 can exclude the device 4 (trouser pocket), select the device 1 (left hand) to participate in the cooperative step, and the slave device 2 and the device 5 (right hand) Select a device to participate in the collaborative step. Of course, the device 3 can also select one of the devices 1, 2, and 5 to participate in the cooperative step.
  • the stepping device that participates in the cooperative step is determined, for example, may also be:
  • the first device selects N pacing devices as the chronograph device participating in the cooperative pacing according to the location information of the at least one responsive device.
  • N is an integer greater than 1
  • the N step devices belong to different branches or locations of the user.
  • the at least one step device is a plurality of step devices.
  • Example 2 device 3 initiates a collaborative step request, and device 3 itself does not participate in the cooperative step. If the device 3 is a stepping device for the trouser pocket, the devices 1, 2, 4, 5 respond to the cooperative step request, respectively, for the left hand, the right hand, the trouser pocket, and the right hand gait device. At this time, the device 3 only needs to select the device 2 and the device 5 when the devices 1, 2, 4, and 5 are different, and select at least two devices.
  • the first device can determine the step device participating in the cooperative step based on the signal quality of the communication between the step device and the first device.
  • the stepping device participating in the cooperative step Determining, according to the signal quality, the stepping device participating in the cooperative step, for example, the first device determining, according to the signal quality of the at least one step device, that the signal quality between the at least one step device and the first device is greater than
  • the stepping device of the signal quality threshold is used as a stepping device participating in the cooperative step, wherein the stepping device carries the signal quality information of the step device in response to the cooperative step request.
  • the signal quality may be a Received Signal Strength Indicator (RSSI), and the responsive device may carry the RSSI in response to the cooperative ping request. Participation in cooperative counting is allowed when the value of RSSI is greater than the signal quality threshold. Since the wireless signal between devices rapidly decays with the increase of the distance, the effective range of the cooperative step can be limited to a short distance by the limitation of the signal quality, for example, the user wears the smart bracelet and carries the mobile phone at the same time. Scenes, etc.
  • RSSI Received Signal Strength Indicator
  • the determination of the RSSI threshold is critical.
  • the RSSI threshold can be determined using body area network criteria. Taking a smart bracelet and a mobile phone as an example, the user wears a smart bracelet on his wrist, and the mobile phone and the smart bracelet maintain a Bluetooth connection and record the RSSI in real time. The user holds the mobile phone in his hand, in his pocket or trouser pocket, or in a carry-on bag. After all the user's mobile phone can be placed, take the RSSI minimum value and use the value as the value.
  • the RSSI threshold which is the signal quality threshold, described in the solution of the present invention.
  • the place where the mobile phone is placed when testing the RSSI is also a scenario in which the solution of the present invention is expected to function. Since the mobile phone is placed in a carry-on bag, the RSSI may be significantly reduced. If the mobile phone is not expected to function in the bag, it is not necessary to include the mobile phone in the bag when testing the RSSI.
  • the step device may be used as a step device participating in the cooperative step, and vice versa, the step device may be determined not to participate in the collaboration. Step-by-step device.
  • the step device participating in the cooperative step can be determined based on the performance parameters of the step device.
  • the stepping device Determining, according to the performance parameter of the stepping device, the stepping device participating in the cooperative step, the stepping device carrying the performance parameter of the step device in the response to the cooperative step request, for example, the first device according to the at least a performance parameter of a step device, wherein N step devices are selected as the step device participating in the cooperative step, wherein N is an integer greater than or equal to 1, and the N step devices are in the at least one step device.
  • N step devices are selected as the step device participating in the cooperative step, wherein N is an integer greater than or equal to 1, and the N step devices are in the at least one step device
  • the N stepping devices with better performance parameters, and the stepping device carries the performance parameters of the stepping device in response to the cooperative step request.
  • the device 3 initiates a coordinated step request, and the devices 1, 2, 4, 5 respond to the cooperative step request and carry their own performance parameters in the response of the cooperative step request.
  • the performance of the devices 1 and 2 is superior, and the device 3 can select the devices 1 and 2 to participate in the cooperative step. It should be understood that if the device 3 participates in the collaborative step, one or more devices may be selected to participate in the cooperative step; if the device 3 does not participate in the cooperative step, at least two devices need to be selected to participate in the cooperative step.
  • the first device may further determine, according to the performance parameter of the at least one step device, the M step devices other than the N step devices in the at least one step device, and the performance parameters are superior, as a candidate cooperative step Device, the candidate cooperative pacing device has the ability to cooperate with the step but does not participate in the association
  • M is an integer greater than or equal to 1.
  • device 3 may select device 4 as a candidate cooperative step device.
  • the first device replaces the third device with the second device Participate in collaborative steps.
  • Example 4 Still further exemplified in Example 4, assuming that the performance of the device 4 is better than that of the device 1, the device 3 can select the device 4 instead of the device 1 as the step device participating in the cooperative step.
  • the first device After selecting the step device participating in the cooperative step, the first device further specifies a device from which the computing device is used, and the computing device is used in the step counting device participating in the cooperative step to calculate the step according to the plurality of step data. The resulting device.
  • the performance parameters including power and computing power, determining a computing device based on power and computing power, for example,
  • the first device selects, as the computing device, a step counting device that has the largest power and/or the most computing power among the stepping devices participating in the coordinated step according to the power and/or computing capability of the at least one step device;
  • the computing device is a device for calculating a step result based on the plurality of step data in the step device participating in the cooperative step.
  • the device 3 initiates a coordinated step request, and the devices 1, 2, 4, and 5 respond to the cooperative step request, and carry their own power and computing capability information in the response of the cooperative step request.
  • the devices 1, 2, and 5 have sufficient power, and the device 4 has insufficient power; the devices 1, 2, and 4 have strong computing power, and the device 5 has poor computing power.
  • the device 3 can determine one of the 1, 2, 5 as the computing device; if only the computing power is considered, the device 3 can determine one of the devices 1, 2, 4 as the computing device; if the power and calculation are comprehensively considered Capabilities, device 3 may determine that device 1 or device 2 is a computing device.
  • the first device can also determine a candidate computing device, wherein the candidate computing device is a device capable of replacing the computing device and calculating a step result based on the plurality of step data. Determining the candidate computing device, for example, the first device may be based on the power of the at least one step device and/or Or computing power, selecting a step device with a large amount of power and/or a strong computing power as a candidate computing device
  • device 3 can determine that device 1 or device 2 is a computing device. Assuming that device 3 determines that device 1 is a computing device, it may also be determined that device 2 is a candidate computing device.
  • the computing device can be replaced with a candidate computing device. Specifically, if the performance parameter of the fourth device in the candidate computing device is better than the computing device, the first device replaces the computing device with the fourth device.
  • device 3 determines that device 1 is a computing device and determines that device 2 is a candidate computing device. It is assumed that after a period of time, the power of the device 1 is about to be exhausted, and the power of the device 2 is still sufficient, then the device 3 can replace the device 1 with the device 1 as a computing device.
  • the first device determines the cooperative step request device in the accessed network, and determines the step counting device participating in the cooperative step according to the response of the stepping device in the network to the cooperative step request, thereby
  • the gait device can perform cooperative pacing to avoid the step error generated by the single device step, thereby improving the step accuracy.
  • FIG. 9 is a schematic structural diagram of a gait device 900 according to an embodiment of the present invention.
  • the product form of the step counting device 900 may be a smart bracelet, a mobile phone or other mobile terminal.
  • the gait device 900 can include:
  • the obtaining unit 901 is configured to acquire step data of at least two devices carried by the same user.
  • the step counting device 900 is one of the at least two devices, or the step counting device 900 is different from the at least two devices.
  • the determining unit 902 is configured to determine the number of steps of the user according to the step data of the at least two devices.
  • the pacing device 900 determines the number of steps of the user according to the step data of at least two devices of the same user, and can avoid the step error generated by the single device step, thereby improving the step accuracy.
  • the determining unit 902 is specifically configured to determine the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices.
  • the determining unit 902 in the process of determining the number of steps of the user according to the same or similar walking characteristics in the step data of the at least two devices, is specifically configured to: Determining the number of steps of the user according to the shock vibration signal data in the motion data of the at least two devices; wherein, when the user walks, the motion data of the at least two devices may exist in a time period in which the same step is generated Corresponding shock vibration signal data, and the corresponding impact vibration signal data in the motion data of the at least two devices is the same or similar.
  • the determining unit 902 in determining a step of determining the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices, is specifically used Determining, according to the gradual change signal data in the motion data of the at least two devices, the number of steps of the user; wherein, when the user walks, the motion data of the at least two devices is in a time period in which the same step is generated There will be corresponding graded signal data, and the corresponding graded signal data in the motion data of the at least two devices is the same or similar.
  • the determining unit 902 in determining a step of determining the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two devices, specifically uses And: converting the motion data of the at least two devices from the time domain data to the frequency domain data, and determining the number of steps of the user according to the characteristics of the converted frequency domain data; wherein, when the user walks, the at least two The frequency domain data converted by the motion data of the time period in which the devices generate the same step has the same or similar characteristics.
  • the determining unit 902 is specifically configured to: if the step data of the at least one device of the at least two devices meets the zero step condition, determine that the step number of the user is zero. .
  • the determining unit 902 is specifically configured to: determine a correlation coefficient between the step data of the at least two devices; if the record of any two of the step data of the at least two devices If the correlation coefficient of the step data is less than the first predetermined threshold, it is determined that the number of steps of the user is zero.
  • the obtaining unit 901 is specifically configured to: receive the step data directly sent by the at least two devices.
  • the acquiring unit 901 is specifically configured to: receive the at least two The device acquires the step data sent by the request according to the step data of the step device.
  • the obtaining unit 901 is further configured to: acquire location information of multiple devices carried by the same user; the stepping device 900 further includes a selecting unit 903, where the selecting unit 903 is configured to: acquire multiple devices according to the acquiring unit
  • the location information is obtained from at least two devices belonging to different branches or locations of the user.
  • the gait device 900 provided by the embodiment of the present invention is used to implement the method shown in the embodiment shown in FIG. 1 and FIG. 7.
  • the working principle, the workflow, and the technical effects generated by the step device are specifically described.
  • the embodiment shown in FIG. 1 and FIG. 7 is not described herein again.
  • FIG. 10 is a schematic structural diagram of a management device 1000 according to an embodiment of the present invention.
  • the product form of the management device 1000 may be a smart bracelet, a mobile phone or other mobile terminal.
  • the management device 1000 may include a transmitting unit 1001, a receiving unit 1002, and a determining unit 1003.
  • the sending unit 1001 is configured to send a cooperative step request in a network accessed by the management device.
  • the collaborative step request is used to request that the stepping device of the same user in the network participates in the coordinated step of the user where the management device 1000 is located, and the user of the step device is also the user of the management device 1000.
  • the receiving unit 1002 is configured to receive a response of the at least one stepping device of the stepping device to the cooperative step request.
  • the management unit 1003 is configured to determine, according to the response of the at least one step device to the cooperative step request, the step device participating in the cooperative step.
  • the management device 1000 determines a cooperative step request device in the accessed network, and determines a step device that participates in the cooperative step response according to the response of the step-by-step device in the network to the cooperative step request.
  • the gait device is capable of performing cooperative pacing, avoiding step errors caused by single device gait, and thereby improving step accuracy.
  • the management unit 1003 is a stepping device that participates in the cooperative step, and the response device carries the location information of the step device in the response to the cooperative step request, and the management unit 1003 determines to participate in the collaboration.
  • the step counting device may be, for example, the management unit 1003 according to the The location information of the at least one step device, wherein the N step devices are selected as the step device participating in the cooperative step, wherein N is an integer greater than or equal to 1, the location of the N step devices and the management device 1003 belong to The locations are different, and when N is greater than 1, the N pacing devices belong to different branches or locations of the user.
  • the management unit 1003 is not a stepping device that participates in the cooperative step.
  • the response of the stepping device to the cooperative step request carries the location information of the step device, and the management unit 1003 determines to participate in the collaboration.
  • the step counting device may be, for example, the management unit 1003 selects, according to the location information of the at least one step device, N step devices as the step device participating in the cooperative step, wherein N is greater than 1.
  • N is greater than 1.
  • An integer the N step devices belong to different branches or locations of the user, and the at least one step device is a plurality of step devices.
  • the response of the stepping device to the cooperative step request carries the performance parameter of the step device
  • the management unit 1003 is further configured to: according to the at least one step device a performance parameter, wherein the N stepping devices are selected as the stepping device participating in the cooperative step, wherein the stepping device carries the performance parameter of the step device in response to the cooperative step request, and N is greater than or equal to 1
  • An integer of the N step devices is N step devices having better performance parameters in the at least one step device.
  • the management unit 1003 is further configured to: select, according to the performance parameter of the at least one step device, the M step devices from the at least one step device as the candidate cooperative step device, wherein the M step devices For the M stepping devices other than the N stepping devices in the at least one stepping device and having better performance parameters, the candidate cooperative step counting device is capable of cooperatively stepping but does not participate in cooperative step counting.
  • M is an integer greater than or equal to 1.
  • management unit 1003 is further configured to: when the performance parameter of the second device in the candidate cooperative step device is better than the performance parameter of the third device in the step device participating in the cooperative step, The second device replaces the third device to participate in the collaborative step.
  • the performance parameter includes the power and the computing capability
  • the management unit 1003 is further configured to select, according to the power and/or the computing capability of the at least one step device, the maximum amount of power in the stepping device participating in the coordinated step and/ Or a computing device with the strongest computing power, wherein the calculation
  • the device is a device for calculating a step result based on the plurality of step data in the stepping device participating in the cooperative step.
  • the management unit 1003 is further configured to: select, according to the power and/or the computing capability of the at least one step device, a step device having a large amount of power and/or a computing power, wherein the candidate computing device is In order to be able to replace the computing device, a device for calculating a step result based on a plurality of step data.
  • management unit 1003 is further configured to: if the performance parameter of the fourth device in the candidate computing device is better than the computing device, replace the computing device with the fourth device.
  • the management device 1000 provided by the embodiment of the present invention is used to implement the method shown in the embodiment shown in FIG. 8 , the working principle of the management device, the workflow, and the technical effects generated by the management device. For details, refer to the embodiment shown in FIG. 8 . , will not repeat them here.
  • FIG. 11 illustrates a structure of a mobile terminal 1100 according to an embodiment of the present invention.
  • the mobile terminal 1100 includes at least one processor 1101, at least one network interface 1104 or other user interface 1103, a memory 1105, and at least one communication bus 1102.
  • Communication bus 1102 is used to implement connection communication between these components.
  • the mobile terminal 1100 optionally includes a user interface 1103, including a display (eg, a touch screen, LCD, CRT, Holographic or Projector, etc.), a keyboard or a pointing device (eg, a mouse, a trackball) , touch panel or touch screen, etc.).
  • Network interface 1104 and user interface 1103 may be collectively referred to as a channel interface.
  • the mobile terminal 1100 may be a smart bracelet, a mobile phone, or the like.
  • Memory 1105 can include read only memory and random access memory and provides instructions and data to processor 1101. A portion of the memory 1105 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 1105 stores elements, executable modules or data structures, or a subset thereof, or their extended set:
  • the operating system 11051 includes various system programs, such as the framework layer, the core library layer, the driver layer, and the like shown in FIG. 1, for implementing various basic services and processing hardware-based tasks;
  • the application module 11052 includes various applications, such as the desktop shown in FIG. (launcher), media player (Media Player), browser (Browser), etc., for implementing various application services.
  • applications such as the desktop shown in FIG. (launcher), media player (Media Player), browser (Browser), etc., for implementing various application services.
  • the processor 1101 by calling a program or instruction stored in the memory 1105, the processor 1101 is configured to:
  • the channel interface Obtaining, by the channel interface, the step data of the at least two step terminals carried by the same user, wherein the mobile terminal is one of the at least two step terminals, or the mobile terminal is different from the at least two step terminals;
  • the number of steps of the user is determined according to the step data of the at least two terminals.
  • the processor 1101 in the process of determining the number of steps of the user according to the step data of the at least two step terminals, is specifically configured to: according to the at least two step terminals The same or similar walking characteristics in the athletic data determine the number of steps for the user.
  • the processor 1101 specifically uses Determining, according to the impact vibration signal data in the motion data of the at least two step terminals, the number of steps of the user; wherein, when the user walks, the motion data of the at least two step terminals are generated in the same time Corresponding shock vibration signal data may exist in the time period of the step, and the corresponding impact vibration signal data in the motion data of the at least two step terminals is the same or similar.
  • the processor 1101 in determining the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two step terminals, the processor 1101 is specific Executing: determining, according to the graded signal data in the motion data of the at least two step terminals, the number of steps of the user; wherein, when the user walks, the motion data of the at least two step terminals is generating the same record
  • the time period of the step may have corresponding graded signal data, and the corresponding graded signal data in the motion data of the at least two step terminals is the same or similar.
  • the processor 1101 in the process of determining the number of steps of the user according to the same or similar walking characteristics in the motion data of the at least two step terminals, is specific Performing: converting the motion data of the at least two step terminals from the time domain data to the frequency domain data, and determining the number of steps of the user according to the characteristics of the converted frequency domain data; wherein, when When the user walks, the at least two step terminals have the same or similar characteristics in the frequency domain data after the motion data conversion of the time period in which the same step is generated.
  • the processor 1101 in the process of determining the number of steps of the user according to the step data of the at least two step terminals, is specifically configured to: if the at least two steps If the step data of at least one of the step data of the terminal satisfies the zero step condition, it is determined that the number of steps of the user is zero.
  • the processor 1101 in the process of determining the number of steps of the user according to the step data of the at least two step terminals, is specifically configured to: determine the at least two steps a correlation coefficient between the step data of the terminal; if the correlation coefficient of the step data of any two of the step data of the at least two step terminals is less than the first predetermined threshold, determining the number of steps of the user Zero.
  • the processor 1101 is configured to: receive, by using a channel interface, the at least two step terminals by using a channel interface, in a process of acquiring step data of at least two step terminals carried by the same user. Step data sent directly.
  • the processor 1101 is configured to: receive the at least two through the channel interface, in the process of acquiring the step data of the at least two step terminals that are carried by the same user by using the channel interface.
  • the step terminal acquires the step data transmitted by the request according to the step data of the mobile terminal.
  • the processor 1101 is further configured to: acquire location information of multiple step terminals carried by the same user; and obtain step data from at least two devices belonging to different branch locations or locations of the user.
  • the mobile terminal 1100 provided by the embodiment of the present invention is used to implement the method shown in the embodiments shown in FIG. 1 and FIG. 7.
  • the working principle, the workflow, and the technical effects generated by the mobile terminal are specifically shown in FIG.
  • the embodiment shown in FIG. 7 is not described herein again.
  • the mobile terminal 1100 determines the number of steps of the user according to the step data of at least two devices of the same user, and can avoid the step error generated by the single device step, thereby improving the step accuracy.
  • FIG. 12 is a schematic structural diagram of a mobile terminal 1200 according to an embodiment of the present invention.
  • Embodiment of the present invention The mobile terminal can be used to implement the method implemented in the embodiment of the present invention shown in FIG. 8. For the convenience of description, only the parts related to the embodiment of the present invention are shown. For details, please refer to FIG. 8. The illustrated embodiment of the invention.
  • the terminal device may be a mobile phone, a tablet computer, a notebook computer, a UMPC (Ultra-mobile Personal Computer), a netbook, a PDA (Personal Digital Assistant), or the like.
  • FIG. 12 is a block diagram showing a part of the structure of a mobile phone related to an embodiment of the present invention.
  • the mobile phone includes a memory 1220, an input unit 1230, a touch screen driving circuit 1240, a display unit 1250, a sensor 1260, a camera 1270, a processor 1280, and a power supply 1290.
  • a memory 1220 the structure of the handset shown in FIG. 12 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the memory 1220 can be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1220.
  • the memory 1220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, image data, phone book, etc.).
  • memory 1220 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1230 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 1230 may include a touch screen 1231 and other input devices 1232.
  • the touch screen 1231 also referred to as a touch panel, can collect touch operations on or near the user (such as the operation of the user using a finger, a stylus, or the like on the touch screen 1231 or near the touch screen 1231), and The corresponding connecting device is driven according to a preset program.
  • the touch screen 1231 may include a touch detection device and a touch control Two parts of the machine.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1280 is provided and can receive commands from the processor 1280 and execute them.
  • the touch screen 1231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1230 may also include other input devices 1232.
  • other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the touch screen driving circuit 1240 can be used to acquire the position and number of touch control points triggered in the touch screen. For example, in a capacitive touch screen, the touch screen driving circuit can derive the position and number of triggered touch control points by calculating capacitance changes of respective touch control points of the touch screen. Alternatively, the touch screen driving circuit 1240 may be included in the touch detecting device or the touch controller.
  • the display unit 1250 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 1250 may include a display panel 1241.
  • the display panel 1241 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch screen 1231 may cover the display panel 1241. When the touch screen 1231 detects a touch operation on or near it, the touch screen 1231 transmits to the processor 1280 to determine the type of the touch event, and then the processor 1280 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 1241.
  • a fingerprint collection device such as an optical fiber, may be mounted above or below the touch screen 1231.
  • the touch screen 1231 and the display panel 1241 are two separate components to implement the input and input functions of the mobile phone, in some embodiments, the touch screen 1231 can be integrated with the display panel 1241 to implement the input of the mobile phone. And output function.
  • the handset may also include at least one type of sensor 1260, such as a light sensor, motion sensor, density sensor, fingerprint sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the display surface according to the brightness of the ambient light.
  • the brightness of the board 1241; the proximity sensor can detect if an object is near or in contact with the handset, and can close the display panel 1241 and/or the backlight when the handset is moved to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the density sensor detects the density of the material that the phone is in contact with.
  • the fingerprint sensor is used to collect the fingerprint input by the user.
  • Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like that can be configured in the mobile phone are not described herein. It should be noted that when there are other fingerprint collection devices in the mobile phone, there may be no fingerprint sensor.
  • the camera 1270 is a built-in camera for the phone, which can be either a front camera or a rear camera.
  • the processor 1280 is a control center for the handset that connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1220, and invoking data stored in the memory 1220, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 1280 may include one or more processing units; preferably, the processor 1280 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1280.
  • the handset also includes a power source 1290 (such as a battery) that supplies power to the various components.
  • a power source 1290 such as a battery
  • the power source can be logically coupled to the processor 1280 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone further includes an RF (radio frequency) circuit 1210, a WiFi (Wireless Fidelity) module 1211, and a Bluetooth module, an audio circuit, and the like, which are not shown, and details are not described herein.
  • RF radio frequency
  • WiFi Wireless Fidelity
  • Bluetooth an audio circuit, and the like, which are not shown, and details are not described herein.
  • the processor 1280 is configured to read the program code and data stored in the memory 1220, and perform the following operations:
  • a stepping device participating in the cooperative step is determined based on the response of the at least one step device to the cooperative step request.
  • the stepping terminal carries the location information of the stepping terminal in response to the cooperative step request
  • the mobile terminal 1200 is the stepping terminal participating in the cooperative step
  • the processor 1201 determines
  • the stepping device participating in the cooperative step may be, for example, selecting N step terminals as the stepping terminal participating in the cooperative step according to the location information of the at least one step terminal, wherein N is greater than or equal to 1.
  • N is greater than or equal to 1.
  • N is greater than or equal to 1.
  • N is greater than or equal to 1.
  • N is greater than or equal to 1.
  • An integer the location of the N step terminals is different from the location of the mobile terminal, and when N is greater than 1, the N step terminals belong to different branches or locations of the user.
  • the stepping terminal carries the location information of the stepping terminal in response to the cooperative step request, the mobile terminal is not the stepping terminal participating in the cooperative step, and the processor 1201 determines to participate.
  • the step-by-step device of the cooperative step may further select: according to the location information of the at least one step terminal, N step terminals as the step terminal participating in the cooperative step, wherein N is an integer greater than 1.
  • the N step terminals belong to different branches or locations of the user, and the at least one step terminal is a plurality of step terminals.
  • the response of the stepping terminal to the cooperative step request carries the performance parameter of the stepping terminal
  • the processor 1201 determines the stepping device that participates in the cooperative step, for example, according to the at least a performance parameter of the step counter, wherein the N step terminals are selected as the step counters participating in the cooperative step, wherein the step terminal responds to the cooperative step request with the performance parameters of the step terminal N is an integer greater than or equal to 1, and the N step terminals are N step terminals having better performance parameters in the at least one step terminal.
  • the processor 1201 is further configured to: select, according to the performance parameter of the at least one step terminal, the M step terminals from the at least one step terminal as the candidate cooperative step terminal, wherein the M steps The terminal is an M step counter terminal other than the N step counters in the at least one step terminal and having better performance parameters, and the candidate cooperative step counter terminal has the capability of cooperative step counting but A stepping terminal that does not participate in the cooperative step, and M is an integer greater than or equal to 1.
  • the processor 1201 is further configured to: when a performance parameter of the second step terminal of the M step terminals is better than a performance parameter of the third step terminal of the N step terminals, The second step terminal replaces the third step terminal to participate in the cooperative step.
  • the performance parameter includes the power and the computing capability
  • the processor 1201 is further configured to: when the performance parameter of the second step terminal in the candidate cooperative step terminal is better than the stepping terminal participating in the cooperative step When the performance parameter of the third step terminal is replaced by the second step terminal, the third step terminal participates in the cooperative step.
  • the processor 1201 is further configured to: select, as a candidate computing terminal, a stepping terminal with a large amount of power and/or a computing power according to the power and/or computing capability of the at least one step terminal, where the candidate calculation
  • the terminal is a stepping terminal capable of calculating a step result based on the plurality of step data in place of the computing terminal.
  • the processor 1201 is further configured to: if the performance parameter of the fourth terminal in the candidate computing terminal is better than the computing terminal, replace the computing terminal with the fourth terminal.
  • the mobile terminal 1200 provided by the embodiment of the present invention is used to implement the method shown in the embodiment shown in FIG. 8 , the working principle, the workflow of the mobile terminal, and the technical effects generated by the mobile terminal. For details, refer to the embodiment shown in FIG. 8 . , will not repeat them here.
  • the mobile terminal 1200 determines a cooperative step request device in the accessed network, and determines a step counting device that participates in the cooperative step by responding to the response of the step-by-step device in the network to the cooperative step request.
  • the stepping device can enable the cooperative step to avoid the step error generated by the single device step, thereby improving the step accuracy.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种记步方法、设备及终端,该方法包括:第一设备获取同一用户携带的至少两个设备的记步数据,其中,该第一设备为该至少两个设备之一,或者,该第一设备不同于该至少两个设备(S101);该第一设备根据该至少两个设备的记步数据,确定该用户的步数(S102)。该方法通过根据同一用户的至少两个设备的记步数据确定用户的步数,能够避免单个设备记步产生的记步误差,从而能够提高记步准确度。

Description

记步方法、设备及终端 技术领域
本发明涉及终端领域,并且更具体地,涉及记步方法、设备及终端。
背景技术
现有智能手环、智能手表等可穿戴产品普遍具有记步功能,使用产品集成的运动传感器感知人体运动实现记步,并能根据步数进一步估算行走距离、消耗卡路里等参数。
然而,对于智能手环和智能手表等用户手腕佩戴产品,由于手臂相对躯体具有更大自由度,日常生活中人们也总用双手做很多事情,即便没有走路,只要使用双手做各种事情,智能手环(手表)运动传感器同样有动态输出信号,很容易产生记步误差,影响记步性能。
因此,如何提高记步精度成为业界普遍关注的问题。
发明内容
本发明实施例提供一种记步方法、设备及终端,能够避免单个设备记步产生的记步误差,从而能够提高记步准确度。
第一方面,提供了一种记步方法,包括:第一设备获取同一用户携带的至少两个设备的记步数据,其中,该第一设备为该至少两个设备之一,或者,该第一设备不同于该至少两个设备;该第一设备根据该至少两个设备的记步数据,确定该用户的步数。
结合第一方面,在第一种可能的实现方式中,第一设备根据该至少两个设备的记步数据,确定该用户的步数,具体实现为:该第一设备根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,第一设备根据该至少两个设备的运动数据中相同或相似的步行特征,确定该 用户的步数,具体实现为:该第一设备根据该至少两个设备的运动数据中的冲击震动信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且该至少两个设备的运动数据中该相对应的冲击震动信号数据相同或相似。
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中,第一设备根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数,具体实现为:该第一设备根据该至少两个设备的运动数据中的缓变信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且该至少两个设备的运动数据中该相对应的缓变信号数据相同或相似。
结合第一方面的第一种可能的实现方式,在第四种可能的实现方式中,第一设备根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数,具体实现为:该第一设备将该至少两个设备的运动数据由时域数据转换为频域数据;该第一设备根据该转换后的频域数据的特征确定该用户的步数;其中,当该用户步行时,该至少两个设备在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
结合第一方面,在第五种可能的实现方式中,第一设备根据该至少两个设备的记步数据,确定该用户的步数,具体实现为:如果该至少两个设备的记步数据中至少一个设备的记步数据满足零记步条件,则该第一设备确定该用户的步数为零。
结合第一方面,在第六种可能的实现方式中,第一设备根据该至少两个设备的记步数据,确定该用户的步数,具体实现为:该第一设备确定该至少两个设备的运动数据之间的相关系数;如果该至少两个设备的运动数据中任意两个设备的运动数据的相关系数小于互相关阈值,则该第一设备确定该用户的步数为零。
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第六种 可能的实现方式中任一种可能的实现方式,在第七种可能的实现方式中,第一设备获取同一用户携带的至少两个设备的记步数据,具体实现为:该第一设备接收该至少两个设备直接发送的记步数据。
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第六种可能的实现方式中任一种可能的实现方式,在第八种可能的实现方式中,第一设备获取同一用户携带的至少两个设备的记步数据,具体实现为:该第一设备接收该至少两个设备根据该第一设备的记步数据获取请求发送的记步数据。
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第八种可能的实现方式中任一种可能的实现方式,在第九种可能的实现方式中,该方法还包括:该第一设备获取同一用户携带的多个设备的位置信息;该第一设备根据该多个设备的位置信息,从属于该用户的不同枝干部位或位置的至少两个设备中获取记步数据。
第二方面,提出了一种管理记步设备的方法,包括:第一设备在该第一设备接入的网络中发送协同记步请求,其中,该协同记步请求用于请求该网络中同一用户的记步设备参与对该用户的协同记步,并且该记步设备的用户同时也是该第一设备的用户;该第一设备接收该记步设备中至少一个记步设备对该协同记步请求的响应;该第一设备根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备。
结合第二方面,在第一种可能的实现方式中,该记步设备对该协同记步请求的响应中携带该记步设备的位置信息,该第一设备是该参与协同记步的记步设备,该第一设备根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备,具体实现为:该第一设备根据该至少一个记步设备的位置信息,从中选择N个记步设备作为该参与协同记步的记步设备,其中,N为大于等于1的整数,该N个记步设备所属位置与该第一设备所属位置不同,且当N大于1时该N个记步设备属于该用户的不同枝干部位或位置。
结合第二方面,在第二种可能的实现方式中,该记步设备对该协同记步请求的响应中携带该记步设备的位置信息,该第一设备不是该参与协同记步的记步设备,该第一设备根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备,具体实现为:该至少一个记步设备为多个记步设备,该第一设备根据该至少一个记步设备的位置信息,从中选择N个记步设备作为该参与协同记步的记步设备,其中,N为大于1的整数,且该N个记步设备属于该用户的不同枝干部位或位置。
结合第二方面,在第三种可能的实现方式中,所述记步设备对所述协同记步请求的响应中携带所述记步设备的性能参数,第一设备根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备,具体实现为:该第一设备根据该至少一个记步设备的性能参数,从中选择N个记步设备作为该参与协同记步的记步设备,其中,该记步设备对该协同记步请求的响应中携带记步设备的性能参数,N为大于等于1的整数,且该N个记步设备为该至少一个记步设备中性能参数较优的N个记步设备。
结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中,该方法还包括:该第一设备根据该至少一个记步设备的性能参数,从该至少一个记步设备中选择M个记步设备作为候选协同记步设备,其中,该M个记步设备为该至少一个记步设备中该N个记步设备以外,且性能参数较优的M个记步设备,该候选协同记步设备为具备协同记步的能力但未参与协同记步的记步设备,M为大于等于1的整数。
结合第二方面的第四种可能的实现方式,在第五种可能的实现方式中,该方法还包括:当该候选协同记步设备中的第二设备的性能参数优于该参与协同记步的记步设备中的第三设备的性能参数时,该第一设备以该第二设备替换该第三设备参与协同记步。
结合第二方面或第二方面的第一种可能的实现方式至第二方面的第五种可能的实现方式中任一种可能的实现方式,在第六种可能的实现方式中,该性能参数包括电量和计算能力,该方法还包括:该第一设备根据该至少一个 记步设备的电量和/或计算能力,选择该参与协同记步的记步设备中电量最大和/或计算能力最强的一个记步设备作为计算设备,其中,该计算设备为该参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
结合第二方面的第六种可能的实现方式,在第七种可能的实现方式中,该方法还包括:该第一设备根据该至少一个记步设备的电量和/或计算能力,选择电量较大和/或计算能力较强的记步设备作为候选计算设备,其中,该候选计算设备为能够替换该计算设备,根据多个记步数据计算记步结果的设备。
结合第二方面的第六种可能的实现方式,在第七种可能的实现方式中,该方法还包括:如果该候选计算设备中的第四设备的性能参数优于该计算设备,则该第一设备以该第四设备替换该计算设备。
第三方面,提供了一种记步设备,该记步设备包括:获取单元,用于获取同一用户携带的至少两个设备的记步数据,其中,该记步设备为该至少两个设备之一,或者,该记步设备不同于该至少两个设备;确定单元,用于根据该至少两个设备的记步数据,确定该用户的步数。
结合第三方面,在第一种可能的实现方式中,该确定单元具体用于:根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数。
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,在用于根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,该确定单元具体用于:根据该至少两个设备的运动数据中的冲击震动信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且该至少两个设备的运动数据中该相对应的冲击震动信号数据相同或相似。
结合第三方面的第一种可能的实现方式,在第三种可能的实现方式中,在用于根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,该确定单元具体用于:根据该至少两个设备的运动数据中的缓变信号数据,确定该用户的步数;其中,当该用户步行时,该至少两 个设备的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且该至少两个设备的运动数据中该相对应的缓变信号数据相同或相似。
结合第三方面的第一种可能的实现方式,在第四种可能的实现方式中,在用于根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,该确定单元具体用于:将该至少两个设备的运动数据由时域数据转换为频域数据,并根据该转换后的频域数据的特征确定该用户的步数;其中,当该用户步行时,该至少两个设备在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
结合第三方面,在第五种可能的实现方式中,该确定单元具体用于:如果该至少两个设备的记步数据中至少一个设备的记步数据满足零记步条件,则确定该用户的步数为零。
结合第三方面,在第六种可能的实现方式中,该确定单元具体用于:确定该至少两个设备的运动数据之间的相关系数;如果该至少两个设备的运动数据中任意两个设备的运动数据的相关系数小于互相关阈值,则确定该用户的步数为零。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第六种可能的实现方式中任一种可能的实现方式,在第七种可能的实现方式中,该获取单元具体用于:接收该至少两个设备直接发送的记步数据。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第六种可能的实现方式中任一种可能的实现方式,在第八种可能的实现方式中,该获取单元具体用于:接收该至少两个设备根据该记步设备的记步数据获取请求发送的记步数据。
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第八种可能的实现方式中任一种可能的实现方式,在第九种可能的实现方式中,该获取单元还用于:获取同一用户携带的多个设备的位置信息;该记步设备还包括选择单元,该选择单元用于:根据该获取单元获取的多个设备的位置信息,从属于该用户的不同枝干部位或位置的至少两个设备中获取记步数据。
第四方面,提出了一种管理设备,该管理设备包括:发送单元,用于在该管理设备接入的网络中发送协同记步请求,其中,该协同记步请求用于请求该网络中同一用户的记步设备参与对该管理设备所在的用户的协同记步,并且该记步设备的用户同时也是该管理设备的用户;接收单元,用于接收该记步设备中至少一个记步设备对该协同记步请求的响应;管理单元,用于根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备。
结合第四方面,在第一种可能的实现方式中,该记步设备对该协同记步请求的响应中携带该记步设备的位置信息,该管理设备是该参与协同记步的记步设备,管理单元具体用于:根据该至少一个记步设备的位置信息,从中选择N个记步设备作为该参与协同记步的记步设备,其中,N为大于等于1的整数,该N个记步设备所属位置与该管理设备所属位置不同,且当N大于1时该N个记步设备属于该用户的不同枝干部位或位置。
结合第四方面,在第二种可能的实现方式中,该记步设备对该协同记步请求的响应中携带该记步设备的位置信息,该管理设备不是该参与协同记步的记步设备,管理单元具体用于:该至少一个记步设备为多个记步设备,根据该至少一个记步设备的位置信息,从中选择N个记步设备作为该参与协同记步的记步设备,其中,N为大于1的整数,该N个记步设备属于该用户的不同枝干部位或位置。
结合第四方面,在第三种可能的实现方式中,所述记步设备对所述协同记步请求的响应中携带所述记步设备的性能参数,该管理单元具体用于:根据该至少一个记步设备的性能参数,从中选择N个记步设备作为该参与协同记步的记步设备,其中,该记步设备对该协同记步请求的响应中携带记步设备的性能参数,N为大于等于1的整数,该N个记步设备为该至少一个记步设备中性能参数较优的N个记步设备。
结合第四方面的第三种可能的实现方式,在第四种可能的实现方式中,该管理单元还用于:根据该至少一个记步设备的性能参数,从该至少一个记 步设备中选择M个记步设备作为候选协同记步设备,其中,该M个记步设备为该至少一个记步设备中该N个记步设备以外,且性能参数较优的M个记步设备,该候选协同记步设备为具备协同记步的能力但未参与协同记步的记步设备,M为大于等于1的整数。
结合第四方面的第四种可能的实现方式,在第五种可能的实现方式中,该管理单元还用于:当该候选协同记步设备中的第二设备的性能参数优于该参与协同记步的记步设备中的第三设备的性能参数时,以该第二设备替换该第三设备参与协同记步。
结合第四方面或第四方面的第一种可能的实现方式至第四方面的第五种可能的实现方式中任一种可能的实现方式,在第六种可能的实现方式中,该性能参数包括电量和计算能力,该管理单元还用于:根据该至少一个记步设备的电量和/或计算能力,选择该参与协同记步的记步设备中电量最大和/或计算能力最强的一个记步设备作为计算设备,其中,该计算设备为该参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
结合第四方面的第六种可能的实现方式,在第七种可能的实现方式中,该管理单元还用于:根据该至少一个记步设备的电量和/或计算能力,选择电量较大和/或计算能力较强的记步设备作为候选计算设备,其中,该候选计算设备为能够替代该计算设备,用于根据多个记步数据计算记步结果的设备。
结合第四方面的第七种可能的实现方式,在第八种可能的实现方式中,该管理单元还用于:如果该候选计算设备中的第四设备的性能参数优于该计算设备,则以该第四设备替换该计算设备。
第五方面,提供了一种移动终端,该移动终端包括存储器、通道接口和处理器,其中,该存储器用于存储该移动终端的程序;该处理器用于执行该存储器所存放的程序,并具体用于执行以下操作:通过通道接口获取同一用户携带的至少两个记步终端的记步数据,其中,该移动终端为该至少两个记步终端之一,或者,该移动终端不同于该至少两个记步终端;根据该至少两个终端的记步数据,确定该用户的步数。
结合第五方面,在第一种可能的实现方式中,在用于根据该至少两个记步终端的记步数据,确定该用户的步数的过程中,该处理器具体用于:根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数。
结合第五方面的第一种可能的实现方式,在第二种可能的实现方式中,在用于根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,该处理器具体用于:根据该至少两个记步终端的运动数据中的冲击震动信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个记步终端的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且该至少两个记步终端的运动数据中该相对应的冲击震动信号数据相同或相似。
结合第五方面的第一种可能的实现方式,在第三种可能的实现方式中,在根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,该处理器具体执行:根据该至少两个记步终端的运动数据中的缓变信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个记步终端的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且该至少两个记步终端的运动数据中该相对应的缓变信号数据相同或相似。
结合第五方面的第一种可能的实现方式,在第四种可能的实现方式中,在根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,该处理器具体执行:将该至少两个记步终端的运动数据由时域数据转换为频域数据,并根据该转换后的频域数据的特征确定该用户的步数;其中,当该用户步行时,该至少两个记步终端在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
结合第五方面,在第五种可能的实现方式中,在用于根据该至少两个记步终端的记步数据,确定该用户的步数的过程中,该处理器具体用于:如果该至少两个记步终端的记步数据中至少一个记步终端的记步数据满足零记步 条件,则确定该用户的步数为零。
结合第五方面,在第六种可能的实现方式中,在用于根据该至少两个记步终端的记步数据,确定该用户的步数的过程中,该处理器具体用于:确定该至少两个记步终端的运动数据之间的相关系数;如果该至少两个记步终端的运动数据中任意两个记步终端的运动数据的相关系数小于互相关阈值,则确定该用户的步数为零。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第六种可能的实现方式中任一种可能的实现方式,在第七种可能的实现方式中,在用于通过通道接口获取同一用户携带的至少两个记步终端的记步数据的过程中,该处理器具体用于:通过通道接口接收该至少两个记步终端直接发送的记步数据。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第六种可能的实现方式中任一种可能的实现方式,在第八种可能的实现方式中,在用于通过通道接口获取同一用户携带的至少两个记步终端的记步数据的过程中,该处理器具体用于:通过通道接口接收该至少两个记步终端根据该移动终端的记步数据获取请求发送的记步数据。
结合第五方面或第五方面的第一种可能的实现方式至第五方面的第八种可能的实现方式中任一种可能的实现方式,在第九种可能的实现方式中,该处理器还用于:获取同一用户携带的多个记步终端的位置信息;从属于该用户的不同枝干部位或位置的至少两个设备中获取记步数据。
第六方面,提出了一种移动终端,该移动终端包括存储器、通道接口和处理器,其中,该存储器用于存储该移动终端的程序;该处理器用于执行该存储器所存放的程序,并具体用于执行以下操作:通过通道接口在该移动终端接入的网络中发送协同记步请求,其中,该协同记步请求用于请求该网络中同一用户的记步终端参与对该用户的协同记步,并且该记步终端的用户同时也是该移动终端的用户;通过通道接口接收该多个记步设备中至少一个记步设备对该协同记步请求的响应;根据该至少一个记步设备对该协同记步请 求的响应,确定参与协同记步的记步设备。
结合第六方面,在第一种可能的实现方式中,该记步终端对该协同记步请求的响应中携带该记步终端的位置信息,该移动终端是该参与协同记步的记步终端,在用于根据该至少一个记步终端对该协同记步请求的响应,确定参与协同记步的记步终端的过程中,该处理器具体用于:根据该至少一个记步终端的位置信息,从中选择N个记步终端作为该参与协同记步的记步终端,其中,N为大于等于1的整数,该N个记步终端所属位置与该移动终端所属位置不同,且当N大于1时该N个记步终端属于该用户的不同枝干部位或位置。
结合第六方面,在第二种可能的实现方式中,该记步终端对该协同记步请求的响应中携带该记步终端的位置信息,该移动终端不是该参与协同记步的记步终端,在用于根据该至少一个记步终端对该协同记步请求的响应,确定参与协同记步的记步终端的过程中,该处理器具体用于:该至少一个记步设备为多个记步设备,根据该至少一个记步终端的位置信息,从中选择N个记步终端作为该参与协同记步的记步终端,其中,N为大于1的整数,该N个记步终端属于该用户的不同枝干部位或位置。
结合第六方面,在第三种可能的实现方式中,所述记步终端对所述协同记步请求的响应中携带所述记步终端的性能参数,在用于根据该至少一个记步终端对该协同记步请求的响应,确定参与协同记步的记步终端的过程中,该处理器具体用于:根据该至少一个记步终端的性能参数,从中选择N个记步终端作为该参与协同记步的记步终端,其中,该记步终端对该协同记步请求的响应中携带该记步终端的性能参数,N为大于等于1的整数,该N个记步终端为该至少一个记步终端中性能参数较优的N个记步终端。
结合第六方面的第三种可能的实现方式,在第四种可能的实现方式中,该处理器具体还用于:根据该至少一个记步终端的性能参数,从该至少一个记步终端中选择M个记步终端作为候选协同记步终端,其中,该M个记步终端为该至少一个记步终端中该N个记步终端以外,且性能参数较优的M个 记步终端,该候选协同记步终端为具备协同记步的能力但未参与协同记步的记步终端,M为大于等于1的整数。
结合第六方面的第四种可能的实现方式,在第五种可能的实现方式中,该处理器具体还用于:当该候选协同记步终端中的第二记步终端的性能参数优于该参与协同记步的记步终端中的第三记步终端的性能参数时,以该第二记步终端替换该第三记步终端参与协同记步。
结合第六方面或第六方面的第一种可能的实现方式至第六方面的第五种可能的实现方式中任一种可能的实现方式,在第六种可能的实现方式中,该性能参数包括电量和计算能力,该处理器具体还用于:根据该至少一个记步终端的电量和/或计算能力,选择该参与协同记步的记步终端中电量最大和/或计算能力最强的一个记步终端作为计算终端,其中,该计算终端为该参与协同记步的记步终端中用于根据多个记步数据计算记步结果的记步终端。
结合第六方面的第六种可能的实现方式,在第七种可能的实现方式中,该处理器具体还用于:根据该至少一个记步终端的电量和/或计算能力,选择电量较大和/或计算能力较强的记步终端作为候选计算终端,其中,该候选计算终端为能够替代该计算终端,用于根据多个记步数据计算记步结果的记步终端。
结合第六方面的第七种可能的实现方式,在第八种可能的实现方式中,该处理器具体还用于:如果该候选计算终端中的第四终端的性能参数优于该计算终端,则以该第四终端替换该计算终端。
本发明实施例中,第一设备根据参与协同记步的记步设备中至少两个设备的记步数据确定用户的步数,从而能够避免单设备记步产生的记步误差,提高记步准确度。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图 仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例的一种记步方法流程图。
图2是本发明实施例运动数据的时间-幅度曲线示意图。
图3是本发明实施例互相关函数曲线示意图。
图4是本发明实施例智能手环和手机在步行状态下的运动数据曲线示意图。
图5是本发明实施例手臂摆臂时手环记录的运动数据曲线示意图。
图6是本发明实施例运动数据时频转换示意图。
图7是本发明实施例两个设备协同记步的交互流程图。
图8是本发明实施例另一种记步方法流程图。
图9是本发明实施例一种记步设备的结构示意图。
图10是本发明实施例另一种记步设备的结构示意图。
图11是本发明实施例一种移动终端的结构示意图。
图12是本发明实施例另一种移动终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1是本发明实施例的一种记步方法流程图。图1的方法由记步设备执行。该记步设备可以是智能手环、手机或其它移动终端。该方法包括:
S101,第一设备获取同一用户携带的至少两个设备的记步数据。
其中,该第一设备为该至少两个设备之一,或者,该第一设备不同于该至少两个设备。
可以理解,该第一设备可获取包括自身在内的至少两个设备的记步数据。 例如,当第一设备本身具备记步功能时,第一设备获取本设备的记步数据,并获取至少一个设备的记步数据。
或者,该第一设备可获取自身以外的至少两个设备的记步数据。例如,当第一设备本身不具备记步功能或本身具备记步功能但不参与记步时,第一设备需要从其它设备获取记步数据,此时,第一设备需要获取自身以外的至少两个设备的记步数据,在这种情况下,第一设备与其他设备可以被不同用户携带,也可以被同一用户携带。
应理解,本发明实施例中,第一设备获取的至少两个设备的记步数据来源于同一用户身上佩戴或携带的记步设备。对于获取的记步数据来源于不同用户身上的记步设备的场景,不属于本发明实施例所要解决的范畴,本发明实施例在此不再赘述。
本发明实施例中,记步数据包括运动数据、根据运动数据得到的步数为零的步数结果数据、以及步数为零的数据。
其中,运动数据包括用户运动时记步设备产生的运动信号及运动信号对应的时间戳。
当记步数据为运动数据时,第一设备可以根据至少两个设备的运动数据,通过比较、分析计算,确定用户的步数。可以理解,对同一用户的协同记步中,第一设备用于计算用户的记步数据,其具备计算能力,可以称为协同记步中的计算设备;参与协同记步的其他设备至少具备单独记步能力,可以称为协同记步中的辅助设备。
记步设备根据一组运动数据(即一个记步设备在一段时间内测量得到的运动数据)得到的步数结果数据包括步数结果为零和不为零的情况,当记步设备根据运动数据得到用户的步数结果为零时,即该运动数据满足零记步条件。
需要说明的是,对于记步数据为步数为零的数据,以及运动数据满足零记步条件时,均可以称为记步数据满足零记步条件。
记步设备可以通过多种方法判断运动数据是否满足零记步条件,,例如,模式识别算法、阈值法等等,具体实现可参考现有技术,本发明仅以阈值法 为例进行举例说明。
在阈值法中,记步设备可通过比较运动信号的幅度值和静止阈值的关系来判断携带记步设备的用户是否处于静止状态,或者说判断该用户的步数是否为零。如果运动信号幅度值连续小于静止阈值,则认为该段时间内用户处于静止状态,根据运动数据得到的步数结果为零,该运动数据满足零记步条件。否则,如果运动信号出现超过阈值的较大幅度波动,则认为该段时间内用户可能在走路,步数结果不一定为零。
假设用户坐在座位上办公,手机放在裤兜里,智能手环戴在手上,双手在敲击键盘。手机和智能手环采集的记步数据为带时间戳的运动信号。此时,手机和智能手环采集的运动数据如图2所示。图2是本发明实施例运动数据的时间-幅度曲线示意图。其中,运动数据a为智能手环采集的运动数据;运动数据b为手机采集的运动数据,v表示运动数据中运动信号的幅度值,t表示运动数据中运动信号的时间戳,δ表示运动数据的静止阈值。不妨假设坐标(v1,t1)为运动数据a所对应的曲线上的一点,则坐标(v1,t1)表示运动数据a在t1时刻的运动信号的幅度值为v1。
如果运动数据中运动信号的幅度值在±δ之间,则根据阈值法可判断运动数据满足零记步条件,即用户的步数为零。以图2为例,运动数据b的幅度值波动范围始终在静止阈值δ之内,因此可以根据运动数据b与静止阈值δ的相对关系判断用户处于静止状态,即运动数据b满足零记步条件,那么,根据手机运动数据可以确定携带该手机的用户为静止状态,或者说步数结果为零。
需要说明的是,第一设备获取同一用户携带的至少两个设备的记步数据的方法,包括第一设备接收至少两个设备直接发送的记步数据,或,第一设备接收至少两个设备根据第一设备的记步数据获取请求发送的记步数据。
S102,该第一设备根据该至少两个设备的记步数据,确定该用户的步数。
本发明实施例中,第一设备计算步数至少需要两个设备的记步数据。根据至少两个设备的记步数据确定用户的步数,因此,也称为至少两个设备的 协同记步。当然,参与协同记步的记步设备被同一用户携带或者佩戴。第一设备获取的记步数据,可包括参与协同记步的所有设备的记步数据,或者是其中的若干个设备的记步数据。
当确定用户的步数时,包括确定用户的步数为零、和步数不为零即确定具体步数的情况。
对于确定用户步数为零,例如可以包括:
如果该至少两个设备的记步数据中至少一个设备的记步数据满足零记步条件,则第一设备确定用户的步数为零。
即:当第一设备判断参与协同记步的记步设备中,有一个设备的记步数据为步数为零的数据或满足零记步条件的运动数据,则确定用户的记步为零。
从图2还可以看出,运动数据a的幅度值波动范围超出静止阈值δ,因此智能手环根据运动数据a与静止阈值δ的相对关系,判断用户可能在走路,记步结果不一定为零。也就是说,运动数据a不满足零记步条件。但是,图2中的运动数据b表明手机采集的运动数据满足零记步条件,因此,当智能手环和手机协同记步时,根据智能手环的运动数据a和手机的运动数据b,确定用户的步数为零。
对于确定用户步数为零,例如还可以包括:
第一设备确定该至少两个设备的运动数据之间的互相关系数;如果该至少两个设备的运动数据中任意两个设备的运动数据的互相关系数小于互相关阈值,则该第一设备确定该用户的步数为零。
应理解,运动数据记录着一段时间内的运动信号的幅度值,也就是说,每组运动数据用于表示一段时间内的一路运动信号。通常可通过互相关函数来检测两组运动数据之间的互相关系数,从而确定运动数据所表示的运动信号之间是否存在同步调的运动信号,互相关系数越大,表示两组运动数据中存在更多相同步调的运动信号成分;互相关系数为零,表示两组运动数据中的运动信号完全独立,不存在同步调信号。
应理解,如果针对同一用户记录的两组运动数据(分别来源于两个不同 的记步设备)的互相关系数小于互相关阈值,则认为两组运动数据分别记录的运动信号不相关,两组运动数据记录的运动信号中不存在相同步调的运动信号成分或者只存在较少的相同步调的运动信号成分,因而可以确定用户的步数为零。
在判断两组运动数据的互相关系数之前,需要先对两组运动数据的运动信号进行时间同步。图3是本发明实施例互相关函数曲线示意图。图3中,左侧图形所示的函数x(t)和y(t)分别表示两组运动数据,右侧图形所示的函数Rxy(τ)表示两组运动数据x(t)和y(t)的互相关函数,τ表示两组运动数据的运动信号之间的时间偏移量。本发明实施例对两组运动数据的运动信号进行时间同步的方法可参考图3右侧图形所示的函数Rxy(τ)。用x(t)和y(t)分别表示两个不同的记步设备对同一用户在某个时间段内的运动数据,假设函数Rxy(τ)在τ取值为τd时Rxy(τ)的绝对值取得最大值,则可认为运动数据x(t)的t时刻和运动数据y(t)的t+τd时刻表示同一时刻。根据互相关函数的最大值的取值位置,可以对两组运动数据中的运动信号进行时间同步。对多组运动数据的运动信号进行时间同步的方法可通过对多组运动数据两两进行同步得到。当然,也不排除使用其它方式对多组运动数据的运动信号进行时间同步。
对两组运动数据的运动信号进行时间同步后,可根据两组运动数据的互相关系数判断两组运动数据是否相关,即判断两组运动数据是否存在更多相同步调的运动信号成分。
一种互相关函数的形式如下:
Figure PCTCN2016090323-appb-000001
其中,x(t)和y(t+τ)分别表示两组不同的运动数据,Rxy(τ)表示这两组运动数据时间差为τ时的互相关系数的函数。
由上述互相关函数,可以得到如下互相关系数ρxy(τ):
Figure PCTCN2016090323-appb-000002
其中,μx表示运动数据x(t)的均值,μy表示运动数据y(t+τ)的均值,σx表 示运动数据x(t)的标准差,σy表示运动数据y(t+τ)的标准差。
互相关系数ρxy(τ)有如下物理含义:
Figure PCTCN2016090323-appb-000003
其中,|ρxy(τ)|越接近1,两组运动数据分别记录的运动信号越相关;|ρxy(τ)|越接近0,两组运动数据分别记录的运动信号相关性越小。
如果两组运动数据的互相关系数ρxy(τ)小于互相关阈值,则第一设备可确定用户的步数为零。应理解,该互相关阈值为一个绝对值大于0且小于1的数值,其取值通常可根据经验公式计算得到。以图2为例,如果不考虑运动数据b满足零记步条件的因素,根据运动数据a和运动数据b的曲线图形,可以看出二者的相似度极低,且根据公式也可以计算得出运动数据a、运动数据b之间的互相关系数近似为零。因此,可以很容易的判断出,运动数据a和运动数据b的互相关系数明显会小于互相关阈值,此时可确定携带智能手环和手机的用户的步数为零。
对于确定用户的步数不为零,即确定用户具体步数的方法,例如包括:第一设备可以根据至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数。
以两个设备参与协同记步为例,当两个设备的运动数据中存在相同或相似的步行特征时,可根据两个设备的运动数据中出现的相同或相似的步行特征,确定用户的步数。
为了提高步行特征信号的匹配效率,可先通过两个设备的运动数据的互相关系数判断两个设备的运动数据中是否存在相同步调的运动信号成分(即相同或相似的步行特征)。如果两个设备的运动数据的互相关系数ρxy(τ)小于互相关阈值,则可认为两个设备不存在相同步调的运动信号成分或存在的相同步调的运动信号成分较少,第一设备可直接确定用户的步数为零;如果两个设备的运动数据的互相关系数ρxy(τ)大于互相关阈值,则第一设备可根据两 个设备的运动数据中出现的相同或相似的步行特征,确定用户的步数。
当然,应理解,在根据两个设备的运动数据中出现的相同或相似的步行特征,确定用户的步数之前,可对两个设备的运动数据进行相关分析,也可不进行相关分析。
下面示出了几种根据两个设备的运动数据中出现的相同或相似的步行特征,确定用户的步数的方法。
确定用户步数的方法,例如为:第一设备根据至少两个设备的运动数据中的冲击震动信号数据,确定用户的步数;其中,当用户步行时,至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且至少两个设备的运动数据中相对应的冲击震动信号数据相同或相似。
假设用户手上佩戴智能手环,裤口袋装着手机。当用户迈出一步时,会产生一个冲击震动信号,这个信号会传遍全身。无论肢体是否做其它动作,传感信号中都会包含这个冲击震动信号,并且智能手环和手机的两路信号的冲击震动步调是相同的。无其它肢体动作的传感信号将十分清晰的显示这个冲击震动信号;而有其它肢体动作的传感信号,在发生冲击震动时,时域信号会出现波动;如果两路信号时间同步,通过检测时域信号波动变化的匹配度,就可以提炼出步行冲击震动信号。步行时,走路引起的冲击震动信号会同步传递给智能手环和手机,即使手臂在做其它动作,通过手机和智能手环的冲击震动时间特征匹配,可以正确记录走路步数。
图4是本发明实施例智能手环和手机在步行状态下的运动数据曲线示意图。其中,运动数据c为智能手环采集的运动信号,运动数据d为手机采集的运动信号。与图2类似,v表示运动数据中运动信号的幅度值,t表示运动数据中运动信号的时间戳。以图4为例,当用户步行时,智能手环和手机同时输出运动信号,两组运动数据经过互相关函数的互相关系数运算,得到互相关系数ρxy(τ)。不妨假设互相关阈值取值为|ρxyd)|,如果互相关系数ρxy(τ)小于|ρxyd)|,则说明用户处于静止状态;如果互相关系数ρxy(τ)大于|ρxyd)|,则说明用户可能处于步行状态。从图4可以看出智能手环和手机虽然波形不 同,但具有相似的变化步调,互相关系数高,运动数据可用于记步。
如图4所示,智能手环和手机输出信号曲线上的椭圆指示出由于用户走路可能引起的冲击震动信号,设备自动记录每个冲击震动信号的本地时间序列。将两组运动数据的冲击震动时间序列进行时间点匹配,匹配的时间点即可记为一步。根据冲击震动时间特征匹配法,可以确定运动数据c的时间点(t1 1,t2 1,t3 1,t4 1)分别和运动数据d的时间点(t1 2,t2 2,t3 2,t4 2)相匹配,图4所示的运动数据的记步结果为4步。
确定用户步数的方法,例如还可以为:第一设备根据至少两个设备的运动数据中的缓变信号数据,确定用户的步数;其中,当用户步行时,至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且至少两个设备的运动数据中相对应的缓变信号数据相同或相似。
佩戴记步设备的用户在步行过程中,记步设备传感器信号包含多种成分,例如缓变信号成分。缓变信号成分是指通过滤波器滤掉高频信号成分后剩下的低频信号成分。这部分信号多是由用户步行时记步设备佩戴肢体部位发生的有节律的摆动动作引起的,例如手臂的摆动。图5是本发明实施例手臂摆臂时手环记录的运动数据曲线示意图。与图2类似,v表示运动数据中运动信号的幅度值,t表示运动数据中运动信号的时间戳。如图5所示,手臂摆臂时将产生类似正弦波的缓变信号数据。由肢体摆动引起的缓变信号成分通常与用户步行节奏保持相同步调变化,因此常作为记步的主要依据。用户步行时,智能手环和手机记录的运动数据在同一次记步的时间段会存在相对应的缓变信号。分析智能手环和手机的运动数据中的缓变信号,如果在相同(或相近)的时间段内产生波形特征相匹配的缓变信号,则说明产生了一个记步。
确定用户步数的方法,例如还可以为:第一设备将至少两个设备的运动数据由时域数据转换为频域数据;第一设备根据转换后的频域数据的特征确定用户的步数;其中,当用户步行时,至少两个设备在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
当用户步行动作比较规范时,可以从频域分析手机和智能手环信号的运 动数据。图6是本发明实施例运动数据时频转换示意图。如图6所示,可将运动数据c和运动数据d进行时频转换,得到图6下半部分所示的运动数据e和运动数据f,其中,运动数据e是运动数据c对应的频域信号数据,运动数据f是运动数据d对应的频域信号数据。可以从运动数据e和运动数据f中提取特征频点。若处于步行状态,则两组运动数据存在相同或相近的特征频点,根据相同特征频点的频率值可以计算用户单位时间内的行走步数。通过动态捕获相同特征频点,可动态计算并随时间不断累积总的行走步数。如图6所示,运动数据e和运动数据f在fb处具有相同的特征频点,计算步数累计加1。当用户处于非步行状态时,两组运动数据不存在相同或相近的特征频点,此时不增加计算步数。
当然,还可能存在其它匹配步行特征信号的方法,本发明实施例在此不再一一例举。
此外,本发明实施例的方法还可推广至根据多组运动数据计算用户步数的场景。如果在相同(或相近)的时间段内,每组运动数据都存在相同或相似的步行特征,则可确定产生记步。判定相同或相似的步行特征的方法可参考两组运动数据时的判定方法,本发明实施例在此不再赘述。
可选的,在本发明上述实施例中,步骤S101还可以包括:
第一设备获取同一用户携带的多个设备的位置信息;第一设备根据多个设备的位置信息,从属于用户的不同枝干部位或位置的至少两个设备中获取记步数据。
第一设备可根据同一用户携带的多个设备的位置信息,对来自各个设备的记步数据进行取舍。第一设备在获取设备的位置信息时,可根据各个设备的记步数据,通过分析判断获得设备所属的位置信息;或者,第一设备可直接接收各个设备发送的位置信息。各个设备可根据自身得到的记步数据,通过分析判断获得设备所属的位置信息;或者,各个设备可根据自身的陀螺仪或传感器等采集的数据,通过分析判断获得设备所属的位置信息,等等。第一设备根据设备的记步数据获得设备所述的位置信息的方法,或者各个设备 根据自身的陀螺仪或传感器等采集的数据获得设备所属的位置信息的方法,其具体实现可参考现有技术,本发明实施例在此不再赘述。
具体地,对于属于同一枝干部位或位置的多个记步数据,第一设备可选择其中的一个参与运算。也就是说,第一设备可从属于用户的不同枝干部位或位置的至少两个设备中获取记步数据。
例如,第一设备接收到4个设备的记步数据,分别是记步数据1(左臂),记步数据2(右臂)、记步数据3(躯干)和记步数据4(左臂)。则此时,第一设备可从记步数据1和记步数据4中选择一个参与运算。第一设备可选择记步数据1、2、3参与运算,或选择记步数据1、2、4参与运算,等等。
当然,选择属于同一枝干部位或位置的多个记步数据参与协同运算也是允许的,甚至可以选择所有记步数据参与协同运算,只是会增加不必要的计算量。
本发明实施例中,第一设备根据同一用户的至少两个设备的记步数据确定用户的步数,能够避免单个设备记步产生的记步误差,从而能够提高记步准确度。
下面,将结合具体的实施例,对本发明实施例的方法作进一步的描述。
图7是本发明实施例两个设备协同记步的交互流程图。两个设备分别以智能手环和手机为例。图7虽然只示出了一个智能手环和一个手机的交互流程图,在实际的应用中,可能存在多个智能手环或多个手机的情况。用户可从中选择一个设备作为第一设备,即计算设备,用于根据多个记步数据计算记步结果。本发明实施例中,指定手机为图1所示实施例中的第一设备,即计算设备;指定智能手环为参与协同记步的记步设备,即辅助设备,用于获取本设备的记步数据并汇总到计算设备中。另外,本发明实施例的智能手环、手机都为同一用户身上佩戴或携带的设备,并且相互之间可以通过设备间的网络进行通信。该设备间的网络,可以是物联网,或其它无线网络。设备之间的连接可以是基于蓝牙技术或红外技术等的无线连接。
S701,手机广播协同记步请求。
手机在设备间网络广播协同记步请求,请求网络中的记步设备参与协同记步。
S702,智能手环向手机发送该协同记步请求的响应。
智能手环收到手机的协同记步请求后,可通过发送响应,参与协同记步。
S703,手机确定参与协同记步的记步设备。
本发明实施例中,手机在接收到智能手环的响应后,可确定智能手环为参与协同记步的记步设备。
应理解,在实际的应用中,步骤S701~S703是可替换地,可以使用其它的方式代替。例如,可以直接配置手机为计算设备,配置智能手环为辅助设备,并在设备接入网络时广播通知网络中的设备;又例如,当只有智能手环和手机两个设备时,在两个设备建立连接的同时,手机即可确定智能手环为参与协同记步的记步设备,等等。
S704a,智能手环采集运动信号,生成运动数据a。
智能手环采集自身的运动信号,并打上时间戳,生成运动数据a。
具体地,智能手环可通过自身的陀螺仪、震动仪等采集运动信号,生成运动数据a,其具体实现可参考现有技术,本发明实施例在此不再赘述。
智能手环还可以根据例如S101中提及的阈值法,判断自身的记步数据是否满足零记步条件。
S704b,手机采集运动信号,生成运动数据b。
该步骤与S704a可以采用相同的方法进行,在此不再赘述。
S705,智能手环向手机发送运动数据a。
智能手环可直接向手机发送运动数据a。
或者,当智能手环在步骤S704a中判断了自身的记步数据是否满足零记步条件时,如果智能手环判断运动数据a满足零记步条件,则可直接向手机发送步数为零的结果即零记步结果;如果智能手环判断运动数据a不满足零记步条件,则向手机发送运动数据a。
S706,手机判断是否记步为零。
手机可根据智能手环发送的记步数据,以及自身采集的运动数据b,判断记步是否为零。
如果智能手环发送的记步数据满足零记步条件,或者手机自身记步数据满足零记步条件,则手机可直接确定用户的步数为零,并执行步骤S708,将该记步结果推送给智能手环。
如果智能手环发送的是运动数据a,则手机可计算运动数据a和运动数据b的互相关系数,并将计算的互相关系数与互相关阈值比较。如果运动数据a和运动数据b的互相关系数的绝对值小于互相关阈值,则手机可确定用户的步数为零,并执行步骤S708,将该记步结果推送给智能手环;否则,执行步骤S707。
S707,计算用户步数。
手机根据运动数据a和运动数据b,计算用户的步数。具体实现可参考步骤S102的介绍,本发明实施例在此不再赘述。
S708,推送记步结果。
手机计算得到用户的步数后,向智能手环推送记步结果。
S709,存储记步结果并显示。
智能手环得到手机推送的记步结果后,存储记步结果,并在智能手环的显示单元上显示。
当然,应理解,手机在计算用户步数之后,也可将该计算结果显示在手机的屏幕上,或在手机屏幕显示的同时向智能手环推送结果。
本发明实施例中,手机根据智能手环与手机采集的运动数据,计算得到用户的步数,从而能够避免单个设备记步产生的记步误差,提高记步准确度。
应理解,本发明实施例中,也可以由智能手环作为计算设备或管理设备。此外,当参与的设备多于3个时,计算设备或管理设备也可以不参与获取记步数据,而仅仅作为计算设备或管理设备存在。
图8是本发明实施例另一种记步方法流程图。图8的方法由管理设备执行。本发明实施例中,该管理设备为第一设备。该方法包括:
S801,第一设备在该第一设备接入的网络中发送协同记步请求。
其中,该协同记步请求用于请求该网络中同一用户的记步设备参与对该用户的协同记步。
第一设备作为管理设备,可通过发送协同记步请求,请求记步设备参与协同记步。
可选的,如果第一设备本身是记步设备,则第一设备可基于本设备的记步数据的可靠性,确定是否发起协同记步请求。
例如,第一设备可根据本设备在用户的位置信息(佩戴部位)确定本设备的记步数据的可靠性。
一个具体的应用场景,设备1-5是用户佩戴或携带的记步设备,且在同一组网中,设备3为管理设备即第一设备,用于确定是否发起协同记步请求。
当设备3判定本设备在用户的位置信息为用户的躯干部位(例如,装在裤子的口袋中)时,设备3可判定本设备记步数据的可靠性高。此时,根据本设备的记步数据进行记步将会得到一个较为精确的记步结果,不需要执行协同记步操作,也就是说,不需要发起协同记步请求。
又例如,当设备3判定本设备在用户的位置信息为手臂部位(例如,戴在手腕上)时,设备3可判定本设备记步数据的可靠性低。此时,根据本设备的记步数据进行记步可能会得到一个误差较大的记步结果。为避免误差的产生,设备3可发起协同记步流程。
设备3可根据陀螺仪或传感器等确定用户的位置信息,具体实现可参考现有技术,本发明实施例在此不再赘述。
当第一设备确定发起协同记步时,第一设备可在组网内广播协同记步请求,或逐个向组网内的设备发送协同记步请求。
S802,该第一设备接收该记步设备中至少一个记步设备对该协同记步请求的响应。
需要说明的是,该第一设备可接收包括自身在内的至少两个记步设备的响应。例如,当第一设备本身具备记步功能且响应协同记步请求时,可以接 收至少一个记步设备的协同记步请求响应,就能够完成对用户的协同记步。
或者,该第一设备可接收自身以外的至少两个记步设备的响应。例如,当第一设备本身不具备记步功能或本身具备记步功能但不参与协同记步时,那么第一设备接收至少两个记步设备的协同记步请求响应,由响应协同记步的这两个记步设备完成对用户的协同记步,此时,第一设备与其他记步设备可以被不同用户携带,也可以被同一用户携带。
S803,该第一设备根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备。
本发明实施例中,第一设备可以通过多种方式确定参与协同记步的记步设备。
例如,可以根据记步设备的位置信息确定参与协同记步的记步设备。该记步设备对该协同记步请求的响应中携带该记步设备的位置信息。
本发明实施例中,第一设备可以是参与协同记步的记步设备,也可以是不参与协同记步的记步设备。
当第一设备是参与协同记步的记步设备时,根据记步设备的位置信息确定参与协同记步的记步设备,例如可以为:
第一设备根据该至少一个记步设备的位置信息,从中选择N个记步设备作为参与协同记步的记步设备。其中,N为大于等于1的整数,该N个记步设备所属位置与该第一设备所属位置不同,且当N大于1时该个记步设备属于用户的不同枝干部位或位置。
应理解,当N取值为1时,属于用户的一个枝干部位或位置;当N取值大于1时,N个记步设备属于用户的N个不同的枝干部位或位置,且该N个记步设备的位置与第一设备的位置不同。
例1,设备3发起协同记步请求,且设备3本身也参与协同记步。如果设备3为裤子口袋的记步设备,设备1、2、4、5响应协同记步请求,分别为左手、右手、裤子口袋、右手的记步设备。此时,设备3可排除设备4(裤子口袋),选择设备1(左手)参与协同记步,并从设备2和设备5(右手) 中选择一个设备参与协同记步。当然,设备3也可从设备1、2、5中选择一个设备参与协同记步。
当第一设备不是参与协同记步的记步设备时,确定参与协同记步的记步设备,例如还可以为:
第一设备根据该至少一个记步设备的位置信息,从中选择N个记步设备作为参与协同记步的记步设备。其中,N为大于1的整数,且该N个记步设备属于用户的不同枝干部位或位置。此时,至少一个记步设备为多个记步设备。
例2,设备3发起协同记步请求,且设备3本身不参与协同记步。如果设备3为裤子口袋的记步设备,设备1、2、4、5响应协同记步请求,分别为左手、右手、裤子口袋、右手的记步设备。此时,设备3只要在设备1、2、4、5不同时选中设备2和设备5,并至少选择2个设备即可。
又例如,第一设备可以根据记步设备与第一设备之间通信的信号质量确定参与协同记步的记步设备。
根据信号质量确定参与协同记步的记步设备,例如可以为:该第一设备根据该至少一个记步设备的信号质量,确定该至少一个记步设备中与第一设备之间的信号质量大于信号质量阈值的记步设备作为参与协同记步的记步设备,其中,该记步设备对该协同记步请求的响应中携带该记步设备的信号质量信息。
例3,该信号质量可以是信号强度指示(Received Signal Strength Indicator,RSSI),记步设备对该协同记步请求的响应中可携带RSSI。当RSSI的取值大于信号质量阈值时,才允许参与协同记步。由于设备间无线信号随距离的增大迅速衰减,这样,通过信号质量的限定,可以将协同记步的有效范围作用限制在较短的距离内,例如,用户同时佩戴智能手环和携带手机的场景,等等。
由于既不希望本发明方案在记步设备间距离较远时仍发挥作用,也不希望把有效作用距离限制的太小,导致用户同时携带记步设备时仍然发挥不了 作用。因此,RSSI阈值的确定非常关键。作为一种备选方案,可采用体域网准则确定RSSI阈值。以智能手环和手机为例,用户将智能手环佩戴在手腕上,手机与智能手环保持蓝牙连接并实时记录RSSI。用户将手机分别握在手里、放在衣兜或裤兜里,或放在随身携带的包里,用户身上所有可能放手机的地方都放过一遍后,取RSSI的最小值,并将该值作为本发明方案所述的RSSI阈值,即信号质量阈值。测试RSSI时手机放置的地方也是希望本发明方案发挥作用的场景。由于手机放在随身携带的包里可能会导致RSSI显著减小,若不希望手机放在包里也发挥作用,则在测试记录RSSI时不必包含手机放在包里的情况。
当记步设备与第一设备之间的RSSI的取值大于信号质量阈值时,可确定该记步设备可以作为参与协同记步的记步设备,反之,可确定该记步设备不属于参与协同记步的记步设备。
又例如,可以根据记步设备的性能参数确定参与协同记步的记步设备。
根据记步设备的性能参数确定参与协同记步的记步设备,该记步设备对该协同记步请求的响应中携带该记步设备的性能参数,例如可以为:第一设备根据根据该至少一个记步设备的性能参数,从中选择N个记步设备作为该参与协同记步的记步设备,其中,N为大于等于1的整数,该N个记步设备为该至少一个记步设备中性能参数较优的N个记步设备,且该记步设备对该协同记步请求的响应中携带该记步设备的性能参数。
例4,设备3发起协同记步请求,设备1、2、4、5响应该协同记步请求,并在该协同记步请求的响应中携带自身的性能参数。其中,设备1、2性能较优,则设备3可选择设备1、2参与协同记步。应理解,如果设备3参与协同记步,则可选择1个或1个以上的设备参与协同记步;如果设备3不参与协同记步,则至少需要选择2个设备参与协同记步。
此外,第一设备还可根据该至少一个记步设备的性能参数,确定该至少一个记步设备中该N个记步设备以外,且性能参数较优的M个记步设备为候选协同记步设备,该候选协同记步设备为具备协同记步的能力但未参与协 同记步的记步设备,M为大于等于1的整数。
以例4作进一步说明,假设设备4是性能仅次于设备1和设备2的记步设备,则设备3可选择设备4作为候选协同记步设备。
此外,当候选协同记步设备中的第二设备的性能参数优于参与协同记步的记步设备中的第三设备的性能参数时,该第一设备以该第二设备替换该第三设备参与协同记步。
还是以例4作进一步说明,假设设备4此时的性能优于设备1,则设备3可选择以设备4代替设备1作为参与协同记步的记步设备。
在选择参与协同记步的记步设备之后,第一设备还要从中指定一个设备作为计算设备,该计算设备为该参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
一种实现场景,该性能参数包括电量和计算能力,根据电量和计算能力确定计算设备,例如可以为:
第一设备根据该至少一个记步设备的电量和/或计算能力,选择该参与协同记步的记步设备中电量最大和/或计算能力最强的一个记步设备作为计算设备,其中,该计算设备为该参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
例5,设备3发起协同记步请求,设备1、2、4、5响应该协同记步请求,并在该协同记步请求的响应中携带自身的电量和计算能力信息。其中,设备1、2、5电量充足,设备4电量不足;设备1、2、4计算能力较强,设备5计算能力较差。如果只考虑电量,设备3可确定1、2、5中的一个作为计算设备;如果只考虑计算能力,设备3可确定设备1、2、4中的一个作为计算设备;如果综合考虑电量和计算能力,设备3可确定设备1或设备2为计算设备。
确定计算设备后,第一设备还可确定候选计算设备,其中,该候选计算设备为能够替换该计算设备,根据多个记步数据计算记步结果的设备。确定候选计算设备,例如可以为:第一设备根据该至少一个记步设备的电量和/ 或计算能力,选择电量较大和/或计算能力较强的记步设备作为候选计算设备
以例5作进一步的描述,设备3可确定设备1或设备2为计算设备。假设设备3确定设备1为计算设备,则还可确定设备2为候选计算设备。
此外,当计算设备的性能下降时,可用候选计算设备替换计算设备。具体地,如果该候选计算设备中的第四设备的性能参数优于该计算设备,则该第一设备以该第四设备替换该计算设备。
还以例5作进一步的描述,设备3确定设备1为计算设备,并确定设备2为候选计算设备。假设经过一段时间的记步后,设备1电量即将耗尽,设备2电量仍然充足,则此时设备3可以设备2替换设备1作为计算设备。
本发明实施例中,第一设备通过在接入的网络中发起协同记步请求,并根据网络中的记步设备对协同记步请求的响应,确定参与协同记步的记步设备,从而使得记步设备能够进行协同记步,避免单个设备记步产生的记步误差,进而能够提高记步准确度。
图9是本发明实施例一种记步设备900的结构示意图。
应理解,本发明实施例中,记步设备900的产品形态可以是智能手环、手机或其它移动终端。
记步设备900可包括:
获取单元901,用于获取同一用户携带的至少两个设备的记步数据。
其中,该记步设备900为该至少两个设备之一,或者,该记步设备900不同于该至少两个设备。
确定单元902,用于根据该至少两个设备的记步数据,确定该用户的步数。
本发明实施例中,记步设备900根据同一用户的至少两个设备的记步数据确定用户的步数,能够避免单设备记步产生的记步误差,从而能够提高记步准确度。
可选地,作为一个实施例,确定单元902具体用于:根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数。
进一步地,本实施例的一种具体实现,在用于根据该至少两个设备的记步数据中相同或相似的步行特征,确定该用户的步数的过程中,确定单元902具体用于:根据该至少两个设备的运动数据中的冲击震动信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且该至少两个设备的运动数据中该相对应的冲击震动信号数据相同或相似。
或者,进一步地,本实施例的另一种具体实现,在用于根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,确定单元902具体用于:根据该至少两个设备的运动数据中的缓变信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且该至少两个设备的运动数据中该相对应的缓变信号数据相同或相似。
或者,进一步地,本实施例的再一种具体实现,在用于根据该至少两个设备的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,确定单元902具体用于:将该至少两个设备的运动数据由时域数据转换为频域数据,并根据该转换后的频域数据的特征确定该用户的步数;其中,当该用户步行时,该至少两个设备在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
可选地,作为另一个实施例,确定单元902具体用于:如果该至少两个设备的记步数据中至少一个设备的记步数据满足零记步条件,则确定该用户的步数为零。
可选地,作为再一个实施例,确定单元902具体用于:确定该至少两个设备的记步数据之间的相关系数;如果该至少两个设备的记步数据中任意两个设备的记步数据的相关系数小于第一预定阈值,则确定该用户的步数为零。
可选地,作为一个实施例,获取单元901具体用于:接收该至少两个设备直接发送的记步数据。
可选地,作为另一个实施例,获取单元901具体用于:接收该至少两个 设备根据该记步设备的记步数据获取请求发送的记步数据。
可选地,获取单元901还用于:获取同一用户携带的多个设备的位置信息;该记步设备900还包括选择单元903,该选择单元903用于:根据该获取单元获取的多个设备的位置信息,从属于该用户的不同枝干部位或位置的至少两个设备中获取记步数据。
本发明实施例提供的记步设备900,用于实现图1、图7所示实施例所示的方法,该记步设备的工作原理、工作流程和该记步设备产生的技术效果,具体参见图1、图7所示实施例,在此不再赘述。
图10是本发明实施例一种管理设备1000的结构示意图。
应理解,本发明实施例中,管理设备1000的产品形态可以是智能手环、手机或其它移动终端。
管理设备1000可包括:发送单元1001、接收单元1002和确定单元1003。
发送单元1001,用于在该管理设备接入的网络中发送协同记步请求。
其中,该协同记步请求用于请求该网络中同一用户的记步设备参与对该管理设备1000所在的用户的协同记步,并且该记步设备的用户同时也是该管理设备1000的用户。
接收单元1002,用于接收该记步设备中至少一个记步设备对该协同记步请求的响应。
管理单元1003,用于根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备。
本发明实施例中,管理设备1000通过在接入的网络中发起协同记步请求,并根据网络中的记步设备对协同记步请求的响应,确定参与协同记步的记步设备,从而使得记步设备能够进行协同记步,避免单设备记步产生的记步误差,进而能够提高记步准确度。
可选地,作为一个实施例,管理单元1003是参与协同记步的记步设备,该记步设备对该协同记步请求的响应中携带该记步设备的位置信息,管理单元1003确定参与协同记步的记步设备,例如可以为:管理单元1003根据该 至少一个记步设备的位置信息,从中选择N个记步设备作为参与协同记步的记步设备,其中,N为大于等于1的整数,该N个记步设备所属位置与该管理设备1003所属位置不同,且当N大于1时该N个记步设备属于该用户的不同枝干部位或位置。
可选地,作为另一个实施例,管理单元1003不是参与协同记步的记步设备,记步设备对该协同记步请求的响应中携带该记步设备的位置信息,管理单元1003确定参与协同记步的记步设备,例如可以为:管理单元1003根据该至少一个记步设备的位置信息,从中选择N个记步设备作为该参与协同记步的记步设备,其中,N为大于1的整数,该N个记步设备属于该用户的不同枝干部位或位置,该至少一个记步设备为多个记步设备。
可选地,作为另一个实施例,所述记步设备对所述协同记步请求的响应中携带所述记步设备的性能参数,管理单元1003还用于:根据该至少一个记步设备的性能参数,从中选择N个记步设备作为该参与协同记步的记步设备,其中,该记步设备对该协同记步请求的响应中携带该记步设备的性能参数,N为大于等于1的整数,该N个记步设备为该至少一个记步设备中性能参数较优的N个记步设备。
进一步地,管理单元1003还用于:根据该至少一个记步设备的性能参数,从该至少一个记步设备中选择M个记步设备作为候选协同记步设备,其中,该M个记步设备为该至少一个记步设备中该N个记步设备以外,且性能参数较优的M个记步设备,该候选协同记步设备为具备协同记步的能力但未参与协同记步的记步设备,M为大于等于1的整数。
更进一步地,管理单元1003还用于:当该候选协同记步设备中的第二设备的性能参数优于该参与协同记步的记步设备中的第三设备的性能参数时,以该第二设备替换该第三设备参与协同记步。
可选地,该性能参数包括电量和计算能力,管理单元1003还用于:根据该至少一个记步设备的电量和/或计算能力,选择该参与协同记步的记步设备中电量最大和/或计算能力最强的一个记步设备作为计算设备,其中,该计算 设备为该参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
进一步地,管理单元1003还用于:根据该至少一个记步设备的电量和/或计算能力,选择电量较大和/或计算能力较强的记步设备作为候选计算设备,其中,该候选计算设备为能够替代该计算设备,用于根据多个记步数据计算记步结果的设备。
更进一步地,管理单元1003还用于:如果该候选计算设备中的第四设备的性能参数优于该计算设备,则以该第四设备替换该计算设备。
本发明实施例提供的管理设备1000,用于实现图8所示实施例所示的方法,该管理设备的工作原理、工作流程和该管理设备产生的技术效果,具体参见图8所示实施例,在此不再赘述。
图11描述了本发明实施例提供的一种移动终端1100的结构,该移动终端1100包括:至少一个处理器1101,至少一个网络接口1104或者其他用户接口1103,存储器1105,至少一个通信总线1102。通信总线1102用于实现这些组件之间的连接通信。该移动终端1100可选的包含用户接口1103,包括显示器(例如,触摸屏、LCD、CRT、全息成像(Holographic)或者投影(Projector)等),键盘或者点击设备(例如,鼠标,轨迹球(trackball),触感板或者触摸屏等)。网络接口1104和用户接口1103可以统称为通道接口。在具体的应用中,移动终端1100可以是智能手环、手机等。
存储器1105可以包括只读存储器和随机存取存储器,并向处理器1101提供指令和数据。存储器1105的一部分还可以包括非易失性随机存取存储器(NVRAM)。
在一些实施方式中,存储器1105存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:
操作***11051,包含各种***程序,例如图1所示的框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务;
应用程序模块11052,包含各种应用程序,例如图1所示的桌面 (launcher)、媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。
在本发明实施例中,通过调用存储器1105存储的程序或指令,处理器1101用于:
通过通道接口获取同一用户携带的至少两个记步终端的记步数据,其中,该移动终端为该至少两个记步终端之一,或者,该移动终端不同于该至少两个记步终端;
根据该至少两个终端的记步数据,确定该用户的步数。
可选地,作为一个实施例,在用于根据该至少两个记步终端的记步数据,确定该用户的步数的过程中,处理器1101具体用于:根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数。
进一步地,本实施例的一种具体实现中,在用于根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,处理器1101具体用于:根据该至少两个记步终端的运动数据中的冲击震动信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个记步终端的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且该至少两个记步终端的运动数据中该相对应的冲击震动信号数据相同或相似。
或者,进一步地,本实施例的另一种具体实现中,在根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,处理器1101具体执行:根据该至少两个记步终端的运动数据中的缓变信号数据,确定该用户的步数;其中,当该用户步行时,该至少两个记步终端的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且该至少两个记步终端的运动数据中该相对应的缓变信号数据相同或相似。
或者,进一步地,本实施例的再一种具体实现中,在根据该至少两个记步终端的运动数据中相同或相似的步行特征,确定该用户的步数的过程中,处理器1101具体执行:将该至少两个记步终端的运动数据由时域数据转换为频域数据,并根据该转换后的频域数据的特征确定该用户的步数;其中,当 该用户步行时,该至少两个记步终端在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
可选地,作为另一个实施例,在用于根据该至少两个记步终端的记步数据,确定该用户的步数的过程中,处理器1101具体用于:如果该至少两个记步终端的记步数据中至少一个记步终端的记步数据满足零记步条件,则确定该用户的步数为零。
可选地,作为再一个实施例,在用于根据该至少两个记步终端的记步数据,确定该用户的步数的过程中,处理器1101具体用于:确定该至少两个记步终端的记步数据之间的相关系数;如果该至少两个记步终端的记步数据中任意两个记步终端的记步数据的相关系数小于第一预定阈值,则确定该用户的步数为零。
可选地,作为一个实施例,在通过通道接口获取同一用户携带的至少两个记步终端的记步数据的过程中,处理器1101具体用于:通过通道接口接收该至少两个记步终端直接发送的记步数据。
可选地,作为另一个实施例,在用于通过通道接口获取同一用户携带的至少两个记步终端的记步数据的过程中,处理器1101具体用于:通过通道接口接收该至少两个记步终端根据该移动终端的记步数据获取请求发送的记步数据。
可选地,处理器1101还用于:获取同一用户携带的多个记步终端的位置信息;从属于该用户的不同枝干部位或位置的至少两个设备中获取记步数据。
本发明实施例提供的移动终端1100,用于实现图1、图7所示实施例所示的方法,该移动终端的工作原理、工作流程和该移动终端产生的技术效果,具体参见图1、图7所示实施例,在此不再赘述。
可见,采用上述方案后,移动终端1100根据同一用户的至少两个设备的记步数据确定用户的步数,能够避免单设备记步产生的记步误差,从而能够提高记步准确度。
图12是本发明实施例的移动终端1200的结构示意图。本发明实施例提 供的移动终端可以用于实施上述图8所示的本发明实施例实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照图8所示的本发明实施例。
该终端设备可以为手机、平板电脑、笔记本电脑、UMPC(Ultra-mobile Personal Computer,超级移动个人计算机)、上网本、PDA(Personal Digital Assistant,个人数字助理)等,本发明实施例以终端设备为手机为例进行说明,图12示出的是与本发明实施例相关的手机的部分结构的框图。
如图12所示,手机包括存储器1220、输入单元1230、触摸屏驱动电路1240、显示单元1250、传感器1260、摄像头1270、处理器1280、以及电源1290等部件。本领域技术人员可以理解,图12中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图12对手机的各个构成部件进行具体的介绍:
存储器1220可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1220的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1230可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1230可包括触摸屏1231以及其他输入设备1232。触摸屏1231,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏1231上或在触摸屏1231附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏1231可包括触摸检测装置和触摸控 制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1280,并能接收处理器1280发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏1231。除了触摸屏1231,输入单元1230还可以包括其他输入设备1232。具体地,其他输入设备1232可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
触摸屏驱动电路1240,可以用于获取触摸屏中被触发的触摸控制点的位置和数量。例如在电容触摸屏中,触摸屏驱动电路可以通过计算触摸屏的各个触摸控制点的电容变化,得出被触发的触摸控制点的位置和数量。可选的,触摸屏驱动电路1240可以包含在触摸检测装置或触摸控制器中。
显示单元1250可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1250可包括显示面板1241,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板1241。进一步的,触摸屏1231可覆盖显示面板1241,当触摸屏1231检测到在其上或附近的触摸操作后,传送给处理器1280以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1241上提供相应的视觉输出。触摸屏1231上方或下方还可以安装指纹采集装置,如光纤,当手指按在触摸屏1231之上时,手指上的纹路会生成一张指纹图像,用于指纹采集和识别。虽然在图12中,触摸屏1231与显示面板1241是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触摸屏1231与显示面板1241集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器1260,比如光传感器、运动传感器、密度传感器、指纹传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面 板1241的亮度;接近传感器可以检测是否有物体靠近或接触手机,可在手机移动到耳边时,关闭显示面板1241和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。密度传感器可以检测到手机所接触的物质的密度。指纹传感器用于采集用户输入的指纹。至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。需要说明的是,当手机中有其它指纹采集装置时,可以没有指纹传感器。
摄像头1270为手机的内置摄像头,可以为前置摄像头,也可以为后置摄像头。
处理器1280是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1220内的软件程序和/或模块,以及调用存储在存储器1220内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1280可包括一个或多个处理单元;优选的,处理器1280可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1280中。
手机还包括给各个部件供电的电源1290(比如电池),优选的,电源可以通过电源管理***与处理器1280逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
手机还包括RF(radio frequency,射频)电路1210、WiFi(wireless fidelity,无线保真)模块1211、以及未示出的蓝牙模块、音频电路等,在此不再赘述。
在本发明实施例中,处理器1280用于读取存储器1220中存储的程序代码和数据,执行以下操作:
在移动终端1200接入的网络中发送协同记步请求,其中,该协同记步请求用于请求该网络中同一用户的记步终端参与对该用户的协同记步,并且该 记步终端的用户同时也是移动终端1200的用户;
接收该多个记步设备中至少一个记步设备对该协同记步请求的响应;
根据该至少一个记步设备对该协同记步请求的响应,确定参与协同记步的记步设备。
可选地,作为一个实施例,该记步终端对该协同记步请求的响应中携带该记步终端的位置信息,该移动终端1200是该参与协同记步的记步终端,处理器1201确定参与协同记步的记步设备,例如可以为:根据该至少一个记步终端的位置信息,从中选择N个记步终端作为该参与协同记步的记步终端,其中,N为大于等于1的整数,该N个记步终端所属位置与该移动终端所属位置不同,且当N大于1时该N个记步终端属于该用户的不同枝干部位或位置。
可选地,作为一个实施例,该记步终端对该协同记步请求的响应中携带该记步终端的位置信息,该移动终端不是该参与协同记步的记步终端,处理器1201确定参与协同记步的记步设备,例如还可以为:根据该至少一个记步终端的位置信息,从中选择N个记步终端作为该参与协同记步的记步终端,其中,N为大于1的整数,该N个记步终端属于该用户的不同枝干部位或位置,该至少一个记步终端为多个记步终端。
可选地,所述记步终端对所述协同记步请求的响应中携带所述记步终端的性能参数,处理器1201确定参与协同记步的记步设备,例如还可以为:根据该至少一个记步终端的性能参数,从中选择N个记步终端作为该参与协同记步的记步终端,其中,该记步终端对该协同记步请求的响应中携带该记步终端的性能参数,N为大于等于1的整数,该N个记步终端为该至少一个记步终端中性能参数较优的N个记步终端。
进一步地,处理器1201具体还用于:根据该至少一个记步终端的性能参数,从该至少一个记步终端中选择M个记步终端作为候选协同记步终端,其中,该M个记步终端为该至少一个记步终端中该N个记步终端以外,且性能参数较优的M个记步终端,该候选协同记步终端为具备协同记步的能力但 未参与协同记步的记步终端,M为大于等于1的整数。
更进一步地,处理器1201具体还用于:当该M个记步终端中的第二记步终端的性能参数优于该N个记步终端中的第三记步终端的性能参数时,以该第二记步终端替换该第三记步终端参与协同记步。
可选地,该性能参数包括电量和计算能力,处理器1201具体还用于:当该候选协同记步终端中的第二记步终端的性能参数优于该参与协同记步的记步终端中的第三记步终端的性能参数时,以该第二记步终端替换该第三记步终端参与协同记步。
进一步地,处理器1201具体还用于:根据该至少一个记步终端的电量和/或计算能力,选择电量较大和/或计算能力较强的记步终端作为候选计算终端,其中,该候选计算终端为能够替代该计算终端,用于根据多个记步数据计算记步结果的记步终端。
更进一步地,处理器1201具体还用于:如果该候选计算终端中的第四终端的性能参数优于该计算终端,则以该第四终端替换该计算终端。
本发明实施例提供的移动终端1200,用于实现图8所示实施例所示的方法,该移动终端的工作原理、工作流程和该移动终端产生的技术效果,具体参见图8所示实施例,在此不再赘述。
可见,采用上述方案后,移动终端1200通过在接入的网络中发起协同记步请求,并根据网络中的记步设备对协同记步请求的响应,确定参与协同记步的记步设备,从而使得记步设备能够进行协同记步,避免单设备记步产生的记步误差,进而能够提高记步准确度。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特 定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可 以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (57)

  1. 一种记步方法,其特征在于,包括:
    第一设备获取同一用户携带的至少两个设备的记步数据,其中,所述第一设备为所述至少两个设备之一,或者,所述第一设备不同于所述至少两个设备;
    所述第一设备根据所述至少两个设备的记步数据,确定所述用户的步数。
  2. 如权利要求1所述的方法,其特征在于,,所述第一设备根据所述至少两个设备的记步数据,确定所述用户的步数,包括:
    所述第一设备根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数。
  3. 如权利要求2所述的方法,其特征在于,所述第一设备根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数,包括:
    所述第一设备根据所述至少两个设备的运动数据中的冲击震动信号数据,确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且所述至少两个设备的运动数据中所述相对应的冲击震动信号数据相同或相似。
  4. 如权利要求2所述的方法,其特征在于,所述第一设备根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数,包括:
    所述第一设备根据所述至少两个设备的运动数据中的缓变信号数据,确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且所述至少两个设备的运动数据中所述相对应的缓变信号数据相同或相似。
  5. 如权利要求2所述的方法,其特征在于,所述第一设备根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数,包括:
    所述第一设备将所述至少两个设备的运动数据由时域数据转换为频域数据;
    所述第一设备根据所述转换后的频域数据的特征确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个设备在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
  6. 如权利要求1所述的方法,其特征在于,所述第一设备根据所述至少两个设备的记步数据,确定所述用户的步数,包括:
    如果所述至少两个设备的记步数据中至少一个设备的记步数据满足零记步条件,则所述第一设备确定所述用户的步数为零。
  7. 如权利要求1所述的方法,其特征在于,所述第一设备根据所述至少两个设备的记步数据,确定所述用户的步数,包括:
    所述第一设备确定所述至少两个设备的运动数据之间的相关系数;
    如果所述至少两个设备的运动数据中任意两个设备的运动数据的相关系数小于互相关阈值,则所述第一设备确定所述用户的步数为零。
  8. 如权利要求1至7任意一项所述的方法,其特征在于,所述第一设备获取同一用户携带的至少两个设备的记步数据,包括:
    所述第一设备接收所述至少两个设备直接发送的记步数据。
  9. 如权利要求1至7任意一项所述的方法,其特征在于,所述第一设备获取同一用户携带的至少两个设备的记步数据,包括:
    所述第一设备接收所述至少两个设备根据所述第一设备的记步数据获取请求发送的记步数据。
  10. 如权利要求1至9任意一项所述的方法,其特征在于,所述方法还包括:
    所述第一设备获取同一用户携带的多个设备的位置信息;
    所述第一设备根据所述多个设备的位置信息,从属于所述用户的不同枝干部位或位置的至少两个设备中获取记步数据。
  11. 一种管理记步设备的方法,其特征在于,包括:
    第一设备在所述第一设备接入的网络中发送协同记步请求,其中,所述协同记步请求用于请求所述网络中同一用户的记步设备参与对所述用户的协同记步;
    所述第一设备接收所述记步设备中至少一个记步设备对所述协同记步请求的响应;
    所述第一设备根据所述至少一个记步设备对所述协同记步请求的响应,确定参与协同记步的记步设备。
  12. 如权利要求11所述的方法,其特征在于,所述记步设备对所述协同记步请求的响应中携带所述记步设备的位置信息,所述第一设备是所述参与协同记步的记步设备,
    所述第一设备根据所述至少一个记步设备对所述协同记步请求的响应,确定参与协同记步的记步设备,包括:
    所述第一设备根据所述至少一个记步设备的位置信息,从中选择N个记步设备作为所述参与协同记步的记步设备,其中,N为大于等于1的整数,所述N个记步设备所属位置与所述第一设备所属位置不同,且当N大于1时所述N个记步设备属于所述用户的不同枝干部位或位置。
  13. 如权利要求11所述的方法,其特征在于,所述记步设备对所述协同记步请求的响应中携带所述记步设备的位置信息,所述第一设备不是所述参与协同记步的记步设备,
    所述第一设备根据所述至少一个记步设备对所述协同记步请求的响应,确定参与协同记步的记步设备,包括:
    所述至少一个记步设备为多个记步设备,所述第一设备根据所述至少一个记步设备的位置信息,从中选择N个记步设备作为所述参与协同记步的记步设备,其中,N为大于1的整数,且所述N个记步设备属于所述用户的 不同枝干部位或位置。
  14. 如权利要求11所述的方法,其特征在于,所述记步设备对所述协同记步请求的响应中携带所述记步设备的性能参数,所述第一设备根据所述至少一个记步设备对所述协同记步请求的响应,确定参与协同记步的记步设备,包括:
    所述第一设备根据所述至少一个记步设备的性能参数,从中选择N个记步设备作为所述参与协同记步的记步设备,其中,所述记步设备对所述协同记步请求的响应中携带记步设备的性能参数,N为大于等于1的整数,且所述N个记步设备为所述至少一个记步设备中性能参数较优的N个记步设备。
  15. 如权利要求14所述的方法,其特征在于,所述方法还包括:
    所述第一设备根据所述至少一个记步设备的性能参数,从所述至少一个记步设备中选择M个记步设备作为候选协同记步设备,其中,所述M个记步设备为所述至少一个记步设备中所述N个记步设备以外,且性能参数较优的M个记步设备,所述候选协同记步设备为具备协同记步的能力但未参与协同记步的记步设备,M为大于等于1的整数。
  16. 如权利要求15所述的方法,其特征在于,所述方法还包括:
    当所述候选协同记步设备中的第二设备的性能参数优于所述参与协同记步的记步设备中的第三设备的性能参数时,所述第一设备以所述第二设备替换所述第三设备参与协同记步。
  17. 如权利要求11至16任意一项所述的方法,其特征在于,所述性能参数包括电量和计算能力,所述方法还包括:
    所述第一设备根据所述至少一个记步设备的电量和/或计算能力,选择所述参与协同记步的记步设备中电量最大和/或计算能力最强的一个记步设备作为计算设备,其中,所述计算设备为所述参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
  18. 如权利要求17所述的方法,其特征在于,所述方法还包括:
    所述第一设备根据所述至少一个记步设备的电量和/或计算能力,选择 电量较大和/或计算能力较强的记步设备作为候选计算设备,其中,所述候选计算设备为能够替换所述计算设备,根据多个记步数据计算记步结果的设备。
  19. 如权利要求18所述的方法,其特征在于,所述方法还包括:
    如果所述候选计算设备中的第四设备的性能参数优于所述计算设备,则所述第一设备以所述第四设备替换所述计算设备。
  20. 一种记步设备,其特征在于,包括:
    获取单元,用于获取同一用户携带的至少两个设备的记步数据,其中,所述记步设备为所述至少两个设备之一,或者,所述记步设备不同于所述至少两个设备;
    确定单元,用于根据所述至少两个设备的记步数据,确定所述用户的步数。
  21. 如权利要求20所述的记步设备,其特征在于,所述确定单元具体用于:根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数。
  22. 如权利要求21所述的记步设备,其特征在于,在用于根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数的过程中,所述确定单元具体用于:
    根据所述至少两个设备的运动数据中的冲击震动信号数据,确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且所述至少两个设备的运动数据中所述相对应的冲击震动信号数据相同或相似。
  23. 如权利要求21所述的记步设备,其特征在于,在用于根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数的过程中,所述确定单元具体用于:
    根据所述至少两个设备的运动数据中的缓变信号数据,确定所述用户的 步数;
    其中,当所述用户步行时,所述至少两个设备的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且所述至少两个设备的运动数据中所述相对应的缓变信号数据相同或相似。
  24. 如权利要求21所述的记步设备,其特征在于,在用于根据所述至少两个设备的运动数据中相同或相似的步行特征,确定所述用户的步数的过程中,所述确定单元具体用于:
    将所述至少两个设备的运动数据由时域数据转换为频域数据,并根据所述转换后的频域数据的特征确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个设备在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
  25. 如权利要求20所述的记步设备,其特征在于,所述确定单元具体用于:
    如果所述至少两个设备的记步数据中至少一个设备的记步数据满足零记步条件,则确定所述用户的步数为零。
  26. 如权利要求20所述的记步设备,其特征在于,所述确定单元具体用于:
    确定所述至少两个设备的运动数据之间的相关系数;
    如果所述至少两个设备的运动数据中任意两个设备的运动数据的相关系数小于互相关阈值,则确定所述用户的步数为零。
  27. 如权利要求20至26任意一项所述的记步设备,其特征在于,所述获取单元具体用于:接收所述至少两个设备直接发送的记步数据。
  28. 如权利要求20至26任意一项所述的记步设备,其特征在于,所述获取单元具体用于:接收所述至少两个设备根据所述记步设备的记步数据获取请求发送的记步数据。
  29. 如权利要求20至28任意一项所述的记步设备,其特征在于,
    所述获取单元还用于:获取同一用户携带的多个设备的位置信息;
    所述记步设备还包括选择单元,所述选择单元用于:根据所述获取单元获取的多个设备的位置信息,从属于所述用户的不同枝干部位或位置的至少两个设备中获取记步数据。
  30. 一种管理设备,其特征在于,包括:
    发送单元,用于在所述管理设备接入的网络中发送协同记步请求,其中,所述协同记步请求用于请求所述网络中同一用户的记步设备参与对所述用户的协同记步;
    接收单元,用于接收所述记步设备中至少一个记步设备对所述协同记步请求的响应;
    管理单元,用于根据所述至少一个记步设备对所述协同记步请求的响应,确定参与协同记步的记步设备。
  31. 如权利要求30所述的管理设备,其特征在于,所述记步设备对所述协同记步请求的响应中携带所述记步设备的位置信息,所述管理设备是所述参与协同记步的记步设备,所述管理单元具体用于:
    根据所述至少一个记步设备的位置信息,从中选择N个记步设备作为所述参与协同记步的记步设备,其中,N为大于等于1的整数,所述N个记步设备所属位置与所述管理设备所属位置不同,且当N大于1时所述N个记步设备属于所述用户的不同枝干部位或位置。
  32. 如权利要求30所述的管理设备,其特征在于,所述记步设备对所述协同记步请求的响应中携带所述记步设备的位置信息,所述管理设备不是所述参与协同记步的记步设备,所述管理单元具体用于:
    所述至少一个记步设备为多个记步设备,根据所述至少一个记步设备的位置信息,从中选择N个记步设备作为所述参与协同记步的记步设备,其中,N为大于1的整数,且所述N个记步设备属于所述用户的不同枝干部位或位置。
  33. 如权利要求30所述的管理设备,其特征在于,所述记步设备对所述协同记步请求的响应中携带所述记步设备的性能参数,所述管理单元具体 用于:
    根据所述至少一个记步设备的性能参数,从中选择N个记步设备作为所述参与协同记步的记步设备,其中,所述记步设备对所述协同记步请求的响应中携带记步设备的性能参数,N为大于等于1的整数,且所述N个记步设备为所述至少一个记步设备中性能参数较优的N个记步设备。
  34. 如权利要求33所述的管理设备,其特征在于,所述管理单元还用于:根据所述至少一个记步设备的性能参数,从所述至少一个记步设备中选择M个记步设备作为候选协同记步设备,其中,所述M个记步设备为所述至少一个记步设备中所述N个记步设备以外,且性能参数较优的M个记步设备,所述候选协同记步设备为具备协同记步的能力但未参与协同记步的记步设备,M为大于等于1的整数。
  35. 如权利要求34所述的管理设备,其特征在于,所述管理单元还用于:当所述候选协同记步设备中的第二设备的性能参数优于所述参与协同记步的记步设备中的第三设备的性能参数时,以所述第二设备替换所述第三设备参与协同记步。
  36. 如权利要求30至35任意一项所述的管理设备,其特征在于,所述性能参数包括电量和计算能力,所述管理单元还用于:
    根据所述至少一个记步设备的电量和/或计算能力,选择所述参与协同记步的记步设备中电量最大和/或计算能力最强的一个记步设备作为计算设备,其中,所述计算设备为所述参与协同记步的记步设备中用于根据多个记步数据计算记步结果的设备。
  37. 如权利要求36所述的管理设备,其特征在于,所述管理单元还用于:根据所述至少一个记步设备的电量和/或计算能力,选择电量较大和/或计算能力较强的记步设备作为候选计算设备,其中,所述候选计算设备为能够替代所述计算设备,用于根据多个记步数据计算记步结果的设备。
  38. 如权利要求37所述的管理设备,其特征在于,所述管理单元还用于:如果所述候选计算设备中的第四设备的性能参数优于所述计算设备,则 以所述第四设备替换所述计算设备。
  39. 一种移动终端,其特征在于,包括:存储器、通道接口和处理器,其中,
    所述存储器用于存储所述移动终端的程序;
    所述处理器用于执行所述存储器所存放的程序,并具体用于执行以下操作:
    通过通道接口获取同一用户携带的至少两个记步终端的记步数据,其中,所述移动终端为所述至少两个记步终端之一,或者,所述移动终端不同于所述至少两个记步终端;
    根据所述至少两个终端的记步数据,确定所述用户的步数。
  40. 如权利要求39所述的移动终端,其特征在于,在用于根据所述至少两个记步终端的记步数据,确定所述用户的步数的过程中,所述处理器具体用于:根据所述至少两个记步终端的运动数据中相同或相似的步行特征,确定所述用户的步数。
  41. 如权利要求40所述的移动终端,其特征在于,在用于根据所述至少两个记步终端的运动数据中相同或相似的步行特征,确定所述用户的步数的过程中,所述处理器具体用于:根据所述至少两个记步终端的运动数据中的冲击震动信号数据,确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个记步终端的运动数据在产生同一次记步的时间段会存在相对应的冲击震动信号数据,且所述至少两个记步终端的运动数据中所述相对应的冲击震动信号数据相同或相似。
  42. 如权利要求40所述的移动终端,其特征在于,在根据所述至少两个记步终端的运动数据中相同或相似的步行特征,确定所述用户的步数的过程中,所述处理器具体执行:根据所述至少两个记步终端的运动数据中的缓变信号数据,确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个记步终端的运动数据在产生同一次记步的时间段会存在相对应的缓变信号数据,且所述至少两个记步终端 的运动数据中所述相对应的缓变信号数据相同或相似。
  43. 如权利要求40所述的移动终端,其特征在于,在根据所述至少两个记步终端的运动数据中相同或相似的步行特征,确定所述用户的步数的过程中,所述处理器具体执行:将所述至少两个记步终端的运动数据由时域数据转换为频域数据,并根据所述转换后的频域数据的特征确定所述用户的步数;
    其中,当所述用户步行时,所述至少两个记步终端在产生同一次记步的时间段的运动数据转换后的频域数据具有相同或相似的特征。
  44. 如权利要求39所述的移动终端,其特征在于,在用于根据所述至少两个记步终端的记步数据,确定所述用户的步数的过程中,所述处理器具体用于:如果所述至少两个记步终端的记步数据中至少一个记步终端的记步数据满足零记步条件,则确定所述用户的步数为零。
  45. 如权利要求39所述的移动终端,其特征在于,在用于根据所述至少两个记步终端的记步数据,确定所述用户的步数的过程中,所述处理器具体用于:确定所述至少两个记步终端的运动数据之间的相关系数;如果所述至少两个记步终端的运动数据中任意两个记步终端的运动数据的相关系数小于互相关阈值,则确定所述用户的步数为零。
  46. 如权利要求39至45任意一项所述的移动终端,其特征在于,在用于通过通道接口获取同一用户携带的至少两个记步终端的记步数据的过程中,所述处理器具体用于:通过通道接口接收所述至少两个记步终端直接发送的记步数据。
  47. 如权利要求39至45任意一项所述的移动终端,其特征在于,在用于通过通道接口获取同一用户携带的至少两个记步终端的记步数据的过程中,所述处理器具体用于:通过通道接口接收所述至少两个记步终端根据所述移动终端的记步数据获取请求发送的记步数据。
  48. 如权利要求39至47任意一项所述的移动终端,其特征在于,所述处理器还用于:获取同一用户携带的多个记步终端的位置信息;从属于所述 用户的不同枝干部位或位置的至少两个记步终端中获取记步数据。
  49. 一种移动终端,其特征在于,包括:存储器、通道接口和处理器,其中,
    所述存储器用于存储所述移动终端的程序;
    所述处理器用于执行所述存储器所存放的程序,并具体用于执行以下操作:
    在所述移动终端接入的网络中发送协同记步请求,其中,所述协同记步请求用于请求所述网络中同一用户的记步终端参与对所述用户的协同记步;
    接收所述记步终端中至少一个记步终端对所述协同记步请求的响应;
    根据所述至少一个记步终端对所述协同记步请求的响应,确定参与协同记步的记步终端。
  50. 如权利要求49所述的移动终端,其特征在于,所述记步终端对所述协同记步请求的响应中携带所述记步终端的位置信息,所述移动终端是所述参与协同记步的记步终端,在用于根据所述至少一个记步终端对所述协同记步请求的响应,确定参与协同记步的记步终端的过程中,所述处理器具体用于:
    根据所述至少一个记步终端的位置信息,从中选择N个记步终端作为所述参与协同记步的记步终端,其中,N为大于等于1的整数,所述N个记步终端所属位置与所述移动终端所属位置不同,且当N大于1时所述N个记步终端属于所述用户的不同枝干部位或位置。
  51. 如权利要求49所述的移动终端,其特征在于,所述记步终端对所述协同记步请求的响应中携带所述记步终端的位置信息,所述移动终端不是所述参与协同记步的记步终端,在用于根据所述至少一个记步终端对所述协同记步请求的响应,确定参与协同记步的记步终端的过程中,所述处理器具体用于:
    所述至少一个记步设备为多个记步设备,所述至少一个记步终端为多个记步终端,根据所述至少一个记步终端的位置信息,从中选择N个记步终 端作为所述参与协同记步的记步终端,其中,N为大于1的整数,且所述N个记步终端属于所述用户的不同枝干部位或位置。
  52. 如权利要求49所述的移动终端,其特征在于,所述记步终端对所述协同记步请求的响应中携带所述记步终端的性能参数,在用于根据所述至少一个记步终端对所述协同记步请求的响应,确定参与协同记步的记步终端的过程中,所述处理器具体用于:
    根据所述至少一个记步终端的性能参数,从中选择N个记步终端作为所述参与协同记步的记步终端,其中,所述记步终端对所述协同记步请求的响应中携带所述记步终端的性能参数,N为大于等于1的整数,且所述N个记步终端为所述至少一个记步终端中性能参数较优的N个记步终端。
  53. 如权利要求52所述的移动终端,其特征在于,所述处理器具体还用于:根据所述至少一个记步终端的性能参数,从所述至少一个记步终端中选择M个记步终端作为候选协同记步终端,其中,所述M个记步终端为所述至少一个记步终端中所述N个记步终端以外,且性能参数较优的M个记步终端,所述候选协同记步终端为具备协同记步的能力但未参与协同记步的记步终端,M为大于等于1的整数。
  54. 如权利要求53所述的移动终端,其特征在于,所述处理器具体还用于:当所述候选协同记步终端中的第二记步终端的性能参数优于所述参与协同记步的记步终端中的第三记步终端的性能参数时,以所述第二记步终端替换所述第三记步终端参与协同记步。
  55. 如权利要求49至54任意一项所述的移动终端,其特征在于,所述性能参数包括电量和计算能力,所述处理器具体还用于:
    根据所述至少一个记步终端的电量和/或计算能力,选择所述参与协同记步的记步终端中电量最大和/或计算能力最强的一个记步终端作为计算终端,其中,所述计算终端为所述参与协同记步的记步终端中用于根据多个记步数据计算记步结果的记步终端。
  56. 如权利要求55所述的移动终端,其特征在于,所述处理器具体还 用于:根据所述至少一个记步终端的电量和/或计算能力,选择电量较大和/或计算能力较强的记步终端作为候选计算终端,其中,所述候选计算终端为能够替代所述计算终端,用于根据多个记步数据计算记步结果的记步终端。
  57. 如权利要求56所述的移动终端,其特征在于,所述处理器具体还用于:如果所述候选计算终端中的第四终端的性能参数优于所述计算终端,则以所述第四终端替换所述计算终端。
PCT/CN2016/090323 2015-07-21 2016-07-18 记步方法、设备及终端 WO2017012526A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/745,911 US10620012B2 (en) 2015-07-21 2016-07-18 Step counting method, device, and terminal
EP16827217.7A EP3315914B1 (en) 2015-07-21 2016-07-18 Step counting method, device and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510430687.7 2015-07-21
CN201510430687.7A CN106705989B (zh) 2015-07-21 2015-07-21 记步方法、设备及终端

Publications (1)

Publication Number Publication Date
WO2017012526A1 true WO2017012526A1 (zh) 2017-01-26

Family

ID=57833747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090323 WO2017012526A1 (zh) 2015-07-21 2016-07-18 记步方法、设备及终端

Country Status (4)

Country Link
US (1) US10620012B2 (zh)
EP (1) EP3315914B1 (zh)
CN (1) CN106705989B (zh)
WO (1) WO2017012526A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109612463A (zh) * 2018-10-31 2019-04-12 南京航空航天大学 一种基于侧向速度约束优化的行人导航定位方法

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10539429B1 (en) 2014-11-03 2020-01-21 Savvysherpa, Llc Accelerometer-based systems and methods and quantifying steps
US10936655B2 (en) * 2017-06-07 2021-03-02 Amazon Technologies, Inc. Security video searching systems and associated methods
CN107909023B (zh) * 2017-11-13 2020-07-14 Oppo广东移动通信有限公司 运动参数的识别方法、装置、终端及存储介质
CN108449690B (zh) * 2018-04-08 2020-12-01 歌尔股份有限公司 一种计步方法、蓝牙耳机及电子设备
CN110132303A (zh) * 2019-05-21 2019-08-16 出门问问信息科技有限公司 计步测试数据采集方法、存储介质和电子设备
CN110201375A (zh) * 2019-07-18 2019-09-06 歌尔科技有限公司 一种无线耳机计步的方法、装置、设备及可读存储介质
CN110686699A (zh) * 2019-08-19 2020-01-14 苏宁智能终端有限公司 计步方法及装置

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815145A (zh) * 2005-01-31 2006-08-09 英华达(上海)电子有限公司 手机中智能计步器的实现方法及实现该方法的手机
US20110054838A1 (en) * 2009-09-02 2011-03-03 Apple Inc. Systems and methods for transitioning between pedometer modes
CN102282575A (zh) * 2009-01-19 2011-12-14 西铁城控股株式会社 计步器
CN202149782U (zh) * 2011-07-28 2012-02-22 河南机电高等专科学校 一种新型分体式电子计步器
CN102481128A (zh) * 2009-10-21 2012-05-30 欧姆龙健康医疗事业株式会社 体动检测装置
CN202974291U (zh) * 2012-06-20 2013-06-05 北京超思电子技术股份有限公司 一种计步器及计步***
US20140122012A1 (en) * 2012-11-01 2014-05-01 Hti Ip, Llc Method and system for determining whether to reset a height in a height determining device based on the occurrence of steps
CN103791915A (zh) * 2014-02-12 2014-05-14 清华大学 一种支持蓝牙连接的计步器装置
CN103997572A (zh) * 2014-06-03 2014-08-20 深圳市爱康伟达智能医疗科技有限公司 一种基于手机加速度传感器数据的计步方法和装置
CN104075730A (zh) * 2014-07-02 2014-10-01 电子科技大学 一种步态计步方法及计步器
CN104580660A (zh) * 2013-10-12 2015-04-29 深圳市汇顶科技股份有限公司 一种移动智能终端及其计步方法、***

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8647287B2 (en) * 2008-12-07 2014-02-11 Andrew Greenberg Wireless synchronized movement monitoring apparatus and system
US8879763B2 (en) * 2008-12-31 2014-11-04 Starkey Laboratories, Inc. Method and apparatus for detecting user activities from within a hearing assistance device using a vibration sensor
JP5643809B2 (ja) 2009-04-26 2014-12-17 ナイキ イノベイト セー. フェー. 運動用時計システムのgps特徴および機能性
US8849610B2 (en) * 2010-09-30 2014-09-30 Fitbit, Inc. Tracking user physical activity with multiple devices
US9011292B2 (en) * 2010-11-01 2015-04-21 Nike, Inc. Wearable device assembly having athletic functionality
JP6169610B2 (ja) * 2012-01-04 2017-07-26 ナイキ イノベイト シーブイ 運動用時計
US9936901B2 (en) * 2013-02-19 2018-04-10 Abaham Carter Synchronizing accelerometer data received from multiple accelerometers and dynamically compensating for accelerometer orientation
CN104158578A (zh) 2013-05-14 2014-11-19 华为技术有限公司 一种终端间的协作通信方法、设备及***
FR3019346B1 (fr) * 2014-03-31 2016-07-08 Withings Procede de comptage de pas effectues par un utilisateur
US20170227375A1 (en) * 2014-04-03 2017-08-10 Apple Inc. Calibration of a primary pedometer device using a secondary pedometer device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815145A (zh) * 2005-01-31 2006-08-09 英华达(上海)电子有限公司 手机中智能计步器的实现方法及实现该方法的手机
CN102282575A (zh) * 2009-01-19 2011-12-14 西铁城控股株式会社 计步器
US20110054838A1 (en) * 2009-09-02 2011-03-03 Apple Inc. Systems and methods for transitioning between pedometer modes
CN102481128A (zh) * 2009-10-21 2012-05-30 欧姆龙健康医疗事业株式会社 体动检测装置
CN202149782U (zh) * 2011-07-28 2012-02-22 河南机电高等专科学校 一种新型分体式电子计步器
CN202974291U (zh) * 2012-06-20 2013-06-05 北京超思电子技术股份有限公司 一种计步器及计步***
US20140122012A1 (en) * 2012-11-01 2014-05-01 Hti Ip, Llc Method and system for determining whether to reset a height in a height determining device based on the occurrence of steps
CN104580660A (zh) * 2013-10-12 2015-04-29 深圳市汇顶科技股份有限公司 一种移动智能终端及其计步方法、***
CN103791915A (zh) * 2014-02-12 2014-05-14 清华大学 一种支持蓝牙连接的计步器装置
CN103997572A (zh) * 2014-06-03 2014-08-20 深圳市爱康伟达智能医疗科技有限公司 一种基于手机加速度传感器数据的计步方法和装置
CN104075730A (zh) * 2014-07-02 2014-10-01 电子科技大学 一种步态计步方法及计步器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109612463A (zh) * 2018-10-31 2019-04-12 南京航空航天大学 一种基于侧向速度约束优化的行人导航定位方法
CN109612463B (zh) * 2018-10-31 2020-07-07 南京航空航天大学 一种基于侧向速度约束优化的行人导航定位方法

Also Published As

Publication number Publication date
CN106705989B (zh) 2019-12-17
EP3315914B1 (en) 2019-12-04
CN106705989A (zh) 2017-05-24
US10620012B2 (en) 2020-04-14
EP3315914A4 (en) 2018-09-12
US20180202830A1 (en) 2018-07-19
EP3315914A1 (en) 2018-05-02

Similar Documents

Publication Publication Date Title
WO2017012526A1 (zh) 记步方法、设备及终端
US8519835B2 (en) Systems and methods for sensory feedback
CN104995581B (zh) 电子设备的手势检测管理
CN110045819A (zh) 一种手势处理方法及设备
CN105593785A (zh) 凝视辅助触摸屏输入
WO2019128638A1 (zh) 从音乐节拍点中提取大节拍信息的方法、存储介质和终端
JPWO2012063560A1 (ja) 画像処理システム、画像処理方法、及び画像処理プログラムを記憶した記憶媒体
Yoon et al. Lightful user interaction on smart wearables
CN108362304A (zh) 一种数据处理方法及移动终端
CN108446073A (zh) 一种利用手势模拟鼠标操作的方法、装置及终端
CN104915023B (zh) 使用混合跟踪的输入设备
CN111291200A (zh) 多媒体资源展示方法、装置、计算机设备及存储介质
CN110162653A (zh) 一种图文排序推荐方法及终端设备
US10276036B2 (en) Electronic system and control method for the same
Truong et al. Capacitive sensing 3d-printed wristband for enriched hand gesture recognition
US11039665B2 (en) Receiving feedback based on pressure sensor data and movement data
CN111796990A (zh) 资源显示方法、装置、终端及存储介质
CN113498502A (zh) 使用外部传感器的手势检测
US20210012130A1 (en) Method and device for measuring biometric information in electronic device
CN108833791A (zh) 一种拍摄方法和装置
WO2016037354A1 (zh) 一种穿戴设备及穿戴设备的数据获取方法
CN109284783B (zh) 基于机器学习的大礼拜计数方法、装置、用户设备及介质
WO2022161219A1 (zh) 步数统计的方法及装置
US20210085219A1 (en) Energy expense determination from spatiotemporal data
CN115223248A (zh) 手部姿态识别方法、手部姿态识别模型的训练方法及装置

Legal Events

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

Ref document number: 16827217

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15745911

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE