Balance capability testing method and equipment
By obtaining the shaking amplitude and frequency of the electronic equipment carried by the user, and using acceleration and angular velocity data to calculate the balance capability parameters, the problem of poor consistency of balance capability test in the prior art is solved, and a more accurate and convenient balance capability evaluation is achieved.
Patent Information
- Application Number
- CN202310495023.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-05
AI Technical Summary
The existing balance ability testing methods have poor consistency, which is difficult to accurately reflect the true level of the subject's balance ability, and the test results are accidental and inconvenient to be carried out anytime and anywhere.
By obtaining the shaking amplitude and shaking frequency of the electronic equipment carried by the user in a specific test posture, the equilibrium capability parameters are calculated using acceleration and angular velocity data to provide a more accurate equilibrium capability assessment.
Improves the accuracy of balanced capability test results, simplifies the testing process, and allows users to conduct tests anytime, anywhere without guidance.
Smart Images

Figure CN118892302A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a balancing ability testing method and device. Background Art
[0002] As a part of physical fitness, balance ability can reflect the subject's fatigue level, nerve control ability, poor posture, etc.
[0003] Currently, the balance ability of a subject can be tested by observation. For example, the balance ability of a subject can be evaluated based on the time it takes the subject to stand on one leg with eyes closed. However, this method has poor consistency and is accidental. Therefore, the test results are difficult to reflect the true level of the subject's balance ability. Summary of the invention
[0004] The embodiments of the present application provide a balance ability testing method and device, which can improve the accuracy of balance ability testing results.
[0005] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0006] In a first aspect, an embodiment of the present application provides a balance ability test method, the method comprising: obtaining movement information of an electronic device carried by a user during a test period. Based on the movement information, determining the shaking amplitude and shaking frequency of the electronic device. Based on the shaking amplitude and shaking frequency, obtaining a balance ability parameter, the balance ability parameter is used to characterize the balance ability of the user carrying the electronic device.
[0007] In the method of the present application, before the user's balance ability is tested, an electronic device can be placed at a specified position on the user's body. During the process of testing the user's balance ability, the user can make a specific test posture, for example, a test posture of "standing on one foot with arms outstretched" to perform a balance ability test. While the user maintains a specific test posture, the body may shake. The more violently the user's body shakes, the worse the user's balance ability. Conversely, the less severe the user's body shakes, the stronger the user's balance ability. Therefore, a balance ability parameter can be obtained based on the shaking amplitude and shaking frequency of the electronic device during the process of testing the user's balance ability. The strength of the user's balance ability can be determined based on the balance ability parameter. The accuracy of the balance ability test results can be improved.
[0008] In combination with the first aspect, in one possible design, the movement information includes acceleration data and angular velocity data.
[0009] In this solution, the acceleration data of the electronic device includes the value of the acceleration of the electronic device at at least one preset time point. The angular velocity data of the electronic device includes the value of the angular velocity of the electronic device at at least one preset time point. The preset time point is a time point within the test period. Based on the acceleration data of the electronic device, the rate of change of the speed of the electronic device at at least one preset time point can be determined. Based on the angular velocity data of the electronic device, the moving direction of the electronic device at each preset time point can be determined.
[0010] In combination with the first aspect, in a possible design, an initial position of the electronic device is determined, a shaking frequency is determined based on the angular velocity data, and a shaking amplitude is determined based on the initial position, the acceleration data, and the angular velocity data.
[0011] In this solution, the initial position of the electronic device is the starting position of the electronic device within the test period. The test period is the period that the electronic device goes through during the process of testing the balance ability of the user. The numerical value corresponding to the shaking amplitude of the electronic device determined based on the initial position of the electronic device, acceleration data and angular velocity data is more accurate. The numerical value corresponding to the shaking frequency of the electronic device determined based on the angular velocity data of the electronic device is more accurate.
[0012] In combination with the first aspect, in a possible design, based on the angular velocity data, the number of changes in the moving direction of the electronic device within at least one preset time period is determined. Based on the number of changes in the moving direction of the electronic device within at least one preset time period, at least one sub-shaking frequency is determined. Based on the at least one sub-shaking frequency, the shaking frequency is determined.
[0013] In this solution, the number of changes in the moving direction of the electronic device within at least one preset time period is positively correlated with the corresponding sub-shaking frequency. The more times the moving direction of the electronic device changes within at least one preset time period, the higher the corresponding sub-shaking frequency. Conversely, the fewer times the moving direction of the electronic device changes within at least one preset time period, the lower the corresponding sub-shaking frequency. Since the sub-shaking frequencies corresponding to the electronic device in each preset time period may be different, the numerical value corresponding to the shaking frequency determined based on each obtained sub-shaking frequency is more accurate.
[0014] In combination with the first aspect, in a possible design, a frequency type of at least one sub-shaking frequency is determined. An average shaking frequency of the sub-shaking frequencies corresponding to each frequency type is determined. Based on each average shaking frequency, first information is displayed, and the first information is used to characterize the health of a user carrying the electronic device.
[0015] In this solution, the frequency spaces where the sub-shaking frequencies are located may be different. Based on the frequency intervals where the sub-shaking frequencies are located, the sub-shaking frequencies are classified to determine the frequency types of the sub-shaking frequencies. By calculating the average value of the sub-shaking frequencies corresponding to the same frequency type, the average shaking frequency corresponding to the frequency type can be obtained. Based on the average shaking frequencies, the first information can be displayed to prompt the health status of the user carrying the electronic device.
[0016] In combination with the first aspect, in a possible design, the frequency type includes a first type, a second type, and a third type. Based on the average shaking frequency corresponding to the first type being greater than or equal to a first healthy threshold, a first abnormal signal is generated. Based on the average shaking frequency corresponding to the second type being greater than or equal to a second healthy threshold, a second abnormal signal is generated. Based on the average shaking frequency corresponding to the third type being greater than or equal to a third healthy threshold, a third abnormal signal is generated. Based on at least one of the first abnormal signal, the second abnormal signal, and the third abnormal signal, the first information is generated.
[0017] In this solution, based on the quantitative relationship between each average shaking frequency and the corresponding health threshold, it can be determined whether an abnormal signal is generated. Based on the type and quantity of the generated abnormal signal, the first information can be generated. The electronic device displays the first information to indicate the health status of the user carrying the electronic device.
[0018] In combination with the first aspect, in a possible design, the movement trajectory of the electronic device is determined based on the initial position, acceleration data and angular velocity data. Based on the movement trajectory, a first shaking amplitude and a second shaking amplitude are determined. The first shaking amplitude is the average shaking amplitude of the electronic device along the horizontal plane. The second shaking amplitude is the average shaking amplitude of the electronic device in a direction perpendicular to the horizontal plane. Based on the first shaking amplitude and the second shaking amplitude, the shaking amplitude is determined.
[0019] In this solution, based on the acceleration data of the electronic device, the rate of change of the speed of the electronic device at a preset time point can be determined. Therefore, based on the initial position of the electronic device and the rate of change of the speed of the electronic device at the preset time point, the speed of the electronic device at the preset time point can be obtained, and the displacement of the electronic device at the preset time point can be obtained. Based on the angular velocity data of the electronic device, the change of the moving direction of the electronic device at each preset time point can be determined. Therefore, based on the displacement of the electronic device at the preset time point and the moving direction of the electronic device at the preset time point, the moving trajectory of the electronic device can be obtained. Based on the moving trajectory of the electronic device, the average shaking amplitude of the electronic device along the horizontal plane direction can be determined as the first shaking amplitude. The average shaking amplitude of the electronic device along the direction perpendicular to the horizontal plane is determined as the second shaking amplitude. The numerical value corresponding to the shaking amplitude determined based on the first shaking amplitude and the second shaking amplitude is more accurate.
[0020] In combination with the first aspect, in a possible design, the shaking amplitude of the electronic device may be determined based on the first shaking amplitude, the second shaking amplitude and the first relationship.
[0021] In this solution, the first relationship is used to characterize the relationship between the shaking amplitude of the electronic device, the first shaking amplitude, and the second shaking amplitude. The first relationship can be expressed by the formula H=m*H1+n*H2. Wherein, m+n=1. H is used to characterize the shaking amplitude of the electronic device. H1 is used to characterize the first shaking amplitude, and m is used to characterize the weighting coefficient for H1. H2 is used to characterize the second shaking amplitude, and n is used to characterize the weighting coefficient for H2.
[0022] In combination with the first aspect, in a possible design, second information is displayed based on the shaking amplitude, and the second information includes at least one of the first shaking amplitude, the second shaking amplitude, and the degree of the shaking amplitude.
[0023] In this solution, the first shaking amplitude, the second shaking amplitude and the degree of the shaking amplitude can be more intuitively displayed to the user by displaying the second information.
[0024] In combination with the first aspect, in a possible design, the degree of the shaking amplitude includes a first degree, a second degree, and a third degree. Based on the shaking amplitude being less than the first shaking threshold, the degree of the shaking amplitude is determined to be the first degree. Alternatively, based on the shaking amplitude being greater than or equal to the first shaking threshold and less than the second shaking threshold, the degree of the shaking amplitude is determined to be the second degree. Alternatively, based on the shaking amplitude being greater than or equal to the third shaking threshold, the degree of the shaking amplitude is determined to be the third degree.
[0025] In this solution, the degree of the shaking amplitude can be determined based on the numerical range of the shaking amplitude. The degree of the shaking amplitude can reflect whether the user has a violent shaking.
[0026] In combination with the first aspect, in a possible design, a balancing ability parameter may be obtained based on the shaking frequency of the electronic device, the shaking amplitude of the electronic device, and the second relationship.
[0027] In this scheme, the second relationship is used to characterize the relationship between the shaking frequency of the electronic device and the shaking amplitude of the electronic device and the balance ability parameter. The second relationship can be expressed by the formula K=H*k1*p+(f1*a+f2*b+f3*c)*k2*q. Among them, K is used to characterize the balance ability parameter. H is used to characterize the shaking amplitude of the electronic device. f1, f2, and f3 are used to characterize the average shaking frequency corresponding to the low frequency, the average shaking frequency corresponding to the medium frequency, and the average shaking frequency corresponding to the high frequency, respectively. k1 is used to characterize the gain coefficient of the shaking amplitude of the electronic device, k2 is used to characterize the gain coefficient of the shaking frequency of the electronic device, and k1+k2=1. P is used to characterize the proportional coefficient of the shaking amplitude of the electronic device, q is used to characterize the proportional coefficient of the shaking frequency of the electronic device, and p+q=1.
[0028] In combination with the first aspect, in a possible design, based on the balance ability parameter, the level of the fall risk of the user carrying the electronic device is predicted. The third information is displayed, and the third information includes at least one of the balance ability parameter and the level of the fall risk.
[0029] In this solution, by displaying the third information, the balance ability parameters and the level of fall risk of the user carrying the electronic device can be more intuitively displayed to the user.
[0030] In combination with the first aspect, in a possible design, the level of fall risk includes a first level, a second level, and a third level. Based on the balance ability parameter being less than the first parameter, the level of fall risk is predicted to be the first level. Based on the balance ability parameter being greater than or equal to the first parameter and less than the second parameter, the level of fall risk is predicted to be the second level. Based on the balance ability parameter being less than or equal to the third parameter, the level of fall risk is predicted to be the third level.
[0031] In this scheme, the smaller the balance ability parameter is, the smaller the shaking amplitude and shaking frequency of the electronic device are during the test period, that is, the better the balance ability of the user carrying the electronic device is, and the less likely the user is to fall. Therefore, based on the numerical range of the balance ability parameter, the level of the fall risk of the user carrying the electronic device can be determined.
[0032] In a second aspect, an embodiment of the present application provides an electronic device. The electronic device includes a memory and one or more processors, the memory and the processor are coupled; the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the electronic device executes the method described in the first aspect and any possible design thereof.
[0033] In a third aspect, an embodiment of the present application provides a chip system. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line, and the interface circuit is used to receive a signal from a memory of an electronic device and send a signal to the processor, the signal including a computer instruction stored in the memory, and when the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any possible design thereof.
[0034] In a fourth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible design thereof.
[0035] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the method described in the first aspect and any possible design thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A hardware structure diagram of an electronic device provided in an embodiment of the present application;
[0037] Figure 2 A flow chart of a balance ability testing method provided in an embodiment of the present application;
[0038] Figure 3 A scene diagram of a balance ability test provided in an embodiment of the present application;
[0039] Figure 4 A first interface schematic diagram provided for an embodiment of the present application;
[0040] Figure 5 A schematic diagram of a motion trajectory provided in an embodiment of the present application;
[0041] Figure 6 A second interface schematic diagram provided in an embodiment of the present application;
[0042] Figure 7 A third interface schematic diagram provided for an embodiment of the present application;
[0043] Figure 8 A schematic diagram of a three-dimensional coordinate system provided in an embodiment of the present application;
[0044] Fig. 9 A fourth interface schematic diagram provided in an embodiment of the present application;
[0045] Fig.10 A fifth interface schematic diagram provided in an embodiment of the present application;
[0046] Fig.11 A sixth interface schematic diagram provided for an embodiment of the present application;
[0047] Fig.12 A seventh interface schematic diagram provided for an embodiment of the present application;
[0048] Fig.13 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0050] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
[0051] In a related technology, the subject's balance ability can be tested by standing on one leg with eyes closed. During the test, the subject stands naturally. The tester gives the "start" command and starts timing. After hearing the tester's "start" command, the subject immediately closes his eyes and lifts one foot to maintain the test posture of standing on one leg. When the subject's supporting foot moves or the lifted foot touches the ground, the tester stops timing. The time from when the tester starts timing to when it stops timing can be called the test time. The subject's balance ability can be evaluated based on the length of the test time. The longer the test time, the stronger the subject's balance ability.
[0052] However, this method relies on the subjectivity of the tester and the tester, and there may be situations where the tester has started timing but the tester has not yet assumed the test posture of standing on one leg. Therefore, the accuracy of the test results is low. In addition, this method has poor consistency and is accidental, making it difficult to reflect the true level of the tester's balance ability.
[0053] In a related technology, the balance ability of a subject can be tested by a Y balance test. During the test, the subject stands on a center board with one foot and pushes multiple sliders in different directions with the other foot. Based on the distance each slider is pushed, the balance ability of the subject can be evaluated.
[0054] However, this method requires the subject to have a high standard of movement when doing the pushing action, and needs to be carried out under the guidance of professional technicians. If the subject's movement standard is low when doing the pushing action, it will affect the test results and it is still difficult to reflect the true level of the subject's balance ability.
[0055] In a related technology, the balance ability of a subject can be tested by a balance test method, that is, the balance ability of a subject can be tested by a test device such as a static tester or a dynamic tester.
[0056] However, most of the test equipment, such as static testers or dynamic testers, are large-scale equipment, and the test subjects need to be tested under the guidance of professional technicians. In addition, it is difficult for the test subjects to be tested anytime and anywhere, which is very inconvenient.
[0057] Based on the above problems, the embodiments of the present application provide a balance ability test method and device, which can determine the balance ability of a user based on the shaking amplitude and shaking frequency of a subject (also referred to as a user) when performing a specific action, and can improve the accuracy of the balance ability test results.
[0058] The electronic device provided in the embodiment of the present application may include a first electronic device. The first electronic device may be an electronic device that is easy for a user to carry, such as a wearable device, a mobile phone, etc. The wearable device includes a smart watch, a smart bracelet, a smart wristband, a head-mounted device, etc.
[0059] After the user carries the first electronic device, the balance ability test can be performed through the first electronic device. During the test, the first electronic device can determine the balance ability of the user based on the shaking amplitude and shaking frequency of the subject (also referred to as the user) when performing a specific action.
[0060] The electronic device provided in the embodiment of the present application may also include a first electronic device and a second electronic device. The description of the first electronic device can refer to the description in the above embodiment, and will not be repeated here. The second electronic device can be an electronic device with communication function such as a wearable device, a mobile phone, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA), a smart home device, an artificial intelligence (AI) device, etc.
[0061] After the user carries the first electronic device, the balance ability test can be performed through the first electronic device. During the test, the first electronic device can collect the shaking amplitude and shaking frequency of the subject (also referred to as the user) when performing a specific action, and send the collected shaking amplitude and shaking frequency of the user to the second electronic device. The second electronic device can determine the user's balance ability based on the shaking amplitude and shaking frequency of the user sent by the first electronic device.
[0062] Figure 1 It shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may be the first electronic device in the embodiment of the present application, or may be the second electronic device in the embodiment of the present application.
[0063] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0064] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0065] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0066] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0067] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0068] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0069] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0070] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0071] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0072] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0073] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170 and the application processor.
[0074] The sensor module 180 includes an inertial measurement unit (IMU sensor) 180A. The IMU sensor 180A is composed of an acceleration sensor and a gyroscope sensor.
[0075] Among them, the acceleration sensor can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. The gyroscope sensor can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x-axis, the y-axis, and the z-axis) can be determined by the gyroscope sensor.
[0076] based on Figure 1 When the electronic device 100 shown implements the balance ability test method in the embodiment of the present application, the IMU sensor 180A can obtain the movement information of the electronic device during the balance ability test of the user. The processor 110 can obtain the shaking frequency and movement amplitude of the electronic device based on the movement information of the electronic device obtained by the IMU sensor 180A. The processor 110 can determine the balance ability of the user based on the shaking frequency and movement amplitude of the electronic device, which is conducive to improving the accuracy of the balance ability test results of the user.
[0077] Exemplarily, the technical solutions involved in the following embodiments can all be implemented in an electronic device having the above-mentioned hardware architecture. The executor of the balance ability testing method provided in the embodiment of the present application can be the aforementioned first electronic device or the aforementioned second electronic device. Below, taking the electronic device carried by the user as the aforementioned first electronic device, and the executor of the balance ability testing method provided in the embodiment of the present application as the aforementioned first electronic device as an example, the balance ability testing method provided in the embodiment of the present application is described in detail in combination with the accompanying drawings and application scenarios.
[0078] like Figure 2 As shown, the method may include the following steps S201-S204.
[0079] S201: Obtain movement information of the electronic device carried by the user during the test period.
[0080] Before testing the user's balance ability, the electronic device may be placed on a designated location on the user's body. For example, the electronic device may be placed in the user's hand. Alternatively, see Figure 3 , the electronic device 301 can be worn on the user's wrist.
[0081] In some embodiments, Figure 4As shown, an application 401 for testing the balance ability of a user may be installed in the electronic device. After the user wears the electronic device, the application 401 may be clicked or selected to start the application 401 and to pull up an interface 402 corresponding to the application 401. The interface 402 includes a control 403 for starting the balance ability test function of the electronic device. The user may click or select the control 403, and after the electronic device detects the user's click or selection operation on the control 403, it may start to test the user's balance ability.
[0082] Optionally, during the process of testing the user's balance ability, the position of the electronic device carried by the user can be calibrated first to obtain an initial position. The initial position is the starting position of the electronic device within the test period. The test period is the period that the electronic device goes through during the process of testing the user's balance ability. For example, the electronic device starts to test the user's balance ability at 13:00 and completes the user's balance ability test at 13:10. The test period is the period between 13:00 and 13:10. The initial position is the position of the electronic device at 13:00.
[0083] In some embodiments, the electronic device can display the test progress in real time during the process of testing the user's balance ability. Figure 4 As shown, when the electronic device obtains the initial position, the interface 404 may be displayed, and the interface 404 includes information for prompting the user that the electronic device is calibrating the initial position. For another example, after the electronic device obtains the initial position, that is, after the electronic device completes the calibration of the initial position, the interface 405 may be displayed. Among them, the interface 405 includes information for prompting the user that the electronic device has completed the calibration of the initial position. In addition, the interface 405 may also include information for prompting the user that the test has taken place, etc. The embodiment of the present application does not limit the content included in the interface 405.
[0084] In some embodiments, the user can make a specific test posture to test the balance ability. Figure 3 As shown in the figure, maintain the test posture of "standing on one foot with arms outstretched" to test the balance ability. When the user maintains a specific test posture, the body may shake. For example, continue to see Figure 3 , the user's arms will shake, or the user's legs will shake, etc. The more violently the user's body shakes, the worse the user's balance ability is. Conversely, the less severe the user's body shakes, the stronger the user's balance ability is.
[0085] Since the electronic device is worn at a designated location on the user's body, the electronic device will also move as the user's body shakes. The electronic device can obtain the movement information of the electronic device during the test period based on built-in hardware such as IMU sensors. The movement information of the electronic device includes the acceleration data and angular velocity data of the electronic device.
[0086] In some embodiments, the acceleration data of the electronic device includes the value of the acceleration of the electronic device at at least one preset time point. The angular velocity data of the electronic device includes the value of the angular velocity of the electronic device at at least one preset time point. Wherein, the preset time point is a time point within the test period.
[0087] For example, the user takes a balance test for a total of 10 seconds. The movement information of the electronic device may be as shown in Table 1 below. Among them, when the 1st second, the 2nd second... the 10th second is the preset time point, the acceleration data of the electronic device includes the acceleration values of the electronic device at the 1st second, the 2nd second... the 10th second respectively. The angular velocity data of the electronic device may include the angular velocity values of the electronic device at the 1st second, the 2nd second... the 10th second respectively.
[0088] Table 1
[0089] Time(s) <![CDATA[Acceleration data (m / s 2 )]]> Angular velocity data (rad / s) 1st second 0.1 0.2 Second 2 0.1 0.3 3rd second 0.2 -0.1 4th second -0.1 -0.2 5th second 0 0.4 6th second -0.2 -0.1 7th second -0.3 0.3 8th second 0.3 0.2 9th second 0.2 0.1 10th second -0.3 0.3
[0090] For another example, the user takes a balance test for a total of 10 seconds. The movement information of the electronic device may be as shown in Table 2 below. Among them, when the 1st second, the 3rd second... the 9th second is the preset time point, the acceleration data of the electronic device includes the acceleration values of the electronic device at the 1st second, the 3rd second... the 9th second respectively. The angular velocity data of the electronic device may include the angular velocity values of the electronic device at the 1st second, the 3rd second... the 9th second respectively.
[0091] Table 2
[0092] Time(s) <![CDATA[Acceleration data (m / s 2 )]]> Angular velocity data (rad / s) 1st second 0.1 0.2 3rd second 0.2 -0.1 5th second 0 0.4 7th second -0.3 0.3 9th second 0.2 0.1
[0093] Based on the value of the acceleration of the electronic device at each preset time point, the rate of change of the speed of the electronic device at each preset time point can be determined.
[0094] For example, the acceleration data of the electronic device is shown in Table 1 above. Based on the value of the acceleration of the electronic device at the first second, it can be known that the electronic device is accelerating at the first second, and increases by 0.1 m / s per second. Based on the value of the acceleration of the electronic device at the fourth second, it can be known that the electronic device is decelerating at the fourth second, and decreases by 0.1 m / s per second.
[0095] In some embodiments, based on the value of the angular velocity of the electronic device at each preset time point, the moving direction of the electronic device at each preset time point can be determined.
[0096] In the embodiment of the present application, after the electronic device executes the above step S201, it may continue to execute the following steps S202 and S203. Among them, the electronic device may first execute step S202 and then execute step S203. Alternatively, the electronic device may first execute step S203 and then execute step S202. Alternatively, the electronic device may execute step S202 and step S203 at the same time. The embodiment of the present application does not limit the execution order of step S202 and step S203.
[0097] S202: Determine the shaking frequency of the electronic device based on the movement information of the electronic device.
[0098] In combination with the above embodiments, it can be known that the moving direction of the electronic device at each preset time point can be determined based on the angular velocity data of the electronic device during the test period. Therefore, based on the movement information of the electronic device, the number of times the moving direction of the electronic device changes during the test period can be determined.
[0099] In some embodiments, the shaking frequency of the electronic device includes a sub-shaking frequency of the electronic device in at least one preset time period. The sub-shaking frequency of the electronic device in the preset time period is the difference between the number of times the moving direction of the electronic device changes in the preset time period and the duration of the preset time period.
[0100] Among them, the preset time period includes at least two preset time points. The start time and end time of the preset time period are both the aforementioned preset time points, and the start time and end time of the preset time period are different. For example, the user took a balance ability test for a total of 10 seconds. Among them, when the 1st second, the 2nd second... the 10th second are preset time points, the preset time period can be from the 1st second to the 2nd second, or from the 1st second to the 4th second, etc., which is not limited in the embodiments of the present application.
[0101] For example, see Figure 5 , the electronic device moves from position A to position B, and then to position C as the user shakes it. Since the direction from A to B is different from the direction from B to C, that is, the direction of the electronic device changes after it reaches position B, this can be recorded as a change in the movement direction of the electronic device. After the electronic device reaches position C, it moves from position C to position A again. Since the direction from B to C is different from the direction from C to A, that is, the direction of the electronic device changes after it reaches position C, this can be recorded as a change in the movement direction of the electronic device. At this time, the number of times the movement direction of the electronic device changes is a total of 2 times. Afterwards, as the electronic device moves, the number of times the movement direction of the electronic device changes may also increase.
[0102] If the preset time period is 0 seconds to 1 second, during which the moving direction of the electronic device changes 6 times, then based on the number of times the moving direction of the electronic device changes between 0 seconds and 1 second and the preset interval length of 1 second, it can be obtained that the sub-shake frequency of the electronic device between 0 seconds and 1 second is 1 / 6.
[0103] If the preset time period is 1 second to 2 seconds, during which the moving direction of the electronic device changes 2 times, then based on the number of times the moving direction of the electronic device changes within 1 second to 2 seconds and the preset interval length of 1 second, it can be obtained that the sub-shake frequency of the electronic device within 1 second to 2 seconds is 1 / 2.
[0104] It can be seen that when the duration of different preset time periods is the same, the more times the moving direction of the electronic device changes, the higher the sub-shaking frequency of the electronic device. Conversely, the fewer times the moving direction of the electronic device changes, the lower the sub-shaking frequency of the electronic device.
[0105] In some embodiments, the sub-shaking frequency of the electronic device in each preset time period can be obtained, and based on the obtained frequency interval of the sub-shaking frequency in each preset time period, the sub-shaking frequency in each preset time period is classified to determine the frequency type of the sub-shaking frequency in each preset time period. The frequency type includes low frequency (also referred to as the first type in the embodiment of the present application), medium frequency (also referred to as the second type in the embodiment of the present application), and high frequency (also referred to as the third type in the embodiment of the present application).
[0106] Wherein, a first frequency threshold and a second frequency threshold may be set. If the sub-shaking frequency within a preset time period is less than or equal to the first frequency threshold, the sub-shaking frequency within the preset time period may be determined as a low frequency. If the sub-shaking frequency within a preset time period is greater than the first frequency threshold and less than the second frequency threshold, the sub-shaking frequency within the preset time period may be determined as a medium frequency. If the sub-shaking frequency within a preset time period is greater than or equal to the second frequency threshold, the sub-shaking frequency within the preset time period may be determined as a high frequency.
[0107] For example, if the first frequency threshold is 0.1 and the second frequency threshold is 0.2, the sub-shaking frequencies of the electronic device in each preset time period and the classification of the sub-shaking frequencies may be as shown in Table 3 below.
[0108] Table 3
[0109]
[0110]
[0111] It can be seen that the sub-sway frequencies determined as low frequencies include the sub-sway frequencies corresponding to the time periods of 0s-1s, 1s-2s and 3s-4s respectively. The sub-sway frequencies determined as medium frequencies include the sub-sway frequencies corresponding to the time periods of 2s-3s, 4s-5s and 6s-7s respectively. The sub-sway frequencies determined as high frequencies include the sub-sway frequencies corresponding to the time periods of 5s-6s, 7s-8s, 8s-9s and 9s-10s respectively.
[0112] In some embodiments, after the sub-shaking frequencies of the electronic device in each preset time period are classified, the average shaking frequencies corresponding to different frequency types can be obtained.
[0113] Exemplary, continue to refer to Table 3. The sub-shaking frequencies determined as low frequencies include the sub-shaking frequencies corresponding to the time periods of 0s-1s, 1s-2s, and 3s-4s, respectively. Therefore, the average shaking frequency corresponding to the low frequency is (0.05+0.1+0.1) / 3=0.08. The sub-shaking frequencies determined as medium frequencies include the sub-shaking frequencies corresponding to the time periods of 2s-3s, 4s-5s, and 6s-7s, respectively. Therefore, the average shaking frequency corresponding to the medium frequency is (0.12+0.15+0.15) / 3=0.14. The sub-shaking frequencies determined as high frequencies include the sub-shaking frequencies corresponding to the time periods of 5s-6s, 7s-8s, 8s-9s, and 9s-10s, respectively. Therefore, the average shaking frequency corresponding to the high frequency is (0.2+0.3+0.25+0.3) / 4=0.26.
[0114] In some embodiments, health thresholds corresponding to different frequency types may be set. Based on the health thresholds of different frequency types and the obtained average shaking frequencies corresponding to the different frequency types, first information may be generated and displayed. The first information is used to characterize the health of the user carrying the electronic device.
[0115] Exemplarily, the health threshold may include a first health threshold, a second health threshold and a third health threshold, wherein the first health threshold corresponds to a low frequency, the second health threshold corresponds to a medium frequency, and the third health threshold corresponds to a high frequency.
[0116] If the average shaking frequency corresponding to the low frequency is f1, the average shaking frequency corresponding to the medium frequency is f2, and the average shaking frequency corresponding to the high frequency is f3. And, the first healthy threshold is A1, the second healthy threshold is A2, and the third healthy threshold is A3. Based on the healthy thresholds of different frequency types and the obtained average shaking frequencies corresponding to different frequency types, it can be determined whether the average shaking frequencies corresponding to different frequency types are abnormal. If abnormal, a corresponding abnormal signal can be generated.
[0117] Among them, if f1≤A1, it can be determined that f1 is normal;
[0118] If f1>A1, it can be determined that f1 is abnormal, and a first abnormal signal is generated;
[0119] If f2≤A2, it can be determined that f2 is normal;
[0120] If f2>A2, it can be determined that f2 is abnormal, and a second abnormal signal is generated;
[0121] If f3≤A3, it can be determined that f3 is normal;
[0122] If f3>A3, it can be determined that f3 is abnormal and a third abnormal signal is generated.
[0123] Based on generating at least one of the first abnormality signal, the second abnormality signal, and the third abnormality signal, first information may be generated and displayed.
[0124] For example, after completing the balance test on the user, the electronic device may display the following information: Figure 6 The interface 600 shown in FIG. 600 includes a control 601 for viewing the user's shaking frequency. After the electronic device detects that the user clicks or selects the control 601, the electronic device can Figure 7 (a) or Figure 7 As shown in (b) , the user's shaking frequencies f1, f2 and f3 are displayed, and first information is displayed, where the first information is used to represent the health status of the user carrying the electronic device.
[0125] For example, if f1 is abnormal, f2 is normal, and f3 is normal, the electronic device can Figure 7 As shown in (a) of FIG. 1 , the first information that the user may have physical fatigue or poor posture is displayed. For another example, if f1 is abnormal, f2 is abnormal, and f3 is abnormal, the electronic device can Figure 7 As shown in (b) in the figure, the first information indicating that the user may have a precursor to a neurological disease is displayed.
[0126] S203: Determine the shaking amplitude of the electronic device based on the movement information of the electronic device.
[0127] In combination with the above embodiments, it can be known that based on the acceleration data of the electronic device, the rate of change of the speed of the electronic device at the preset time point can be determined. Therefore, based on the initial position of the electronic device and the rate of change of the speed of the electronic device at the preset time point, the speed of the electronic device at the preset time point can be obtained, and the displacement of the electronic device at the preset time point can be obtained.
[0128] Furthermore, in combination with the above-mentioned embodiments, it can be known that based on the angular velocity data of the electronic device, the change of the moving direction of the electronic device at each preset time point can be determined. Therefore, based on the displacement of the electronic device at the preset time point and the moving direction of the electronic device at the preset time point, the moving trajectory of the electronic device can be obtained.
[0129] For example, you can continue as follows Figure 5 As shown, a three-dimensional coordinate system is established with the initial position of the electronic device as the coordinate origin. The x-axis, y-axis and z-axis in the three-dimensional coordinate system represent different directions respectively. Based on the displacement of the electronic device at a preset time point and the moving direction of the electronic device at the preset time point, the moving trajectory of the electronic device can be simulated in the three-dimensional coordinate system.
[0130] Among them, position A is the origin of the coordinate system of the three-dimensional coordinate system, that is, the initial position of the electronic device. When the user starts the balance ability test, the electronic device is located at position A, and the speed is 0m / s.
[0131] As the user shakes, if the electronic device reaches position B at the first second, and the acceleration of the electronic device at the first second is 0.1 m / s 2 , it can be obtained that the speed of the electronic device at the first second is 0.1m / s, and the displacement of the electronic device in the first second is 0.1m. Moreover, based on the angular velocity data of the electronic device at the first second, it can be determined that the moving direction of the electronic device is from position A to position B. Therefore, the moving trajectory of the electronic device in the first second can be obtained, that is, the electronic device moves from position A to position B, and moves a total of 0.1m.
[0132] Afterwards, as the user shakes, if the electronic device reaches position C at the second second, and it is detected that the acceleration of the electronic device at the second second is still 0.1m / s 2 , it can be obtained that the speed of the electronic device at the second second is 0.2m / s, and the displacement of the electronic device in the second second is 0.1m. Moreover, based on the angular velocity data of the electronic device at the second second, it can be determined that the moving direction of the electronic device is from position B to position C. Therefore, the moving trajectory of the electronic device in the second second can be obtained, that is, the electronic device moves from position B to position C, and moves a total of 0.3m.
[0133] In some embodiments, the shaking amplitude of the electronic device is determined based on the movement trajectory of the electronic device.
[0134] The shaking amplitude of the electronic device is obtained based on the first shaking amplitude and the second shaking amplitude. The first shaking amplitude is the average shaking amplitude of the electronic device along the horizontal plane. The second shaking amplitude is the average shaking amplitude of the electronic device along the direction perpendicular to the horizontal plane.
[0135] For example, see Figure 8 As the user shakes, if it is detected that the electronic device has reached position D at the first second, the shaking amplitude of the electronic device in the plane where the x-axis and y-axis are located (may also be referred to as the horizontal plane in the embodiment of the present application) can be obtained as L1. The shaking amplitude of the electronic device in a direction perpendicular to the horizontal plane is L2. Afterwards, as the user shakes, if it is detected that the electronic device has reached position E at the second second, the shaking amplitude of the electronic device in the horizontal plane can be obtained as L3. The shaking amplitude of the electronic device in a direction perpendicular to the horizontal plane is L4. If the user's balance ability test is ended at the second second, the first shaking amplitude can be obtained as (L1+L3) / 2, and the second shaking amplitude can be obtained as (L2+L4) / 2.
[0136] In some embodiments, the shaking amplitude of the electronic device can be determined based on the first shaking amplitude, the second shaking amplitude and the first relationship. The first relationship is used to characterize the relationship between the shaking amplitude of the electronic device, the first shaking amplitude and the second shaking amplitude. The first relationship can be expressed by the formula H=m*H1+n*H2. Wherein, m+n=1.
[0137] Wherein, H is used to characterize the shaking amplitude of the electronic device. H1 is used to characterize the first shaking amplitude, and m is used to characterize the weighting coefficient for H1. H2 is used to characterize the second shaking amplitude, and n is used to characterize the weighting coefficient for H2.
[0138] In some embodiments, a first shaking threshold S1 and a second shaking threshold S2 may be set, and the shaking amplitude H of the electronic device may be quantitatively related to S1 and S2 to determine the degree of the shaking amplitude, which may include a first degree, a second degree, and a third degree.
[0139] Exemplarily, if 0≤H<S1, it can be determined that the degree of the shaking amplitude is a first degree (which may also be referred to as small in the embodiment of the present application);
[0140] If S1≤H<S2, it can be determined that the degree of the shaking amplitude is the second degree (which may also be referred to as medium in the embodiment of the present application);
[0141] If H≥S2, it can be determined that the degree of the shaking amplitude is the third degree (which may also be called large in the embodiment of the present application).
[0142] In some embodiments, based on the determined degree of the shaking amplitude, second information may be generated and displayed, wherein the second information includes at least one of the first shaking amplitude, the second shaking amplitude, and the determined degree of the shaking amplitude.
[0143] For example, after completing the balance test on the user, the electronic device may display the following information: Figure 6 The interface 600 shown in FIG. 600 includes a control 602 for checking the extent of the user's shaking. After the electronic device detects that the user clicks or selects the control 602, the electronic device can Fig. 9 As shown, at least one of the degree of the user's shaking amplitude, the first shaking amplitude, and the second shaking amplitude is displayed.
[0144] S204: Obtain a balancing capability parameter based on the shaking frequency and the shaking amplitude of the electronic device.
[0145] The balance ability parameter is used to characterize the balance ability of the user carrying the electronic device. The balance ability parameter is positively correlated with the balance ability of the user carrying the electronic device. That is, the larger the balance ability parameter is, the stronger the balance ability of the user is. Conversely, the smaller the balance ability parameter is, the weaker the balance ability of the user is.
[0146] In some embodiments, the balancing capability parameter may be obtained based on the shaking frequency and the shaking amplitude of the electronic device and the second relationship, wherein the second relationship is used to characterize the relationship between the shaking frequency and the shaking amplitude of the electronic device and the balancing capability parameter.
[0147] In some embodiments, the second relationship can be expressed by the formula K=H*k1*p+(f1*a+f2*b+f3*c)*k2*q.
[0148] Among them, K is used to characterize the balancing ability parameter. H is used to characterize the shaking amplitude of the electronic device. f1, f2, and f3 are used to characterize the average shaking frequency corresponding to the low frequency, the average shaking frequency corresponding to the medium frequency, and the average shaking frequency corresponding to the high frequency, respectively. k1 is used to characterize the gain coefficient of the shaking amplitude of the electronic device, k2 is used to characterize the gain coefficient of the shaking frequency of the electronic device, and k1+k2=1. P is used to characterize the proportional coefficient of the shaking amplitude of the electronic device, q is used to characterize the proportional coefficient of the shaking frequency of the electronic device, and p+q=1.
[0149] In some embodiments, based on the balance ability parameter, the level of fall risk of the user carrying the electronic device can be predicted.
[0150] Among them, the levels of fall risk include level one, level two and level three.
[0151] If the electronic device detects that the balance ability parameter is less than the first parameter, it can be predicted that the level of the fall risk is the first level;
[0152] If the electronic device detects that the balance ability parameter is greater than or equal to the first parameter and less than the second parameter, it can be predicted that the level of the fall risk is the second level;
[0153] If the electronic device detects that the balance ability parameter is less than or equal to the third parameter, it can be predicted that the level of the fall risk is the third level.
[0154] After the electronic device predicts the level of the risk of falling of the user carrying the electronic device, the electronic device may generate and display third information, which includes at least one of the balance ability parameter and the predicted level of the risk of falling.
[0155] For example, after completing the balance test on the user, the electronic device may display the following information: Figure 6 The interface 600 shown in FIG. 600 includes a control 603 for viewing the balance ability parameter. After the electronic device detects that the user clicks or selects the control 603, the electronic device can Fig.10 As shown, a balance ability parameter (which may also be referred to as a balance ability score in the embodiment of the present application) is displayed, and the level of the user's fall risk predicted based on the balance ability parameter is displayed.
[0156] In some embodiments, when the electronic device is a device with a large display screen such as a mobile phone, see Fig.11 After completing the balance test of the user, the electronic device may display an interface 1101. The interface 1101 includes a control 1102 for checking the balance of the user. After the electronic device detects that the user clicks or selects the control 1102, the electronic device may display an interface 1101. Fig.12 As shown, at least one of the first information, the second information and the third information is displayed.
[0157] The method provided in the embodiment of the present application integrates the balance ability test of the user into the electronic device. The test action is simple and convenient, and the user can perform the balance ability test anytime and anywhere without any guidance. In addition, based on the shaking amplitude and shaking frequency of the electronic device, the embodiment of the present application can obtain the balance ability of the user carrying the electronic device, which is conducive to improving the accuracy of the balance ability test results.
[0158] In some schemes, multiple embodiments of the present application can be combined, and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a restriction on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. A person of ordinary skill in the art will think of a variety of ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this article are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.
[0159] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment.
[0160] Furthermore, the various method embodiments may be implemented separately or in combination.
[0161] It is understandable that in order to implement the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
[0162] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0163] The present application also provides an electronic device, such as Fig.13 As shown, the electronic device may include one or more processors 1301 , a memory 1302 and a communication interface 1303 .
[0164] The memory 1302 and the communication interface 1303 are coupled to the processor 1301. For example, the memory 1302, the communication interface 1303 and the processor 1301 may be coupled together via a bus 1304.
[0165] The communication interface 1303 is used for data transmission with other devices. The memory 1302 stores computer program code. The computer program code includes computer instructions. When the computer instructions are executed by the processor 1301, the electronic device executes the balance ability test method in the embodiment of the present application.
[0166] Among them, the processor 1301 can be a processor or a controller, for example, it can be a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in combination with the contents of this disclosure. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of DSP and microprocessors, and so on. The processor can be used to support the electronic device to execute the steps of the balancing capability test method provided in the above embodiments. For example, the processor can be used to support the electronic device to execute Figure 2 S201-S204 in.
[0167] The bus 1304 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 1304 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0168] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the balance ability testing method in any of the above-mentioned balance ability testing method embodiments.
[0169] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0170] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0171] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0172] It should be understood that each step in the above-mentioned balance ability test method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The steps of the balance ability test method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0173] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program code is stored. When the processor executes the computer program code, the electronic device executes the relevant method steps in the balance ability testing method embodiment.
[0174] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the relevant method steps in the above-mentioned balance ability testing method embodiment.
[0175] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the scene configuration method in the above-mentioned method embodiments.
[0176] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding balance ability test method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0177] The steps of the method or algorithm described in conjunction with the disclosed content of the embodiments of the present application can be implemented in hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0178] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the above-described system, device and unit can refer to the corresponding process in the above-mentioned balance ability test method embodiment, which will not be repeated here.
[0179] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, 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 devices or units, which can be electrical, mechanical or other forms.
Claims
1. A balance ability testing method, characterized in that: include: Obtaining movement information of the electronic device carried by the user during the test period; Based on the movement information, determining the shaking amplitude and shaking frequency of the electronic device; A balance ability parameter is obtained based on the shaking amplitude and the shaking frequency, and the balance ability parameter is used to characterize the balance ability of a user carrying the electronic device.
2. The method according to claim 1, characterized in that The movement information includes acceleration data and angular velocity data.
3. The method according to claim 2, characterized in that The method further comprises: determining an initial position of the electronic device; The determining the shaking amplitude and shaking frequency of the electronic device based on the movement information includes: Based on the angular velocity data, determining the shaking frequency; The shaking amplitude is determined based on the initial position, the acceleration data and the angular velocity data.
4. The method according to claim 3, characterized in that The test period includes at least one preset period, and the determining the shaking frequency based on the angular velocity data includes: Based on the angular velocity data, determining the number of changes in the moving direction of the electronic device within the at least one preset time period; Determining at least one sub-shaking frequency based on the number of changes in the moving direction of the electronic device within the at least one preset time period; The shake frequency is determined based on the at least one sub-shake frequency.
5. The method according to claim 4, characterized in that The method further comprises: determining a frequency type of the at least one sub-wobble frequency; Determine an average shaking frequency of the sub-shaking frequencies corresponding to each of the frequency types; Based on each of the average shaking frequencies, first information is displayed, where the first information is used to represent the health status of a user carrying the electronic device.
6. The method according to claim 5, characterized in that The frequency types include a first type, a second type and a third type; and the displaying of the first information based on each of the average shaking frequencies further includes: Based on the average shaking frequency corresponding to the first type being greater than or equal to a first healthy threshold, generating a first abnormal signal; Based on the average shaking frequency corresponding to the second type being greater than or equal to a second healthy threshold, generating a second abnormal signal; Generate a third abnormal signal based on the average shaking frequency corresponding to the third type being greater than or equal to a third healthy threshold; The first information is generated based on at least one of the first abnormal signal, the second abnormal signal, and the third abnormal signal.
7. The method according to any one of claims 3 to 6, characterized in that: The determining the shaking amplitude based on the initial position, the acceleration data and the angular velocity data comprises: Determining a movement trajectory of the electronic device based on the initial position, the acceleration data, and the angular velocity data; Based on the movement trajectory, determining a first shaking amplitude and a second shaking amplitude; wherein the first shaking amplitude is an average shaking amplitude of the electronic device along a horizontal plane; and the second shaking amplitude is an average shaking amplitude of the electronic device along a direction perpendicular to the horizontal plane; The shake amplitude is determined based on the first shake amplitude and the second shake amplitude.
8. The method according to claim 7, characterized in that The method further comprises: Based on the shaking amplitude, second information is displayed, wherein the second information includes at least one of the first shaking amplitude, the second shaking amplitude, and a degree of the shaking amplitude.
9. The method according to claim 8, characterized in that The shaking amplitude includes a first degree, a second degree and a third degree; and displaying the second information based on the shaking amplitude further includes: Based on the shaking amplitude being less than the first shaking threshold, determining that the shaking amplitude is at a first degree; or, Based on the shaking amplitude being greater than or equal to the first shaking threshold and less than the second shaking threshold, determining that the shaking amplitude is at the second level; or, Based on the shaking amplitude being greater than or equal to a third shaking threshold, it is determined that the degree of the shaking amplitude is a third degree.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: Predicting a level of fall risk of a user carrying the electronic device based on the balance ability parameter; The third information is displayed, wherein the third information includes at least one of the balance ability parameter and the level of the fall risk.
11. The method according to claim 10, characterized in that The level of the risk of falling includes a first level, a second level, and a third level; and the level of the risk of falling of the user carrying the electronic device is predicted based on the balance ability parameter, including: Based on the balance ability parameter being less than the first parameter, predicting that the level of the fall risk is the first level; Based on the balance ability parameter being greater than or equal to the first parameter and less than the second parameter, predicting that the level of the fall risk is the second level; Based on the balance ability parameter being less than or equal to a third parameter, it is predicted that the level of the fall risk is the third level.
12. An electronic device, characterized in that: include: A memory and one or more processors; the memory is coupled to the processor; wherein the memory stores computer program code, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1-11.
13. A computer storage medium comprising computer instructions, characterized in that: When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 11.
14. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 11.
