Camera shutter triggering method based on earphone shell vibration identification
By collecting and judging user tapping signals through headphone shell vibration recognition technology, combined with encrypted instructions and security verification, the problems of high dependence on fixed buttons and high false trigger rate in existing technologies are solved. Stable and reliable shutter control in complex environments is achieved, improving user operating freedom and system security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SICHUAN COOLBY COMM EQUIP CO LTD
- Filing Date
- 2026-02-02
- Publication Date
- 2026-04-28
AI Technical Summary
Existing camera shutter triggering methods, when relying on external devices such as headphones for remote control, suffer from problems such as high dependence on fixed buttons or specific touch areas, limited usage scenarios, and weak correlation with the camera application's operating status. This results in low operational freedom, high risk of accidental triggering, and poor user experience, especially in motion or poor lighting conditions.
By establishing a dedicated control channel between the mobile terminal and the earphone, the earphone enters a vibration sensing mode when the camera application is running in the foreground. It collects vibration signals from the user's tapping of any part of the earphone shell, uses an inertial sensor to extract timing and intensity features to determine double-tap events, and triggers the camera shutter operation through encrypted commands and security verification, ensuring close correlation with the application status.
It significantly improves operational freedom and shooting stability without relying on physical buttons or specific touch areas on the headphones, making it suitable for various usage scenarios, reducing the probability of accidental triggering, and improving system reliability and user experience.
Smart Images

Figure CN121940647A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent terminal control technology, and in particular to a camera shutter triggering method based on the vibration recognition of the earphone shell. Background Technology
[0002] With the improvement of imaging capabilities of smart terminals, mobile devices have become the main devices for users' daily shooting. However, in actual use, the shutter triggering method of existing camera applications is still mainly based on screen touch operation. When users press the screen to take a picture, the image stability is easily affected by hand tremors or changes in operating posture, especially in scenarios such as long-distance shooting, night shooting, or scenarios that require a fixed camera position.
[0003] To mitigate the negative impacts of touch operation, existing technologies have proposed improvements such as volume button shutter, timer shooting, and external remote control devices. However, these solutions still have certain limitations in use. For example, the volume button shutter relies on the position of the physical buttons on the terminal, restricting the user's posture; timer shooting struggles to accommodate flexible shooting timing; and external remote control devices increase hardware costs and portability, leaving the overall user experience needing improvement.
[0004] In recent years, wearable devices such as Bluetooth headsets have gradually acquired sensing and interaction capabilities, with some solutions attempting to achieve remote photo control using headset buttons or touch areas. However, these solutions typically require users to precisely operate specific buttons or touch areas on the headset, which can easily lead to misoperation or operation failures during movement, when wearing the headset with insufficient stability, or in poor lighting conditions. Furthermore, most existing solutions lack strict limitations on application operating states, posing a risk of accidental shutter triggering and impacting system reliability and user experience.
[0005] Therefore, how to achieve a shutter control method that is closely related to the camera application's operating status, has clear triggering conditions, and has a low risk of accidental touches, without relying on fixed buttons or specific touch areas on the headphones, remains a technical problem that urgently needs to be solved in this field.
[0006] Therefore, existing technologies still need to be improved. Summary of the Invention
[0007] Given the shortcomings of existing technologies, current camera shutter triggering methods still struggle to balance operational freedom, triggering stability, and accidental touch control. This is especially true in scenarios relying on external devices like headphones for remote control, where issues such as high dependence on fixed buttons or specific touch areas, limited usage scenarios, and weak integration with camera application operation are prevalent. Therefore, it is necessary to provide a new camera shutter triggering scheme that, without increasing the user's operational burden, achieves a photo-taking control method with clear triggering conditions, reliable execution, and applicability to various usage scenarios, thereby improving the overall user experience and enhancing system security and stability.
[0008] The technical solution of the present invention is as follows: This invention provides a camera shutter triggering method based on headphone shell vibration recognition, comprising: S1. When the mobile terminal detects that the camera application is running in the foreground, it starts the shutter control service and sends a working mode switching command to the paired earphones via wireless communication. S2. After receiving the working mode switching command, the earphone enters the vibration sensing working mode and collects the vibration signal generated by the user striking any part of the earphone shell. S3. Perform signal processing on the collected vibration signal, extract the timing features and intensity features corresponding to the knocking event, and determine whether a preset double-click vibration event is constituted based on the timing features and intensity features. S4. When it is determined that the double-click vibration event has occurred, the earphone generates a corresponding shutter trigger command and sends it to the mobile terminal. S5. After receiving the shutter trigger command, the mobile terminal performs a security verification on the shutter trigger command and confirms again that the camera application is still running in the foreground. After the verification is successful, the camera shutter operation is triggered through the system interface.
[0009] In one embodiment, the vibration signal is acquired by at least one inertial sensor disposed within the earphone housing, the inertial sensor including an accelerometer, a gyroscope, or a combination thereof.
[0010] In one embodiment, the determination of the double-click vibration event includes: After the first tapping event is identified, the system checks whether a second tapping event exists within a preset time window and determines whether the time interval between the two tapping events falls within a preset range.
[0011] In one embodiment, the method further includes a similarity assessment of the vibration waveforms corresponding to the two tapping events to rule out false triggering caused by non-human tapping.
[0012] In one embodiment, the signal processing includes noise suppression processing of the vibration signal and extraction of at least one frequency domain feature or time domain feature for the determination of the double-click vibration event.
[0013] In one embodiment, the shutter trigger command is an encrypted command and includes timeliness information for verifying the validity of the command.
[0014] In one embodiment, the reconfirmation that the camera application is still running in the foreground includes verifying whether the camera application is still in a user-interactive state.
[0015] In one embodiment, after the camera shutter operation is completed, the mobile terminal or the earphone outputs an operation completion prompt message to the user, the prompt message including an audio prompt or a vibration prompt.
[0016] In one embodiment, when the mobile terminal detects that the camera application has exited the foreground running state, it sends a control command to the earphone to exit the vibration sensing working mode.
[0017] In another aspect, the present invention provides a mobile terminal, including a processor and a memory, wherein the memory stores instructions that, when executed by the processor, cause the mobile terminal to perform the method described in any of the above-mentioned embodiments.
[0018] In summary, this invention establishes a dedicated control channel between the mobile terminal and the earphones, enabling the earphones to enter a vibration sensing mode when the camera application is in the foreground. This allows for the precise acquisition and feature analysis of vibration signals generated by the user striking any part of the earphone shell. Based on the temporal and intensity characteristics of the vibration signals, this invention can reliably determine double-tap vibration events and trigger the mobile terminal's system-level camera shutter operation via encrypted commands. Furthermore, security verification and a secondary state confirmation mechanism for the camera application effectively prevent false triggering and command replay attacks.
[0019] This invention does not rely on physical buttons or fixed touch areas on headphones, significantly improving operational freedom and shooting stability. It is applicable to various usage scenarios, including sports, long-distance shooting, and environments with limited lighting, thus improving the overall user experience. Furthermore, the vibration signal processing and judgment method employed in this invention provides a scalable framework for future related remote control technologies, supporting different sensor combinations and double-click feature parameter optimization, thus balancing technological adaptability and system reliability.
[0020] Therefore, this invention achieves an innovative shutter control scheme that is easy to operate, has a stable response, and is safe and reliable. It solves the problems of high dependence on buttons, high false triggering rate, and weak correlation of application status in the prior art, and has significant technical advantages and broad application prospects.
[0021] Compared with existing technologies that rely on terminal screen touch, physical buttons, or fixed buttons on headphones to trigger the shutter, this invention introduces a triggering mechanism based on headphone shell vibration recognition, achieving significant and unexpected improvements in both technical implementation and usage effect.
[0022] First, this invention identifies and determines vibration signals generated at any location on the earphone shell, eliminating reliance on physical buttons or specific touch areas. Existing technologies generally require users to press or touch at specific locations, while this invention allows users to trigger the action with a natural tap, significantly reducing the precision requirements. This enables stable photo-taking even in motion, one-handed operation, or lighting conditions—a technical effect that existing technologies struggle to achieve simultaneously.
[0023] Secondly, this invention does not simply map vibration recognition results directly to shutter commands. Instead, it constructs a double-tap vibration event detection mechanism by jointly judging the temporal and intensity characteristics of the vibration signal. This method can effectively distinguish between human-induced tapping and accidental vibrations or environmental interference during wear, significantly reducing the probability of false triggering. Compared to schemes based solely on single events or simple threshold judgments, this invention offers significant improvements in stability and reliability.
[0024] Furthermore, this invention introduces a dual context constraint mechanism based on the application's running state during the shutter triggering process. Specifically, it confirms whether the camera application is running in the foreground before the headphones enter vibration sensing mode and before executing the shutter operation. This design avoids the problem of accidental shutter triggering during application switching, background operation, or non-photo-taking scenarios, tightly binding the triggering behavior to the user's actual photographing intention. This is a technical detail that is typically not considered in existing headphone remote photography solutions.
[0025] Furthermore, this invention effectively prevents system risks caused by command replay or abnormal triggering by performing security checks and timeliness verification on shutter trigger commands, thus achieving a higher level of security for remote photography control based on wearable devices. This effect cannot be naturally derived from a single vibration recognition method, but rather is a comprehensive technical effect resulting from the collaborative design of the terminal and the earphone.
[0026] In summary, this invention achieves a balance between operational freedom, trigger accuracy, and system reliability through the coordinated use of vibration recognition mechanism, context constraint strategy, and security verification process. It breaks through the long-standing technical limitations of existing technologies in remote shutter control scenarios and achieves comprehensive technical effects that are difficult to predict with existing technologies. Attached Figure Description
[0027] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 A flowchart illustrating the steps of a camera shutter triggering method based on headphone shell vibration recognition provided by this invention; Figure 2 A schematic diagram of a mobile terminal display on / off for a camera shutter triggering method based on headphone shell vibration recognition provided by the present invention; Figure 3 The flowcharts for steps S1 and S2 of a camera shutter triggering method based on headphone shell vibration recognition provided by the present invention are shown below. Figure 4 The flowcharts for steps S3 and S4 of a camera shutter triggering method based on headphone shell vibration recognition provided by the present invention are shown below. Figure 5 The flowchart of step S5 of the camera shutter triggering method based on headphone shell vibration recognition provided by the present invention. Detailed Implementation
[0028] To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention is further described in detail below. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. The embodiments of the invention are described below in conjunction with the accompanying drawings.
[0029] One embodiment of the present invention provides a camera shutter triggering method based on headphone shell vibration recognition. Please refer to [link to relevant documentation]. Figures 1-5 The method includes: S1. When the mobile terminal detects that the camera application is running in the foreground, it starts the shutter control service and sends a working mode switching command to the paired earphones via wireless communication. In this embodiment, taking the collaborative operation of a mobile terminal and a paired wireless earphone as an example, the camera shutter triggering method based on earphone shell vibration recognition will be described.
[0030] First, the operating system running on the mobile terminal continuously monitors the application's running status. When it detects that the camera application has been launched and is running in the foreground, the mobile terminal initiates the shutter control service related to camera shooting. This shutter control service is used to uniformly manage the access and processing of external trigger sources, avoiding erroneous responses to external control commands in non-photo-taking scenarios. After the shutter control service is initiated, the mobile terminal sends a working mode switching command to the paired earphones via wireless communication, notifying the earphones to enter the vibration sensing working mode corresponding to photo control.
[0031] Furthermore, the method also includes: S2. After receiving the working mode switching command, the earphone enters the vibration sensing working mode and collects the vibration signal generated by the user striking any part of the earphone shell. Upon receiving the operating mode switching command, the earphone's internal control unit switches to the current operating state and activates the sensor module for sensing shell vibration. In this operating mode, the earphone no longer relies on physical buttons or fixed touch areas, but instead senses tapping actions applied by the user at any location on the earphone shell. Specifically, when the user taps the earphone shell with their finger, the resulting mechanical vibration is transmitted to the sensor module through the shell structure. The sensor module converts the vibration into a corresponding vibration signal and collects it.
[0032] Furthermore, the method also includes: S3. Perform signal processing on the collected vibration signal, extract the timing features and intensity features corresponding to the knocking event, and determine whether a preset double-click vibration event is constituted based on the timing features and intensity features. After the vibration signal is acquired, the earphone performs signal processing on the acquired vibration signal. This signal processing includes noise suppression of the original vibration signal to reduce the impact of background vibration or environmental interference during wear. Based on this, temporal and intensity features related to the impact event are extracted from the processed vibration signal. The temporal features characterize the time interval between adjacent impact events, and the intensity features characterize the change in vibration amplitude corresponding to the impact.
[0033] Furthermore, the method also includes: S4. When it is determined that the double-click vibration event has occurred, the earphone generates a corresponding shutter trigger command and sends it to the mobile terminal.
[0034] The earphones determine vibration events based on extracted timing and intensity features. When two tapping events are detected, and the time interval between the two tapping events falls within a preset time window, and the vibration intensity features corresponding to the two taps meet a preset consistency condition, the earphones determine that the current vibration signal constitutes a double-tap vibration event. This method effectively distinguishes between intentional tapping by the user and vibrations caused by shaking, walking, or other non-human factors, reducing the probability of false triggers.
[0035] After determining that a double-click vibration event has occurred, the earphone generates a corresponding shutter trigger command and sends the shutter trigger command to the mobile terminal via wireless communication. To improve system security and reliability, in this embodiment, the shutter trigger command may be generated in encrypted form and includes relevant information for verifying the validity of the command.
[0036] Furthermore, the method also includes: S5. After receiving the shutter trigger command, the mobile terminal performs a security verification on the shutter trigger command and confirms again that the camera application is still running in the foreground. After the verification is successful, the camera shutter operation is triggered through the system interface.
[0037] Upon receiving a shutter trigger command from the earpiece, the mobile terminal first performs a security verification on the command to confirm its legality and validity. After the security verification passes, the mobile terminal further verifies the camera application's running status to ensure it remains in the foreground and is interactive. Only when all the above conditions are met does the mobile terminal trigger the camera shutter operation through the system interface, thereby completing the photo-taking process.
[0038] Through the above steps, this embodiment achieves camera shutter trigger control based on headphone shell vibration recognition without relying on fixed buttons or specific touch areas on the headphones. This closely links shutter triggering behavior with the camera application's operating status, balancing ease of operation, triggering accuracy, and system security.
[0039] In a further embodiment, the vibration signal is acquired by at least one inertial sensor disposed within the earphone housing, the inertial sensor including an accelerometer, a gyroscope, or a combination thereof.
[0040] Specifically, after the headphones enter the vibration sensing mode, they need to effectively collect the mechanical vibrations generated by the user striking the headphone shell. Therefore, in this embodiment, at least one inertial sensor is installed inside the headphone shell to sense the shell's vibration state. The inertial sensor can be an accelerometer, a gyroscope, or a combination of an accelerometer and a gyroscope.
[0041] When a user taps any part of the earphone shell, the transient mechanical vibration generated by the tap is transmitted through the shell structure to the inertial sensor. The accelerometer is used to detect the instantaneous acceleration changes of the shell in various directions, and the gyroscope is used to detect the angular velocity changes that may occur during the tapping process. The signals collected by the above sensors can comprehensively reflect the vibration characteristics corresponding to the tapping action.
[0042] In practice, the headphone's control unit can adjust the sampling frequency and operating status of the inertial sensor according to the current operating mode. For example, in vibration sensing mode, the sensor's sampling frequency is increased to more accurately capture short-duration high-frequency vibration signals generated by impacts; while in non-vibration sensing mode, the sampling frequency is reduced or some sensors are turned off to reduce power consumption. Through this method, both vibration acquisition accuracy and overall headphone power consumption are controlled.
[0043] Furthermore, by employing an accelerometer, gyroscope, or a combination thereof, this embodiment exhibits good adaptability to different striking postures and positions. Even if the direction, force, or position of the user's strikes to the casing varies, the inertial sensor can still collect representative vibration signals, providing a reliable data basis for subsequent double-click event determination.
[0044] In a further embodiment, the determination of the double-click vibration event includes: After the first tapping event is identified, the system checks whether a second tapping event exists within a preset time window and determines whether the time interval between the two tapping events falls within a preset range.
[0045] After the headphones complete the acquisition of vibration signals and extract features related to the tapping event, they analyze the order and temporal relationship of the tapping events to determine whether a double-tap vibration event is constituted. Specifically, when a vibration event that meets the tapping characteristics is detected, the vibration event is recorded as the first tapping event, and the corresponding time window monitoring process is initiated.
[0046] Within the time window, the headphones continuously detect subsequently acquired vibration signals to determine if a second tapping event occurs. When a second tapping event is detected within the preset time window, the headphones further calculate the time interval between the first and second tapping events and compare this time interval with a preset time interval.
[0047] When the time interval falls within a preset time range, the headphones initially determine that the two tapping events meet the timing conditions for a double tap. By setting reasonable time windows and time ranges, it is possible to effectively avoid misinterpreting continuous shaking, wearing adjustments, or other non-tapping behaviors as double tap operations. For example, if the interval between two taps is too short, it may be a vibration echo generated by a single tap; if the interval between two taps is too long, it is more likely to be two unrelated operations.
[0048] In this embodiment, by determining the time interval between the first and second tapping events, the identification of double-tap vibration events is given a clear time constraint, thereby improving the accuracy of identifying intentional user operations. This time-window-based double-tap determination method, in conjunction with the aforementioned processing based on vibration intensity and signal characteristics, can reliably distinguish between user tapping behavior and non-target vibrations in complex usage environments, effectively reducing the probability of false triggering.
[0049] In a further embodiment, the method also includes a similarity assessment of the vibration waveforms corresponding to two tapping events to rule out false triggering caused by non-human tapping.
[0050] Building upon the aforementioned preliminary double-click determination based on a time window, this embodiment further reduces the risk of false triggering due to non-human factors by performing a similarity assessment of the vibration waveforms corresponding to the two tapping events. Specifically, after detecting that both the first and second tapping events meet the tapping characteristics and the time interval meets a preset condition, the earphone performs a comparative analysis of the vibration signal waveforms corresponding to the two tapping events.
[0051] The vibration waveform can include the amplitude change curve, duration characteristics, and energy distribution characteristics of the vibration signal at the moment of impact. By comparing the above waveform characteristics, it can be determined whether the vibration signals generated by the two impacts have a high degree of consistency. For example, when both impacts are caused by the user's finger tapping the earphone shell, the vibration waveforms usually have similar characteristics in amplitude change trend and duration; while vibrations caused by wearing adjustments, walking, or environmental collisions often have unstable or significantly different waveform characteristics.
[0052] In this embodiment, when the similarity of the vibration waveforms corresponding to two tapping events reaches a preset threshold, the earphone confirms that the two taps are double-tap vibration events generated under the same user's operating intention; otherwise, it is determined to be a non-target event and no shutter trigger command is generated. By introducing a vibration waveform similarity judgment mechanism, the recognition of double-tap vibration events is not only constrained by time conditions but also by the consistency of vibration characteristics, thereby effectively eliminating misjudgments caused by occasional vibrations or random interference in complex usage environments.
[0053] This technology significantly improves the accuracy of double-click vibration recognition without increasing the complexity of user operation, making the shutter triggering scheme based on shell vibration significantly more stable than existing technologies that rely solely on a single threshold or single event judgment.
[0054] In a further embodiment, the signal processing includes noise suppression processing of the vibration signal and extraction of at least one frequency domain feature or time domain feature for the determination of the double-click vibration event.
[0055] To ensure the extraction of discriminative feature information from the vibration signal, the headphones first perform noise suppression processing on the acquired raw vibration signal before determining the double-tap event. This noise suppression processing reduces low-frequency interference introduced during wear due to user movement, head shaking, or environmental vibrations, thereby improving the signal-to-noise ratio of the tapping vibration signal.
[0056] After noise suppression processing, the headphones extract feature parameters for double-tap detection from the processed vibration signal. These feature parameters include at least one of time-domain and frequency-domain features. Time-domain features may include the peak amplitude, rise time, or duration of the vibration signal, reflecting the changes in the striking action over time. Frequency-domain features may include the energy distribution of the vibration signal within a specific frequency band, distinguishing the spectral differences between intentional striking and non-targeted vibrations.
[0057] In this embodiment, by combining time-domain or frequency-domain features to analyze the vibration signal, the determination of double-click vibration events no longer relies on a single parameter, but is based on a comprehensive judgment of multi-dimensional features. This method can maintain high recognition stability under different wearing conditions and different tapping forces, avoiding a significant decrease in recognition performance due to individual user differences or changes in the usage environment.
[0058] Through the above-described vibration signal processing and feature extraction methods, this embodiment provides a stable and reliable feature basis for the determination of the aforementioned double-click vibration event, making the shutter triggering method based on the vibration of the headphone shell more robust and adaptable in practical applications.
[0059] In a further embodiment, the shutter trigger command is an encrypted command and includes timeliness information for verifying the validity of the command.
[0060] After the earphones determine that a double-click vibration event has occurred, they generate a corresponding shutter trigger command and send it to the mobile terminal via wireless communication. To prevent abnormal, duplicate, or unauthorized commands from affecting the camera shutter operation, in this embodiment, the shutter trigger command is generated in encrypted form and includes timeliness information for verifying the validity of the command.
[0061] Specifically, when generating a shutter trigger command, the headphones can encrypt the command content and include timestamp or sequence information related to the current session. Upon receiving the shutter trigger command, the mobile terminal first decrypts the command and verifies the timeliness information within it to confirm that the command is a legitimate command generated within a preset valid time range.
[0062] The above methods effectively prevent the same shutter trigger command from being reused or intercepted and resent by third-party devices, thus avoiding replay attacks or abnormal shutter triggering. This security verification mechanism ensures that remote shutter triggering based on headphones is not only functionally available but also meets practical application requirements in terms of system security.
[0063] Furthermore, by performing unified security verification on the shutter trigger command on the mobile terminal side, external control commands from different sources can all follow a consistent security strategy, thereby improving the reliability and controllability of the overall control process from the system architecture level.
[0064] In a further embodiment, the reconfirmation that the camera application is still running in the foreground includes verifying whether the camera application is still in a user-interactive state.
[0065] After the mobile terminal completes the security verification of the shutter trigger command, to avoid accidental triggering of the camera shutter during application switching or non-photography scenarios, the mobile terminal reconfirms the current running status of the camera application. This reconfirmation is used to determine whether the camera application is still running in the foreground and, further, whether the camera application is in a user-interactive state.
[0066] Specifically, in this embodiment, before the mobile terminal prepares to execute a system-level shutter trigger operation, it obtains information about the current foreground application through the application management interface provided by the operating system, and determines whether the foreground application is the target camera application. Simultaneously, it can further determine whether the camera application is in a state where it can receive user input, such as whether it is on a lock screen, whether it is obscured by other high-priority interfaces, or whether it is on a non-interactive system prompt interface.
[0067] The camera shutter trigger operation is only executed when the mobile terminal confirms that the camera application is still in the foreground and in a user-interactive state. If the camera application is detected to have switched to a background running state, or the current interface is not suitable for performing a photo-taking operation, the shutter trigger request is abandoned, thereby avoiding triggering a photo in unexpected scenarios.
[0068] The aforementioned reconfirmation mechanism creates a closer link between shutter triggering and the user's actual operation scenario, effectively reducing abnormal photo captures caused by application switching, accidental touches, or changes in system state, and further improving the overall stability of the system and the user experience.
[0069] In a further embodiment, after the camera shutter operation is completed, the mobile terminal or the earphone outputs an operation completion prompt message to the user, the prompt message including an audio prompt or a vibration prompt.
[0070] After the camera shutter is triggered on the mobile terminal, this implementation method outputs a completion notification to the user via the mobile terminal or headphones to ensure the user can promptly confirm that the photo-taking operation has been successfully performed. This notification provides intuitive feedback to the user, preventing them from repeatedly tapping the screen if they are unaware that the photo-taking is complete.
[0071] Specifically, after a successful shutter release, the mobile terminal can trigger a preset notification method through the system interface, such as playing a notification sound or driving the terminal's vibration module to generate vibration feedback; alternatively, after receiving confirmation from the mobile terminal, the earphones can output feedback information to the user through their own speaker or vibration unit. These notification methods can be configured according to system settings or user preferences.
[0072] By providing clear feedback to users after taking a photo, the system allows them to confirm the photo's status without looking at the screen, reducing the likelihood of repeated triggering or accidental operations. This feedback mechanism is particularly helpful in improving overall usability and user experience, especially in scenarios involving long-distance shooting or fixed-position shooting.
[0073] Furthermore, by incorporating operation completion feedback into the shutter triggering process, a clear operational loop can be formed throughout the entire photo-taking control process, improving the predictability and stability of the system in actual use.
[0074] In a further embodiment, when the mobile terminal detects that the camera application has exited the foreground running state, it sends a control command to the earphone to exit the vibration sensing working mode.
[0075] As mentioned earlier, the headphones enter a vibration sensing mode when the camera application is in the foreground to collect and identify vibration signals generated by the user tapping the headphone shell. To avoid the headphones remaining in vibration sensing mode after the camera application exits the shooting scene, which could lead to false triggering or unnecessary power consumption, this embodiment adjusts the headphones' operating mode accordingly when the camera application's operating state changes.
[0076] Specifically, when the mobile terminal detects that the camera application has exited the foreground (e.g., the user switches to another application or the camera application is suspended by the system), the mobile terminal sends a control command to the earphones to exit the vibration sensing mode. Upon receiving the control command, the earphones exit the vibration sensing mode, stop high-frequency acquisition of vibration signals from the housing, and return to normal operation.
[0077] By employing the above methods, the vibration sensing function of the headphones is synchronized with the operating status of the camera application, avoiding unnecessary acquisition and processing of vibration signals in non-photography scenarios, thereby reducing the risk of false triggering and decreasing headphone power consumption. This state exit control mechanism creates a complete state loop for the entire shutter triggering process, contributing to improved overall system stability and engineering controllability.
[0078] Another embodiment of the present invention provides a mobile terminal, including a processor and a memory, wherein the memory stores instructions, and when the instructions are executed by the processor, the mobile terminal performs the method described above.
[0079] The mobile terminal can be a smartphone, tablet computer, or other smart terminal device with a camera function. It integrates a processor and memory and runs an operating system that supports application management and peripheral communication.
[0080] The memory stores program instructions for implementing a camera shutter triggering method based on earphone shell vibration recognition. When the program instructions are executed by the processor, the mobile terminal performs the method steps defined in the preceding claims. Specifically, the program instructions include at least instructions for monitoring the operating status of the camera application, instructions for establishing a wireless communication connection with the earphone, instructions for receiving and parsing shutter trigger instructions from the earphone, and instructions for triggering system-level camera shutter operation.
[0081] During actual operation, when the processor executes the program instructions, it first obtains the current foreground application information through the application management mechanism provided by the operating system to determine whether the camera application is in the foreground running state. When the camera application is detected to be in the foreground running state, the processor controls the wireless communication module to send a working mode switching command to the paired earphones, so that the earphones enter the vibration sensing working mode.
[0082] Upon receiving the shutter trigger command from the headphones, the processor parses and performs a security check on the command, and then determines whether the conditions for taking a picture are met based on the current application running state. If the security check passes and the camera application is confirmed to be in a user-interactive state, the processor calls the camera control interface provided by the operating system to trigger the camera shutter operation, thereby completing the picture taking process.
[0083] Furthermore, when the processor detects that the camera application has exited the foreground, it executes corresponding program instructions to send a control command to the earphones to exit the vibration sensing mode, causing the earphones to stop collecting vibration signals from the housing. In this way, the mobile terminal can uniformly manage the vibration sensing behavior of the earphones, ensuring that the shutter triggering process is consistent with the camera application's operating state.
[0084] By deploying the above method in the form of program instructions in a mobile terminal, this embodiment enables the camera shutter triggering function based on the vibration recognition of the earphone shell to be directly implemented on the existing terminal platform without additional modifications to the terminal hardware structure, and has good versatility and engineering feasibility.
[0085] In summary, this invention addresses the problem that existing mobile terminals heavily rely on physical buttons, touchscreens, or voice commands during camera shooting, which can easily lead to accidental touches, shakiness, or limited interaction in certain scenarios. It proposes a camera shutter triggering method based on headphone shell vibration recognition. By fully utilizing the vibration characteristics generated by the headphone shell under the user's natural interactive actions, and combining multi-dimensional vibration parameter extraction, threshold determination, and trigger logic control, the camera shutter triggering no longer depends on traditional human-computer interaction methods, but is transformed into a more natural, discreet, and low-interference interaction form.
[0086] In its implementation, this invention achieves accurate identification of preset trigger actions by collecting, analyzing, and processing the vibration signals of the earphone shell. When conditions are met, it outputs a stable and reliable shutter trigger command to the terminal camera module, effectively avoiding misjudgments caused by environmental noise, accidental touches, or changes in terminal posture. Furthermore, by introducing a multi-level judgment mechanism and trigger constraints into the method, this shutter triggering method maintains high stability and consistency even in complex usage scenarios.
[0087] Furthermore, the technical solution of this invention does not rely on significant modifications to existing hardware structures. It can be implemented through software and algorithms based on existing headphone and mobile terminal architectures, featuring low implementation cost, flexible deployment, and strong adaptability. It can be widely applied to various usage scenarios such as daily shooting, sports shooting, and one-handed or hands-free shooting. Thus, while improving shooting convenience, this invention also provides a new low-interference interaction triggering approach for mobile terminals, possessing good practical value and promising prospects for promotion.
[0088] It should be understood that the application of the present invention is not limited to the examples above. Those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A camera shutter triggering method based on headphone shell vibration recognition, characterized in that, include: S1. When the mobile terminal detects that the camera application is running in the foreground, it starts the shutter control service and sends a working mode switching command to the paired earphones via wireless communication. S2. After receiving the working mode switching command, the earphone enters the vibration sensing working mode and collects the vibration signal generated by the user striking any part of the earphone shell. S3. Perform signal processing on the collected vibration signal, extract the timing features and intensity features corresponding to the knocking event, and determine whether a preset double-click vibration event is constituted based on the timing features and intensity features. S4. When it is determined that the double-click vibration event has occurred, the earphone generates a corresponding shutter trigger command and sends it to the mobile terminal. S5. After receiving the shutter trigger command, the mobile terminal performs a security verification on the shutter trigger command and confirms again that the camera application is still running in the foreground. After the verification is successful, the camera shutter operation is triggered through the system interface.
2. The camera shutter triggering method according to claim 1, characterized in that, The vibration signal is acquired by at least one inertial sensor disposed within the earphone housing, the inertial sensor including an accelerometer, a gyroscope, or a combination thereof.
3. The camera shutter triggering method according to claim 1, characterized in that, The determination of the double-click vibration event includes: After the first tapping event is identified, the system checks whether a second tapping event exists within a preset time window and determines whether the time interval between the two tapping events falls within a preset range.
4. The camera shutter triggering method according to claim 3, characterized in that, It also includes similarity judgment of the vibration waveforms corresponding to two knocking events to rule out false triggering caused by non-human knocking.
5. The camera shutter triggering method according to claim 1, characterized in that, The signal processing includes noise suppression processing of the vibration signal and extraction of at least one frequency domain feature or time domain feature for the determination of the double-click vibration event.
6. The camera shutter triggering method according to claim 1, characterized in that, The shutter trigger command is an encrypted command and includes time information for verifying the validity of the command.
7. The camera shutter triggering method according to claim 1, characterized in that, The reconfirmation that the camera application is still running in the foreground includes verifying whether the camera application is still in a user-interactive state.
8. The camera shutter triggering method according to claim 1, characterized in that, After the camera shutter operation is completed, the mobile terminal or the earphone outputs an operation completion prompt message to the user, which includes an audio prompt or a vibration prompt.
9. The camera shutter triggering method according to claim 1, characterized in that, When the mobile terminal detects that the camera application has exited the foreground running state, it sends a control command to the earphone to exit the vibration sensing working mode.
10. A mobile terminal, characterized in that, The device includes a processor and a memory, wherein the memory stores instructions that, when executed by the processor, cause the mobile terminal to perform the method according to any one of claims 1 to 9.