Measuring method, device, equipment and medium for walking distance of walking test
By acquiring acceleration and angular velocity data from walking tests, using multi-axis sensors to identify the number of turns and steps, and calculating the total walking distance, the problem of inconvenient manual intervention and equipment layout in existing technologies is solved, achieving efficient and convenient walking distance measurement.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CONTEC MEDICAL SYST
- Filing Date
- 2021-07-05
- Publication Date
- 2026-07-03
AI Technical Summary
Existing methods for measuring distance in walking tests require manual intervention and are inefficient. Furthermore, setting up positioning equipment necessitates rearranging the positioning signal transmitter, which is inconvenient.
By acquiring acceleration and angular velocity data of the test subjects during the walking test, multi-axis sensors are used to identify the number of turns and steps, and the total walking distance is calculated.
Without the need for manual intervention or setting up positioning equipment, it efficiently and conveniently measures walking test distances, improving the accuracy and efficiency of the measurement.
Smart Images

Figure CN115585824B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, specifically to a method, apparatus, equipment, and medium for measuring walking distance in a walking test. Background Technology
[0002] The gait test, as an exercise test, can objectively reflect the characteristics of a patient's actual daily activity level. Clinically, it has become a clinical tool for assessing patients' exercise capacity, cardiac function in patients with heart failure, treatment effects, and prognosis.
[0003] The gait test includes a 6-minute gait test, which requires recording the distance walked within 6 minutes. Existing methods for measuring the walking distance of test subjects include: manual distance recording and distance recording using a positioning device. The manual distance recording method involves recording the number of times the test subject walks back and forth along a fixed-distance route, and recording the patient's position at the end of the 6 minutes, thus calculating the total walking distance. The positioning device method involves setting up a positioning signal transmitter at the start and end points of a fixed-distance route. The test subject receives positioning signals through a portable device when passing the start and end points, and records the number of steps taken. The number of times positioning signals are received determines the number of laps walked, and the total walking distance is calculated based on the number of laps and the recorded steps.
[0004] However, manual distance measurement requires human intervention, which is time-consuming and labor-intensive. Setting up positioning devices for distance measurement also requires repositioning positioning signal transmitters at the start and end points of the route whenever the fixed distance is adjusted, which is inconvenient and has low measurement efficiency. Summary of the Invention
[0005] Due to the aforementioned problems with existing methods, this application provides a method, apparatus, device, and medium for measuring walking distance in a walking test.
[0006] Specifically, the embodiments of this application provide the following technical solutions:
[0007] In a first aspect, embodiments of this application provide a method for measuring walking distance in a walking test, including:
[0008] Acquire acceleration and angular velocity data of the test subjects during the walking test;
[0009] Based on the angular velocity data, determine the number of turns the subject made during the walking test and the timing of the last turn.
[0010] Based on the acceleration data and the timing corresponding to the last turn of the person being tested, determine the number of steps the person being tested took after the last turn;
[0011] The total walking distance of the test subject is determined based on the number of turns made by the test subject during the walking test and the number of steps taken by the test subject after the last turn.
[0012] Optionally, acquire acceleration and angular velocity data of the test subjects during the walking test, including:
[0013] The acceleration and angular velocity data of the test subject during the walking test are acquired by a multi-axis sensor carried by the test subject.
[0014] Optionally, based on the angular velocity data, the number of turns performed by the subject during the walking test is determined, including:
[0015] Based on the angular velocity changes of the test subject during the walking test measured by the multi-axis sensor, the turning motion of the test subject is identified, and the number of times the test subject turns during the walking test is counted.
[0016] Optionally, based on the acceleration data and the timing corresponding to the subject's last turn, the number of steps taken by the subject after the last turn is determined, including:
[0017] The acceleration data of the test subject during the period from the timing of the last turn to the end of the walking test is obtained by the multi-axis sensor, so as to determine the number of steps taken by the test subject after the last turn based on the acceleration data during the period from the timing of the last turn to the end of the walking test.
[0018] Optionally, the total walking distance of the test subject is determined based on the number of turns made by the test subject during the walking test and the number of steps taken by the test subject after the last turn, including:
[0019] Based on the number of turns made by the test subject during the walking test, the number of round trips made by the test subject during the walking test is determined, so as to determine the first walking distance of the test subject based on the number of round trips.
[0020] The stride length of the person being tested is obtained, and the second walking distance of the person being tested is determined based on the stride length of the person being tested and the number of steps taken by the person being tested after the last turn.
[0021] The total walking distance of the person being tested is determined based on the first walking distance and the second walking distance.
[0022] Optionally, obtaining the step length of the person being tested includes:
[0023] Based on the acceleration data of the subject during each round trip, determine the number of steps taken by the subject during each round trip;
[0024] The stride length of the test subject is determined based on the number of round trips, the number of steps in each round trip, and the distance from the starting point to the end point of the walking test.
[0025] And / or,
[0026] The step length of the test subject is determined based on the borg score of the dyspnea score.
[0027] Secondly, embodiments of this application provide a measuring device for walking distance in a walking test, comprising:
[0028] The acquisition module is used to acquire the acceleration and angular velocity data of the test subjects during the walking test;
[0029] The first processing module is used to determine the number of turns of the person being tested during the walking test and the timing corresponding to the last turn, based on the angular velocity data.
[0030] The second processing module is used to determine the number of steps taken by the subject after the last turn based on the acceleration data and the timing corresponding to the last turn of the subject.
[0031] The third processing module is used to determine the total walking distance of the test subject based on the number of turns the test subject makes during the walking test and the number of steps the test subject takes after the last turn.
[0032] Optionally, the acquisition module is specifically used for:
[0033] The acceleration and angular velocity data of the test subject during the walking test are acquired by a multi-axis sensor carried by the test subject.
[0034] Thirdly, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for measuring walking distance in a walking test as described in the first aspect.
[0035] Fourthly, embodiments of the present invention also provide a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for measuring walking distance in a walking test as described in the first aspect.
[0036] As can be seen from the above technical solution, this embodiment of the application determines the number of turns and the number of steps taken after the last turn by the test subject based on the acceleration and angular velocity data obtained during the walking test. The distance corresponding to the number of complete laps is determined based on the number of turns, and the additional walking distance is determined based on the number of steps taken after the last turn. Finally, the accurate total walking distance is obtained by summing the distance corresponding to the number of complete laps and the additional walking distance. Therefore, this embodiment of the application can measure the distance walked by a test subject in a walking test without manual intervention or the setting of positioning equipment; the method is efficient, convenient, and highly practical. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0038] Figure 1 This is a flowchart illustrating the steps of the method for measuring walking distance in a walking test provided in this application embodiment.
[0039] Figure 2 This is a schematic diagram of the acceleration waveform of the person under test provided in an embodiment of this application;
[0040] Figure 3 This is a schematic diagram of the structure of the walking distance measuring device provided in the embodiments of this application;
[0041] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0043] Figure 1 This is a flowchart illustrating the steps of the method for measuring walking distance in a walking test provided in this application embodiment. Figure 2 This is a schematic diagram of the acceleration waveform of the person under test provided in an embodiment of this application. The following is in conjunction with... Figure 1 and Figure 2The method for measuring walking distance in a walking test provided in this application is explained and described in detail. For example... Figure 1 As shown in the embodiments of this application, the method for measuring walking distance in a walking test includes:
[0044] Step 101: Obtain the acceleration and angular velocity data of the test subject during the walking test;
[0045] This application's embodiments can be applied to walking tests, including but not limited to 6-minute walking tests. This embodiment uses a 6-minute walking test as an example for explanation. It should be noted that before starting the 6-minute walking test, a straight route is first defined, assuming the starting point is A, the ending point is B, and the distance between A and B is L. During the 6-minute walking test, the test subject starts walking from point A towards point B, and timing begins simultaneously. When the test subject reaches point B, they turn around and walk back towards point A, and after reaching point A, they turn around and walk back towards point B again. During the 6-minute timer, the test subject will continuously walk back and forth until the timer reaches 6 minutes, at which point the timer stops. It can be understood that the distance walked by the test subject in the 6-minute walking test can be divided into two cases. One is that the test subject has walked exactly n times the distance L at the end of the 6-minute timer, in which case the test subject's walking distance in 6 minutes is n*L; the other is that the test subject has walked m times the distance L, and then walked N steps, in which case the walking distance in 6 minutes is m*L + N * the test subject's step length. Where n and m are integers not less than zero. n or m is measured by the person being tested turning around when they reach point A or point B, that is, n is the number of times the person being tested turns around.
[0046] In this step, a multi-axis sensor can be added to the smart device worn by the test subject during the experiment. Optionally, it can be a 3-axis sensor or a 6-axis sensor; there is no specific limitation here. The accelerometer and gyroscope in the multi-axis sensor measure the acceleration and angular velocity data of the test subject during the walking experiment, respectively, to analyze the test subject's turning movements and number of steps.
[0047] Step 102: Based on the angular velocity data, determine the number of turns the subject made during the walking test and the timing of the last turn;
[0048] In this step, after acquiring the angular velocity data of the subject during the walking test, the turning motions of the subject during the test can be identified based on the angular velocity data, thereby obtaining the number of turns and the timing corresponding to the last turn. Specifically, the turning motions of the subject are identified by monitoring the angular velocity changes of the xyz axes of the multi-axis sensor. When the subject turns, the angular velocities of the xyz axes of the multi-axis sensor change. The angular velocities of the xyz axes are added together to obtain w. Integrating w over a period of 0 to 4 seconds yields the angle. When θ is greater than 120 degrees, the turn is detected, and the timing of each turn of the subject is recorded.
[0049] Step 103: Based on the acceleration data and the timing corresponding to the last turn of the person being tested, determine the number of steps the person being tested took after the last turn;
[0050] In this step, the number of steps taken by the subject during the test is calculated using acceleration data collected by a multi-axis sensor. The calculation process is as follows: the acceleration sensor collects data RX, RY, and RZ, and the resultant acceleration is R = SQRT(RX^2 + RY^2 + RZ^2); the waveform of the resultant acceleration is plotted as follows. Figure 2 As shown, the algorithm finds peaks, with each peak representing a step. Optionally, the specific algorithm for finding peaks can be: determine whether the amplitude of each point in the waveform is greater than the amplitudes of the 100 points before it and greater than the amplitudes of the 100 points after it; if so, then that point is a peak.
[0051] In this step, the peak points of the waveform during the period from the last turn of the test subject to the end of the test time can be counted in the waveform diagram of the entire test, so as to obtain the number of steps taken by the test subject after the last turn.
[0052] Step 104: Determine the total walking distance of the test subject based on the number of turns made by the test subject during the walking test and the number of steps taken by the test subject after the last turn.
[0053] In this step, the number of turns the subject makes during the 6-minute walking test is determined based on the number of turns the subject makes during the 6-minute walking test, n. Then, the first walking distance of the subject is determined based on the number of turns n: n*L.
[0054] In this step, the second walking distance of the subject can be determined based on the subject's stride length l and the number of steps N taken after the last turn: N*l. Finally, the total walking distance of the subject is calculated as: n*L + N*l.
[0055] As can be seen from the above technical solution, this embodiment of the application determines the number of turns and the number of steps taken after the last turn by the test subject based on the acceleration and angular velocity data obtained during the walking test. The distance corresponding to the number of complete laps is determined based on the number of turns, and the additional walking distance is determined based on the number of steps taken after the last turn. Finally, the accurate total walking distance is obtained by summing the distance corresponding to the number of complete laps and the additional walking distance. Therefore, this embodiment of the application can measure the distance walked by a test subject in a walking test without manual intervention or the setting of positioning equipment; the method is efficient, convenient, and highly practical.
[0056] Based on the above embodiments, in this embodiment, acquiring the acceleration and angular velocity data of the test subject during the walking test includes:
[0057] The acceleration and angular velocity data of the test subject during the walking test are acquired by a multi-axis sensor carried by the test subject.
[0058] In this embodiment, a multi-axis sensor can be added to the smart device worn by the test subject during the experiment. Optionally, it can be a 3-axis sensor or a 6-axis sensor; no specific limitation is made here. The accelerometer and gyroscope in the multi-axis sensor measure the acceleration and angular velocity data of the test subject during the walking experiment, respectively, to analyze the test subject's turning movements and number of steps.
[0059] Based on the above embodiments, in this embodiment, determining the number of turns of the tested person during the walking test based on the angular velocity data includes:
[0060] Based on the angular velocity changes of the test subject during the walking test measured by the multi-axis sensor, the turning motion of the test subject is identified, and the number of times the test subject turns during the walking test is counted.
[0061] Based on the above embodiments, in this embodiment, determining the number of steps taken by the subject after the last turn, according to the acceleration data and the timing corresponding to the subject's last turn, includes:
[0062] The acceleration data of the test subject during the period from the timing of the last turn to the end of the walking test is obtained by the multi-axis sensor, so as to determine the number of steps taken by the test subject after the last turn based on the acceleration data during the period from the timing of the last turn to the end of the walking test.
[0063] Based on the above embodiments, in this embodiment, the total walking distance of the test subject is determined according to the number of turns made by the test subject during the walking test and the number of steps taken by the test subject after the last turn, including:
[0064] Based on the number of turns made by the test subject during the walking test, the number of round trips made by the test subject during the walking test is determined, so as to determine the first walking distance of the test subject based on the number of round trips.
[0065] The stride length of the person being tested is obtained, and the second walking distance of the person being tested is determined based on the stride length of the person being tested and the number of steps taken by the person being tested after the last turn.
[0066] The total walking distance of the person being tested is determined based on the first walking distance and the second walking distance.
[0067] Based on the above embodiments, in this embodiment, obtaining the step length of the person being tested includes:
[0068] Based on the acceleration data of the subject during each round trip, determine the number of steps taken by the subject during each round trip;
[0069] The stride length of the test subject is determined based on the number of round trips, the number of steps in each round trip, and the distance from the starting point to the end point of the walking test.
[0070] And / or,
[0071] The step length of the test subject is determined based on the borg score of the dyspnea score.
[0072] In this embodiment, it should be noted that the step length can be set to a default value such as 0.55 meters, or it can be calculated by the device during the test. When exactly an integer number of distances L are walked in 6 minutes, the step length does not need to be calculated. When k distances L are walked and h steps are taken, the step length is needed to calculate the distance. At this time, the step length = L / N(k) and the distance walked in 6 minutes = k*L + h*L / N(k), where N(k) is the number of steps taken when walking the kth distance L.
[0073] In this embodiment, to improve the accuracy of step length calculation, the step length is calculated using the formula: Step length = ((k-1) / k)*(L / N(k)) + ((k-2) / k)*(L / N(k-1)) + ... (1 / k)*(L / N(1)). This is because during the test, the longer the movement time, the more unstable the walking step length will be.
[0074] In this embodiment, the step length can also be set according to the test subject's dyspnea score (Borg value), as different test subjects' Borg values reflect their cardiopulmonary function and fatigue level. The step length value is set as step length = (11 - Borg) * 0.55, where 0.55 is the initial default value. The values of Borg and their meanings are shown in Table 1 below:
[0075] Table 1
[0076] Borg value meaning 0 normal 0.5 Very, very slight 1 Very slight 2 Mild 3 moderate 4 Some are serious 5 serious 6-7 Very serious 8-10 Extremely serious
[0077] Based on the above embodiments, in this embodiment, the straight-line distance L of the walking test can be a default value, such as 20 meters, 30 meters, 50 meters, etc., or it can be obtained based on borg. Since the borg value of different testers reflects their cardiopulmonary function and fatigue level, the distance L can also be set according to the tester's borg value, L = (11 - borg) * 50, where 50 is the default value. It should be noted that the advantage of setting the stride length and / or distance L according to borg is that it improves the accuracy of distance measurement, because the larger the borg value, the shorter the tester's stride length and / or the distance they can walk.
[0078] The following is an illustration through specific examples:
[0079] First embodiment:
[0080] In this embodiment, the subject wears a device that integrates wireless transmission functions, such as Bluetooth, for ECG, blood pressure, and blood oxygen saturation. The device is small and portable, placed in the subject's pocket or waist. During testing, a blood pressure cuff is worn on the upper arm, and a blood oxygen probe is attached to the finger. Ideally, the blood pressure and blood oxygen cuffs should not be on the same arm to prevent interference with blood oxygen measurement. A 12-lead ECG is worn on the upper body, and the ECG leads are secured with straps. A mobile terminal, such as a tablet PC, connects to the device via Bluetooth. The distance L between points A and B is entered in the PAD software, and a connection is also established between the PAD and the PC software. The PAD software sends a start command to the integrated device. Upon receiving the command, the device measures blood pressure and blood oxygen, transmitting the values to the PAD. After receiving the measurements, the PAD starts timing, and the subject begins walking. Walking back and forth from point A to point B, the number of steps N(k) is calculated by analyzing the acceleration from the 6-axis sensor. Upon reaching point A or B, a turn is required, and the 6-axis sensor monitors changes in angular velocity. The device transmits measured blood pressure, blood oxygen saturation, ECG waveform, step count, and turn information to the PAD software via Bluetooth. The PAD then transmits the received information to the PC software via Wi-Fi. The software interface displays heart rate, blood pressure, blood oxygen saturation, ECG waveform, oxygen consumption, and Borg value. After 6 minutes, the PAD sends a stop command to the device. Upon receiving the stop command, the device emits a beeping sound, instructing the test subject to stop walking. The device then initiates blood pressure measurement. After measurement, the data is transmitted to the PC software, and the device interface displays a message indicating the end of the 6-minute walking test. The PC software automatically generates a 6-minute test report based on the walking distance and measured parameters. This embodiment uses a single 6-axis accelerometer to solve the distance calculation problem, requiring no manual intervention or signal transmitter.
[0081] Based on the same inventive concept, another embodiment of the present invention provides a device for measuring walking distance in a walking test, such as... Figure 3 As shown in the schematic diagram, an embodiment of this application provides a structural diagram of a walking distance measuring device, comprising:
[0082] Module 1 is used to acquire the acceleration and angular velocity data of the test subject during the walking test;
[0083] The first processing module 2 is used to determine the number of turns of the person being tested during the walking test and the timing corresponding to the last turn based on the angular velocity data.
[0084] The second processing module 3 is used to determine the number of steps taken by the subject after the last turn based on the acceleration data and the timing corresponding to the last turn of the subject.
[0085] The third processing module is used to determine the total walking distance of the test subject based on the number of turns the test subject makes during the walking test and the number of steps the test subject takes after the last turn.
[0086] In this embodiment, it should be noted that before the 6-minute walking test begins, a straight route is first defined, assuming the starting point is A and the ending point is B, with a distance L between A and B. During the 6-minute walking test, the participant starts walking from point A towards point B, and the timer begins simultaneously. Upon reaching point B, the participant turns back towards point A, and upon reaching point A, turns back again towards point B. The participant continues walking back and forth during the 6-minute timer until the full 6 minutes are elapsed, at which point the timer stops. It can be understood that the distance walked by the participant in the 6-minute walking test can be divided into two cases: One is that the participant has walked exactly n times the distance L by the end of the 6-minute timer, in which case the participant's walking distance in 6 minutes is n*L; the other is that the participant has walked m times the distance L, and then taken N steps, in which case the walking distance in 6 minutes is m*L + N * the participant's step length. Here, n and m are integers not less than zero. n or m is measured by the number of times the person being tested turns around when they arrive at point A or point B; that is, n is the number of times the person being tested turns around.
[0087] In this embodiment, a multi-axis sensor can be added to the smart device worn by the test subject during the experiment. Optionally, it can be a 3-axis sensor or a 6-axis sensor; no specific limitation is made here. The accelerometer and gyroscope in the multi-axis sensor measure the acceleration and angular velocity data of the test subject during the walking experiment, respectively, to analyze the test subject's turning movements and number of steps.
[0088] In this embodiment, after acquiring the angular velocity data of the subject during the walking test, the turning motion of the subject during the test can be identified based on the angular velocity data, thereby obtaining the number of turns and the timing corresponding to the last turn. Specifically, the turning motion of the subject is identified by monitoring the angular velocity changes of the xyz axes of the multi-axis sensor. When the subject turns, the angular velocity of the xyz axes of the multi-axis sensor changes. The angular velocities of the xyz axes are added together to obtain w. Integrating w over a period of 0 to 4 seconds yields the angle. When θ is greater than 120 degrees, the turn is detected, and the timing of each turn of the subject is recorded.
[0089] In this embodiment, the number of steps taken by the test subject during the experiment is calculated using acceleration data collected by a multi-axis sensor. The calculation process is as follows: the acceleration sensor collects data RX, RY, and RZ, and the resultant acceleration is R = SQRT(RX^2 + RY^2 + RZ^2); the waveform of the resultant acceleration data is plotted as follows. Figure 2 As shown, the algorithm finds peaks, with each peak representing a step. Optionally, the specific algorithm for finding peaks can be: determine whether the amplitude of each point in the waveform is greater than the amplitudes of the 100 points before it and greater than the amplitudes of the 100 points after it; if so, then that point is a peak.
[0090] In this embodiment, the peak points of the waveform during the period from the last turn of the test subject to the end of the test time can be counted in the waveform diagram of the entire test, thereby obtaining the number of steps taken by the test subject after the last turn.
[0091] In this embodiment, the number of round trips n of the test subject during the 6-minute walking test is determined based on the number of turns the test subject makes during the 6-minute walking test, so that the first walking distance of the test subject can be determined based on the number of round trips n: n*L.
[0092] In this embodiment, the second walking distance of the test subject can be determined based on the stride length l and the number of steps N taken after the last turn: N*l. The final total walking distance of the test subject is then calculated as: n*L + N*l.
[0093] As can be seen from the above technical solution, this embodiment of the application determines the number of turns and the number of steps taken after the last turn by the test subject during the 6-minute walking test based on the acceleration and angular velocity data obtained during the test subject. The distance corresponding to the number of complete laps is determined based on the number of turns, and the additional walking distance is determined based on the number of steps taken after the last turn. Finally, the accurate total walking distance is obtained by summing the distance corresponding to the number of complete laps and the additional walking distance. Therefore, this embodiment of the application can measure the distance walked by a test subject in a 6-minute walking test without manual intervention or the setting of positioning equipment. The method is efficient, convenient, and highly practical.
[0094] Based on the above embodiments, in this embodiment, the acquisition module is specifically used for:
[0095] The acceleration and angular velocity data of the test subject during the walking test are acquired by a multi-axis sensor carried by the test subject.
[0096] The walking distance measuring device described in this embodiment can be used to perform the above method embodiments, and its principle and technical effects are similar, so it will not be described again here.
[0097] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, see [link to previous document]. Figure 4 The schematic diagram of the electronic device specifically includes the following components: processor 401, memory 402, communication interface 403, and communication bus 404.
[0098] The processor 401, memory 402, and communication interface 403 communicate with each other through the communication bus 404; the communication interface 403 is used to realize information transmission between the devices.
[0099] The processor 401 is used to call the computer program in the memory 402. When the processor executes the computer program, it implements all the steps of the above-described method for measuring walking distance in a walking test. For example, it acquires the acceleration data and angular velocity data of the test subject during the walking test; determines the number of turns of the test subject during the walking test and the timing corresponding to the last turn based on the angular velocity data; determines the number of steps taken by the test subject after the last turn based on the acceleration data and the timing corresponding to the last turn based on the acceleration data; and determines the total walking distance of the test subject based on the number of turns of the test subject during the walking test and the number of steps taken after the last turn.
[0100] Based on the same inventive concept, another embodiment of the present invention provides a non-transitory computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements all the steps of the above-described method for measuring walking distance in a walking test. For example, it acquires acceleration and angular velocity data of the test subject during the walking test; determines the number of turns and the timing corresponding to the last turn based on the angular velocity data; determines the number of steps taken by the test subject after the last turn based on the acceleration data and the timing corresponding to ...
[0101] Furthermore, the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, and can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0102] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiments of the present invention according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0103] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the walking distance measurement method of the walking test described in various embodiments or some parts of the embodiments.
[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method of measuring a walking distance of a walking test, characterized by, include: Acquire acceleration and angular velocity data of the test subjects during the walking test; Based on the angular velocity data, the number of turns performed by the subject during the walking test and the timing of the last turn are determined; wherein, the angular velocity data is used to calculate the angle, and a turn is identified when the angle is greater than a preset angle; Based on the acceleration data and the timing corresponding to the last turn of the person being tested, determine the number of steps the person being tested took after the last turn; The total walking distance of the test subject is determined based on the number of turns made by the test subject during the walking test and the number of steps taken by the test subject after the last turn. Acquire acceleration and angular velocity data of the test subjects during the walking test, including: The acceleration and angular velocity data of the test subject during the walking test were acquired using a multi-axis sensor carried by the test subject. The total walking distance of the test subject is determined based on the number of turns made by the test subject during the walking test and the number of steps taken by the test subject after the last turn, including: The number of round trips by the test subject during the walking test is determined based on the number of turns made during the walking test, so as to determine the first walking distance of the test subject based on the number of round trips; wherein, the first walking distance of the test subject is determined based on the distance corresponding to the number of round trips and the number of complete laps. The test subject's stride length is acquired, and a second walking distance is determined based on the stride length and the number of steps taken after the last turn. Specifically, the number of steps taken per round trip is determined based on the acceleration data of each round trip; the stride length is determined based on the number of round trips, the number of steps per round trip, and the distance from the start to the end of the walking test; and / or, the stride length is determined based on the test subject's dyspnea score (Borg value); acceleration data is acquired from the multi-axis sensor during the period from the timing of the last turn to the end of the walking test, so that the number of steps taken after the last turn is determined based on the acceleration data during the period from the timing of the last turn to the end of the walking test. The total walking distance of the person being tested is determined based on the first walking distance and the second walking distance.
2. The method of measuring the walking distance of a walking test according to claim 1, wherein, Based on the angular velocity data, the number of turns performed by the subject during the walking test was determined, including: Based on the angular velocity changes of the test subject during the walking test measured by the multi-axis sensor, the turning motion of the test subject is identified, and the number of times the test subject turns during the walking test is counted.
3. A device for measuring walking distance in a walking test, characterized in that, include: The acquisition module is used to acquire the acceleration and angular velocity data of the test subjects during the walking test; The first processing module is used to determine the number of turns of the person being tested during the walking test and the timing of the last turn based on the angular velocity data; wherein, the angular velocity data is used to calculate the angle, and a turn is identified when the angle is greater than a preset angle; The second processing module is used to determine the number of steps taken by the subject after the last turn based on the acceleration data and the timing corresponding to the last turn of the subject. The third processing module is used to determine the total walking distance of the test subject based on the number of turns the test subject makes during the walking test and the number of steps the test subject takes after the last turn. The acquisition module is specifically used for: The acceleration and angular velocity data of the test subject during the walking test were acquired using a multi-axis sensor carried by the test subject. The third processing module is specifically used for: Based on the number of turns made by the test subject during the walking test, the number of round trips made by the test subject during the walking test is determined, so as to determine the first walking distance of the test subject based on the number of round trips; the stride length of the test subject is obtained, and based on the stride length of the test subject and the number of steps taken by the test subject after the last turn, the second walking distance of the test subject is determined; based on the first walking distance and the second walking distance, the total walking distance of the test subject is determined. Specifically, the first walking distance of the test subject is determined based on the distance corresponding to the number of round trips and the number of complete laps; the number of steps of the test subject for each round trip is determined based on the acceleration data of the test subject for each round trip; the stride length of the test subject is determined based on the number of round trips, the number of steps for each round trip, and the distance from the start point to the end point of the walking test; and / or, the stride length of the test subject is determined based on the borg value of the test subject's dyspnea score; the acceleration data of the test subject acquired by the multi-axis sensor during the time period from the timing of the last turn to the end of the walking test time is used to determine the number of steps the test subject takes after the last turn.
4. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method for measuring walking distance in a walking test as described in claim 1 or 2.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for measuring walking distance in a walking test as described in claim 1 or 2.
Citation Information
Patent Citations
Method for measuring walking distance of 6-minute walking test
CN112097788A
Motion evaluation photoinduction test system
CN210486907U