Method, device and system for processing motion steps, storage medium and processor
By acquiring multiple step data sources, time-grained consistency and data fusion are carried out, the problem of insufficient step display function in the existing technology is solved, and effective fusion and fine-grained display of step count across days are achieved.
Patent Information
- Application Number
- CN202111028809.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-02
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-09-02
AI Technical Summary
Existing mobile applications lack cross-day step fusion schemes and time-sharing fine-grained display functions that support multiple sources in step count calculation and display.
By obtaining multiple step data sources, performing time-grained consistency processing, generating an initial step value set, and performing data fusion, obtaining the target step value of each time-grained size, achieving effective fusion and fine-grained display of cross-day steps.
Effective cross-day fusion and detailed step display of multi-source step data are realized, solving the problem of insufficient step fusion and display functions in the prior art.
Smart Images

Figure CN113723544B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motion data processing, and in particular to a method, device and system for processing motion steps, as well as a storage medium and a processor. Background Art
[0002] Currently, there are two problems with mobile applications (hereinafter referred to as Apps) for step counting and display:
[0003] 1. Based on a single source, some applications and implementations can process auxiliary step source data as corrections, but there is no step fusion solution that supports multiple sources;
[0004] 2. The display layer application displays the total number of steps for the whole day, but the function of displaying the fine-grained number of steps by time is insufficient.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a method, device and system for processing exercise steps, as well as a storage medium and a processor, so as to at least solve the technical problems in the prior art that there is no cross-day step fusion solution supporting multiple sources and the time-sharing fine-grained display function is insufficient.
[0007] According to one aspect of an embodiment of the present invention, a method for processing motion steps is provided, comprising: acquiring at least one step data, wherein the step data comes from at least one data supply object; performing time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same; performing data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each step data is the target time range; and displaying motion step data based on the target step value corresponding to each time granularity.
[0008] Optionally, after acquiring at least one step data, the method further includes: determining whether the total step value recorded in the step data corresponds to an end time; if the judgment result is that the end time is not included, determining that the step data is first category data; if the judgment result is that the end time is included, determining whether the step data includes a time granularity value and a step value set, wherein the time granularity value is the duration of each time granularity from the start time to the end time of the total step value, and the step value set sequentially records: the step value detected at each time granularity; if the judgment result is that the time granularity value and / or the step value set are not included, determining that the step data is second category data; if the judgment result is that the time granularity value and the step value set are included, determining that the step data is third category data.
[0009] Optionally, after acquiring at least one step data, the method further includes: calculating the average step frequency of each step data, and determining whether the average step frequency of the step data is within a target threshold range; when it is determined that the average step frequency of the step data is not within the target threshold range, determining the credibility of the step data to be a first threshold; when it is determined that the average step frequency of the step data is within the target threshold range, determining the credibility of the step data at least based on the data category of the step data, wherein the data categories of the step data include: first category data, second category data and third category data.
[0010] Optionally, the credibility of the step data is determined at least according to the data category of the step data, including: when the data category of the step data is first category data, determining the credibility of the step data to be a second threshold, wherein the second threshold is greater than the first threshold; when the data category of the step data is second category data, determining the credibility of the step data according to the data source of the step data, wherein the value range of the credibility of the second category data is a first preset range, and the minimum value in the first preset range is greater than the second threshold; when the data type of the step data is third category data, determining the credibility of the step data according to the time granularity value of the step data, wherein the value range of the credibility of the third category data is a second preset range, and the minimum value in the second preset range is greater than the maximum value in the first preset range.
[0011] Optionally, the larger the time granularity value of the step data is, the lower the credibility of the step data is; and the smaller the time granularity value of the step data is, the higher the credibility of the step data is.
[0012] Optionally, time granularity consistency processing is performed on each of the step data in turn to obtain an initial step value set corresponding to each step data, including: determining a pre-set time granularity target value; when the step data is the first category data or the second category data, dividing the time range involved in the step data into multiple time granularities based on the time granularity target value; and evenly distributing the total step value recorded in the step data to the divided multiple time granularities to obtain an initial step value set corresponding to the step data; when the step data is the third category data, the step value set of the step data is processed based on the ratio between the time granularity target value and the time granularity value recorded in the step data to obtain an initial step value set corresponding to the step data.
[0013] Optionally, based on the ratio value between the time granularity target value and the time granularity value recorded in the step data, the step value set of the step data is processed to obtain an initial step value set corresponding to the step data, including: when the time granularity target value is equal to the time granularity value recorded in the step data, the step value set recorded in the step data is directly determined as the initial step value set corresponding to the step data; when the time granularity target value is greater than the time granularity value recorded in the step data, the step value set recorded in the step data is directly determined as the initial step value set corresponding to the step data based on the time granularity target value. The time range involved is divided into multiple time granularities; the step values recorded in the step data are successively merged into the multiple divided time granularities according to the proportional relationship to obtain an initial step value set corresponding to the step data; when the time granularity target value is less than the time granularity value recorded in the step data, the time range involved in the step data is divided into multiple time granularities based on the time granularity target value; the step values recorded in the step data are successively dispersed into the multiple divided time granularities according to the proportional relationship to obtain an initial step value set corresponding to the step data.
[0014] Optionally, data fusion processing is performed on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within the target time range, including: determining a target time range composed of the time range involved in each step data; determining the initial step value corresponding to each time granularity within the target time range; and, in a case where the time granularity corresponds to one initial step value, directly determining the target step value of the time granularity using the initial step value corresponding to the time granularity; in a case where the time granularity corresponds to multiple initial step values, determining the target step value of the time granularity based on the multiple initial step values corresponding to the time granularity.
[0015] Optionally, based on multiple initial step values corresponding to the time granularity, the target step value of the time granularity is determined, including: when the multiple initial step values include initial step values of third category data, then based on the initial step values of the third category data, the target step value corresponding to the time granularity is determined; when the multiple initial step values do not include initial step values of the third category data, then the initial step value with the greatest credibility among the multiple initial step values is determined as the target step value corresponding to the time granularity.
[0016] Optionally, based on the initial step value of the third category data, the target step value corresponding to the time granularity is determined, including: when the initial step value of the third category data is one, determining the initial step value of the third category data as the target step value corresponding to the time granularity; when the initial step value of the third category data is multiple, judging whether the credibility of the initial step values of the third category data is consistent; when the credibility of the initial step values of the third category data is inconsistent, performing weighted summation on the initial step values of the third category data, and determining the target step value corresponding to the time granularity based on the summation result; when the credibility of the initial step values of the third category data is consistent, performing confidence detection on the initial step values of the third category data, and determining the target step value corresponding to the time granularity based on the detection result.
[0017] Optionally, data fusion processing is performed on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, including: taking the beginning of the day as the cutoff point, performing data fusion processing on the initial step value set of each day in turn to obtain the target step value corresponding to each time granularity of the day.
[0018] Optionally, after performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, the method also includes: storing the target step value corresponding to each time granularity within the target time range in the target database.
[0019] Optionally, based on the target step count sub-data corresponding to each time granularity, step count display processing is performed, including: in response to a first instruction, retrieving from a database the target step count value corresponding to each time granularity within the time range indicated by the first instruction; displaying the total number of steps per day within the indicated time range, and displaying in a chart the target step count value corresponding to each retrieved time granularity.
[0020] Optionally, before displaying the retrieved target step count sub-data corresponding to each time granularity in the form of a chart, the method further includes: in response to a second instruction, determining a default value of the time granularity indicated by the second instruction.
[0021] Optionally, the target step value data corresponding to each retrieved time granularity is displayed in a graphical form, including: merging the retrieved target step value sub-data based on the time granularity default value, and displaying the merging result in a graphical form, wherein the time granularity default value is greater than the time granularity target value.
[0022] According to another aspect of an embodiment of the present invention, a device for processing motion steps is also provided, including: an acquisition unit, used to acquire at least one step data, wherein the step data comes from at least one data supply object; a consistency processing unit, used to perform time granularity consistency processing on each step data in turn, to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same; a data fusion unit, used to perform data fusion processing on the initial step value set corresponding to each step data, to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each step data is the target time range; a display unit, used to display the motion step data based on the target step value corresponding to each time granularity.
[0023] Optionally, the device also includes: a first judgment unit, used to judge whether the total step value recorded in the step data corresponds to an end time after acquiring at least one step data; a first determination unit, used to determine that the step data is the first category of data when the judgment result is that the end time is not included; a second judgment unit, used to judge whether the step data contains a time granularity value and a step value set when the judgment result is that the end time is included, wherein the time granularity value is the duration of each time granularity from the start time to the end time of the total step value, and the step value set sequentially records: the step value detected at each time granularity; the second determination unit, used to determine that the step data is the second category of data when the judgment result is that the time granularity value and / or the step value set are not included; and the third determination unit, used to determine that the step data is the third category of data when the judgment result is that the time granularity value and the step value set are included.
[0024] Optionally, the device also includes: a third judgment unit, used to calculate the average step frequency of each step data after acquiring at least one step data, and determine whether the average step frequency of the step data is within a target threshold range; a fourth determination unit, used to determine that the credibility of the step data is a first threshold when it is determined that the average step frequency of the step data is not within the target threshold range; a fifth determination unit, used to determine the credibility of the step data at least based on the data category of the step data when it is determined that the average step frequency of the step data is within the target threshold range, wherein the data categories of the step data include: first category data, second category data and third category data.
[0025] Optionally, the fifth determination unit includes: a first determination subunit, used to determine, when the data category of the step data is the first category data, that the credibility of the step data is a second threshold value, wherein the second threshold value is greater than the first threshold value; a second determination subunit, used to determine, when the data category of the step data is the second category data, the credibility of the step data based on the data source of the step data, wherein the value range of the credibility of the second category data is a first preset range, and the minimum value in the first preset range is greater than the second threshold value; a third determination subunit, used to determine, when the data type of the step data is the third category data, the credibility of the step data based on the time granularity value of the step data, wherein the value range of the credibility of the third category data is a second preset range, and the minimum value in the second preset range is greater than the maximum value in the first preset range.
[0026] Optionally, the larger the time granularity value of the step data is, the lower the credibility of the step data is; and the smaller the time granularity value of the step data is, the higher the credibility of the step data is.
[0027] Optionally, the consistency processing unit includes: a fourth determination subunit, used to determine a preset time granularity target value; a first generation subunit, used to divide the time range involved in the step data into multiple time granularities based on the time granularity target value when the step data is the first category data or the second category data; and evenly distribute the total step value recorded in the step data to the divided multiple time granularities to generate an initial step value set corresponding to the step data; a second generation subunit, used to process the step value set of the step data based on the ratio value between the time granularity target value and the time granularity value recorded in the step data to generate an initial step value set corresponding to the step data when the step data is the third category data.
[0028] Optionally, the second generating subunit includes: a first determining module, which is used to directly determine the step value set recorded in the step data as the initial step value set corresponding to the step data when the time granularity target value is equal to the time granularity value recorded in the step data; a second determining module, which is used to divide the time range involved in the step data into multiple time granularities based on the time granularity target value when the time granularity target value is greater than the time granularity value recorded in the step data; and successively merge the step values recorded in the step data into the multiple divided time granularities according to the proportional relationship to obtain the initial step value set corresponding to the step data; a third determining module, which is used to divide the time range involved in the step data into multiple time granularities based on the time granularity target value when the time granularity target value is less than the time granularity value recorded in the step data; and successively disperse the step values recorded in the step data into the multiple divided time granularities according to the proportional relationship to obtain the initial step value set corresponding to the step data.
[0029] Optionally, the data fusion unit includes: a fifth determination subunit, used to determine a target time range composed of a time range involved in each of the step data; a sixth determination subunit, used to determine an initial step value corresponding to each time granularity within the target time range; and a seventh determination subunit, used to directly determine the target step value of the time granularity using the initial step value corresponding to the time granularity when the time granularity corresponds to an initial step value; and an eighth determination subunit, used to determine the target step value of the time granularity based on the multiple initial step values corresponding to the time granularity when the time granularity corresponds to multiple initial step values.
[0030] Optionally, the eighth determination subunit includes: a fourth determination module, used to determine the target step value corresponding to the time granularity based on the initial step value of the third category of data when the multiple initial step values include the initial step value of the third category of data; and a fifth determination module, used to determine the initial step value with the greatest credibility among the multiple initial step values as the target step value corresponding to the time granularity when the multiple initial step values do not include the initial step value of the third category of data.
[0031] Optionally, the fourth determination module includes: a first determination submodule, used to determine the initial step value of the third category data as the target step value corresponding to the time granularity when the initial step value of the third category data is one; a judgment submodule, used to judge whether the credibility of the initial step values of the third category data is consistent when there are multiple initial step values of the third category data; a second determination submodule, used to perform weighted summation of the initial step values of the third category data when the credibility of the initial step values of the third category data is inconsistent, and determine the target step value corresponding to the time granularity based on the summation result; a third determination submodule, used to perform confidence detection on the initial step value of the third category data when the credibility of the initial step value of the third category data is consistent, and determine the target step value corresponding to the time granularity based on the detection result.
[0032] Optionally, the data fusion unit includes: a data fusion subunit, which is used to perform data fusion processing on the initial step value set of each day in sequence with the beginning of the day as the cutoff point, so as to obtain the target step value corresponding to each time granularity in the day.
[0033] Optionally, the device also includes: a storage unit, which is used to perform data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, and then store the target step value corresponding to each time granularity within the target time range in the target database.
[0034] Optionally, the display unit includes: a retrieving subunit, for responding to a first instruction, to retrieve from a database the target step value corresponding to each time granularity within the time range indicated by the first instruction; a display subunit, for displaying the total number of steps per day within the indicated time range, and displaying the target step value corresponding to each retrieved time granularity in the form of a graph.
[0035] Optionally, the device further comprises: a response unit, configured to determine, in response to a second instruction, a default value of the time granularity indicated by the second instruction before displaying the retrieved target step count sub-data corresponding to each time granularity in a graphical form;
[0036] Optionally, the display subunit includes: a display module, used to merge the retrieved target step number sub-data based on the time granularity default value, and display the merging result in a graphical form, wherein the time granularity default value is greater than the time granularity target value.
[0037] According to another aspect of an embodiment of the present invention, a motion step processing system is further provided, the motion step processing system executes any one of the motion step processing methods described above, and the processing system comprises: a step source input module, used to obtain at least one step data, wherein the step data is derived from at least one data supply object; a step preprocessing module, which is communicatively connected to the step source input module, and is used to sequentially perform time granularity consistency processing on each of the step data to obtain an initial step value set corresponding to each step data, wherein the initial step value sequentially corresponds to a time granularity, and the duration of each time granularity is the same; a step fusion module, which is communicatively connected to the step preprocessing module, and is used to sequentially perform time granularity consistency processing on each of the step data to obtain an initial step value set corresponding to each step data, wherein the initial step value sequentially corresponds to a time granularity, and the duration of each time granularity is the same; The module is communicatively connected to perform data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, wherein the time range involved in each step data is the target time range; the step storage module is communicatively connected to the step preprocessing module and the step fusion module, and is used to store the initial step value set corresponding to each step data and the target step value corresponding to each time granularity within the target time range; the step display module is communicatively connected to the step storage module, and is used to display the data of the exercise steps based on the target step value corresponding to each time granularity stored in the step storage module.
[0038] Optionally, the step source input module is also used to: determine whether the total step value recorded in the step data corresponds to an end time; if the judgment result is that the end time is not included, determine that the step data is the first category of data; if the judgment result is that the end time is included, determine whether the step data contains a time granularity value and a step value set, wherein the time granularity value is the duration of each time granularity from the start time to the end time of the total step value, and the step value set records in sequence: the step value detected at each time granularity; if the judgment result is that the time granularity value and / or the step value set are not included, determine that the step data is the second category of data; if the judgment result is that the time granularity value and the step value set are included, determine that the step data is the third category of data.
[0039] Optionally, the step source input module is also used to: calculate the average step frequency of each step data, and determine whether the average step frequency of the step data is within a target threshold range; when it is determined that the average step frequency of the step data is not within the target threshold range, determine the credibility of the step data as a first threshold; when it is determined that the average step frequency of the step data is within the target threshold range, determine the credibility of the step data at least based on the data category of the step data, wherein the data category of the step data includes: first category data, second category data and third category data.
[0040] Optionally, the step display module is also used to: determine a default value of the time granularity indicated by a second instruction in response to the second instruction; and merge the retrieved target step sub-data based on the default value of the time granularity, and display the merged result in a graphical form, wherein the default value of the time granularity is greater than the target value of the time granularity.
[0041] According to another aspect of the present application, a storage medium is provided, wherein the storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for processing the number of motion steps.
[0042] According to another aspect of the present application, a processor is provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned motion step processing methods when running.
[0043] In summary, the present application obtains at least one step data, wherein the step data comes from at least one data supply object; performs time granularity consistency processing on each of the step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same; performs data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each of the step data is the target time range; based on the target step value corresponding to each time granularity, the data of the exercise steps is displayed, which solves the technical problems that there is no cross-day step fusion solution that supports multiple sources in the prior art, and the time-sharing fine-grained display function is insufficient in the prior art.
[0044] In other words, the present application obtains multiple step data from at least one data supply object, and normalizes the multiple step data with time granularity as the dimension to obtain multiple initial step value sets with the same time granularity value. And by performing data fusion processing on multiple initial step value sets, a unique target step value corresponding to each time granularity is obtained. Finally, the data of the exercise steps is displayed based on a very detailed target step value. The effective cross-day fusion processing of step data from multiple sources is achieved, and the detailed technical effect of displaying certain fine-grained steps is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0046] Figure 1is a schematic diagram of an optional method for processing the number of motion steps according to an embodiment of the present invention. Figure 1 ;
[0047] Figure 2 is a schematic diagram of an optional method for processing the number of motion steps according to an embodiment of the present invention. Figure 2 ;
[0048] Figure 3 is a schematic diagram of an optional integrated list of step count data according to an embodiment of the present invention;
[0049] Figure 4 is a schematic diagram of an optional fusion list of step count data according to an embodiment of the present invention;
[0050] Figure 5 is a schematic diagram of an optional motion step processing device according to an embodiment of the present invention;
[0051] Figure 6 is a schematic diagram of an optional motion step processing system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0054] According to an embodiment of the present invention, an embodiment of a method for processing the number of motion steps is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0055] Figure 1 is a method for processing the number of motion steps according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0056] Step S102, obtaining at least one step count data, wherein the step count data comes from at least one data supply object.
[0057] It should be noted that the method for processing the number of exercise steps provided in the present application is applied to a target application in a target device. The step data acquisition module in the target application provides a series of input interfaces for receiving internal data provided by the target device and / or external data provided by other devices (for example, sports bracelets, walking machines, treadmills, etc.). The internal data of the target device is further divided into data generated by the operating system in the target device, data generated by the target application in the target device, and data generated by other applications in the target device.
[0058] In other words, the data supply objects may be: an operating system of a target device, a target application in a target device, other applications in a target device, and other devices.
[0059] For the step data provided by different data supply objects, this application will use different input interfaces to obtain it, where the input interface can be: an internal service call interface, a Restful API service interface provided to other applications, and a cross-process call interface provided to other applications.
[0060] It should be noted that: there are N step data and M data supply objects, where N≥M≥1.
[0061] In an optional example, after acquiring at least one step count data, the method further includes:
[0062] Step S201, determining whether the total step value recorded in the step count data corresponds to an end time;
[0063] Step S202, when the judgment result is that the end time is not included, determining that the step count data is the first type of data;
[0064] Step S203, when the judgment result is that the end time is included, it is judged whether the step count data includes a time granularity value and a step value set, wherein the time granularity value is the duration of each time granularity from the start time to the end time of the total step value, and the step value set sequentially records: the step value detected at each time granularity;
[0065] Step S204: when the judgment result is that the time granularity value and / or the step value set are not included, determining that the step count data is the second type of data;
[0066] Step S205: When the judgment result includes a time granularity value and a step value set, it is determined that the step count data is the third type of data.
[0067] It should be noted that the data structure of the first type of data is: total step value, starting time of the total step value, and interception timestamp of the total step value. The first type of data mainly comes from the step sensor of the target device's operating system, where the total step value is the total step value counted by the target device since it was turned on, and the interception timestamp is the timestamp of the interception time of the total step value.
[0068] It should be noted that the data structure of the second type of data is: total step value, start timestamp and end timestamp corresponding to the total step value, and data source information. The second type of data can come from the target application in the target device, other applications in the target device, and hardware devices outside the target device, where the data source information is the information describing the target application, other applications, and hardware devices.
[0069] It should be noted that the data structure of the third type of data is: total step value, start timestamp and end timestamp corresponding to the total step value, time granularity value and step value set. For example, the step value set can be expressed in the form of [20, 23, 24, 21, 27, 23, 19, 22].
[0070] The format of the timestamp is preferably epoch timestamp, that is, the number of seconds from 1970-01-01 00:00:00 to the specified time.
[0071] In an optional example, after acquiring at least one step count data, the method further includes:
[0072] Step S301, calculating the average step frequency of each step data, and determining whether the average step frequency of the step data is within a target threshold range, wherein the target threshold range is preferably 30 steps per 60 seconds to 220 steps per 60 seconds, which can be adjusted as needed, and the present application does not specifically limit this;
[0073] Step S302, when it is determined that the average step frequency of the step count data is not within the target threshold range, determining the credibility of the step count data to be a first threshold;
[0074] Step count S303, when it is determined that the average step frequency of the step count data is within the target threshold range, the credibility of the step count data is determined at least according to the data category of the step count data, wherein the data category of the step count data includes: first category data, second category data and third category data.
[0075] Preferably, determining the credibility of the step data at least according to the data category of the step data includes:
[0076] Step S3031, when the data category of the step count data is the first category of data, determining that the credibility of the step count data is a second threshold, wherein the second threshold is greater than the first threshold;
[0077] Step S3032, when the data category of the step count data is the second category data, determining the credibility of the step count data according to the data source of the step count data, wherein the value range of the credibility of the second category data is a first preset range, and the minimum value in the first preset range is greater than the second threshold;
[0078] Step S3033, when the data type of the step data is the third category data, determine the credibility of the step data according to the time granularity value of the step data, wherein the value range of the credibility of the third category data is a second preset range, and the minimum value in the second preset range is greater than the maximum value in the first preset range.
[0079] Further, determining the credibility of the step data according to the data source information in the step data includes:
[0080] Step S3032a, when the step count data comes from other applications in the target device, determining that the credibility of the step count data is a third threshold, wherein the third threshold is greater than the second threshold;
[0081] Step S3032b, when the step count data originates from a hardware device outside the target device, determining that the credibility of the step count data is a fourth threshold, wherein the fourth threshold is greater than the third threshold;
[0082] Step S3032c, when the step count data originates from a target device in a target device, determining that the credibility of the step count data is a fifth threshold, wherein the fifth threshold is greater than the fourth threshold.
[0083] Further, determining the credibility of the step data according to the time granularity value in the step data includes:
[0084] Step S3033a, substitute the time granularity value of the step data into the first formula to calculate the credibility of the step data, wherein the first formula is: credibility of step data = 0.8 + 0.2 × (1 – arctan (time granularity value of step data – time granularity target value) * 2 / π).
[0085] In other words, the larger the time granularity value of the step data, the lower the credibility of the step data; the smaller the time granularity value of the step data, the higher the credibility of the step data.
[0086] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, specific examples will be used for illustration below.
[0087] 1. If the average step frequency of the step data is not within the target threshold range, the credibility is 0.1;
[0088] 2. If the cadence data is of the first type, the credibility is 0.3;
[0089] 3. If the cadence data is the second type of data, the credibility is [0.3, 0.8).
[0090] Among them, the credibility of the step data generated by the target application is 0.7; the credibility of the step data generated by other hardware is 0.6; the credibility of the step data generated by other applications is 0.5.
[0091] 4. If the cadence data is the third type of data, the credibility is [0.8, 1],
[0092] The confidence calculation formula is: Conf = 0.8 + 0.2 * (1 - arctan (gran - output granularity) * 2 / π).
[0093] At this point, the data structure of each step data is as follows:
[0094] Start time start = 1629335672 (timestamp)
[0095] End time end = 1629339272 (timestamp)
[0096] Total step value steps = 10000 (Int type value)
[0097] Time granularity gran=60, unit: seconds (s)
[0098] Step value set detail = [100, 150, 180, ..., 200]
[0099] Conf = 1.0
[0100] The step value set is the step number information every 60 seconds (time granularity) from the start time, for example: 100 steps are generated in the first 60 seconds, 150 steps are generated in the second 60 seconds, and so on.
[0101] In an optional example, after acquiring at least one step count data, the method further includes: storing the at least one step count data in a target database for subsequent program calls.
[0102] Step S104, performing time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same.
[0103] In other words, the step data may contain the first category data and the second category data (data not involving time granularity and step value sets), or the second category data with different time granularity values. At this time, before data fusion is performed on the step data, the step data is first processed to be consistent with the time granularity to obtain multiple initial step value sets with consistent time granularity; at this time, using multiple initial step value sets with consistent time granularity for data fusion processing can improve the fusion efficiency and accuracy.
[0104] In an optional example, each step data is sequentially subjected to time granularity consistency processing to obtain an initial step value set corresponding to each step data, including:
[0105] Step S1041, determining a preset time granularity target value, wherein the time granularity target value is preferably 60 seconds, which can be adjusted as needed, and is not specifically limited in this application;
[0106] Step S1042: when the step data is the first category of data or the second category of data, the time range involved in the step data is divided into a plurality of time granularities based on the time granularity target value; and the total step value recorded in the step data is evenly distributed to the divided multiple time granularities to obtain an initial step value set corresponding to the step data;
[0107] Step S1043, when the step data is the third type of data, based on the proportional relationship between the time granularity target value and the time granularity value recorded in the step data, the step value set of the step data is processed to obtain an initial step value set corresponding to the step data.
[0108] Preferably, before determining a preset time granularity target value, the method further includes: responding to a third instruction, determining the time granularity target value indicated by the third instruction, wherein the third instruction can be operated at any time and is not specifically limited in this application.
[0109] Preferably, based on the proportional relationship between the time granularity target value and the time granularity value recorded in the step data, the step value set of the step data is processed to obtain an initial step value set corresponding to the step data, including:
[0110] Step S1043a, when the time granularity target value is equal to the time granularity value recorded in the step data, directly determine the step value set recorded in the step data as the initial step value set corresponding to the step data.
[0111] Step S1043b, when the time granularity target value is greater than the time granularity value recorded in the step data, the time range involved in the step data is divided into multiple time granularities based on the time granularity target value; the step values recorded in the step data are sequentially merged into the multiple divided time granularities according to the proportional relationship to obtain an initial step value set corresponding to the step data.
[0112] For example: the time granularity of the step data is 30 seconds, the time granularity target value is 60 seconds; the step value set is [20, 23, 24, 21, 27, 23, 19, 22], then the initial step value set is [43, 45, 50, 41].
[0113] Step S1043c, when the time granularity target value is smaller than the time granularity value recorded in the step data, the time range involved in the step data is divided into multiple time granularities based on the time granularity target value; the step values recorded in the step data are sequentially dispersed to the multiple divided time granularities according to a proportional relationship to obtain an initial step value set corresponding to the step data.
[0114] For example: the time granularity of the step data is 60 seconds, the time granularity target value is 30 seconds; the step value set is [42, 46, 50, 40], then the initial step value set is [21, 21, 23, 23, 25, 25, 20, 20].
[0115] In an optional example, after performing time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, the method further includes: storing the initial step value set corresponding to each step data in a target database for subsequent program calls.
[0116] Step S106, performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, wherein the time range involved in each step data is the target time range.
[0117] In other words, there may be multiple initial step values for the same time granularity in each initial step value set. In this case, before displaying the number of motion steps, the multiple initial step values corresponding to the same time granularity must be fused so that each time granularity corresponds to a unique target step value, so that the steps can be displayed according to the unique target step value in subsequent steps.
[0118] In an optional example, data fusion processing is performed on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, including:
[0119] Step S1061, determining a target time range composed of the time range involved in each step count data.
[0120] Step S1062, determining an initial step value corresponding to each time granularity within the target time range.
[0121] Step S1063, when the time granularity corresponds to an initial step value, the initial step value corresponding to the time granularity is determined as the target step value corresponding to the time granularity.
[0122] Step S1064: when the time granularity corresponds to a plurality of initial step values, a target step value corresponding to the time granularity is determined based on the plurality of initial step values corresponding to the time granularity.
[0123] Preferably, determining a target step value corresponding to the time granularity based on a plurality of initial step values corresponding to the time granularity includes:
[0124] Step S1064a, when the multiple initial step values include the initial step value of the third type of data, determining the target step value corresponding to the time granularity based on the initial step value of the third type of data;
[0125] Step S1064b, when the multiple initial step values do not include the initial step value of the third category of data, the initial step value with the greatest credibility among the multiple initial step values is determined as the target step value corresponding to the time granularity.
[0126] Further, based on the initial step value of the third type of data, determining the target step value corresponding to the time granularity includes:
[0127] Step A, when the initial step value of the third type of data is one, the initial step value of the third type of data is determined as the target step value corresponding to the time granularity;
[0128] Step B, when there are multiple initial step values of the third type of data, determining whether the credibility of the initial step values of the third type of data is consistent;
[0129] Step C, when the credibility of the initial step values of the third category data is inconsistent, weighted summing the initial step values of the third category data, and determining the target step value corresponding to the time granularity based on the summing result;
[0130] Step D, when the credibility of the initial step value of the third category data is consistent, perform a confidence test on the initial step value of the third category data, and determine the target step value corresponding to the time granularity based on the test result.
[0131] It should be noted that the number of interval steps generated in actual movement should satisfy the Gaussian distribution. Therefore, the initial step value is tested for confidence according to the Laida criterion (3-sigma), that is, based on the initial step value set in which multiple initial step values are located, the initial step value is tested for confidence, and an initial step value with a higher ratio within the confidence area of the initial step value set is obtained, which is used as the target step value corresponding to the time granularity.
[0132] It should be noted that the fusion strategy in “performing data fusion processing on the initial step value set corresponding to each step data” can be updated with application iterations.
[0133] In an optional example, data fusion processing is performed on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, including: taking the beginning of a day as the cutoff point, data fusion processing is performed on the initial step value set of each day in turn to obtain the target step value corresponding to each time granularity of the day.
[0134] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the following will be described in conjunction with specific examples:
[0135] Taking the beginning of the day as the cutoff point, the initial step value set of each day is fused in turn to obtain the target step value corresponding to each time granularity in the day, such as Figure 2 As shown, it generally includes the following steps:
[0136] 1. Arrange each step data in positive order according to the start time, and determine the start time of the earliest step data, start-all.
[0137] 2. Sort each step data in reverse order according to the end time, and determine the end time of the latest step data, end-all.
[0138] 3. Calculate the earliest start time end-all and the latest end time end-all, and the number of natural days that have passed.
[0139] 4. For each natural day, traverse all step data, check the start time and end time of the step data in each natural day, determine the step data for each natural day; and generate a list, such as Figure 3 As shown, the list includes the start timestamp, end timestamp, and step count data of each natural day.
[0140] 5. Perform data fusion processing on the step count data of each natural day. Specifically, arrange the step count data of each natural day in ascending order according to the start time and in descending order according to the end time; and use the dynamic programming method to calculate all the non-overlapping and overlapping parts, and determine the corresponding step count data, as follows: Figure 4 shown.
[0141] There is no step information in the current interval (the white part in the figure), ignore it
[0142] There is no overlap in the current interval (the light gray part in the figure), and the step data of this part is directly used.
[0143] The current interval has overlap (the dark gray part in the figure), and the multiple step count data of this part are fused.
[0144] In an optional example, after performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, the method also includes: storing the target step value corresponding to each time granularity within the target time range into a target database for subsequent program calls.
[0145] Step S108: Displaying the data of the number of exercise steps based on the target step value corresponding to each time granularity.
[0146] In other words, the basic data for displaying the number of motion steps is more detailed at this time, for example: the basic data includes the target step value corresponding to each time granularity; at this time, the embodiment of the present application can display the number of motion steps at each time granularity to the user, or the number of motion steps at any time granularity whose time granularity value is greater than the target time granularity value.
[0147] In an optional example, performing step count display processing based on the target step count sub-data corresponding to each time granularity includes:
[0148] Step S1081, in response to the first instruction, retrieve from the database the target step value corresponding to each time granularity within the time range indicated by the first instruction;
[0149] Step S1082, displaying the total number of steps per day within the indicated time range, and displaying the target step value corresponding to each retrieved time granularity in the form of a chart.
[0150] That is, the user can select a specific time range (eg, a certain date) to view, and in response to the user's selection instruction, the total step value on the interface and a chart showing the target step value corresponding to each time granularity are updated.
[0151] In an optional example, before displaying the target step count sub-data corresponding to each time granularity retrieved in graphical form, the method further includes: in response to a second instruction, determining a default value of the time granularity indicated by the second instruction, wherein the second instruction can be operated at any time and is not specifically limited in this application.
[0152] At the same time, in the example, the target step value data corresponding to each time granularity retrieved is displayed in a graphical form, including: merging the retrieved target step value sub-data based on the time granularity default value, and displaying the merging result in a graphical form, wherein the time granularity default value is greater than the time granularity target value.
[0153] That is, the time granularity of the step value displayed in the chart can be customized. For example, the target time granularity is 1 minute (60 seconds), and the default time granularity is 20 minutes. At this time, every 20 target step values are grouped together and merged and summed to obtain a step value every 20 minutes.
[0154] In summary, the present application obtains at least one step data, wherein the step data comes from at least one data supply object; performs time granularity consistency processing on each of the step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same; performs data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each of the step data is the target time range; based on the target step value corresponding to each time granularity, the data of the exercise steps is displayed, which solves the technical problems that there is no cross-day step fusion solution that supports multiple sources in the prior art, and the time-sharing fine-grained display function is insufficient in the prior art.
[0155] In other words, the present application obtains multiple step data from at least one data supply object, and normalizes the multiple step data with time granularity as the dimension to obtain multiple initial step value sets with the same time granularity value. And by performing data fusion processing on multiple initial step value sets, a unique target step value corresponding to each time granularity is obtained. Finally, the data of the exercise steps is displayed based on a very detailed target step value. The effective cross-day fusion processing of step data from multiple sources is achieved, and the detailed technical effect of displaying certain fine-grained steps is achieved.
[0156] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0157] The embodiment of the present application also provides a motion step processing device. It should be noted that the motion step processing device of the embodiment of the present application can be used to execute the motion step processing method provided in the embodiment of the present application. The motion step processing device provided in the embodiment of the present application is introduced below.
[0158] Figure 5 Schematic diagram of a device for processing movement steps according to an embodiment of the present application. Figure 5 As shown, the device includes: an acquisition unit 10, a consistency processing unit 20, a data fusion unit 30 and a display unit 40.
[0159] An acquisition unit 10, configured to acquire at least one step count data, wherein the step count data is derived from at least one data supply object;
[0160] The consistency processing unit 20 is used to perform time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same;
[0161] A data fusion unit 30 is used to perform data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each step data is the target time range;
[0162] The display unit 40 is used to display the data of the number of exercise steps based on the target step value corresponding to each time granularity.
[0163] The processing device for the number of motion steps provided in the embodiment of the present application obtains at least one step data through an acquisition unit 10, wherein the data source of each step data is different; the consistency processing unit 20 performs time granularity consistency processing on each of the step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same; the data fusion unit 30 performs data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each of the step data is the target time range; the display unit 40 displays the data of the motion steps based on the target step value corresponding to each time granularity, thereby solving the technical problems that there is no cross-day step fusion solution supporting multiple sources in the prior art, and the time-sharing fine-grained display function is insufficient in the prior art.
[0164] In other words, the present application obtains multiple step data from at least one data supply object, and normalizes the multiple step data with time granularity as the dimension to obtain multiple initial step value sets with the same time granularity value. And by performing data fusion processing on multiple initial step value sets, a unique target step value corresponding to each time granularity is obtained. Finally, the data of the exercise steps is displayed based on a very detailed target step value. The effective cross-day fusion processing of step data from multiple sources is achieved, and the detailed technical effect of displaying certain fine-grained steps is achieved.
[0165] The motion step processing device includes a processor and a memory. The acquisition unit 10, the consistency processing unit 20, the data fusion unit 30 and the display unit 40 are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
[0166] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the technical problems that there is no cross-day step fusion solution supporting multiple sources in the prior art, and the time-sharing fine-grained display function is insufficient in the prior art.
[0167] The embodiment of the present application also provides a system for processing motion steps. It should be noted that the system for processing motion steps in the embodiment of the present application can be used to execute the method for processing motion steps provided in the embodiment of the present application. The system for processing motion steps provided in the embodiment of the present application is introduced below.
[0168] Figure 6 A schematic diagram of a system for processing motion steps according to an embodiment of the present application. Figure 6As shown, the device includes: a step source input module 50, a step preprocessing module 60, a step fusion module 70, a step storage module 80 and a step display module 90.
[0169] A step source input module 50, used to obtain at least one step data, wherein the step data comes from at least one data supply object;
[0170] The step preprocessing module 60 is in communication with the step source input module 50, and is used to sequentially perform time granularity consistency processing on each step data to obtain an initial step value set corresponding to each step data, wherein the initial step value sequentially corresponds to a time granularity, and the duration of each time granularity is the same;
[0171] The step number fusion module 70 is in communication with the step number preprocessing module 60, and is used to perform data fusion processing on the initial step value set corresponding to each step number data to obtain the target step value corresponding to each time granularity within the target time range, wherein the time range involved in each step number data is the target time range;
[0172] A step storage module 80 is connected to the step preprocessing module 60 and the step fusion module 70 for storing an initial step value set corresponding to each step data and a target step value corresponding to each time granularity within a target time range;
[0173] The step display module 90 is in communication connection with the step storage module 80 , and is used for displaying the exercise step data based on the target step value corresponding to each time granularity stored in the step storage module 80 .
[0174] The motion step processing device provided in the embodiment of the present application obtains at least one step data through a step source input module 50, wherein the data source of each step data is different; a step preprocessing module 60 is connected in communication with the step source input module 50, and is used to perform time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same; a step fusion module 70 is connected in communication with the step preprocessing module 60, and is used to perform data fusion processing on the initial step value set corresponding to each step data, and obtain the value of each time granularity within the target time range. The step storage module 80 is connected in communication with the step preprocessing module 60 and the step fusion module 70, and is used to store the initial step value set corresponding to each step data and the target step value corresponding to each time granularity within the target time range; the step display module 90 is connected in communication with the step storage module 80, and is used to display the exercise step data based on the target step value corresponding to each time granularity stored in the step storage module 80, which solves the technical problems that there is no cross-day step fusion solution supporting multiple sources in the prior art, and the time-sharing fine-grained display function is insufficient in the prior art.
[0175] In other words, the present application obtains multiple step data from at least one data supply object, and normalizes the multiple step data with time granularity as the dimension to obtain multiple initial step value sets with the same time granularity value. And by performing data fusion processing on multiple initial step value sets, a unique target step value corresponding to each time granularity is obtained. Finally, the data of the exercise steps is displayed based on a very detailed target step value. The effective cross-day fusion processing of step data from multiple sources is achieved, and the detailed technical effect of displaying certain fine-grained steps is achieved.
[0176] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the method for processing the number of motion steps is implemented.
[0177] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for processing the number of motion steps is executed when the program is running.
[0178] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0179] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0180] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0181] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0182] In addition, 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 above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0183] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0184] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for processing the number of movement steps, characterized in that: The processing method comprises: Acquire at least one step count data, wherein the step count data comes from at least one data supply object; Determine whether the total step value recorded in the step data corresponds to an end time; When the judgment result is that the end time is not included, determining that the step count data is the first category of data; In the case where the judgment result is that the end time is included, it is judged whether the step data includes a time granularity value and a step value set, wherein the time granularity value is the duration of each time granularity within the start time to the end time of the total step value, and the step value set sequentially records: the step value detected at each time granularity; When the judgment result is that the time granularity value and / or the step value set are not included, determining that the step count data is the second type of data; When the judgment result includes a time granularity value and a step value set, determining that the step count data is the third type of data; Performing time granularity consistency processing on each of the step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same, The step of performing time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data comprises: Determine the pre-set time granularity target value, In the case where the step data is the first category of data or the second category of data, the time range involved in the step data is divided into multiple time granularities based on the time granularity target value, and the total step value recorded in the step data is evenly distributed to the multiple divided time granularities to obtain an initial step value set corresponding to the step data, In the case where the step data is the third type of data, based on the ratio between the time granularity target value and the time granularity value recorded in the step data, the step value set of the step data is processed to obtain an initial step value set corresponding to the step data; Performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, wherein the time range involved in each step data is the target time range; Based on the target step value corresponding to each time granularity, the data of the number of exercise steps is displayed.
2. The method for processing the number of exercise steps according to claim 1, characterized in that: After acquiring at least one step count data, the method further includes: Calculate the average step frequency of each step data, and determine whether the average step frequency of the step data is within a target threshold range; When it is determined that the average step frequency of the step count data is not within the target threshold range, determining the credibility of the step count data to be a first threshold; When it is determined that the average step frequency of the step data is within the target threshold range, the credibility of the step data is determined at least based on the data category of the step data, wherein the data category of the step data includes: first category data, second category data and third category data.
3. The method for processing the number of exercise steps according to claim 2, characterized in that: Determining the credibility of the step data at least according to the data category of the step data includes: When the data category of the step count data is the first category of data, determining the credibility of the step count data to be a second threshold, wherein the second threshold is greater than the first threshold; In a case where the data category of the step data is the second category data, determining the credibility of the step data according to the data source of the step data, wherein a value range of the credibility of the second category data is a first preset range, and a minimum value in the first preset range is greater than the second threshold; In the case where the data type of the step data is third category data, the credibility of the step data is determined according to the time granularity value of the step data, wherein the value range of the credibility of the third category data is a second preset range, and the minimum value in the second preset range is greater than the maximum value in the first preset range.
4. The method for processing the number of exercise steps according to claim 2, characterized in that: The larger the time granularity value of the step data, the lower the credibility of the step data; the smaller the time granularity value of the step data, the higher the credibility of the step data.
5. The method for processing the number of exercise steps according to claim 1, characterized in that: Based on the ratio between the time granularity target value and the time granularity value recorded in the step data, a step value set of the step data is processed to obtain an initial step value set corresponding to the step data, including: When the time granularity target value is equal to the time granularity value recorded in the step data, directly determining the step value set recorded in the step data as the initial step value set corresponding to the step data; In the case where the time granularity target value is greater than the time granularity value recorded in the step data, dividing the time range involved in the step data into multiple time granularities based on the time granularity target value; merging the step values recorded in the step data into the divided multiple time granularities in a proportional relationship, and obtaining an initial step value set corresponding to the step data; When the time granularity target value is smaller than the time granularity value recorded in the step data, the time range involved in the step data is divided into multiple time granularities based on the time granularity target value; the step values recorded in the step data are sequentially dispersed to the multiple divided time granularities according to a proportional relationship to obtain an initial step value set corresponding to the step data.
6. The method for processing the number of exercise steps according to claim 2, characterized in that: Performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, including: Determine a target time range consisting of the time range involved in each step count data; Determine an initial step value corresponding to each time granularity within the target time range; and, In the case where the time granularity corresponds to an initial step value, the initial step value corresponding to the time granularity is directly used to determine the target step value of the time granularity; In the case where the time granularity corresponds to a plurality of initial step values, a target step value of the time granularity is determined based on the plurality of initial step values corresponding to the time granularity.
7. The method for processing the number of exercise steps according to claim 6, characterized in that: Determining a target step value of the time granularity based on a plurality of initial step values corresponding to the time granularity includes: In a case where the multiple initial step values include the initial step value of the third type of data, determining the target step value corresponding to the time granularity based on the initial step value of the third type of data; In the case that the multiple initial step values do not include the initial step value of the third type of data, the initial step value with the greatest credibility among the multiple initial step values is determined as the target step value corresponding to the time granularity.
8. The method for processing the number of exercise steps according to claim 7, characterized in that: Determining a target step value corresponding to the time granularity based on the initial step value of the third type of data includes: When the initial step value of the third type of data is one, the initial step value of the third type of data is determined as the target step value corresponding to the time granularity; In the case where there are multiple initial step values of the third type of data, determining whether the credibility of the initial step values of the third type of data is consistent; In the case where the credibility of the initial step values of the third category data is inconsistent, weighted summing the initial step values of the third category data is performed, and determining the target step value corresponding to the time granularity based on the summing result; In the case where the credibility of the initial step value of the third category data is consistent, a confidence test is performed on the initial step value of the third category data, and a target step value corresponding to the time granularity is determined based on the test result.
9. The method for processing the number of exercise steps according to claim 1, characterized in that: Performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, including: taking the beginning of a day as the cutoff point, performing data fusion processing on the initial step value set of each day in turn to obtain the target step value corresponding to each time granularity in the day.
10. The method for processing the number of exercise steps according to claim 1, characterized in that: After performing data fusion processing on the initial step value set corresponding to each step data to obtain the target step value corresponding to each time granularity within the target time range, the method also includes: storing the target step value corresponding to each time granularity within the target time range in a target database.
11. The method for processing the number of exercise steps according to claim 9, characterized in that: Based on the target step value corresponding to each time granularity, the data display of the number of exercise steps is performed, including: In response to the first instruction, retrieve from the database the target step value corresponding to each time granularity within the time range indicated by the first instruction; The total number of steps per day within the indicated time range is displayed, and the target step value corresponding to each time granularity retrieved is displayed in a chart.
12. The method for processing the number of exercise steps according to claim 11, characterized in that: Before displaying the target step value corresponding to each of the retrieved time granularities in a graphical form, the method further includes: in response to a second instruction, determining a default value of the time granularity indicated by the second instruction; The target step value corresponding to each time granularity retrieved is displayed in a graphical form, including: merging the retrieved target step values based on the time granularity default value, and displaying the merging result in a graphical form, wherein the time granularity default value is greater than the time granularity target value.
13. A motion step processing device, characterized in that: The processing device comprises: An acquiring unit, configured to acquire at least one step count data, wherein the step count data is derived from at least one data supply object; A first judgment unit is used to judge whether the total step value recorded in the step data corresponds to an end time after acquiring at least one step data; A first determining unit, configured to determine that the step count data is first category data when the judgment result is that the step count data does not include an end time; a second judgment unit, for judging, when the judgment result is that the end time is included, whether the step data includes a time granularity value and a step value set, wherein the time granularity value is the duration of each time granularity within the start time to the end time of the total step value, and the step value set sequentially records: the step value detected at each time granularity; A second determining unit, configured to determine that the step count data is second-category data when the judgment result is that the step count data does not include the time granularity value and / or the step value set; A third determining unit, configured to determine that the step count data is a third type of data when the judgment result is a set including a time granularity value and a step value; A consistency processing unit is used to perform time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same, The uniform processing unit comprises: The fourth determining subunit is used to determine a preset time granularity target value, a first generating subunit, for dividing the time range involved in the step data into a plurality of time granularities based on the time granularity target value when the step data is the first category of data or the second category of data, and evenly distributing the total step value recorded in the step data to the divided plurality of time granularities, to generate an initial step value set corresponding to the step data, a second generating subunit, configured to, when the step data is the third type of data, process the step value set of the step data based on a ratio value between the time granularity target value and the time granularity value recorded in the step data to generate an initial step value set corresponding to the step data; A data fusion unit is used to perform data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each step data is the target time range; The display unit is used to display the data of the number of exercise steps based on the target step value corresponding to each time granularity.
14. A system for processing movement steps, characterized in that: The motion step processing system executes the motion step processing method according to any one of claims 1 to 12, and the processing system comprises: A step source input module, used for acquiring at least one step data, wherein the step data comes from at least one data supply object; The step source input module is further used to: determine whether the total step value recorded in the step data corresponds to an end time; if the judgment result is that the end time is not included, determine that the step data is the first type of data; if the judgment result is that the end time is included, determine whether the step data contains a time granularity value and a step value set, wherein the time granularity value is the duration of each time granularity from the start time to the end time of the total step value, and the step value set sequentially records: the step value detected at each time granularity; if the judgment result is that the time granularity value and / or the step value set are not included, determine that the step data is the second type of data; if the judgment result is that the time granularity value and the step value set are included, determine that the step data is the third type of data; The step preprocessing module is connected to the step source input module for performing time granularity consistency processing on each step data in turn to obtain an initial step value set corresponding to each step data, wherein the initial step value corresponds to a time granularity in turn, and the duration of each time granularity is the same. The specific steps performed by the step number preprocessing module include: Determine the pre-set time granularity target value, In the case where the step data is the first category of data or the second category of data, the time range involved in the step data is divided into multiple time granularities based on the time granularity target value, and the total step value recorded in the step data is evenly distributed to the multiple divided time granularities to obtain an initial step value set corresponding to the step data, In the case where the step data is the third type of data, based on the ratio between the time granularity target value and the time granularity value recorded in the step data, the step value set of the step data is processed to obtain an initial step value set corresponding to the step data; A step fusion module is communicatively connected with the step preprocessing module, and is used to perform data fusion processing on the initial step value set corresponding to each step data to obtain a target step value corresponding to each time granularity within a target time range, wherein the time range involved in each step data is the target time range; A step number storage module is communicatively connected with the step number preprocessing module and the step number fusion module, and is used to store an initial step value set corresponding to each step number data and a target step value corresponding to each time granularity within a target time range; The step display module is communicatively connected to the step storage module and is used to display the data of the exercise steps based on the target step value corresponding to each time granularity stored in the step storage module.
15. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the method for processing the number of motion steps described in any one of claims 1 to 12.
16. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the method for processing the number of motion steps described in any one of claims 1 to 12.
