Earphone control method, earphone control device and medium
By setting an image module and a rotation mechanism in the headphone control device, and generating control instructions in response to the operation of the headphone unit control interface, the problem of poor interaction effect between the charging chamber and the wireless headphone is solved, and more flexible headphone posture adjustment and visual function module interaction are achieved.
Patent Information
- Application Number
- CN202411718300.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-04
AI Technical Summary
There is a poor interaction effect between the current charging chamber and the wireless headset with visual function module, and users cannot effectively interact with the visual function module of the headset through the charging chamber.
By setting an image module in the control device of the headphone and connecting it with the headphone unit using a rotating mechanism, an image module control command is generated in response to the control operation received by the headphone unit control interface, and sent to the headphone unit to control the image module to change the shooting position.
The interaction effect between the charging chamber and wireless headphones is improved. Users can flexibly adjust the position information of the headphone unit through the charging chamber to enhance their interaction with the headphone visual function module.
Smart Images

Figure CN119562184A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless earphones, and in particular to an earphone control method, an earphone control device and a medium. Background Art
[0002] With the development of charging pod technology, users can use the charging pod to conveniently control wireless headphones, including playing music, switching tracks, adjusting volume, and answering calls, without relying on mobile phone operations. However, for those wireless headphones with integrated visual function modules, the functions of the charging pod are limited to charging and some basic controls, and users cannot effectively interact with the visual function modules of the headphones through the charging pod. Therefore, there is a defect of poor interaction between the current charging pod and wireless headphones with visual function modules.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present application is to provide a method for controlling earphones, an earphone control device and a medium, aiming to solve the technical problem of poor interaction between the current charging case and wireless earphones.
[0005] To achieve the above-mentioned purpose, the present application proposes a method for controlling an earphone, which is applied to an earphone control device, wherein the earphone control device is communicatively connected to at least one earphone unit, wherein the earphone unit is provided with an image module, and wherein the image module is connected to the earphone unit via a rotating mechanism. The method for controlling an earphone comprises:
[0006] generating an image module control instruction in response to a control operation received by the headphone unit control interface;
[0007] The image module control instruction is sent to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture.
[0008] In one embodiment, the step of generating an image module control instruction in response to a control operation received by the headphone unit control interface includes:
[0009] In response to a sliding operation on an image displayed in the control interface, determining a sliding trajectory;
[0010] Determine the rotation direction according to the direction of the sliding track, and determine the rotation step length according to the length of the sliding track;
[0011] The image module control instruction is generated according to the rotation direction and the rotation step.
[0012] In one embodiment, the step of generating an image module control instruction in response to a control operation received by the headphone unit control interface includes:
[0013] In response to a triggering action on a control control in the control interface, determining a rotation direction;
[0014] The image module control instruction is generated according to the rotation direction and the preset rotation step.
[0015] In one embodiment, before the step of generating the image module control instruction in response to the control operation received by the headphone unit control interface, the step further includes:
[0016] Receiving the image captured by the image module;
[0017] The image is displayed on the control interface.
[0018] In one embodiment, in response to a control operation received by the headphone unit control interface, generating an image module control instruction includes:
[0019] In response to a control operation received by the earphone unit control interface, determining a first rotation direction and a first rotation step length corresponding to the first earphone unit;
[0020] Determining a second rotation direction and a second rotation step corresponding to the second earphone unit according to the first rotation direction and the first rotation step;
[0021] A first image module control instruction for the first earphone unit is generated according to the first rotation direction and the first rotation step, and a second image module control instruction for the second earphone unit is generated according to the second rotation direction and the second rotation step.
[0022] In one embodiment, the step of determining the second rotation direction and the second rotation step corresponding to the second earphone unit according to the first rotation direction and the first rotation step comprises:
[0023] Determining a correlation relationship between shooting positions of the first earphone unit and the second earphone unit;
[0024] If the shooting position association relationship is a symmetrical relationship, determining the second rotation direction symmetrical to the first rotation direction and the second rotation step length symmetrical to the first rotation step length;
[0025] If the shooting position association relationship is a synchronous relationship, the second rotation direction that is the same as the first rotation direction and the second rotation step length that is the same as the first rotation step length are determined.
[0026] In one embodiment, the step of sending the image module control instruction to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture includes:
[0027] The first image module control instruction is sent to the first earphone unit to control the rotating mechanism corresponding to the first earphone unit to drive the first image module to change its posture, and then the second image module control instruction is sent to the second earphone unit.
[0028] In one embodiment, after the step of generating the image module control instruction in response to the control operation received by the headphone unit control interface, the step further includes:
[0029] Acquiring light information of the image captured by the earphone unit and / or position information of the photographed target;
[0030] Determining a shooting posture adjustment sequence of the earphone unit based on the light information and / or the position information of the shooting target;
[0031] Based on the shooting posture adjustment sequence, the step of sending the image module control instruction to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture is performed.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a control device for headphones, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the headphone control method as described above.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an earphone, which is provided with an image module, and a rotating mechanism is arranged between the image module and the earphone, and the earphone responds to the image module control instruction of the control device of the earphone mentioned above, controls the rotating mechanism to drive the image module to change the shooting posture.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the headphone control method described above are implemented.
[0035] One or more technical solutions proposed in this application have at least the following technical effects:
[0036] Through the operation information of the control device of the headset, a control instruction for controlling the rotation of the headset image module is generated and sent to the headset unit, so that the position information of the headset unit can be flexibly adjusted through the control device, thereby improving the interaction effect between the control device such as the charging case and the wireless headset. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0039] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for controlling headphones of the present application;
[0040] Figure 2 A schematic diagram of a communication link for the headset control method of the present application;
[0041] Figure 3 A schematic diagram of a flow chart of a second embodiment of the method for controlling headphones of the present application;
[0042] Figure 4 An optional schematic diagram of an earphone unit control interface of a control device according to an embodiment of the present application;
[0043] Figure 5 This is a flow chart of a third embodiment of the method for controlling headphones of the present application;
[0044] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the headset control method in the embodiment of the present application.
[0045] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0048] The main solution of the embodiment of the present application is that the control devices such as the charging case and the mobile phone generate image module control instructions in response to the control operations received by the headphone unit control interface, and send the image module control instructions to at least one of the headphone units to control the rotating mechanism to drive the image module to change the shooting posture, thereby improving the interaction effect between the control devices such as the charging case and the headphone and the wireless headphones integrated with the visual function module.
[0049] In this embodiment, for the convenience of description, the following description is made by taking the control device of the earphone as the execution subject.
[0050] According to the existing technology, users can use the charging case to conveniently control wireless headphones, including playing music, switching tracks, adjusting volume, and answering calls, without relying on mobile phone operations. However, for those wireless headphones with integrated visual function modules, the functions of the charging case are limited to charging and some basic controls, and users cannot effectively interact with the visual function modules of the headphones through the charging case. Therefore, there is a defect of poor interaction between the current charging case and wireless headphones with visual function modules.
[0051] The present application provides a solution. When a control operation is received in the headphone unit control interface of a control device such as a charging case or headphone, a corresponding image module control instruction is generated to adjust the shooting posture of the image module of the headphone unit, thereby improving the interaction effect between the charging case and the wireless headphone.
[0052] The embodiment of the present application provides a method for controlling headphones, which is applied to a control device of headphones, wherein the control device is communicatively connected to at least one headphone unit, and the connection method includes wireless Bluetooth or wireless WiFi connection. The headphone unit is provided with an image module, and the image module is connected to the headphone unit through a rotating mechanism, wherein the rotating mechanism includes a single-axis rotating mechanism, a two-axis rotating mechanism, a spherical rotating mechanism or a universal joint rotating mechanism, etc. The image module includes at least a camera device, a storage module and an image processing module, and images or videos are captured based on the camera device. The headphones are wireless headphones such as OWS (Open Wearable Stereo) headphones, TWS (True Wireless Stereo) headphones, etc., and can also be headphones. Among them, the wireless headphones usually include two left and right headphone units.
[0053] Furthermore, the control device can be a computer service device such as a mobile phone, a tablet computer, a personal computer, etc. with data processing, network communication and program running functions, or it can be a charging compartment of the headset. Preferably, the control device is a charging compartment, which is provided with a headset unit control interface, i.e., a display interface, for displaying the image captured by the image module of the headset unit.
[0054] Based on this, in order to better understand the technical solution of the present application, the following will be described in detail in conjunction with the accompanying drawings and specific implementation methods. In this embodiment, the charging bin is used as an example for description.
[0055] Please refer to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the earphone control method of the present application.
[0056] In this embodiment, the headset control method includes steps S10 to S20:
[0057] Step S10, generating an image module control instruction in response to a control operation received by the earphone unit control interface.
[0058] It should be noted that the earphone unit control interface refers to the display interface of the control device, that is, the display interface of the charging compartment. When the image module of the earphone unit is shooting an image or in a shooting state, it can transmit the shot or previewed content back to the charging compartment through a wireless transmission protocol such as a Bluetooth transmission protocol. The image module control instruction refers to the instruction that controls the camera module of the image module to adjust the shooting position and posture.
[0059] In this embodiment, the user can perform operations such as sliding the screen and clicking buttons through the earphone unit control interface to control the camera device of the image module to shoot or adjust the shooting angle. For example, the user slides to the right on the display screen of the charging compartment to rotate the camera of the image module to the right, thereby changing the shooting direction of the camera device. Or the user clicks on the control indicating the right direction on the display screen of the charging compartment to rotate the camera of the image module to the right. Therefore, the charging compartment can generate an image module control instruction for adjusting the rotation parameters of the image module based on the above control operations received, and then control the rotation of the image module through the earphone.
[0060] Specifically, in the process of the control device generating the image module control instruction, the direction in which the image module needs to rotate can be determined through the control operation of the display interface, such as sliding operation, triggering operation of the control control, etc., and then the step length to be adjusted is determined based on the sliding trajectory, or the adjustment is made based on the preset step length. In addition to determining the direction and step length to be adjusted, it is also necessary to determine the earphone unit to be adjusted. For example, if the user only needs to control the left earphone unit to rotate, it is necessary to determine the earphone unit corresponding to the image module control instruction.
[0061] Therefore, as an optional implementation, the control interface of the image module can respectively display the images captured by the left and right earphone units, and then determine the earphone unit corresponding to the image module control instruction based on the area where the sliding operation is located, or the control area corresponding to the trigger operation of the control control, so as to accurately send the image module control instruction to the corresponding earphone unit.
[0062] Optionally, since the image module of the earphone unit can transmit the captured or previewed content back to the charging compartment through a wireless transmission protocol such as a Bluetooth transmission protocol when shooting an image or in a shooting state, before step 10, the control device also needs to receive the image captured by the image module and display the image in the control interface so that the user can adjust the current shooting position based on the displayed image. Among them, since it is necessary to adjust the shooting posture of the image module, the resolution of the transmitted or previewed content does not need to be too high. Based on this, the communication link between the earphone, mobile phone and charging compartment can be as follows: Figure 2 As shown, the Bluetooth transmission method between the earphones, mobile phone and charging case, in addition to realizing wireless Bluetooth control of the earphones, completes simple transmission processing of image data based on the Bluetooth transmission protocol, effectively avoiding unnecessary power consumption of the charging case due to its high complexity.
[0063] Step S20: sending the image module control instruction to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture.
[0064] In this embodiment, the wireless headset usually has two earphone units. After obtaining the image module control instruction, if the image module control instruction needs to adjust the shooting posture of the image module of one of the earphone units, the charging compartment sends the image module control instruction to the earphone unit. For example, the image module control instruction is to control the image module of the left earphone unit to rotate 10° to the left. The charging compartment sends the control instruction to the left earphone unit to control the rotation mechanism to rotate the left earphone unit to drive the image module to adjust the corresponding shooting posture. Among them, the shooting position includes the position of the currently captured image and the current shooting posture, and the shooting position also includes the current direction and angle of the image module. By adjusting the shooting posture of the image module, it is possible to capture a specific scene. For example, when the user needs to shoot the same object from different angles, the image module can be rotated to a specified angle to obtain the best shooting effect.
[0065] Optionally, the image module control instructions may also include adjustment of parameters such as focus and exposure to adapt to different shooting environments and light conditions. In this way, users can control video shooting more flexibly without manual operation, thereby improving the convenience and efficiency of shooting.
[0066] The present embodiment provides a method for controlling earphones, wherein the charging compartment generates an image module control instruction and sends the instruction to the earphone unit by responding to actions such as sliding and control triggering in the control interface of the earphone unit, so as to control the image module of the earphone unit to adjust the shooting posture, thereby realizing the control of the image module of the earphone based on the charging compartment and improving the interaction effect between the charging compartment and the earphone.
[0067] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 3 , step S10 also includes steps S11 to S13:
[0068] Step S11, in response to a sliding operation on the image displayed in the control interface, determining a sliding track.
[0069] In this embodiment, the sliding operation refers to the sliding operation corresponding to the content displayed in the user display interface. When the user slides on the image displayed on the control interface of the charging warehouse, the charging warehouse determines the sliding trajectory corresponding to the sliding operation, and then determines the rotation parameters such as rotation direction and rotation step based on the sliding trajectory.
[0070] Step S12, determining the rotation direction according to the direction of the sliding track, and determining the rotation step length according to the length of the sliding track.
[0071] In this embodiment, if the sliding track is from left to right, the corresponding rotation direction is rightward, and if it is leftward, the corresponding rotation direction is leftward. In the process of determining the rotation step length, the actual rotation step length can be determined based on the actual length of the sliding track and the mapping table of the sliding track and the step length.
[0072] Step S13: generating the image module control instruction according to the rotation direction and the rotation step.
[0073] In this embodiment, after obtaining the rotation direction and rotation step, it is also necessary to determine the target earphone unit to be rotated. In the process of determining the target earphone unit to be rotated, the earphone unit control area corresponding to the sliding track can be determined, and then based on the earphone unit control area where the sliding track is located, it is determined whether the earphone unit to be adjusted is the left earphone unit or the right earphone unit. After determining the target earphone unit to be rotated, the image module control is generated based on the target earphone unit, the rotation direction and the rotation step.
[0074] In another optional implementation, step S10 further includes steps S14 to S15:
[0075] Step S14, determining a rotation direction in response to a triggering action on a control control in the control interface.
[0076] Step S15: generating the image module control instruction according to the rotation direction and the preset rotation step.
[0077] It should be noted that, in addition to the area for displaying images, the display interface may also be provided with corresponding control controls, which may be virtual controls or physical controls, preferably virtual controls. The control controls may include direction prompts so that the user can accurately adjust the direction through the control controls.
[0078] In this embodiment, in response to a triggering action on a control control in the control interface, the rotation direction associated with the control control can be determined. The control control is usually associated with a corresponding rotation step, for example, if the control control is triggered once, it needs to rotate 1°, or after the control control is clicked, the rotation step is fixed to rotate 5°. Therefore, if the rotation step is a preset rotation step, after determining the target earphone unit that needs to be adjusted, the image module control instruction can be generated according to the rotation direction and the preset rotation step.
[0079] Optionally, the rotation step length may also be determined based on the number of times the control widget is triggered.
[0080] It should be noted that the above parameters are only used for explanation and are not intended to limit the present application.
[0081] For example, to help understand the implementation process of the headset control method obtained by combining this embodiment with the above-mentioned first embodiment, please refer to Figure 4 , Figure 4 A preferred interface schematic diagram of the earphone unit control interface of the control device is provided. Based on this, in the earphone unit control interface, the user can slide in the image area of the left earphone unit to control the image module of the left earphone unit to change the shooting posture, or slide in the image area of the right earphone unit to control the image module of the right earphone unit to change the shooting posture. In addition, the shooting postures of the image modules of the left and right earphone units can be adjusted respectively through the left and right control controls.
[0082] It should be noted that Figure 4 The content of the headphone unit control interface shown is for explanation only, and this application does not limit the form of the control, the area of the displayed image, and the display range.
[0083] The present embodiment provides a method for controlling earphones, wherein the charging compartment displays images captured by the left and right earphone units through the earphone unit control interface, and generates control instructions corresponding to the sliding operation in response to the sliding operation of the image, or generates corresponding control instructions in response to the triggering action of the control control to control the image module of the earphone unit to adjust the shooting posture, thereby realizing the control of the image module of the earphone based on the charging compartment, and improving the interaction effect between the charging compartment and the earphone.
[0084] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated later. Figure 5 , step S10 also includes steps S16 to S18:
[0085] Step S16: In response to the control operation received by the earphone unit control interface, determine a first rotation direction and a first rotation step corresponding to the first earphone unit.
[0086] In this embodiment, when the user needs to adjust the shooting posture of the image modules of the two earphone units, two independent control instructions need to be generated, and the user needs to trigger at least two actions in the earphone unit control interface. Based on this, the convenience of operation and the practicality of the earphone can be improved by adjusting the shooting posture of one earphone and adjusting the other earphone synchronously or symmetrically.
[0087] Therefore, in response to the control operation received by the earphone unit control interface, the first rotation direction and the first rotation step corresponding to the first earphone unit can be determined, wherein the first earphone unit is the earphone unit that adjusts the shooting posture in response to the user's operation information.
[0088] Step S17: Determine a second rotation direction and a second rotation step corresponding to the second earphone unit according to the first rotation direction and the first rotation step.
[0089] After obtaining the first rotation direction and the first rotation step that need to be adjusted for the first earphone unit, the second rotation direction and the second optional step of the second earphone unit can be determined based on the shooting relationship between the two earphone units, wherein the second earphone unit is the earphone unit that rotates following the first earphone unit.
[0090] Specifically, in the process of determining the rotation parameters of the second earphone unit, the association relationship between the shooting positions of the first earphone unit and the second earphone unit can be determined first. If the association relationship is a symmetrical relationship, the second rotation direction symmetrical to the first rotation direction and the second rotation step symmetrical to the first rotation step can be determined. For example, the first rotation direction is eastward, the second rotation direction is westward, the first rotation step is 5°, and the second rotation step is -5°.
[0091] Optionally, if the shooting position association relationship is a synchronous relationship, a second rotation direction that is the same as the first rotation direction and a second rotation step that is the same as the first rotation step are determined, that is, the first rotation direction is eastward, and the second rotation direction is also eastward.
[0092] Step S18: generating a first image module control instruction for the first earphone unit according to the first rotation direction and the first rotation step, and generating a second image module control instruction for the second earphone unit according to the second rotation direction and the second rotation step.
[0093] In this embodiment, a single control operation triggered by the user in the charging case can generate an image module control instruction for controlling the two earphone units to adjust the shooting posture. By adjusting the shooting angle of the earphone on one side, the earphone on the other side can be adjusted synchronously or symmetrically, thereby achieving synchronization or symmetry of binaural video shooting, improving shooting efficiency and user experience, and significantly improving the interaction effect between the charging case and the wireless headset.
[0094] Optionally, in actual use, if the image module control instruction of one side of the earphone unit is obtained by the control parameter of the other side of the earphone unit, the first image module control instruction can be sent to the first earphone unit first, so as to control the rotating mechanism corresponding to the first earphone unit to drive the first image module to change its posture, and then send the second image module control instruction to the second earphone unit. Based on this, by adjusting the control sequence of the earphone units in sequence, that is, giving priority to adjusting the shooting posture of the image module of the first earphone unit, it is ensured that during the binaural video shooting process, the first earphone unit can quickly respond to the user's shooting intention, thereby achieving fast shooting. Subsequently, the image module control instruction of the second earphone unit will be sent to adjust the shooting posture of its image module to ensure that the image modules of the two earphone units can automatically shoot synchronously or symmetrically. At this time, not only the synchronization of shooting is improved, but also the response speed and shooting efficiency of the earphone unit are further improved by optimizing the sending sequence of the control instructions.
[0095] In addition, by generating control instructions, it is possible to ensure that the image modules of the two earphone units maintain a consistent motion trajectory during the shooting process, so that the final captured image content is coherent and consistent.
[0096] Based on the first embodiment or the third embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be repeated later. On this basis, in special shooting scenes, it is usually necessary to adjust the shooting posture of one earphone first, and then adjust the shooting position of the other earphone. For example, when the shooting effect of two-ear shooting needs to be improved, it is necessary to first select an angle and adjust one earphone to the best display state to ensure that the lighting, background, etc. can perfectly set off the characteristics of the current shooting target. Then adjust the position of the earphone on the other side to form a symmetrical or complementary visual effect with the first side, thereby enhancing the overall three-dimensional sense and detail presentation. Or when shooting outdoors, it may be necessary to give priority to light conditions, so first adjust the shooting posture of the image module of the earphone unit facing the light source to ensure accurate exposure of the subject. Then adjust the earphone unit on the other side, wherein, after the earphone unit on the first side adjusts the corresponding shooting parameters, the corresponding shooting parameters can be sent to the earphone unit on the side adjusted backward, thereby improving the overall exposure effect and shooting efficiency.
[0097] In this embodiment, after step S10, it is also necessary to obtain the light information of the image captured by the earphone unit and / or the position information of the shooting target, and then determine the order of adjusting the shooting posture of the earphone unit based on the light information and / or the position information of the shooting target. For example, if the light intensity of the left earphone unit is higher, the shooting posture of the left earphone unit is adjusted first, that is, the shooting posture adjustment priority of the left earphone unit is determined to be higher than that of the right earphone unit. Or if the shooting target moves to the left, the shooting posture of the left earphone unit is adjusted first, and then the shooting posture of the right earphone unit is adjusted.
[0098] Finally, based on the shooting posture adjustment order, step S20 is executed to send the image module control instruction to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting position, that is, the image module control instruction of the earphone unit with a higher shooting posture adjustment order is sent first, and then after the earphone unit completes the shooting posture adjustment, the image module control instruction corresponding to the earphone unit on the other side is sent.
[0099] The charging case can achieve continuous coverage of the shooting scene by sending image module control commands to the earphone units on both sides in sequence, thereby capturing a more coherent and complete image. In addition, by precisely controlling the order in which commands are sent to each earphone unit, details of a specific area can be captured.
[0100] The present application provides a control device for headphones, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method for the headphones in the first embodiment described above.
[0101] Reference below Figure 6 , which shows a schematic structural diagram of a control device for headphones suitable for implementing an embodiment of the present application. Figure 6 The control device of the headset shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0102] like Figure 6 As shown, the control device of the headset may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the control device of the headset are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the control device of the headset to communicate with other devices wirelessly or wired to exchange data. Although the control device of the headset with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0103] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0104] The headset control device provided by the present application adopts the headset control method in the above embodiment, which can solve the technical problem that the current charging case and the headset have poor interaction effects. Compared with the prior art, the beneficial effects of the headset control device provided by the present application are the same as the beneficial effects of the headset control method provided by the above embodiment, and the other technical features of the headset control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0105] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0106] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0107] The present application provides an earphone, which is provided with an image module. A rotating mechanism is provided between the image module and the earphone. The earphone responds to an image module control instruction sent by a control device of the earphone, and then controls the rotating mechanism to drive the image module to change a shooting position.
[0108] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the earphone control method in the above-mentioned embodiment.
[0109] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0110] The computer-readable storage medium may be included in the control device of the headset; or may exist independently without being assembled into the control device of the headset.
[0111] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the control device of the headset, the control device of the headset:
[0112] generating an image module control instruction in response to a control operation received by the headphone unit control interface;
[0113] The image module control instruction is sent to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture.
[0114] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0115] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0116] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0117] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned headset control method, and can solve the technical problem that there is poor interaction between the current charging compartment and the headset. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the headset control method provided by the above-mentioned embodiment, and will not be elaborated here.
[0118] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for controlling a headset, characterized in that: A control device for an earphone, wherein the control device of the earphone is communicatively connected to at least one earphone unit, wherein the earphone unit is provided with an image module, and wherein the image module is connected to the earphone unit via a rotating mechanism, and the control method of the earphone comprises: generating an image module control instruction in response to a control operation received by the headphone unit control interface; The image module control instruction is sent to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture.
2. The method for controlling the earphone according to claim 1, characterized in that: The step of generating an image module control instruction in response to a control operation received by the headphone unit control interface includes: In response to a sliding operation on an image displayed in the control interface, determining a sliding trajectory; Determine the rotation direction according to the direction of the sliding track, and determine the rotation step length according to the length of the sliding track; The image module control instruction is generated according to the rotation direction and the rotation step.
3. The method for controlling the earphone according to claim 1, characterized in that: The step of generating an image module control instruction in response to a control operation received by the headphone unit control interface includes: In response to a triggering action on a control control in the control interface, determining a rotation direction; The image module control instruction is generated according to the rotation direction and the preset rotation step.
4. The method for controlling the earphone according to any one of claims 1 to 3, characterized in that: Before the step of generating an image module control instruction in response to a control operation received by the headphone unit control interface, the method further includes: Receiving the image captured by the image module; The image is displayed on the control interface.
5. The method for controlling the earphone according to claim 1, characterized in that: The generating of the image module control instruction in response to the control operation received by the headphone unit control interface includes: In response to a control operation received by the earphone unit control interface, determining a first rotation direction and a first rotation step length corresponding to the first earphone unit; Determining a second rotation direction and a second rotation step corresponding to the second earphone unit according to the first rotation direction and the first rotation step; A first image module control instruction for the first earphone unit is generated according to the first rotation direction and the first rotation step, and a second image module control instruction for the second earphone unit is generated according to the second rotation direction and the second rotation step.
6. The method for controlling the earphone according to claim 5, characterized in that: The step of determining the second rotation direction and the second rotation step corresponding to the second earphone unit according to the first rotation direction and the first rotation step comprises: Determining a correlation relationship between shooting positions of the first earphone unit and the second earphone unit; If the shooting position association relationship is a symmetrical relationship, determining the second rotation direction symmetrical to the first rotation direction and the second rotation step length symmetrical to the first rotation step length; If the shooting position association relationship is a synchronous relationship, the second rotation direction that is the same as the first rotation direction and the second rotation step length that is the same as the first rotation step length are determined.
7. The method for controlling the earphone according to claim 5, characterized in that: The step of sending the image module control instruction to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture includes: The first image module control instruction is sent to the first earphone unit to control the rotating mechanism corresponding to the first earphone unit to drive the first image module to change its posture, and then the second image module control instruction is sent to the second earphone unit.
8. The method for controlling an earphone according to claim 1, wherein: After the step of generating an image module control instruction in response to a control operation received by the headphone unit control interface, the method further includes: Acquiring light information of the image captured by the earphone unit and / or position information of the photographed target; Determining a shooting posture adjustment sequence of the earphone unit based on the light information and / or the position information of the shooting target; Based on the shooting posture adjustment sequence, the step of sending the image module control instruction to at least one of the earphone units to control the rotating mechanism to drive the image module to change the shooting posture is performed.
9. A headset control device, characterized in that: The headset control device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the headset control method according to any one of claims 1 to 8.
10. A headset, characterized in that: The earphone is provided with an image module, and a rotating mechanism is arranged between the image module and the earphone. The earphone responds to the image module control instruction of the control device of the earphone according to claim 9 to control the rotating mechanism to drive the image module to change the shooting posture.
11. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the earphone control method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Wireless headset control method and device and wireless headset
CN107708007A
Camera module, terminal, terminal control method, and computer readable storage medium
CN109348113A
Earphone with camera shooting function, and method and device for outputting control signal
CN109862274A
Method and device for controlling rotation of camera module
CN112822392A
Multifunctional bluetooth earphone
CN207304834U