Earphone unit and control method thereof, control device of earphone unit, and storage medium
By designing a detachable video module and control module in the headphone unit, the problem of low update and maintenance efficiency of visual function modules is solved, efficient update and maintenance of video modules is achieved, and user usage costs are reduced.
Patent Information
- Application Number
- CN202411718990.2
- 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
The current visual function module is integrated into OWS headsets, which causes the entire headset to be replaced during updates or maintenance, increasing the cost of use and maintenance for users.
A headphone unit is designed, including a detachable video module and a control module, detect the access of the video module through the hardware interface, obtain device information, load drivers, and establish a communication link to send shooting instructions in response to image acquisition instructions.
The video module is detachable access and shooting control, which improves the update and maintenance efficiency of the video module and avoids the need for overall replacement of the headphones.
Smart Images

Figure CN119562185A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of wireless earphones, and in particular to an earphone unit and a control method thereof, a control device of the earphone unit, and a storage medium. Background Art
[0002] OWS (Open Wearable Stereo) headphones transmit sound to users through a non-in-ear design, which not only ensures the sound quality but also improves the comfort and safety of wearing. With the development of AI technology, OWS headphones have added visual function modules to obtain external image information through Camera (camera device). When users wear OWS headphones with Camera for outdoor sports, the Camera can capture the surrounding environment, scenery or sports scenes, and transmit the image data to the AI system for processing.
[0003] However, the current visual function modules are integrated into the OWS headset and exist as a whole. When the visual function module needs to be upgraded, the entire OWS headset needs to be replaced together, which increases the user's usage cost and maintenance difficulty.
[0004] 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
[0005] The main purpose of the present application is to provide an earphone unit and a control method thereof, a control device of the earphone unit and a storage medium, aiming to solve the technical problem that the visual function is integrated into the earphone, resulting in low efficiency in updating and maintaining the visual function module.
[0006] To achieve the above-mentioned purpose, the present application proposes an earphone unit, comprising an earphone housing and a sound-emitting body arranged in the earphone housing, and further comprising:
[0007] A control module, disposed in the earphone housing;
[0008] The video module is provided with a second interface, the first interface and the second interface constitute a detachably connected communication interface, and when the first interface and the second interface are in a connected state, the video module is communicatively connected with the control module through the communication interface.
[0009] In one embodiment, the second interface is provided with a connecting core, the connecting core is provided with a snap point, the first interface is provided with a connecting groove corresponding to the connecting core one by one, and the first interface and the second interface are detachably connected based on the connecting groove and the connecting core.
[0010] In one embodiment, the video module further includes a storage module and an image processing unit, and the storage module is used to store images captured by the video module.
[0011] In one embodiment, the video module further includes an anti-reverse connection circuit, and the anti-reverse connection circuit is used to detect whether the positive and negative poles of the second interface are in a normal connection state when the second interface is in a connected state with the first interface.
[0012] To achieve the above object, the present application proposes a method for controlling an earphone unit, the method comprising:
[0013] If the video module access is detected based on the hardware interface, the device information of the video module is obtained;
[0014] Loading a driver corresponding to the video module according to the device information, and establishing a communication link with the video module;
[0015] In response to the image acquisition instruction, a shooting instruction is sent to the video module via the communication link.
[0016] In one embodiment, before the step of sending a shooting instruction to the video module through the communication link in response to the image acquisition instruction, the method further includes:
[0017] Collect user voice based on microphone;
[0018] The image acquisition instruction is triggered based on the semantic recognition result of the user's voice.
[0019] In one embodiment, after the step of sending a shooting instruction to the video module through the communication link in response to the image acquisition instruction, the method further includes:
[0020] Acquire first image information collected by the video module corresponding to the left earphone unit, and second image information collected by the video module corresponding to the right earphone unit;
[0021] The target image information is obtained after the first image information and the second image information are fused and processed.
[0022] In one embodiment, before the step of obtaining the target image information after the first image information and the second image information are fused, the step further includes:
[0023] Based on the image acquisition instruction, determine the image fusion rule corresponding to the image fusion request, wherein the image fusion rule at least includes image stitching, improving the image accuracy of overlapping areas, and removing non-overlapping areas;
[0024] The first image information and the second image information are fused based on the image fusion rule.
[0025] In one embodiment, after the step of sending a shooting instruction to the video module through the communication link in response to the image acquisition instruction, the method further includes:
[0026] If the earphone unit is in the tour guide mode, determining the voice tour guide information based on the target image captured by the video module;
[0027] The voice guide information is played based on the earphone unit.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes an earphone unit, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the control method of the earphone unit as described above.
[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a control device for an earphone unit, 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 control method for the earphone unit as described above.
[0030] 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 the processor, the steps of the control method of the earphone unit as described above are implemented.
[0031] One or more technical solutions proposed in this application have at least the following technical effects:
[0032] The video module is connected to the interface on the shell of the earphone unit through a detachable communication interface. After the video module access information is detected based on the hardware interface, the corresponding driver is loaded through the device information of the video module, and a communication link is established with the video module. Then, in response to the image acquisition instruction, a shooting instruction is sent to the video module through the communication link. Based on this, the detachable access of the video module and the shooting control of the video module are realized, thereby improving the updating and maintenance efficiency of the video module. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] 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.
[0034] 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.
[0035] Figure 1 This is a schematic diagram of the functional modules of the earphone unit of the present application;
[0036] Figure 2 This is a functional module diagram of the video module of this application;
[0037] Figure 3 A schematic flow chart of a first embodiment of a method for controlling an earphone unit of the present application;
[0038] Figure 4 A schematic flow chart of a second embodiment of a method for controlling an earphone unit of the present application;
[0039] Figure 5 A schematic flow chart of a third embodiment of a method for controlling an earphone unit of the present application;
[0040] Figure 6 Schematic diagram of the device structure of the hardware operating environment involved in the control device of the earphone unit in the embodiment of the present application.
[0041] Description of Figure Numbers:
[0042] 1. First interface; 2. Second interface.
[0043] 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
[0044] 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.
[0045] Since the current visual function modules are integrated in the OWS headset and exist as a whole, when the visual function modules need to be upgraded, the entire OWS headset needs to be replaced together, which increases the user's usage cost and maintenance difficulty.
[0046] The present application provides a solution, in which the video module is connected to the interface on the shell of the earphone unit through a detachable communication interface. When the earphone unit receives an access command from the video module to be paired, the control program of the earphone unit is updated through the device information of the video module, and at the same time, the pairing connection with the video module to be paired is performed based on the updated control program, thereby realizing detachable access of the video module and improving the updating and maintenance efficiency of the video module.
[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] In this embodiment, the earphone is a wireless earphone, preferably an OWS earphone, which includes two independent earphone units, that is, independent audio output devices corresponding to two ears. Specifically, the earphone unit includes an earphone shell and a sounding body arranged in the earphone shell, please refer to Figure 1 The earphone unit includes a control module arranged in the earphone shell, a first interface 1 arranged on the earphone shell, a video module and a second interface 2, wherein the first interface 1 and the second interface 2 constitute a detachably connected communication interface. Based on this, when the first interface 1 and the second interface 2 are in a connected state, the video module can be communicatively connected with the control module of the earphone unit through the communication interface. The detachable connection method of the first interface 1 and the second interface 2 may include a snap, a magnetic or a threaded connection, etc., and the video module includes a camera device, which may be a camera such as an optical camera, a digital camera, an infrared camera or a depth camera.
[0049] After the video module is connected to the first interface 1 based on the second interface 2, if the video module is not connected for the first time, it is a paired device. At this time, after the earphone unit detects the connection of the video module based on the hardware interface, it first obtains the device information of the video module, then loads the driver corresponding to the video module according to the device information, and establishes a communication link with the video module, and then can respond to the image acquisition instruction and send a shooting instruction to the video module through the communication link. If the video module is connected for the first time, based on the device information of the video module, if there is an existing driver, the driver is loaded, otherwise the latest driver is downloaded and installed.
[0050] Exemplarily, after the operator connects the paired camera after repair to the OWS headset through the first interface 1, the OWS headset responds to the access instruction, loads the driver module corresponding to the camera, and then establishes a communication link with the video module based on the driver module. At this time, the OWS headset can establish a data communication connection through the communication interface composed of the first interface 1 and the second interface 2. The communication connection process includes but is not limited to controlling the camera to shoot, sending shooting instructions to the video module, receiving and forwarding images or videos captured by the camera, etc. Based on this, by setting a detachable video module for the OWS headset, when the video module needs to be repaired, the video module can be disassembled based on the detachable components and repaired separately. When the AI module or shooting module of the video module needs to be upgraded, it is only necessary to purchase the video module separately, thereby improving the update and maintenance efficiency of the video module.
[0051] In another embodiment of the present application, please refer to Figure 2The connecting core is an intervening medium between the video module and the first interface through the second interface. Specifically, in addition to the camera device, the video module also includes a storage module and an image processing unit (ISP). The storage module is used to store the images captured by the video module. In addition, it can also store the video information captured by the video module. The image processing unit is mainly responsible for processing and optimizing the image signal to improve the image quality.
[0052] Furthermore, the video module also includes an anti-reverse connection circuit for detecting whether the positive and negative poles of the second interface are in a normal connection state when the second interface is connected to the first interface. By setting the anti-reverse connection circuit, it is prevented that the operator misjudges that the video module is abnormal due to connecting the video module in reverse.
[0053] Based on the earphone unit described in the above structural embodiment, the present application embodiment provides a method for controlling the earphone unit, referring to Figure 3 , Figure 3 This is a flow chart of a first embodiment of a method for controlling an earphone unit of the present application.
[0054] It should be noted that the execution subject of this embodiment can be a headset unit, or a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone and other headset unit control devices. The following takes the headset unit control device as an example to illustrate this embodiment and the following embodiments.
[0055] In this embodiment, the control method of the earphone unit includes steps S10 to S30:
[0056] Step S10: If access information of the video module is detected based on the hardware interface, device information of the video module is obtained.
[0057] It should be noted that device information includes but is not limited to the device descriptor of the camera device in the video module, including the vendor ID (Vendor ID), product ID (Product ID), etc.; the device name and model, which is usually provided by the manufacturer to distinguish different models or versions of cameras; version information of the internal firmware of the camera device; supported interface standards: such as USB 2.0, USB 3.0, HDMI, etc.; resolution and frame rate, sensor information: such as sensor type (CCD or CMOS), number of pixels, sensor size, etc.; lens parameters such as focal length, aperture size, zoom capability, etc.; operating system compatibility.
[0058] In this embodiment, after the video module is connected to the connection slot of the first interface through the connection core of the second interface, the hardware interface of the earphone unit or the mobile phone, such as USB, Bluetooth or WiFi, after detecting the connection of the video module, reads the device information of the currently connected video module through the communication interface between the first interface and the second interface, so as to select a driver that matches the current video module based on the device information.
[0059] Step S20: loading a driver corresponding to the video module according to the device information, and establishing a communication link with the video module.
[0060] It is understood that once the device recognizes the peripheral, it will look for a driver in the system that is compatible with the peripheral. If the device already has the corresponding driver installed, it will load the driver and communicate with the peripheral. If the device does not have the corresponding driver installed, it may prompt the user to download and install the driver, or automatically download and install it from the device's driver library.
[0061] Therefore, in this embodiment, after obtaining the device information, the control device of the earphone unit will analyze and process the obtained information, for example, based on the resolution, frame rate, sensor type and other information in the device information, evaluate the performance of the camera device in the video module, and confirm whether the interface standards and functions supported by the camera device are compatible with the control device of the earphone unit. Then, based on the analysis results of the device information, the driver corresponding to the video module is found from the currently installed drivers and loaded. After loading the driver corresponding to the video module, the control device of the earphone unit establishes a communication link with the video module through the selected driver, and performs corresponding parameter settings such as setting resolution, frame rate, exposure parameters, etc., to ensure that the video module works in the best state. Among them, the driver is the bridge for the control device of the earphone unit to communicate with the video module. It is responsible for converting the general commands of the control device of the earphone unit into specific commands that the camera device in the video module can understand.
[0062] Optionally, if the driver corresponding to the video module does not exist in the currently installed drivers, it is necessary to download a new driver from the driver library, or install and download the latest driver based on the control device of the headphone unit.
[0063] Optionally, after the video module establishes a communication link, the control device of the earphone unit can perform a series of tests to verify whether the function of the video module is normal. In addition, if the video module is provided with an anti-reverse connection circuit, when the video module is connected to the earphone unit, if the positive and negative circuits connected are opposite, it can feedback to the control device of the earphone unit that it is currently in a reverse connection state, and output corresponding reverse connection prompt information, such as when generating voice information, outputting reversed voice information through the earphone unit, or outputting corresponding prompt information through the display screen of the control device of the earphone unit. The specific prompt method is not limited here.
[0064] Step S30, in response to the image acquisition instruction, sending a shooting instruction to the video module through the communication link.
[0065] It should be noted that the shooting instruction includes the shooting method, such as whether to shoot a video or an image at a certain moment. In addition, if the shooting ranges of the two earphone units of the headset overlap, the shooting instruction will also include the processing method of the overlapping area, such as splicing the non-overlapping part shot by the left earphone unit with the image shot by the right earphone, improving the image accuracy of the fused part, or removing the non-overlapping part.
[0066] In this embodiment, as an optional implementation, the user can input a corresponding image acquisition instruction through the control device of the earphone unit, so that the control device of the earphone unit responds to the acquisition instruction and sends a shooting instruction to the video module based on the communication link. For example, the operator clicks on the instruction to control the earphone unit to shoot in the application of the mobile phone. At this time, after the mobile phone responds to the instruction, it sends the shooting instruction to the video module, so that the video module shoots based on the shooting instruction.
[0067] Optionally, the operator can also input corresponding voice information into the microphone, such as "take an image of the current location". At this time, the control device of the earphone unit performs semantic recognition processing based on the user voice collected by the microphone, and triggers the image acquisition instruction based on the semantic recognition result of the user voice.
[0068] Optionally, in addition to collecting relevant voice information, the image acquisition instruction can also be triggered by recognizing gestures. That is, after the video module establishes a communication link with the control device of the earphone unit, the camera device of the video module is in operation, and the operator makes gestures within the shooting field of view of the camera device. At this time, the camera device transmits the information of the gesture back to the control device, and the control device compares the returned gesture with the pre-stored gesture, and triggers the image acquisition instruction when the comparison shows that the current gesture is a gesture for image acquisition.
[0069] In this embodiment, after the earphone unit completes the connection with the detachable video module, based on the voice information collected by the earphone unit, the gesture information transmitted back by the camera device of the video module and / or the operation information of the operator, the image acquisition instruction is triggered and the shooting instruction is sent to the video module. Based on this, the control of the video module is realized after the detachable video module is connected.
[0070] The present embodiment provides a control method for an earphone unit. After detecting access information of a video module based on a hardware interface, a corresponding driver is loaded through device information of the video module, and a communication link is established with the video module. Then, in response to an image acquisition instruction, a shooting instruction is sent to the video module through the communication link. Based on this, access to a detachable video module and shooting control of the video module are realized. Therefore, when the video module needs to be updated or repaired, it only needs to be disassembled without processing the earphone as a whole, thereby improving the updating and maintenance efficiency of the video module.
[0071] 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 4 After step S30, the control method of the earphone unit further includes steps S40 to S50:
[0072] Step S40, obtaining first image information collected by the video module corresponding to the left earphone unit, and second image information collected by the video module corresponding to the right earphone unit.
[0073] In this embodiment, since the video modules are installed on two wireless headsets respectively, the fields of view of the two video modules will overlap to a certain extent. Therefore, the images captured by the two headsets can be fused to obtain an image that meets the actual needs of the operator.
[0074] Therefore, it is necessary to obtain the first image information collected by the camera module of the left earphone unit through the video module, and to obtain the second image information collected by the right earphone unit, so as to perform fusion processing on the obtained first image information and second image information based on the fusion algorithm of the control device of the earphone unit.
[0075] Step S50, obtaining target image information after fusing the first image information and the second image information.
[0076] In this embodiment, when the first image information and the second image information are fused, the fusion processing method includes simple image merging, image accuracy optimization of the overlapping area, and obtaining image information of the overlapping area, etc. For example, the non-overlapping part of one image is spliced with the other complete image to obtain the target image, the overlapping area of the two images is optimized to obtain an overlapping area with higher definition to improve the current shooting effect, and the non-overlapping parts of the two images are screened out to obtain an image of the overlapping part with higher definition and more details.
[0077] Therefore, before fusing the captured first image information and the second image information, it is necessary to determine the corresponding image fusion rule, which can be selected by the operator or set by default, wherein the default image fusion rule is to simply splice and de-duplicate the first image information and the second image information. Before step S50, it is necessary to determine the image fusion rule corresponding to the image fusion request based on the image acquisition instruction, wherein the image fusion rule includes image splicing processing, improving the image accuracy of the overlapping area and removing the non-overlapping area, and then fusing the first image information and the second image information based on the image fusion rule.
[0078] Specifically, the image acquisition instruction includes rules for processing overlapping areas, including splicing the non-overlapping part photographed by the left earphone unit with the image photographed by the right earphone, improving the image accuracy of the fused part, or removing the non-overlapping part. Therefore, the image fusion rule can be determined based on the processing rules of the overlapping area in the image acquisition instruction. For example, if the image acquisition instruction includes a rule for splicing the non-overlapping part photographed by the left earphone unit with the image photographed by the right earphone, the image fusion rule is determined to be image splicing; if the image acquisition instruction includes a rule for improving the image accuracy of the fused part, the image fusion rule is to improve the image accuracy of the overlapping area; if the image acquisition instruction includes a rule for removing the non-overlapping part, the image fusion rule is to remove the non-overlapping area. Finally, the first image information and the second image information are fused based on the determined image fusion rule.
[0079] The present embodiment provides a control method for an earphone unit. After acquiring image information captured by the left and right earphone units, a fusion rule for two images with overlapping areas is determined based on an image capture instruction, and the first image information and the second image information are fused based on the fusion rule to improve the shooting field of the captured image information, improve the shooting accuracy of the overlapping area, and improve the effect of shooting the overlapping area. Based on this, the shooting effect after the detachable visual module is connected to the earphone unit is improved.
[0080] 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 After step S30, the control method of the earphone unit further includes steps S60 to S70:
[0081] Step S60: If the earphone unit is in the tour guide mode, determine the voice tour guide information based on the target image captured by the video module.
[0082] Step S70: playing the voice guide information based on the earphone unit.
[0083] In addition to capturing images through the video module, the earphone unit can also provide more functions in combination with the video module and the current scene. That is, in this embodiment, the earphone unit includes a tour guide mode, in which real-time tour guide processing can be performed through the target image captured by the video module. For example, when the operator is traveling in a scenic spot, he turns on the tour guide mode of the earphone unit, and then the AI function of the control device of the earphone unit parses the image information captured in real time by the video module, and then generates voice guide information of the current location based on the image information, and finally plays the voice guide information through the earphone unit, wherein the voice guide information includes an introduction to the location shown in the current image, navigation prompts of the current location, and other content.
[0084] In addition, the control device of the earphone unit can also adjust the current playback status of the earphone unit through the gesture information collected by the video module, such as adjusting the playback volume, pausing / starting playback, switching tracks, etc., and can also use AI voice gestures to confirm, cancel and switch.
[0085] Optionally, after the image is captured, the transmission method of the image can also be determined. For example, when the operator needs to extract information from the captured image, such as extracting text, the earphone unit can blur the content other than the text in the image to reduce the transmission quality, and at the same time realize real-time transmission of the image through Bluetooth transmission. If the original image needs to be transmitted, the high-definition image can be transmitted to the control device of the earphone unit through WiFi transmission. It can be understood that in this process, the earphone unit can determine the transmission method that needs to be transmitted based on the category of the image to be transmitted, such as using WiFi transmission for high-definition image transmission and using Bluetooth transmission for compressed images.
[0086] The present embodiment provides a method for controlling an earphone unit, which recognizes captured images in different scenarios and processes the images based on an artificial intelligence module, thereby realizing AI voice interaction of wireless headphones with a detachable video module, and at the same time recognizes the category of the transmitted image, and selects an image transmission method that meets the requirements based on the category, thereby improving the efficiency of image transmission.
[0087] The present application provides an earphone unit, 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 of the earphone unit in the above-mentioned first embodiment.
[0088] The present application provides a control device for an earphone unit, the control device for the earphone unit comprising: 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 device for the earphone unit in the first embodiment described above.
[0089] Reference below Figure 6 , which shows a schematic diagram of the structure of a control device for an earphone unit suitable for implementing an embodiment of the present application. The control device for the earphone unit in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The control device of the earphone unit shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0090] like Figure 6As shown, the control device of the earphone unit 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 earphone unit 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 unit to communicate with other devices wirelessly or wired to exchange data. Although the control device of the headset unit 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.
[0091] 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.
[0092] The control device of the headphone unit provided by the present application adopts the control device of the headphone unit in the above embodiment, which can solve the technical problem that the visual function is integrated into the headphone, resulting in low updating and maintenance efficiency of the visual function module. Compared with the prior art, the beneficial effects of the control device of the headphone unit provided by the present application are the same as the beneficial effects of the control device of the headphone unit provided by the above embodiment, and the other technical features in the control device of the headphone unit are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0093] 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.
[0094] 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.
[0095] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the control device of the earphone unit in the above-mentioned embodiment.
[0096] 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.
[0097] The computer-readable storage medium may be included in the control device of the earphone unit; or may exist independently without being assembled into the control device of the earphone unit.
[0098] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the control device of the earphone unit, the control device of the earphone unit:
[0099] If the video module access is detected based on the hardware interface, the device information of the video module is obtained;
[0100] Loading a driver corresponding to the video module according to the device information, and establishing a communication link with the video module;
[0101] In response to the image acquisition instruction, a shooting instruction is sent to the video module via the communication link.
[0102] 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).
[0103] 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.
[0104] 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.
[0105] 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 control device of the above-mentioned earphone unit, and can solve the technical problem that the visual function is integrated into the earphone, resulting in low efficiency in updating and maintaining the visual function module. 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 control device of the earphone unit provided by the above-mentioned embodiment, and will not be elaborated here.
[0106] 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. An earphone unit, comprising: An earphone housing and a sound-emitting body arranged in the earphone housing, wherein the earphone unit further comprises a first interface arranged on the earphone housing; A control module, disposed in the earphone housing; The video module is provided with a second interface, the first interface and the second interface constitute a detachably connected communication interface, and when the first interface and the second interface are in a connected state, the video module is communicatively connected with the control module through the communication interface.
2. The earphone unit according to claim 1, characterized in that The second interface is provided with a connecting core, and a snap point is provided on the connecting core. The first interface is provided with a connecting groove corresponding to the connecting core one by one. The first interface and the second interface realize a detachable connection based on the connecting groove and the connecting core.
3. The earphone unit according to claim 1, characterized in that The video module also includes a storage module and an image processing unit, and the storage module is used to store the images captured by the video module.
4. The earphone unit according to any one of claims 1 to 3, characterized in that: The video module also includes an anti-reverse connection circuit, which is used to detect whether the positive and negative poles of the second interface are in a normal connection state when the second interface is in a connected state with the first interface.
5. A method for controlling an earphone unit, characterized in that: The earphone unit according to claim 1, wherein the control method of the earphone unit comprises: If access information of the video module is detected based on the hardware interface, device information of the video module is obtained; Loading a driver corresponding to the video module according to the device information, and establishing a communication link with the video module; In response to the image acquisition instruction, a shooting instruction is sent to the video module via the communication link.
6. The method for controlling the earphone unit according to claim 5, characterized in that: Before the step of sending a shooting instruction to the video module through the communication link in response to the image acquisition instruction, the method further includes: Collect user voice based on microphone; The image acquisition instruction is triggered based on the semantic recognition result of the user's voice.
7. The method for controlling the earphone unit according to claim 5, characterized in that: After the step of sending a shooting instruction to the video module through the communication link in response to the image acquisition instruction, the method further includes: Acquire first image information collected by the video module corresponding to the left earphone unit, and second image information collected by the video module corresponding to the right earphone unit; The target image information is obtained after the first image information and the second image information are fused and processed.
8. The method for controlling the earphone unit according to claim 7, characterized in that: Before the step of obtaining the target image information after the fusion processing of the first image information and the second image information, the method further includes: Based on the image acquisition instruction, determine the image fusion rule corresponding to the image fusion request, wherein the image fusion rule at least includes image stitching, improving the image accuracy of overlapping areas, and removing non-overlapping areas; The first image information and the second image information are fused based on the image fusion rule.
9. The method for controlling the earphone unit according to claim 5, characterized in that: After the step of sending a shooting instruction to the video module through the communication link in response to the image acquisition instruction, the method further includes: If the earphone unit is in the tour guide mode, determining the voice tour guide information based on the target image captured by the video module; The voice guide information is played based on the earphone unit.
10. An earphone unit, characterized in that: The earphone unit 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 earphone control method according to any one of claims 5 to 9.
11. A control device for an earphone unit, characterized in that: The control device of the earphone unit 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 earphone control method according to any one of claims 5 to 9.
12. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for controlling the earphone unit according to any one of claims 5 to 9 are implemented.
Citation Information
Cited By
Interaction method and device based on earphone camera, earphone and storage medium
CN122331858A