Cart state identification method, electronic equipment, electronic system and storage medium
By combining cadence and movement speed with height sensor data to determine the bike-pushing status during cycling, the problem of inaccurate bike-pushing status recognition during cycling is solved, achieving automatic and accurate bike-pushing status recognition.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG COROS SPORTS TECH JOINT CO
- Filing Date
- 2024-10-30
- Publication Date
- 2026-05-01
AI Technical Summary
In existing technologies, the identification of the user's pushing status during cycling is mostly done manually or marked afterward, which has problems with misrecording and omissions, resulting in inaccurate identification and time consumption.
By acquiring the vehicle's cadence and speed data, the processor determines whether the user is pushing the vehicle, and the height sensor determines the road type to avoid misjudgment and achieve automatic identification.
It improves the efficiency and accuracy of cart status recognition, eliminates the need for manual recording by users, and provides a reliable data foundation for subsequent analysis.
Smart Images

Figure CN121944486A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of outdoor sports technology, and in particular relates to methods for recognizing the status of a stroller, electronic devices, electronic systems, and storage media. Background Technology
[0002] In cycling, especially cycling competitions, recognizing and recording the user's bike-pushing status can reflect the difficulty of the race route and help record the user's personal status.
[0003] Currently, the identification of a user's bike-pushing status during cycling activities usually relies on manual reporting by the user or post-event marking. However, during post-event review, there are often issues with omissions or over-recording, causing inconvenience to the user.
[0004] Therefore, how to accurately and efficiently identify the user's bike-pushing status during cycling has become a pressing technical problem that needs to be solved. Summary of the Invention
[0005] This application provides a method, electronic device, electronic system, and storage medium for identifying the status of a stroller, which can solve the problem of how to accurately and efficiently identify the status of a user's stroller during cycling.
[0006] In a first aspect, embodiments of this application provide a method for identifying the state of a trolley, the method comprising:
[0007] Acquire vehicle cadence and speed data;
[0008] The system determines whether the user is pushing the vehicle based on movement speed and cadence data.
[0009] Secondly, embodiments of this application provide an electronic device, which includes a processor and a storage medium;
[0010] Storage media are used to store computer programs;
[0011] The processor is used to execute a computer program to implement a method for recognizing the state of a cart as described in any embodiment of the first aspect.
[0012] Thirdly, embodiments of this application provide a method for identifying the state of a trolley, applied to an electronic system. The electronic system includes an electronic device and a remote terminal communicatively connected to the electronic device. The method includes:
[0013] Acquire vehicle cadence data and speed collected by electronic devices;
[0014] The remote control terminal determines whether the user is pushing the vehicle based on movement speed and cadence data.
[0015] Fourthly, embodiments of this application provide an electronic system, which includes an electronic device and a remote terminal communicatively connected to the electronic device. The electronic device is used to collect vehicle cadence data and speed.
[0016] A remote terminal includes a processor and a storage medium, the storage medium being used to store computer programs;
[0017] The processor is used to execute a computer program to implement a method for recognizing the state of a cart as described in any embodiment of the second aspect.
[0018] Fifthly, embodiments of this application provide a storage medium for storing a computer program that can be executed to implement the cart state identification method as described in either the first or second aspect.
[0019] Sixthly, embodiments of this application provide a computer program product that can be executed to implement the method for identifying the status of a trolley as described in either the first or second aspect.
[0020] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0021] The beneficial effects of this application embodiment compared with the prior art are: the vehicle's moving speed can accurately reflect the vehicle's current travel speed, and the cadence data can accurately reflect the user's pedaling frequency. Considering that when the user switches from riding to pushing the bicycle, both the vehicle's moving speed and cadence will decrease significantly, based on the vehicle's cadence data and moving speed, it is possible to quickly and accurately determine whether the vehicle is in a state of not being pedaled and traveling at a low speed, thereby quickly and accurately determining whether the user is pushing the bicycle, without requiring the user to manually record or mark it afterward, greatly improving the efficiency and accuracy of bicycle pushing status identification. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application, 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0024] Figure 2 This is a flowchart illustrating a method for identifying the state of a trolley according to an embodiment of this application;
[0025] Figure 3 This is a flowchart illustrating another method for identifying the status of a trolley provided in an embodiment of this application;
[0026] Figure 4 This is a flowchart illustrating another method for identifying the state of a trolley provided in an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of an application scenario of the present application, illustrating the workflow of a method for recognizing the state of a trolley.
[0028] Figure 6 This is a schematic diagram of the structure of an electronic system provided in an embodiment of this application;
[0029] Figure 7 This is a flowchart illustrating another method for identifying the status of a trolley provided in an embodiment of this application. Detailed Implementation
[0030] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0031] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0032] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0033] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrases "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0034] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0035] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0036] In cycling, especially in cycling races, recognizing a user's bike-pushing status is crucial for clearly reflecting the difficulty of the route or race segment, recording the user's condition during the ride, and analyzing energy consumption. This is significant for route recording and sharing among users. Currently, bike-pushing status recognition mostly relies on users manually recording or marking it on electronic devices, causing significant inconvenience for reviewing the ride during and afterward. Furthermore, this method is prone to errors, omissions, or over-recording, resulting in low accuracy and time-consuming processing.
[0037] To address the aforementioned issues, and considering the changes in the vehicle's motion state during cycling—for example, when a user switches from cycling to pushing the bike, both the vehicle's speed and cadence decrease significantly—this application proposes a method, electronic device, electronic system, and storage medium for identifying the pushing state. This method quickly and accurately determines whether the user is in a pushing state based on the vehicle's cadence data and speed, eliminating the need for manual recording or post-event marking by the user, thus greatly improving the efficiency and accuracy of pushing state identification.
[0038] The electronic device for recognizing the carrying status using the method described in this application embodiment is described below. It should be noted that the vehicle used in this application embodiment is a bicycle. Figure 1 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application, such as... Figure 1 As shown, the electronic device 100 includes a processor 110 and is connected to a speed sensor 200 and a cadence sensor 300.
[0039] Electronic device 100 can be a wearable device worn on the wrist, such as a sports watch, cycling computer, or smart bracelet. During cycling, the user can wear electronic device 100 on their wrist. Speed sensor 200 detects the vehicle's speed and sends it to processor 110. Cadence sensor 300 detects the vehicle's cadence data and sends it to processor 110. Processor 110 receives the vehicle's speed and cadence data from speed sensor 200 and cadence sensor 300 respectively, and determines whether the user is pushing the bicycle based on the speed and cadence data.
[0040] In some embodiments, continue to refer to Figure 1 The processor 110 includes: a bike-pushing state recognition unit, used to determine whether the user has started pushing the bike based on movement speed and cadence data; when the user is detected to have started pushing the bike, it determines whether the user has stopped pushing the bike based on movement speed and cadence data; it determines that the user is in a bike-pushing state between a first moment and a second moment, the first moment including the moment when the user is detected to have started pushing the bike, and the second moment including the moment when the user is detected to have stopped pushing the bike. In this technical solution, the user starts and stops pushing the bike during cycling based on the vehicle's movement speed and cadence data, and then records the time period between each start and stop of pushing the bike in the bike-pushing state, which can accurately record the duration of each bike push during cycling, and can provide a reliable data foundation for subsequent data analysis such as non-cycling sections and / or physical fitness testing.
[0041] In some embodiments, the stroller status recognition unit is further configured to determine whether the vehicle is moving at a low speed based on the movement speed; and if low-speed movement of the vehicle is detected, to determine whether the user has started pushing the stroller based on cadence data. In this technical solution, if low-speed movement of the vehicle is detected based on the movement speed, it does not determine whether the user has started pushing the stroller, but rather makes a further judgment based on cadence data. This achieves dual judgment based on both the vehicle's movement speed and cadence data, avoiding misidentifying the user's low-speed riding as pushing the stroller, and improving the accuracy of stroller status recognition.
[0042] In some embodiments, the stroller state recognition unit is further configured to determine whether the user is walking based on cadence data; acquire a first duration of the user's walking; determine that the user has started pushing the stroller if the first duration is detected to be greater than or equal to a preset duration; and define the moment when the user starts pushing the stroller as the first moment. In this technical solution, after determining that the user is walking based on cadence data, it is also necessary to determine that the first duration of the user's walking is greater than or equal to the preset duration before determining that the user has started pushing the stroller. This avoids misjudging scenarios where the user is gliding without cadence, such as using inertia or going downhill, as pushing a stroller, thus increasing the reliability of recognizing the user's stroller-pushing action. Furthermore, defining the moment when the user starts pushing the stroller as the first moment allows the start time corresponding to the stroller state to be accurate to the moment the user begins pushing the stroller, enabling precise recording of the duration the user is in the stroller-pushing state, further improving the reliability of stroller state recognition.
[0043] In some embodiments, the processor 110 further includes a state switching unit, configured to set the user's current state to the cart state when it is determined that the user is in the cart state; set the user's current state to the non-cart state when it is determined that the user is in the non-cart state; and record the duration of the cart state after determining that the current state is the cart state. In this technical solution, the processor can promptly set and update the user's current state and record the duration of the cart state through the state switching unit, without requiring the user to manually record or set it, resulting in a good user experience.
[0044] In some embodiments, the electronic device 100 may further include a timer 120 electrically connected to the processor 110, for incrementing its current time duration as a first duration of walking when the cart status recognition unit identifies that the user is walking.
[0045] In some embodiments, continue to refer to Figure 1 The electronic device 100 is also connected to an altitude sensor 400 (also known as a barometric pressure sensor). This altitude sensor 400 collects barometric pressure data of the road section (or environment) where the vehicle is located, and converts this data into altitude by combining it with sea-level pressure. The altitude is then sent to the processor 110. The processor 110 also includes a slope information recognition unit, used to determine whether the vehicle is on a downhill section based on the altitude data sent by the altitude sensor 400. If the slope information recognition unit detects that the vehicle is not on a downhill section, a pushcart status recognition unit is used to determine whether the user is pushing the vehicle based on movement speed and cadence data. It can be understood that the slope information recognition unit can determine the type of road section the vehicle is on based on the altitude, including downhill, uphill, or flat road sections.
[0046] This technical solution accurately identifies whether the user is pushing the bike when the vehicle is not on a downhill section by combining data on movement speed and cadence. This avoids simply identifying uphill sections as pushing the bike, improving the accuracy of bike-pushing identification. Furthermore, it eliminates the need for manual recording or post-event marking by the user, resulting in a better user experience. Moreover, identifying whether the user is pushing the bike every time the vehicle is not on a downhill section provides a reliable data foundation for subsequent road difficulty analysis.
[0047] In some embodiments, the processor 110 further includes a storage unit for storing received movement speed, cadence data, altitude, or the current duration of a timer, so as to determine whether the user is in a stroller state based on the stored data.
[0048] In one embodiment, the electronic device 100 further includes a communication module 130 for establishing a communication connection between the electronic device 100 and the speed sensor 200, the cadence sensor 300 and the altitude sensor 400, so that the processor 110 can acquire the vehicle's moving speed, cadence data and altitude.
[0049] It is understood that the electronic device 100 can conduct wireless or wired communication with the speed sensor 200, cadence sensor 300, and height sensor 400 using the communication module 130. The communication standard or protocol used for this wireless communication can be Bluetooth, Advanced Network Technologies (ANT), or Advanced Network Technologies Plus (ANT+), etc. The wired communication can be serial communication or Controller Area Network (CAN) bus, etc.
[0050] In some embodiments, the electronic device 100 further includes a display 140 for displaying vehicle operating data and the user's status. The operating data includes at least one of movement speed, altitude, or cadence data, and the user's status includes the duration of time spent pushing the vehicle. For example, the display 140 may display the type of road the vehicle is currently on (uphill, downhill, or flat), the duration of the user's most recent time in a pushing position, and whether the user is currently in a pushing position. The user can promptly monitor the vehicle's and their own status through the electronic device's display, providing a good user experience.
[0051] In some embodiments, the electronic device 100 further includes a power module 150 for providing power to the electronic device 100 so that the electronic device 100 can perform the steps in any of the above embodiments.
[0052] The electronic device provided in this application includes a storage medium for storing a computer program, and a processor 110 is capable of executing the computer program to perform... Figures 2 to 4 A method for identifying the status of the cart in any of the embodiments shown.
[0053] In the embodiments of this application, the processors involved in the electronic devices can be central processing units (CPUs), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0054] The storage medium in an electronic device can be its internal storage unit, such as the memory chip of the electronic device. It can also be the external storage device of the electronic device, such as the Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the electronic device.
[0055] The method for identifying the status of the cart in the embodiments of this application is described in detail below. Figure 2 This is a flowchart illustrating a method for identifying the state of a stroller according to an embodiment of this application. The method is executed by an electronic device, which can be... Figure 1 The electronic device 100 in the illustrated embodiment, such as Figure 2 As shown, the method includes the following steps:
[0056] Step S101: Obtain the vehicle's cadence data and speed.
[0057] In this embodiment, the cadence data includes at least one of the vehicle's cadence or cadence power. In a cycling scenario, the vehicle's speed sensor measures the vehicle's speed at a certain sampling frequency (e.g., 1 Hz). In one example, the speed sensor can be fixed to the vehicle's wheel hub. The speed sensor measures the wheel's rotational speed based on the sampling frequency and calculates the vehicle's speed by combining this with the wheel diameter. For example, taking speed in kilometers per hour (km / h) as an example, if the wheel rotational speed is 5 revolutions per second (r / s) and the wheel circumference calculated based on the wheel diameter is 2 meters (m), then the vehicle's speed is 5 * 60 * 60 * (2 / 1000) = 36 km / h.
[0058] It should be noted that the speed sensor can be installed in a suitable location on the vehicle based on its sensing type to measure wheel rotation speed. For example, when the speed sensor uses electromagnetic induction, it includes a coil. A metal disc that works with the speed sensor can be mounted on the vehicle's wheel axle or transmission output shaft, and the speed sensor can be fixed near the metal disc. When the vehicle moves, the teeth or protrusions on the metal disc pass through the coil, changing the magnetic field around the coil and inducing an electromotive force (EMF) in the coil. The speed sensor can collect the induced EMF based on the sampling frequency and determine the rotation speed of the metal disc by statistically analyzing the frequency of the EMF change. This rotation speed is then used as the wheel rotation speed. For example, if the metal disc has 48 teeth, and the speed sensor detects 240 teeth passing by it in 1 second, then the rotation speed of the metal disc is 240 ÷ 48 = 5 r / s, thus determining the wheel rotation speed as 5 r / s.
[0059] For example, when the speed sensor uses the Hall effect, a magnet that works in conjunction with the speed sensor can be mounted on the vehicle's wheel, with the speed sensor fixed near the magnet. When the magnet rotates with the wheel or transmission components, the strength and direction of the magnetic field change, causing a change in the Hall voltage and generating a pulse signal. In this way, the speed sensor can determine the wheel's rotational speed based on the frequency of these pulse signal changes. For instance, if the speed sensor detects 100 pulse signals in 1 second, then the wheel's rotational speed can be 100 ÷ 2 (assuming two pulse signal changes per revolution) = 50 r / s.
[0060] For example, in the case of a speed sensor using the photoelectric effect, a disc (which may include a grating or encoder disc) can be mounted on the vehicle's wheel axle or transmission component to work with the speed sensor. The speed sensor is fixed near the disc. Inside the speed sensor is a light source and a photosensitive element. As the disc rotates with the wheel or transmission component, the grating or encoder disc periodically blocks and transmits light, causing changes in the light intensity received by the photosensitive element, generating a photocurrent. The speed sensor can determine the wheel's rotational speed by collecting the photocurrent based on the sampling frequency and statistically determining the frequency of photocurrent changes. For example, if the speed sensor detects 800 photocurrent change cycles in 1 second, then the disc's rotational speed is 800 ÷ 100 (assuming 100 gratings or encoders per revolution) = 8 r / s.
[0061] After measuring the vehicle's speed, the speed sensor sends the speed to the electronic device, thus allowing the electronic device to obtain the vehicle's speed.
[0062] In cycling scenarios, cadence speed sensors measure the vehicle's cadence data at a specific sampling frequency (e.g., 1 Hz). In one example, the cadence speed sensor is mounted on the vehicle's gears or pedals, allowing it to measure the pedaling frequency (which serves as the vehicle's cadence) or the user's pedaling power, thus obtaining cadence data. This cadence data is then sent to electronic devices, which then acquire the vehicle's cadence data.
[0063] Step S102: Determine whether the user of the vehicle is pushing the vehicle based on the movement speed and cadence data.
[0064] While the user is pushing the stroller, the stroller continues to move on the ground and therefore maintains a speed. However, since the user is no longer pressing the pedals, the stroller's cadence data is 0 or close to 0. Therefore, the electronic device can determine the possible stroller-pushing state based on the moving speed and cadence data. Once the electronic device determines that the user is not pushing the stroller, it returns to the step of acquiring the stroller's moving speed and cadence data to proceed to the next round of stroller-pushing state identification.
[0065] In one example, the electronic device determines that the user is pushing the bike if the moving speed is less than or equal to a preset speed threshold and the cadence data meets a first condition; it determines that the user is not pushing the bike if the moving speed is greater than the preset speed threshold or the cadence data does not meet the first condition. The first condition is that the cadence in the cadence data is less than or equal to the cadence threshold or the cadence power is less than or equal to the power threshold. The preset speed threshold can be set by the user, for example, 10 km / h or 5 km / h, which is lower than the moving speed of the bike when the user is riding; the cadence threshold can be 0 rpm or 10 rpm, which is the frequency at which the pedals of the bike may be pedaled when the user is pushing the bike, and can be set based on experience; the cadence power can be 0 watts (W) or 15 W, which is the possible cadence power when the user is pushing the bike, and can be set based on experience.
[0066] It should be noted that the first condition can also be that the cadence in the cadence data is within the cadence threshold range or the cadence power is within the power threshold range. The cadence threshold range can be 0 rpm to 10 rpm (inclusive), and the power threshold range can be 0W to 50W (inclusive). The specific settings can be based on experience.
[0067] In another example, the electronic device determines that the user is in a push-cart state if the vehicle's speed is less than or equal to a preset speed threshold for a period of time and the cadence data meets the first condition; and determines that the user is not in a push-cart state if the vehicle's speed is greater than the preset speed threshold or the cadence data does not meet the first condition for a period of time.
[0068] Considering that users typically don't pedal the bicycle while pushing it, the cadence data indicates a very low running speed. However, the actual moving speed of the bicycle often doesn't match the speed indicated by the cadence data. Therefore, in another example, the electronic device can also determine the bicycle's running speed based on the cadence data. If the difference between the running speed and the moving speed is greater than a preset speed difference, it determines that the user is pushing the bicycle; if the difference is less than or equal to the preset speed difference, it determines that the user is not pushing the bicycle. The preset speed difference can be set based on the difference between the user's walking speed while pushing the bicycle and the bicycle's running speed indicated by the cadence (0 km / h or 0.5 km / h, etc.), for example, 3 km / h or 6 km / h. It can be understood that the user's walking speed while pushing the bicycle and the bicycle's running speed indicated by the cadence can be determined based on experience or experimentation.
[0069] In this example, an empirical relationship model between cadence and vehicle speed is established by collecting a large amount of actual vehicle speed and cadence data. For example, for road bikes on flat surfaces, multiple experiments may reveal that a cadence of 60 revolutions per minute typically corresponds to a vehicle speed of around 15 km / h, while a cadence of 80 revolutions per minute may correspond to a speed of around 20 km / h. Electronic equipment can then determine the corresponding vehicle speed based on this empirical relationship model.
[0070] In this embodiment, the vehicle's moving speed accurately reflects its current travel speed, and the cadence data accurately reflects the frequency at which the user pedals. Considering that both the vehicle's moving speed and cadence decrease significantly when the user switches from riding to pushing the bicycle, the cadence data and moving speed can quickly and accurately determine whether the vehicle is in a low-speed, unpedaled state. This allows for rapid and accurate determination of whether the user is pushing the bicycle, eliminating the need for manual recording or post-event marking by the user, and greatly improving the efficiency and accuracy of bicycle pushing status identification.
[0071] Figure 3 This is a flowchart illustrating another method for identifying the state of a stroller in this application. This method is executed by an electronic device, which can be... Figure 1 The electronic device 100 in the illustrated embodiment, such as Figure 3 As shown, the process includes the following steps:
[0072] Step S201: Obtain the vehicle's cadence data and speed. See details... Figure 2 Step S101 in the illustrated embodiment will not be described in detail here.
[0073] In one possible implementation, determining whether the user of the vehicle is pushing it based on the movement speed and cadence data includes the following steps S202 to S203:
[0074] Step S202: Based on the movement speed and cadence data, determine whether the user should start pushing the stroller.
[0075] When the user is pushing the bike, both the vehicle's speed and cadence data are at a low level. Therefore, the electronic device can determine that the user has started pushing the bike if it detects that the speed is within the pushing speed range and the cadence data meets the first condition. If it determines that the speed is not within the pushing speed range or the cadence data does not meet the first condition, it determines that the user is not pushing the bike. The pushing speed range can be from 1 km / h to 20 km / h (inclusive), and can be set based on the possible speed of the vehicle when pushed forward by the user. This application embodiment does not impose specific limitations.
[0076] In one example, the electronic device can also determine whether the vehicle's moving speed and cadence data are at a low level based on whether the moving speed meets a preset speed threshold and whether the cadence data meets a first condition. It can determine that the user has started pushing the bike if the moving speed is detected to be less than or equal to the preset speed threshold and the cadence data meets the first condition; otherwise, it can determine that the user is not pushing the bike.
[0077] Considering the sharp decrease in vehicle speed when a user switches from riding to pushing, in another example, the electronic device can also determine the difference between the current speed and the speed at a historical time. If this difference is less than a preset speed difference and the cadence data meets a first condition, it can be determined that the user has started pushing the bike; otherwise, it can be determined that the user has not started pushing the bike. The time difference between the historical time and the current time is a preset value, such as 5 seconds or 10 seconds, which can be set by the user. In this way, by taking into account the change in vehicle speed over a period of time and using cadence data as a constraint, it is possible to accurately identify whether the user has started pushing the bike.
[0078] Considering that the vehicle's speed decreases sharply and then levels off when the user switches from riding to pushing, and the cadence data also changes similarly, in another example, the electronic device can also statistically analyze the trends in both the vehicle's speed and cadence data over a specified time period. If it is determined that both the speed and cadence data decrease sharply and then level off within the specified time period, and both the speed and cadence data at the current moment are at a low level (speed less than or equal to a preset speed threshold, and cadence data meeting the first condition), then it is determined that the user has started pushing the bicycle. The specified time period includes the current moment, such as the previous 3 minutes or 2 minutes.
[0079] In one possible implementation, determining whether the user should start pushing the stroller based on movement speed and cadence data includes:
[0080] Determine whether the vehicle is traveling at a low speed based on its movement speed;
[0081] If the vehicle is detected to be moving at a low speed, the system determines whether the user should start pushing the vehicle based on cadence data.
[0082] When the electronic device detects that the current moving speed is within the push-cart speed range, it determines that the vehicle is moving at a low speed. It then checks whether the current cadence data meets a first condition. If the condition is met, it determines that the user has started pushing the cart at that moment; otherwise, it determines that the user is not pushing the cart. If the moving speed is not within the push-cart speed range, it determines that the vehicle has ended its low-speed movement, at which point it is determined that the user is not pushing the cart.
[0083] In the above technical solution, when the vehicle is moving at a low speed, it is not certain that the user has started pushing the bike. Instead, further judgment is made based on the cadence data. This achieves dual judgment based on the vehicle's moving speed and cadence data, avoiding misidentifying the user's low-speed riding as the user's pushing action and improving the accuracy of the pushing status recognition.
[0084] In one possible implementation, to improve the reliability of stroller status recognition, the user's walking state is taken into account when determining whether the user has started pushing the stroller. This is done by determining whether the user has started pushing the stroller based on cadence data, including:
[0085] Based on cadence data, determine whether the user is walking;
[0086] Get the first duration of the user's walk;
[0087] If the first duration is detected to be greater than or equal to the preset duration, it is determined that the user has started pushing the cart; and the moment when the user is detected to have started pushing the cart is determined as the first moment.
[0088] The preset duration can be 30 seconds or 5 seconds, etc., and this application embodiment does not impose a specific limitation. When the electronic device detects that the current cadence data meets the first condition, it determines that the user is walking; otherwise, it determines that the user has stopped walking. If the user is determined to be walking, the electronic device controls its own timer to increment, thereby obtaining the current timing duration (this current timing duration is the first duration). If the first duration is less than the preset duration, it determines that the user is not pushing the stroller; if the first duration is greater than or equal to the preset duration, it determines that the user has started pushing the stroller. If the user is determined not to be pushing the stroller, the electronic device resets the timer to zero, setting the first duration to zero.
[0089] In the above technical solution, determining whether a user is walking based on cadence data requires further verification that the duration of the first period of walking is greater than or equal to a preset duration before determining that the user has started pushing the bike. This takes into account the user's walking and pushing state, avoiding misjudging scenarios where the user is coasting without cadence, such as using inertia or going downhill, as pushing the bike, thus increasing the reliability of recognizing the user's pushing action. Furthermore, defining the moment when the user starts pushing the bike as the first moment allows for precise recording of the starting time of the pushing state, accurately recording the duration the user is in the pushing state, further improving the reliability of the pushing state recognition.
[0090] Step S203: Upon detecting that the user has started pushing the stroller, determine whether the user has stopped pushing the stroller based on the movement speed and cadence data.
[0091] Once the electronic device detects that the user has started pushing the stroller, it determines that the user has stopped pushing the stroller when it first determines that the user has stopped pushing the stroller based on the vehicle's moving speed and cadence data.
[0092] In one possible implementation, determining whether the user has finished pushing the stroller based on movement speed and cadence data includes:
[0093] After detecting that the user has started pushing the cart, and after detecting that the vehicle has ended its low-speed driving state and / or the user has stopped walking, the user is determined to have stopped pushing the cart; and the moment when the user is detected to have stopped pushing the cart is determined as the second moment.
[0094] Upon detecting that a user has started pushing the stroller, the electronic device determines that the user has ended pushing the stroller when it first determines that the vehicle has ended its low-speed driving state based on the vehicle's moving speed and / or when it first determines that the user has ended walking based on cadence data. The current moment when the user's stroller-pushing is detected as the second moment is then defined. In this technical solution, determining that the user has ended pushing the stroller upon detecting that the vehicle has ended its low-speed driving state and / or the user has ended walking, and defining the moment when the user ends pushing the stroller as the second moment, allows the end time corresponding to the stroller-pushing state to be accurate to the moment the vehicle ends its low-speed driving state and / or the user ends walking. This allows for precise recording of the duration the user is in the stroller-pushing state, improving the reliability of stroller-pushing state recognition.
[0095] Step S204: Determine that the user is in a pushcart state between the first time and the second time.
[0096] The first moment includes the moment when the user starts pushing the cart, and the second moment includes the moment when the user stops pushing the cart. The electronic device determines the moment when the user starts pushing the cart as the first moment and the moment when the user stops pushing the cart as the second moment.
[0097] In some embodiments, the method further includes: setting the user's current state to the cart state when it is determined that the user is in the cart state; setting the user's current state to the non-cart state when it is determined that the user is in the non-cart state; and recording the duration of the cart state after determining that the current state is the cart state. In this technical solution, the processor can promptly set and update the user's current state and record the duration of the cart state through the state switching unit, eliminating the need for manual recording or setting by the user, resulting in a good user experience.
[0098] In this embodiment, the user's start and end times of pushing the bike are determined based on the vehicle's speed and cadence data. The time interval between each start and end of pushing is recorded in the pushing status, accurately recording the duration of each push during cycling. This avoids the need for the user to manually record the start and end times of pushing, improving the accuracy of pushing time recording and providing a reliable data foundation for subsequent data analysis on non-cycling routes and / or physical fitness tests.
[0099] Considering that users often coast downhill using inertia, there may be situations where there is no cadence but the vehicle moves slowly on such sections. To avoid identifying this situation as a push-cart state and to further improve the reliability of push-cart state identification, this application also takes the road section type into account in the push-cart state identification process. Figure 4 This is a flowchart illustrating another method for identifying the state of a stroller in this application. This method is executed by an electronic device, which can be... Figure 1 The electronic device 100 in the illustrated embodiment, such as Figure 4 As shown, the process includes the following steps:
[0100] Step S301: Obtain the vehicle's cadence data and speed. See details... Figure 2 Step S101 in the illustrated embodiment will not be described in detail here.
[0101] Step S302: Obtain altitude.
[0102] Altitude indicates the vertical distance between the altitude corresponding to different air pressure data in the road segment where the vehicle is located and a reference altitude (usually the altitude corresponding to sea level air pressure). In a cycling scenario, the vehicle's altitude sensor can collect air pressure data of the road segment where the vehicle is located based on a certain sampling frequency (e.g., 1Hz, 10Hz, or 100Hz, which can be set by the user). It then combines this with sea level air pressure to determine the altitude corresponding to that air pressure data, and further determines the vertical distance between that altitude and the reference altitude. This vertical distance between the collected air pressure data and the reference altitude is sent as the altitude to the electronic device, which then obtains the altitude.
[0103] Step S303: Determine whether the vehicle is on a downhill section based on the altitude.
[0104] Electronic devices can determine the vehicle's altitude based on the altitude and analyze the changes in altitude over a period of time. If the altitude changes upward over a period of time, the vehicle is determined to be on an uphill section. If the altitude changes relatively gently over a period of time, the vehicle is determined to be on a flat section. If the altitude changes downward over a period of time, the vehicle is determined to be on a downhill section.
[0105] It should be noted that, to improve the accuracy of stroller status recognition, reliable altitude data is required. However, altitude data collected by altitude sensors often contains some noise. Therefore, the electronic device needs to denoise the altitude data after acquisition. Specifically, this can be achieved by smoothing the altitude data: acquiring the altitude within a preset time window, determining the average value of the acquired altitude, and using this average value as the denoised altitude for the current moment. The end time of the preset time window is the current moment. The preset time window can be 5 seconds, 3 seconds, etc., and there are no specific restrictions.
[0106] For example, an electronic device stores the altitudes acquired at different times. After acquiring the altitude at the current time, it takes a time window with a duration of 5 seconds. The range of this time window is always 5 seconds backward from the current time. The average of all altitudes within this 5-second time window is taken as the altitude after noise reduction.
[0107] In one possible implementation, determining whether a vehicle is on a downhill section based on altitude includes:
[0108] Based on the altitude, determine the altitude change data of the road segment where the vehicle is located during the first time period;
[0109] Based on the altitude change data, determine whether the vehicle is on a downhill section.
[0110] The current altitude only reflects the vertical distance between the vehicle's current location (the altitude corresponding to air pressure data) and a reference altitude. Altitude alone is insufficient to directly determine whether the road is downhill, uphill, or level. Therefore, electronic devices can analyze the altitude changes of the vehicle's location at different times during movement, based on the altitude within a single time period, to determine whether the vehicle is on a downhill slope.
[0111] In one possible implementation, the elevation change data of the road segment where the vehicle is located within a first time period is determined based on the altitude, including: determining the amount of elevation change of the road segment where the vehicle is located within the first time period based on the altitude; determining the vertical speed of the vehicle based on the amount of elevation change; and determining the slope information of the road segment where the vehicle is located within the first time period based on the vehicle's moving speed and vertical speed, with the slope information serving as the elevation change data. Based on the elevation change data, it is determined whether the vehicle is on a downhill section, including: determining whether the vehicle is on a downhill section based on the slope information.
[0112] The first time period can be defined as the time interval between the current moment and the previous moment when the vehicle's speed is being acquired. The electronic device performs a first-order difference calculation on the high-speed air pressure data within this first time period to obtain the change in the vehicle's altitude at the current moment compared to the previous moment. Dividing this altitude change by the time interval (which is the first time period, i.e., the time difference between the current moment and the previous moment) yields the vehicle's vertical speed at the current moment. This vertical speed reflects the vehicle's movement in the vertical direction. For example, if the altitude change between the current moment and the previous moment is large, and the vertical speed is also high, it means that the vehicle may be on an uphill or downhill section during this period.
[0113] After obtaining the vertical velocity at the current moment, the ratio between this vertical velocity and the vehicle's current moving speed is determined as the slope information, which serves as height change data. The electronic device compares this slope information with a first slope information threshold and a second slope information threshold. When the slope information is less than or equal to the first slope information threshold, the vehicle is determined to be on a downhill section; when the slope information is greater than or equal to the second slope information threshold, the vehicle is determined to be on an uphill section; when the slope information is between the first and second slope information thresholds, the vehicle is determined to be on a flat section. The first slope information threshold is less than the second slope information threshold. For example, the first slope information threshold can be -0.02 or -0.03, and the second slope information threshold can be 0.01 or 0.02, etc. The specific values of both can be set by the user without specific restrictions.
[0114] Slope information refers to the degree of inclination of a slope, which can be represented by the ratio of the change in vertical height to the change in horizontal distance. In actual calculations, vertical speed approximates the rate of change of vertical height, while the vehicle's current speed can be approximated as the rate of change of horizontal distance. Therefore, the ratio of vertical speed to moving speed is equivalent to calculating the ratio of the change in vertical height to the change in horizontal distance, and this ratio can be used as slope information.
[0115] Considering that the vertical speed of the vehicle has a certain noise, after determining the vertical speed at the current moment, the electronic device can also obtain the vertical speed within a preset time window and determine the average value of the obtained vertical speed. This average value is used as the noise-reduced vertical speed at that moment, and the slope information is subsequently determined based on the noise-reduced vertical speed.
[0116] Continuing with the example above, the electronic device can store the noise-reduced altitude (hereinafter referred to as altitude) obtained at different times. For each moment's altitude, the electronic device performs a first-order difference (the altitude at this moment minus the altitude at the previous moment) and divides it by the time interval to obtain the vertical velocity at each moment. A time window is set, for example, 5 seconds (adjustable). The average of all vertical velocities within this 5-second window is taken at the current moment, denoted as mean_vspd. The current movement speed is denoted as hspd. Dividing mean_vspd by hspd yields the current slope information, denoted as grad. If grad is less than -0.02 (adjustable), the vehicle is considered to be on a downhill section; otherwise, it is on a non-downhill section (uphill or flat). For downhill sections, the push status is not identified; the process returns to the steps of obtaining the vehicle's movement speed and cadence data to proceed to the next round of push status identification.
[0117] It should be noted that electronic devices can also control the height sensor to perform steps 302 to S303 to determine whether the vehicle is on a downhill section.
[0118] Step S304: If the vehicle is not detected to be on a downhill section, determine whether the user of the vehicle is pushing the vehicle based on the movement speed and cadence data.
[0119] When the electronic device detects that the vehicle is not on a downhill section, the specific implementation process for determining whether the user is pushing the vehicle based on movement speed and cadence data can be found in [link to relevant documentation]. Figure 2 Step S102 and in the illustrated embodiment Figure 3 Steps S201 to S203 in the illustrated embodiment will not be described in detail here.
[0120] It is understandable that when the electronic device determines that the user is not pushing the stroller, the user has ended the low-speed driving state, the user has ended walking, or the stroller is not on an uphill section, the electronic device will return to the step of obtaining the stroller's moving speed and cadence data, and enter the next round of stroller pushing status recognition.
[0121] In one application scenario, such as Figure 5As shown, the electronic device collects data from the speedometer (speed sensor), cadence meter (cadence sensor), and barometer (altitude sensor). It determines whether the speedometer data (i.e., the moving speed) is greater than 0 km / h. If it is less than or equal to 0 km / h, it sets the current state to non-cart state when it determines that the user's current state is pushing a cart, resets the timer to 0, and returns to the data acquisition stage. If it is greater than 0 km / h, it then determines whether the cadence meter data (cadence data) is equal to 0. If it is not equal to 0, it executes the steps performed when the speedometer data is less than or equal to 0 km / h. If the value is 0, the barometer is then controlled to determine whether the vehicle is not on a downhill section (i.e., whether it is on a non-downhill section). If so, the timer is incremented and the above state is determined to last for more than 30 seconds (adjustable) based on the timer duration. If it lasts for more than 30 seconds, it is determined that the user is in a pushcart state, and the current state is set to pushcart state (i.e., the current state is identified as pushcart). If it does not last for more than 30 seconds or the vehicle is on a downhill section, the steps to be performed when the speedometer data is less than or equal to 0 km / h are executed.
[0122] In this embodiment, the system identifies whether the user is pushing the bike only when the vehicle is not on a downhill section, based on movement speed and cadence data. This avoids misidentifying a slow, low-vehicle-speed situation where the user is coasting downhill using inertia as a pusher, thus improving the reliability of pusher identification. Furthermore, combining movement speed and cadence data to accurately determine whether the user is pushing the bike when not on an uphill section avoids simply misidentifying uphill sections as pushers, improving accuracy and eliminating the need for manual recording or post-event marking by the user, resulting in a better user experience. Moreover, identifying whether the user is pushing the bike every time the vehicle is not on a downhill section provides a reliable data foundation for subsequent road difficulty analysis.
[0123] Considering that the electronic devices in the above embodiments are usually connected to remote terminals for communication in daily applications, in order to make the cart status recognition applicable to more application scenarios, and to save the computing resources of electronic devices to increase the battery life of electronic devices and improve the user experience, this application embodiment also provides an electronic system to realize a method for recognizing the cart status. Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an electronic system according to an embodiment of this application. The electronic system includes a remote terminal 500 and an electronic device 100, and the electronic device 100 establishes a communication connection with the remote terminal 500.
[0124] Electronic device 100 is used to collect cadence data and speed of the vehicle, and transmits the cadence data and speed to remote terminal 500; it can be understood that electronic device 100 can... Figure 1In the illustrated embodiment, the electronic device 100 can transmit cadence data and movement speed to a remote terminal 500 via its own communication module 130. The remote terminal 500 receives the cadence data and movement speed transmitted by the electronic device 100 and determines whether the user is pushing a stroller based on the cadence data and movement speed.
[0125] The electronic system includes Figure 1 In the illustrated embodiment, the speed sensor 200 and the cadence sensor 300 both establish a communication connection with the electronic device 100 and transmit the movement speed and cadence data they have collected to the electronic device 100. The electronic device 100 then transmits the received movement speed and cadence data to the remote terminal 500 so that the remote terminal 500 can determine whether the user is pushing the cart.
[0126] The electronic system also includes Figure 1 In the illustrated embodiment, the altitude sensor 400 establishes a communication connection with the electronic device 100. The altitude sensor 400 transmits the altitude it collects to the electronic device 100, which in turn transmits the received altitude to the remote terminal 500. The remote terminal 500 is further used to determine whether the vehicle is on a downhill section based on the altitude; if the vehicle is not detected to be on a downhill section, it determines whether the user is pushing the vehicle based on the movement speed and cadence data.
[0127] The remote terminal 500 can be a mobile phone, tablet computer, in-vehicle equipment, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), or other device that can establish a communication connection with the electronic device 100.
[0128] Electronic device 100 is used to collect the user's acceleration data and send the acceleration data to remote terminal 500; it can be understood that electronic device 100 can... Figure 1 In the illustrated embodiment, the electronic device 100 can send acceleration data to the remote terminal 500 via its own communication module 130.
[0129] The remote terminal 500 is used to receive acceleration data sent by the electronic device 100 and determine the user's status based on the acceleration data. The user's status includes the status of carrying the cart.
[0130] The remote terminal 500 can be a mobile phone, tablet computer, in-vehicle equipment, augmented reality (AR) / virtual reality (VR) device, laptop computer, ultra-mobile personal computer (UMPC), netbook, personal digital assistant (PDA), or other device that can establish a communication connection with the electronic device 100.
[0131] In some embodiments, the electronic device 100 is further configured to send the collected current movement speed of the user to the remote terminal 500; the remote terminal 500 is specifically configured to determine the user's state based on the upper limb posture when the current movement speed is detected to be less than or equal to a first speed threshold.
[0132] The remote terminal 500 includes a processor and a storage medium, the storage medium being used to store a computer program; the processor is used to execute the computer program to achieve, for example... Figure 7 A method for identifying the status of the cart in any of the embodiments shown.
[0133] The storage medium in the remote terminal 500 can be its internal storage unit, such as its internal memory chip. It can also be an external storage device of the remote terminal 500, such as a Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the remote terminal 500. Furthermore, the storage medium can include both internal storage units of the remote terminal 500 and external storage devices. The storage medium is used to store the operating system, applications, bootloader, data, and other programs, such as... Figure 7 The program code of the computer program in the illustrated embodiment, etc. The memory can also be used to temporarily store data that has been output or will be output.
[0134] In this embodiment, the processors involved in the remote terminal 500 can be central processing units (CPUs), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0135] Figure 7 This is a flowchart illustrating another method for identifying the state of a stroller in this application embodiment. This method is applied to... Figure 6 The electronic system shown, such as Figure 7 As shown, the method includes the following steps:
[0136] Step S401: Obtain the vehicle's cadence data and speed collected by the electronic device.
[0137] The electronic device receives the movement speed from the speed sensor and the cadence data from the cadence sensor, and then sends the received cadence data and movement speed to a remote terminal in the electronic system, so that the electronic system can obtain the cadence data and movement speed.
[0138] Step S402: The remote control terminal determines whether the user of the vehicle is pushing the vehicle based on the movement speed and cadence data.
[0139] The specific implementation method of the electronic system control remote terminal based on movement speed and cadence data is as follows: Figure 2 The steps S102 in the illustrated embodiments are the same, except that the executing entities are different, which will not be described in detail here.
[0140] In some embodiments, determining whether a user of the vehicle is pushing it based on movement speed and cadence data includes:
[0141] The remote control terminal determines whether the user should start pushing the stroller based on the user's movement speed and cadence data.
[0142] When the system detects that the user has started pushing the stroller, the remote control terminal determines whether the user has stopped pushing the stroller based on the movement speed and cadence data.
[0143] The remote control terminal determines that the user is in a stroller-pushing state between a first moment and a second moment. The first moment includes the moment when the user starts pushing the stroller, and the second moment includes the moment when the user stops pushing the stroller.
[0144] In some embodiments, determining whether the user should start pushing the stroller based on movement speed and cadence data includes:
[0145] The remote control terminal determines whether the vehicle is traveling at a low speed based on its movement speed.
[0146] When the vehicle is detected to be moving at a low speed, the remote control terminal determines whether the user should start pushing the vehicle based on cadence data.
[0147] In some embodiments, determining whether a user should start pushing the stroller based on cadence data includes:
[0148] The remote control terminal determines whether the user is walking based on cadence data;
[0149] Control the remote terminal to obtain the first duration of the user's walk;
[0150] If the first duration is detected to be greater than or equal to the preset duration, the remote terminal is controlled to determine that the user has started pushing the cart; and the remote terminal is controlled to determine the moment when the user starts pushing the cart as the first moment.
[0151] In some embodiments, determining whether the user has stopped pushing the stroller based on movement speed and cadence data includes:
[0152] After detecting that the user has started pushing the cart, and after detecting that the vehicle has ended its low-speed driving state and / or the user has stopped walking, the remote control terminal determines that the user has stopped pushing the cart; and the remote control terminal determines the moment when the user stops pushing the cart as the second moment.
[0153] In some embodiments, the method further includes:
[0154] Obtain the altitude data collected by the electronic device;
[0155] The remote control terminal determines whether the vehicle is on a downhill section based on the altitude.
[0156] Determining whether the user is pushing the vehicle based on movement speed and cadence data includes:
[0157] If the vehicle is not detected to be on a downhill section, the remote control terminal determines whether the user is pushing the vehicle based on the movement speed and cadence data.
[0158] In some embodiments, determining whether a vehicle is on a downhill section based on altitude includes:
[0159] The remote control terminal determines the altitude change data of the road segment where the vehicle is located within the first time period based on the altitude.
[0160] The remote control terminal determines whether a vehicle is on a downhill section based on altitude change data.
[0161] The steps performed by the electronic system controlling the remote terminal in the above embodiments can be found in [reference needed]. Figures 2 to 4 The corresponding steps performed by the electronic device in the illustrated embodiment will not be described in detail here.
[0162] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described functions. Figures 2 to 4 as well as Figure 7 A method for identifying the status of a cart in any of the embodiments.
[0163] This application provides a computer program product that, when executed, can achieve the above-described functionality. Figures 2 to 4 as well as Figure 7 A method for identifying the status of a cart in any of the embodiments.
[0164] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0165] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0166] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementation should not be considered beyond the scope of this application.
[0167] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0168] The units described as separate components may or may not be physically separate. 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 units can be selected to achieve the purpose of this embodiment according to actual needs.
[0169] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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. Such 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 this application, and should all be included within the protection scope of this application.
Claims
1. A method for recognizing the state of a stroller, characterized in that, The method includes: Acquire vehicle cadence and speed data; The user of the vehicle is determined to be in a pushing state based on the movement speed and the cadence data.
2. The method as described in claim 1, characterized in that, Determining whether the user of the vehicle is pushing it based on the moving speed and the cadence data includes: Based on the moving speed and the cadence data, determine whether the user should start pushing the cart; If the user starts pushing the stroller, determine whether the user should stop pushing the stroller based on the movement speed and the cadence data. It is determined that the user is in a stroller-pushing state between a first time and a second time, wherein the first time includes the time when the user starts pushing the stroller and the second time includes the time when the user stops pushing the stroller.
3. The method as described in claim 2, characterized in that, The step of determining whether the user should start pushing the stroller based on the moving speed and the cadence data includes: Based on the moving speed, determine whether the vehicle is traveling at a low speed; If the vehicle is detected to be traveling at a low speed, the system determines whether the user should start pushing the vehicle based on the cadence data.
4. The method as described in claim 3, characterized in that, The step of determining whether the user should start pushing the stroller based on the cadence data includes: Based on the cadence data, determine whether the user is walking; Obtain the first duration of the user's walk; If the first duration is detected to be greater than or equal to a preset duration, it is determined that the user has started pushing the cart; and The moment when the user starts pushing the cart is detected is defined as the first moment.
5. The method as described in claim 4, characterized in that, The step of determining whether the user has stopped pushing the stroller based on the moving speed and the cadence data includes: After detecting that the user has started pushing the cart, and after detecting that the vehicle has ended its low-speed driving state and / or that the user has stopped walking, it is determined that the user has stopped pushing the cart; and The moment when the user stops pushing the cart is detected is determined as the second moment.
6. The method according to any one of claims 2 to 5, characterized in that, The method further includes: Obtain altitude; Based on the altitude, determine whether the vehicle is on a downhill section of the road; Determining whether the user of the vehicle is pushing it based on the moving speed and the cadence data includes: If the vehicle is not detected to be on a downhill section, the user of the vehicle is determined to be pushing the vehicle based on the moving speed and the cadence data.
7. The method as described in claim 6, characterized in that, Determining whether the vehicle is on a downhill section based on the altitude includes: Based on the altitude, determine the altitude change data of the road segment where the vehicle is located during the first time period; Based on the height change data, determine whether the vehicle is on a downhill section of road.
8. An electronic device, characterized in that, The electronic device includes a processor and a storage medium; The storage medium is used to store computer programs; The processor is used to execute the computer program to implement the method for identifying the status of the cart as described in any one of claims 1-7.
9. A method for recognizing the state of a stroller, characterized in that, Applied to an electronic system, the electronic system including an electronic device and a remote terminal communicatively connected to the electronic device, the method includes: The electronic device acquires the vehicle's cadence data and speed. The remote terminal controls whether the user of the vehicle is pushing the vehicle based on the movement speed and the cadence data.
10. The method as described in claim 9, characterized in that, Determining whether the user of the vehicle is pushing it based on the moving speed and the cadence data includes: The remote terminal controls whether the user should start pushing the stroller based on the movement speed and the cadence data. Upon detecting that the user has started pushing the stroller, the remote terminal is controlled to determine whether the user has stopped pushing the stroller based on the movement speed and the cadence data. The remote terminal is controlled to determine that the user is in a stroller-pushing state between a first moment and a second moment, wherein the first moment includes the moment when the user starts pushing the stroller and the second moment includes the moment when the user stops pushing the stroller.
11. The method as described in claim 10, characterized in that, The step of determining whether the user should start pushing the stroller based on the moving speed and the cadence data includes: The remote terminal is controlled to determine whether the vehicle is traveling at a low speed based on the moving speed. If the vehicle is detected to be traveling at a low speed, the remote terminal controls the system to determine whether the user should start pushing the vehicle based on the cadence data.
12. The method as described in claim 11, characterized in that, The step of determining whether the user should start pushing the stroller based on the cadence data includes: The remote terminal is controlled to determine whether the user is walking based on the cadence data; The remote terminal is controlled to acquire the first duration of the user's walk; If the first duration is detected to be greater than or equal to a preset duration, the remote terminal is controlled to determine that the user starts pushing the cart; and The remote terminal controls the moment when it detects that the user has started pushing the cart, which is determined as the first moment.
13. The method as described in claim 12, characterized in that, The step of determining whether the user has stopped pushing the stroller based on the moving speed and the cadence data includes: Upon detecting that the user has started pushing the cart, and upon detecting that the vehicle has ended its low-speed driving state and / or that the user has stopped walking, the remote terminal is controlled to determine that the user has stopped pushing the cart; and The remote terminal controls the moment when the user ends the stroller to be determined as the second moment.
14. The method according to any one of claims 10 to 13, characterized in that, The method further includes: The altitude collected by the electronic device is obtained; The remote terminal is controlled to determine whether the vehicle is on a downhill section based on the altitude. Determining whether the user of the vehicle is pushing it based on the moving speed and the cadence data includes: If the vehicle is not detected to be on a downhill section, the remote terminal controls the vehicle to determine whether the user is pushing the vehicle based on the movement speed and the cadence data.
15. The method as described in claim 14, characterized in that, Determining whether the vehicle is on a downhill section based on the altitude includes: The remote terminal is controlled to determine the altitude change data of the road segment where the vehicle is located within a first time period based on the altitude. The remote terminal controls the system to determine whether the vehicle is on a downhill section based on the altitude change data.
16. An electronic system, characterized in that, The electronic system includes an electronic device and a remote terminal that is communicatively connected to the electronic device. The electronic device is used to collect the vehicle's cadence data and speed. The remote terminal includes a processor and a storage medium, the storage medium being used to store computer programs; The processor is used to execute the computer program to implement the method for recognizing the state of the cart as described in any one of claims 9 to 15.
17. A storage medium, characterized in that, The storage medium is used to store a computer program that can be executed to implement the method for identifying the status of the cart as described in any one of claims 1 to 7 or 9-15.