Handheld electronic device and method of controlling the same
Patent Information
- Application Number
- CN202610956210.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-30
- Publication Date
- 2026-09-29
AI Technical Summary
[0003]本发明的目的在于提供一种手持电子设备及其控制方法,以改善现有技术中手持电子设备存在的易用性和操作效率差的技术问题
本发明提供的手持电子设备及其控制方法,将设备的握持姿态变换、作用于设备的手势序列,作为切换设备操作模式的触发事件;在发生触发事件后,可从中获取相应的触发特征信息,并从预设的对应关系中,选中与该触发特征信息对应的操作模式,作为目标操作模式;之后,将设备切换至目标操作模式,即可完成模式自动切换。
Smart Images

Figure CN122837313A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of handheld electronic device technology, and more specifically, to a handheld electronic device and its control method. Background Technology
[0002] Handheld electronic devices in related technologies (such as voice controllers, remote controls, smart home control terminals, etc.) sometimes only have a single operating mode, which is difficult to meet the diverse needs of users; other devices have multiple operating modes, which can meet the diverse needs of users, but they usually require users to switch operating modes through menus, key combinations, etc., which has low intelligence and heavy interaction burden, resulting in poor usability and operating efficiency of the devices. This is especially true when users frequently switch between different usage scenarios (such as switching from a voice input scenario to a media playback control scenario), where the interaction burden is even heavier, seriously affecting the user experience. Summary of the Invention
[0003] The purpose of this invention is to provide a handheld electronic device and its control method to improve the technical problems of poor usability and poor operating efficiency of existing handheld electronic devices.
[0004] The control method for a handheld electronic device provided by the present invention includes: Detect trigger events and obtain trigger feature information of the trigger events; the trigger events include changes in the grip posture of the handheld electronic device and / or gesture sequences acting on the handheld electronic device; Based on a preset correspondence, the target operation mode corresponding to the trigger feature information is determined; Switch the operating mode of the handheld electronic device to the target operating mode.
[0005] As one possible implementation, the method further includes: When the handheld electronic device is in a static state, the first motion information of the handheld electronic device is acquired; When the first motion information meets the wake-up condition, the handheld electronic device is switched to the wake-up state; When the handheld electronic device is in the wake-up state, the step of detecting the trigger event is performed.
[0006] As one possible implementation, when the handheld electronic device is in the static state, the first motion information is acquired at a first sampling rate; when the handheld electronic device is in the wake-up state, the trigger event is detected at a second sampling rate; wherein, the first sampling rate is lower than the second sampling rate.
[0007] As one possible implementation, the wake-up condition includes one or more of the following conditions: The acceleration amplitude in the first motion information exceeds the acceleration threshold; The angle of change of the direction of the acceleration vector in the first motion information exceeds the angle threshold. The rate of change of the acceleration vector in the first motion information between consecutive sampling points exceeds the direction change threshold. The angular velocity in the first motion information exceeds the angular velocity threshold.
[0008] As one possible implementation, the step of detecting the trigger event when the handheld electronic device is in the wake-up state includes: After the handheld electronic device switches to the wake-up state, the second motion information of the handheld electronic device is acquired; Determine whether the second motion information meets the formal wake-up conditions; If not, the handheld electronic device is restored to the idle state; if yes, the handheld electronic device is kept in the awake state, and the step of detecting the trigger event is executed.
[0009] As one possible implementation, the formal wake-up condition includes: the handheld electronic device is continuously in motion or has entered a stable holding state within a preset confirmation time.
[0010] As one possible implementation, the correspondence can be configured by the user; and / or, the triggering event may also include the operation of triggering a button.
[0011] As one possible implementation, the gripping posture includes one or more of the following: vertical grip, horizontal grip, lying flat, and tilted posture; And / or, the triggering feature information of the grip posture change includes the acceleration information and / or angular velocity information of the handheld electronic device; And / or, the gesture sequence includes one or more of the following: double-tapping the device housing continuously, rapidly flipping the device beyond a preset angle, and drawing a predetermined spatial trajectory; And / or, the triggering feature information of the gesture sequence includes the timing pattern of the acceleration and / or angular velocity of the handheld electronic device; And / or, the operating modes include one or more of the following: voice input mode, media control mode, standby or charging mode, presentation control mode, and browsing / reading mode.
[0012] As one possible implementation, the method further includes: In response to a calibration trigger command, determine the source of the calibration trigger command; Based on the judgment result, the corresponding calibration method is selected to calibrate the grip posture of the handheld electronic device.
[0013] The handheld electronic device provided by the present invention includes an inertial measurement unit and a processor, wherein the processor is electrically connected to the inertial measurement unit and is configured to perform the method described in any of the above embodiments.
[0014] Compared with the prior art, the beneficial effects of the present invention are as follows: The handheld electronic device and its control method provided by the present invention use the change of the device's grip posture and the sequence of gestures acting on the device as trigger events for switching the device's operating mode. After the trigger event occurs, the corresponding trigger feature information can be obtained from it, and the operating mode corresponding to the trigger feature information can be selected from the preset correspondence as the target operating mode. Then, the device is switched to the target operating mode to complete the automatic mode switching.
[0015] Therefore, the handheld electronic device and its control method provided by the present invention can automatically switch the device's operation mode simply by the user adjusting the grip posture or executing a gesture sequence as needed. Compared with switching operation modes through menus, combination buttons, etc., it is more intelligent, significantly reduces the interaction burden, and provides a better user experience, thereby improving the ease of use and operating efficiency of the device. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0017] Figure 1 A first schematic flowchart of a control method for a handheld electronic device provided according to an embodiment of the present invention; Figure 2 A second schematic flowchart of a control method for a handheld electronic device provided according to an embodiment of the present invention; Figure 3 A schematic flowchart of a device wake-up step provided for an embodiment of the present invention; Figure 4 A schematic flowchart illustrating the pose recognition steps provided in one embodiment of the present invention; Figure 5 A schematic flowchart illustrating the operation mode switching steps provided in one embodiment of the present invention; Figure 6 A schematic flowchart of attitude calibration steps provided for one embodiment of the present invention; Figure 7A schematic diagram of the structure of a handheld electronic device provided according to an embodiment of the present invention. Detailed Implementation
[0018] The first related technology is that the wake-up method of handheld electronic devices mainly relies on physical button triggering and touch screen clicks. Before using the device, users need to perform explicit button operations to activate the device. The operation steps are cumbersome, especially in scenarios where one hand is used or the user's eyes are not on the device, which significantly affects the user experience.
[0019] Related technology two: handheld electronic devices are always in an active standby state to respond to user operations at any time. Although this optimizes the user experience, the power consumption in the active standby state is high, which leads to a significant reduction in the device's battery life. This is especially disadvantageous for battery-powered portable devices.
[0020] The third related technology is that handheld electronic devices adopt a timed sleep strategy, which can balance power consumption and response speed. However, this introduces a wake-up delay. After picking up the device, the user has to wait for the device to resume from sleep, which cannot achieve an immediate response and the user experience is still poor.
[0021] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings.
[0023] Figure 1 A schematic flowchart of a control method for a handheld electronic device according to an embodiment of the present invention, the method comprising: S102, detect the trigger event and obtain the trigger feature information of the trigger event; the trigger event includes the change of the holding posture of the handheld electronic device, and / or the gesture sequence acting on the handheld electronic device; S104, Based on the preset correspondence, determine the target operation mode corresponding to the trigger feature information; S106, switch the operating mode of the handheld electronic device to the target operating mode.
[0024] The control method provided in this embodiment uses the change of the device's grip posture and the sequence of gestures applied to the device as trigger events for switching the device's operation mode. After a trigger event occurs, the corresponding trigger feature information can be obtained from it, and the operation mode corresponding to the trigger feature information can be selected from the preset correspondence as the target operation mode. Then, the device is switched to the target operation mode to complete the automatic mode switching.
[0025] Therefore, the control method provided in this embodiment can automatically switch the device operation mode simply by having the user adjust their grip posture or execute a gesture sequence as needed. Compared with switching operation modes through menus, combination buttons, etc., it is more intelligent, significantly reduces the interaction burden, and provides a better user experience, thereby improving the ease of use and operating efficiency of the device.
[0026] The method provided in this embodiment may further include the following steps: when the handheld electronic device is in a static state, acquiring the first motion information of the handheld electronic device; when the first motion information meets the wake-up condition, switching the handheld electronic device to a wake-up state; and when the handheld electronic device is in a wake-up state, executing the above step S102. When the device undergoes a specific movement, the first motion information of the device will meet the wake-up condition. At this time, the device is switched from a static state to a wake-up state. In this way, the device can be automatically woken up by sensing the movement of the device. Users do not need to search for and press any buttons, which significantly improves the convenience of use, especially suitable for one-handed operation scenarios where the user's eyes are not on the device.
[0027] Preferably, a multi-level sampling rate power-saving strategy is adopted. When the handheld electronic device is in a static state, first motion information is periodically acquired at a first sampling rate; when the handheld electronic device is in a wake-up state, trigger events are periodically detected at a second sampling rate; wherein, the first sampling rate is lower than the second sampling rate. This method of monitoring the device's first motion information with low power consumption in a static state, and only increasing the sampling rate after wake-up, can keep standby power consumption at a low level while ensuring wake-up response speed, effectively extending the battery life of battery-powered devices.
[0028] The aforementioned awakening conditions may specifically include one or more of the following conditions in combination: Condition 1: The acceleration amplitude in the first motion information exceeds the acceleration threshold; where the acceleration threshold can be taken as 1.2 to 2.0 times the gravitational acceleration. Under this condition, a preset time window can be introduced. The system continuously calculates the acceleration amplitude. When it detects that the acceleration amplitude changes from a static value close to the gravitational acceleration to exceeding the acceleration threshold within the preset time window (e.g., tens to hundreds of milliseconds), it is preliminarily determined that the device may have been picked up by the user.
[0029] Condition 2: The angle of change of the acceleration vector in the first motion information exceeds the angle threshold; where the angle threshold can be taken as 15~45°.
[0030] Condition 3: The rate of change of the acceleration vector in the first motion information between consecutive sampling points exceeds the direction change threshold.
[0031] Condition 4: The angular velocity in the first motion information exceeds the angular velocity threshold.
[0032] These four conditions can all serve as indicators that the device has been picked up. Using these as wake-up conditions, the device can be automatically woken up when it is naturally picked up from a stationary state, eliminating the need for repeated operations and further improving convenience and naturalness. It should be noted that when there are more than two wake-up conditions, you can choose to switch the device to wake-up state when one of the conditions is met, or you can choose to switch the device to wake-up state only when all the included conditions are met simultaneously.
[0033] After the handheld electronic device switches to the wake-up state, the second motion information of the handheld electronic device is acquired; it is then determined whether the second motion information meets the formal wake-up conditions; if so, the wake-up is valid, the handheld electronic device remains in the wake-up state, and the above-mentioned steps for detecting trigger events begin; if not, the wake-up is invalid, and the handheld electronic device is returned to the idle state. In other words, when the first motion information meets the wake-up conditions, the trigger event is not detected immediately, but a confirmation phase is introduced, during which the second motion information is evaluated. Only when the second motion information meets the formal wake-up conditions will the trigger event be detected, thus reducing the probability of false wake-ups. The second motion information may include acceleration variance, angular velocity energy, etc.
[0034] The aforementioned formal wake-up conditions include: the handheld electronic device is continuously in motion or has entered a stable holding state within a preset confirmation duration (e.g., 0.5~2s), which is equivalent to the second operating information being continuously higher than the static reference within the preset confirmation duration. In this way, false wake-ups caused by brief disturbances such as table collisions or briefly picking up and immediately putting down can be filtered out.
[0035] In practice, once the device enters the wake-up state, it will increase the sampling rate from the first sampling rate to the third sampling rate. This third sampling rate is the same as or lower than the second sampling rate. That is, compared to acquiring the first motion information, the second motion information will be acquired at a higher third sampling rate to achieve medium-precision confirmation. At this time, the device is in the confirmation state. Similarly, compared to acquiring the second motion information, the trigger event will be acquired at the same or higher second sampling rate to achieve high-precision confirmation of posture recognition. At this time, the device is in the wake-up state. Specifically, the range of the first sampling rate can be 10~50Hz, optionally 20~40Hz, and further optionally 25~35Hz; the range of the second sampling rate can be 100~400Hz, optionally 200~300Hz, and further optionally 230~270Hz; the range of the third sampling rate can be 100~200Hz, optionally 120~180Hz, and further optionally 140~160Hz.
[0036] In this embodiment, the correspondence between the triggering feature information of the triggering event and the operation mode can be configured by the user, enabling deployment on different hardware platforms and application scenarios, thus providing good scalability and adaptability. Specifically, users can customize the operation mode corresponding to the triggering feature information under different holding postures of the device through client applications or interactive components on the device.
[0037] In addition to any of the above trigger events, button presses can be layered to form combinations, triggering a mode switch corresponding to that combination. This improves the flexibility of the operation mode switching path, especially suitable for situations with many operation modes. By introducing combined operations, the number of gesture sequences can be reduced, avoiding confusion caused by a large number of types and preventing users from switching to the wrong operation mode. For example, while maintaining a specific grip posture, a user can press a designated button on the device (such as a function key or action key) to switch the device's operation mode to the mode corresponding to that combination.
[0038] Specifically, the grip posture includes one or more of the following: vertical grip, horizontal grip, lying down grip, and tilted grip.
[0039] The triggering feature information for the change in grip posture in the aforementioned triggering event may include acceleration information of the handheld electronic device. This acceleration information includes three-axis acceleration data (which may be from an accelerometer). The gravitational acceleration component is separated by low-pass filtering to obtain the gravity direction vector in the device coordinate system. The grip posture of the device is determined by calculating the angle between the gravity vector and each coordinate axis of the device. Specifically, the following correspondence can be set: A1. When the angle between the gravity vector and the major axis (Y-axis) of the device enters the preset range (e.g., 0~30° or 150~180°), it is determined to be a vertical grip posture. A2. When the angle between the gravity vector and the minor axis (X-axis) of the device enters the preset range (e.g., 0~30° or 150~180°), it is determined to be a horizontal grip posture. A3. When the angle between the gravity vector and the device's vertical axis (Z-axis) enters the preset range (e.g., 0~20° or 160~180°), it is determined to be in a lying position (screen facing up or down). A4. When the angle between the gravity vector and each axis does not meet the above range, it is determined to be a tilted posture, which can be further subdivided according to the specific projection direction of gravity (such as forward tilt, backward tilt, left tilt, right tilt).
[0040] Preferably, the triggering feature information for device grip posture changes may also include angular velocity information of the handheld electronic device to improve recognition robustness. Specifically, if the angular velocity is lower than a preset static threshold (e.g., about 5~20° / s), it is determined that the device has entered a stable grip state, and the current grip posture is directly output; if the angular velocity is higher than the preset static threshold, it indicates that the device is in motion, and the grip posture is calculated by combining acceleration information and angular velocity information (e.g., through complementary filtering or Kalman filter fusion), and a dynamic posture estimate is output.
[0041] As an alternative, the device's grip posture can also be identified using any of the following methods: First, grip posture calculation using angular velocity integral combined with acceleration calibration; second, a machine learning classifier based on the statistical features of sensor data (a machine learning classification model trained on a large amount of user grip data, which directly inputs the raw data or statistical features of acceleration and angular velocity into the model to output the grip posture category); third, using an absolute direction reference to assist in grip posture determination.
[0042] In addition, the de-shaking duration for device grip posture changes can be set (e.g., 0.3~1.0 seconds). When the system detects a change in device grip posture, it will not immediately switch the operation mode. Instead, it will first determine whether the new grip posture is stable for more than the preset de-shaking duration. Only when the determination result is yes will it switch to the target operation mode. This prevents the device operation mode from switching frequently due to the brief transition posture during the grip posture change process, thus improving the user experience.
[0043] Specifically, the gesture sequence includes one or two of the following: double-tapping the device housing continuously, rapidly flipping the device beyond a preset angle, and drawing a predetermined spatial trajectory.
[0044] The triggering feature information of the gesture sequence in the above-mentioned triggering event may include the timing pattern of the acceleration and / or angular velocity of the handheld electronic device, and its correspondence with the gesture sequence can be set as follows: B1, when the equipment acceleration information shows a double-peak pulse, it is determined to be two consecutive rapid strikes to the equipment casing; B2. If the device angle changes beyond the preset angle (e.g., 90~180°) within the preset flipping time, it is determined that the rapid flipping device has exceeded the preset angle. B3, draw a predetermined spatial trajectory, such as drawing a circle or a hook in the air.
[0045] Gesture sequence recognition can be achieved through template matching, dynamic time warping, or threshold-based temporal rules.
[0046] The above operating modes may also include one or more of the following: voice input mode, media control mode, standby or charging mode, presentation control mode, and browsing / reading mode. Their correspondence with triggering events can be set as follows: C1, Vertical grip corresponds to voice input mode: When the device is held vertically, the user is usually preparing to perform voice interaction (analogous to the posture of holding a microphone). The system switches the device to voice input mode and activates the corresponding function interface and interaction logic.
[0047] C2, Media Control Mode for Horizontal Holding Posture: When the device is held horizontally, users typically tend to browse or control media playback (similar to the posture of a game controller or remote control), and the system switches the device to media control mode.
[0048] C3, lying flat corresponds to standby or charging mode: when the device is placed flat on the table, it automatically switches to standby or charging mode, which can optimize charging and display desktop information.
[0049] C4, Forward tilt posture corresponds to the demonstration control mode: When the device tilts forward, it enters the demonstration control mode to enable page turning or cursor control of the demonstration content.
[0050] C5, Backward tilt posture corresponds to browsing and reading mode: When the device is tilted backward, it enters browsing and reading mode to enable content browsing or reading.
[0051] The method provided in this embodiment further includes the following steps: in response to a calibration trigger command, determining the source of the calibration trigger command; and based on the determination result, selecting the corresponding calibration method to calibrate the grip posture of the handheld electronic device, so as to improve the accuracy of recognizing the grip posture of the device.
[0052] The above calibration methods may include the following three: D1, Factory Calibration: The device is pre-set with a set of default attitude reference parameters at the factory. These parameters are based on the installation orientation of the device's internal inertial measurement unit and the typical user grip posture design.
[0053] D2, User-Initiated Calibration: Users can trigger the calibration process through specified operations on the client application or device. During calibration, the system guides the user to keep the device stationary for approximately 1-3 seconds in a standard vertical grip (or standard horizontal grip) posture. During this period, the system collects inertial measurement unit data, records the gravity direction reference vector, and updates the reference coordinate system for grip posture classification using this vector. After calibration, the angle threshold parameters for grip posture classification are updated based on the new reference vector.
[0054] D3, Automatic Drift Compensation: During normal operation, when the system detects that the device is in a continuously stationary state (e.g., no operation for more than several minutes), it automatically collects data from the inertial measurement unit, calculates the current zero bias values of the accelerometer and gyroscope, and performs real-time compensation for subsequent grip posture recognition data. This compensation can be achieved using sliding window averaging or low-pass filtering.
[0055] Calibration data can also come from the following sources: loading the calibration configuration file of the corresponding user when switching between multiple users; or, automatically optimizing the classification threshold parameters through statistical analysis based on a large amount of attitude data accumulated during device use.
[0056] Figure 2 A schematic flowchart of a control method for a handheld electronic device according to an embodiment of the present invention, the method comprising: S201, the equipment is in a static state; S202, IMU data is acquired at the first sampling rate; S203, determine whether the wake-up condition is met; S204, if yes, switch to wake-up state and enter the confirmation stage to collect IMU data at the third sampling rate; if no, return to step S201. S205, determine whether the conditions for formal wake-up are met; S206, if not, return to the static state and return to step S201; S207, if so, then maintain the wake-up state; S208, acquires IMU data at the second sampling rate; S209, determine whether a valid grip posture has been recognized; S210, if not, maintain the current operating mode or switch to the default operating mode, and return to step S208; S211, if so, then determine the target operation mode according to the preset correspondence, and switch the device's operation mode to the target operation mode; S212, determine whether a triggering event has occurred; S213, if yes, then return to step S211; if no, then determine whether the device has timed out; if yes, then return to step S201.
[0057] Figure 3 A schematic flowchart of a device wake-up step provided for an embodiment of the present invention, the step including: S301, when the device is in a static state, the sampling rate is set to the first sampling rate; S302 continuously collects acceleration data and calculates the acceleration amplitude; S303, determine whether the acceleration amplitude exceeds the acceleration threshold; S304, if yes, calculate the angle of change in the direction of the acceleration vector; if no, return to step S302. S305, determine whether the angle of change in direction exceeds the angle threshold; S306, if yes, then it is initially determined to be: suspected pick-up event; if no, then return to step S302. S307 switches the device to wake-up state and increases the sampling rate to the third sampling rate; S308, Start confirmation timer; S309 continuously collects and analyzes motion data; S310, determine whether the device continues to move within the preset confirmation time; S311, if so, then confirm the pick-up event and keep the device in a wake-up state; S312, if not, it is determined to be a false trigger, the device is restored to the static state, and the process returns to step S301.
[0058] Figure 4 A schematic flowchart of a pose recognition step provided for an embodiment of the present invention, the step including: S401, acquire IMU data; S402, extract acceleration vector components; S403, extract gyroscope angular velocity data; S404, the gravity vector in the calculation device coordinate system; S405, determine the grip posture based on the angle between the gravity vector and the device axis; S406, when the angle between the gravity vector and the major axis of the equipment is 0~30° or 150~180°, it is determined to be a vertical grip posture; S407, when the angle between the gravity vector and the minor axis of the equipment is 0~30° or 150~180°, it is determined to be a horizontal grip posture; S408, when the angle between the gravity vector and the vertical axis of the equipment is 0~20° or 160~180°, it is determined to be in a lying position; S409, when the angle between the gravity vector and the equipment axis is the middle value, it is determined to be a tilted posture; S410, combined with angular velocity, confirms whether the equipment is static or dynamic; S411 outputs the final grip posture classification result.
[0059] The median value is the angle value after removing the above angle range from all possible angles between the gravity vector and the device axis.
[0060] Figure 5A schematic flowchart of an operation mode switching step provided for an embodiment of the present invention, the step including: Input: The detected grip posture; Determine the grip posture type; If the hand is held vertically, it will be mapped to: voice input mode; If the grip is horizontal, it will be mapped to: Media Control Mode; If the device is in a lying position, it will be mapped to: Standby / Charging mode; If the tilt posture is forward leaning, then it is mapped to: Demonstration Control Mode; If the posture is tilted backward, it will be mapped to: browsing and reading mode; Send mode switching command; Confirm mode switching trigger method; If the attitude change is automatic, switch immediately; If it is a gesture sequence, switch after recognizing the gesture; If it is a combination of button press and gesture, the switch will occur after the combination conditions are met.
[0061] Figure 6 A schematic flowchart of an attitude calibration step provided for an embodiment of the present invention, the method comprising: Calibration triggered; Confirm the trigger source; If this is the first time the device is powered on, the factory default settings will be used. If the user manually calibrates the device, the user will be prompted to hold it in the standard posture. If the deviation is detected automatically, zero deviation is detected in the static state; Collect baseline attitude data; Calculate the IMU zero bias correction value; Record the reference vector of the direction of gravity; Update the pose classification threshold parameter; Save the calibration parameters to non-volatile storage; Calibration complete, proceed with normal operating procedures.
[0062] Figure 7 One embodiment of the present invention provides a handheld electronic device, which includes an inertial measurement unit (IMU) and a processor, the processor being electrically connected to the inertial measurement unit, and the processor being configured to execute any implementation of the control method described above.
[0063] The handheld electronic device provided in this embodiment has the same technical features as the control method provided in the above embodiments, so it can solve the same technical problems and produce the same technical effects, and will not be described again here.
[0064] Specifically, the sensors in the inertial measurement unit can be any combination of one or more of the following: accelerometer, gyroscope, and geomagnetic sensor.
[0065] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
[0066] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.
[0067] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A control method for a handheld electronic device, characterized in that, include: Detect the triggering event and obtain the triggering characteristic information of the triggering event; The triggering events include changes in the grip posture of the handheld electronic device, and / or gesture sequences acting on the handheld electronic device; Based on a preset correspondence, the target operation mode corresponding to the trigger feature information is determined; Switch the operating mode of the handheld electronic device to the target operating mode.
2. The control method for a handheld electronic device according to claim 1, characterized in that, The method further includes: When the handheld electronic device is in a static state, the first motion information of the handheld electronic device is acquired; When the first motion information meets the wake-up condition, the handheld electronic device is switched to the wake-up state; When the handheld electronic device is in the wake-up state, the step of detecting the trigger event is performed.
3. The control method for a handheld electronic device according to claim 2, characterized in that, When the handheld electronic device is in the static state, the first motion information is acquired at a first sampling rate; when the handheld electronic device is in the wake-up state, the trigger event is detected at a second sampling rate; wherein the first sampling rate is lower than the second sampling rate.
4. The control method for a handheld electronic device according to claim 2, characterized in that, The wake-up conditions include one or more of the following conditions: The acceleration amplitude in the first motion information exceeds the acceleration threshold; The angle of change of the direction of the acceleration vector in the first motion information exceeds the angle threshold. The rate of change of the acceleration vector in the first motion information between consecutive sampling points exceeds the direction change threshold. The angular velocity in the first motion information exceeds the angular velocity threshold.
5. The control method for a handheld electronic device according to claim 2, characterized in that, The step of detecting the trigger event when the handheld electronic device is in the wake-up state includes: After the handheld electronic device switches to the wake-up state, the second motion information of the handheld electronic device is acquired; Determine whether the second motion information meets the formal wake-up conditions; If not, the handheld electronic device is restored to the idle state; if yes, the handheld electronic device is kept in the awake state, and the step of detecting the trigger event is executed.
6. The control method for a handheld electronic device according to claim 5, characterized in that, The formal wake-up conditions include: the handheld electronic device is in motion or has entered a stable holding state within a preset confirmation time.
7. The control method for a handheld electronic device according to claim 1, characterized in that, The correspondence can be configured by the user; And / or, the triggering event may also include triggering a key press.
8. The control method for a handheld electronic device according to claim 1, characterized in that, The gripping posture includes one or more of the following: vertical grip, horizontal grip, lying flat, and tilted posture; And / or, the triggering feature information of the grip posture change includes the acceleration information and / or angular velocity information of the handheld electronic device; And / or, the gesture sequence includes one or more of the following: double-tapping the device housing continuously, rapidly flipping the device beyond a preset angle, and drawing a predetermined spatial trajectory; And / or, the triggering feature information of the gesture sequence includes the timing pattern of the acceleration and / or angular velocity of the handheld electronic device; And / or, the operating modes include one or more of the following: voice input mode, media control mode, standby or charging mode, presentation control mode, and browsing / reading mode.
9. The control method for a handheld electronic device according to any one of claims 1-8, characterized in that, The method further includes: In response to a calibration trigger command, determine the source of the calibration trigger command; Based on the judgment result, the corresponding calibration method is selected to calibrate the grip posture of the handheld electronic device.
10. A handheld electronic device, characterized in that, The method includes an inertial measurement unit and a processor, the processor being electrically connected to the inertial measurement unit, and the processor being configured to perform the method according to any one of claims 1-9.