Disclosure of Invention
The invention mainly aims to provide a voice acquisition device, a tail gate control device and a tail gate control method, aiming at enabling acquired voice signals to be more accurate by respectively arranging microphones on the inner side and the outer side of a tail gate.
In order to achieve the above object, the present invention provides a voice collecting device, including:
the first microphone is arranged on one side, facing the trunk, of the tail gate;
the second microphone is arranged on one side, away from the trunk, of the tail gate;
and the control module is used for controlling the first microphone to receive the voice signal when the tail gate is in an open state and controlling the second microphone to receive the voice signal when the tail gate is in a closed state.
Optionally, the control module includes a switch element, the voice acquisition device further includes a power supply connected to the switch element, and the first microphone and the second microphone are respectively connected to the power supply; the switch element is used for conducting a path between the power supply and the first microphone when the tail gate is in an open state so that the first microphone receives a voice signal, and the switch element is used for conducting a path between the power supply and the second microphone when the tail gate is in a closed state so that the second microphone receives a voice signal.
Optionally, the switching element includes a housing, a common electrode, a first fixed electrode, a second fixed electrode, and a moving member, and the common electrode, the first fixed electrode, the second fixed electrode, and the moving member are all located in the housing; the movable piece is fixedly connected with the common electrode, the movable piece is movably connected with the shell to drive the common electrode to move between a first position and a second position, the common electrode is abutted with the first fixed electrode when the common electrode is located at the first position, and the common electrode is abutted with the second fixed electrode when the common electrode is located at the second position; the first microphone is connected with the first fixed electrode, and the second microphone is connected with the second fixed electrode; the power supply comprises a first electrode and a second electrode, the first electrode is connected with the common electrode, and the second electrode is connected with the first microphone and the second microphone.
Optionally, the switch element further comprises an elastic element, and the movable element is connected with the housing through the elastic element; when the elastic member is in a free state, the common electrode is located at the first position, and when the elastic member is in a compressed state, the common electrode is located at the second position.
Optionally, the common electrode is sleeved on the moving member, the first fixed electrode and the second fixed electrode are annular electrodes, the common electrode is located between the first fixed electrode and the second fixed electrode, and the elastic member penetrates through a hollow area of the second fixed electrode and is connected with the housing.
In addition, in order to achieve the above object, the present invention further provides a tailgate control device, which includes the voice collecting device as described in any one of the above and a controller, wherein the controller is configured to control a tailgate of a vehicle according to a voice signal collected by the voice collecting device.
Further, to achieve the above object, the present invention also provides a tailgate control method applied to a vehicle including the tailgate control apparatus described above, the tailgate control method including:
receiving a voice signal collected by a first microphone or a second microphone;
and controlling a tail gate of the vehicle according to the voice signal.
Optionally, after the step of controlling the tail gate according to the voice signal, the method further includes:
detecting whether an obstacle exists on a motion path of the tail gate in the motion process of the tail gate;
and when an obstacle exists on the motion path, controlling the tail gate to move to an initial position of the motion process of the tail gate.
Optionally, the tailgate control method further includes:
after the vehicle stops running, detecting whether a preset mobile terminal device exists in a preset range of the vehicle;
and executing the step of receiving the voice signal when the preset mobile terminal equipment exists.
In addition, to achieve the above object, the present invention provides a tailgate control apparatus, comprising: a memory, a processor, and a tailgate control program stored on the memory and executable on the processor, the tailgate control program when executed by the processor implementing the steps of the tailgate control method as in any of the above.
The embodiment of the invention provides a voice acquisition device, a tail gate control device and a tail gate control method, wherein the voice acquisition device comprises: the first microphone is arranged on one side, facing the trunk, of the tail gate; the second microphone is arranged on one side, away from the trunk, of the tail gate; and the control module is used for controlling the first microphone to receive the voice signal when the tail gate is in an open state and controlling the second microphone to receive the voice signal when the tail gate is in a closed state. The microphones are respectively arranged on the inner side and the outer side of the tail gate, the voice signals are collected through the inner microphone when the tail gate is opened, and the voice signals are collected through the outer microphone when the tail gate is closed, so that the microphone for collecting the voice of the user always faces to the position of the user, and the collected voice signals are more accurate.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a voice collecting apparatus 10, where the voice collecting apparatus 10 includes a first microphone 100, a second microphone 200, and a control module 300. The first microphone 100 is disposed at a side of the tailgate of the vehicle facing the trunk room of the vehicle, that is, the first microphone 100 is disposed inside the tailgate, and when the tailgate is closed, the first microphone 100 faces the inside of the vehicle and mainly collects voice of the inside of the vehicle. The second microphone 200 is disposed on a side of the tailgate of the vehicle, which faces away from the trunk of the vehicle, that is, the second microphone 200 is disposed outside the tailgate and located near the outer surface of the vehicle, and when the tailgate is closed, the second microphone 200 faces the outside of the vehicle and mainly collects the voice outside the vehicle. The first microphone 100 is connected with the control module 300, the second microphone 200 is connected with the control module 300, the control module 300 is configured to control the first microphone 100 to receive a voice signal when the tailgate is in an open state, and control the second microphone 200 to receive a voice signal when the tailgate is in a closed state, for example, when the tailgate is an up-lift electric tailgate, if the tailgate is in a closed state, the tailgate is placed in a vertical direction, the second microphone 200 faces to the front of the vehicle and collects a voice signal behind the vehicle, and when a user is behind the vehicle and wants to open a trunk, the user sends a voice signal, at this time, the control module 300 may control the second microphone 200 to collect a voice signal, and the collected voice signal is more accurate because the second microphone 200 faces to the front of the vehicle; for another example, when the tailgate is an up-lift electric tailgate, if the tailgate is in an open state, the tailgate is placed horizontally, the second microphone 200 faces directly above the tailgate, the first microphone 100 faces directly below the tailgate, and the first microphone 100 also faces a certain area directly behind the vehicle, and when the user is behind the vehicle and wants to open the trunk, the user is usually in the area, and at this time, the control module 300 may control the first microphone 100 to collect the voice signal, and the collected voice signal is more accurate because the first microphone 100 faces the area.
In the technical scheme disclosed in the embodiment, the microphones are respectively arranged on the inner side and the outer side of the tail gate, voice signals are collected through the inner side microphone when the tail gate is opened, and the voice signals are collected through the outer side microphone when the tail gate is closed.
Alternatively, the control module 300 may detect a state of the tailgate, detect whether the tailgate is currently in an open state or a closed state, and control the first microphone 100 or the second microphone 200 to receive the voice signal according to the state of the tailgate, for example, the control module 300 may control power supply of the first microphone 100 and the second microphone 200, and when the tailgate is open, power supply of the first microphone 100 is performed so that the first microphone 100 receives the voice signal and power supply of the second microphone 200 is not performed so that the second microphone 200 does not receive the voice signal, and when the tailgate is closed, power supply of the second microphone 200 is performed and power supply of the first microphone 100 is not performed; for another example, the control module 300 may control a communication bus of the first microphone 100 and a controller of the vehicle and a communication bus of the second microphone 200 and the controller of the vehicle, connect the first microphone 100 and the controller of the vehicle when the tailgate is opened, and disconnect the communication bus of the second microphone 200 and the controller of the vehicle.
Alternatively, when the control module 300 controls the first microphone 100 and the second microphone 200 to receive the voice signal by supplying and stopping power, the control module 300 includes a switch element 310, the voice collecting apparatus further includes a power supply (not shown) connected to the switch element 310, and the first microphone 100 and the second microphone 200 are respectively connected to the power supply. Specifically, the power supply includes an anode and a cathode, the first microphone 100 is connected to any one of the anode and the cathode, the switch element 310 is connected to the other of the anode and the cathode, and the second microphone 200 is connected in a similar manner, so that when the tailgate is in an open state, the connection between the switch element 310 and the first microphone 100 is used to connect a path between the power supply and the first microphone 100, the power supply supplies power to the first microphone 100, the first microphone 100 can receive a voice signal, and the connection between the switch element 310 and the second microphone 200 is avoided to disconnect the path between the power supply and the second microphone 200; when the tail gate is in the closed state, the connection between the switch element 310 and the second microphone 200 is used to open the path between the power supply and the second microphone 200, the power supply supplies power to the second microphone 200, the second microphone 200 can receive the voice signal, and the connection between the switch element 310 and the first microphone 100 is avoided, so as to open the path between the power supply and the first microphone 100, thereby controlling the first microphone 100 or the second microphone 200 to receive the voice signal.
Alternatively, the state of the tailgate may be actively detected by a sensor while the switching element 310 is controlling the path between the power source and the first microphone 100, and the path between the power source and the second microphone 200. Of course, the switching element 310 may be driven by the closing and opening of the tailgate to perform the control of the path between the power supply and the first microphone 100 and the control of the path between the power supply and the second microphone 200. Specifically, as shown in fig. 2, fig. 2 is a schematic structural diagram of the switching element 310, the switching element 310 includes a housing 311, a common electrode 312, a first fixed electrode 313, a second fixed electrode 314, and a movable element 315, the common electrode 312, the first fixed electrode 313, the second fixed electrode 314, and the movable element 315 are all located in the housing 311, and the housing 311 protects the switching element 310 from being damaged. The movable member 315 is fixedly connected to the common electrode 312, the movable member 315 is movably connected to the housing 311, the movement of the movable member 315 drives the common electrode 312 to move between a first position and a second position, when the common electrode 312 is located at the first position, the common electrode 312 is abutted to the first fixed electrode 313, and when the common electrode 312 is located at the second position, the common electrode 312 is abutted to the second fixed electrode 314. The first microphone 100 is connected with the first fixed electrode 313, the second microphone 200 is connected with the second fixed electrode 314, the power supply comprises a first electrode and a second electrode, the first electrode is connected with the common electrode 312, and the second electrode is connected with both the first fixed electrode 313 and the second fixed electrode 314, so that when the common electrode 312 is located at the first position, a path between the power supply and the first microphone 100 is conducted, the path is from the first electrode to the common electrode 312, then to the first fixed electrode 313, then to the first microphone 100, then back to the second electrode, and the path between the power supply and the second microphone 200 is disconnected; when the common electrode 312 is in the second position, the path between the power source and the second microphone 200 is turned on, the path is from the first electrode to the common electrode 312, to the second fixed electrode 314, to the second microphone 200, and back to the second electrode, and the path between the power source and the first microphone 100 is turned off.
It should be noted that during the movement of the movable member 315, the movable member 315 may protrude from the end surface of the housing 311. Alternatively, the switch element 310 may be disposed on the tail gate, specifically at the joint of the tail gate and the car body when the tail gate is closed, for example, the switch element 310 is disposed at the joint of the sealing strip close to the lock of the tail gate, and the housing 311 is embedded in the tail gate, the movable element 315 protrudes from the end surface of the housing 311 and is flush with the joint surface of the tail gate and the car body when the tail gate is closed, the switch element 310 further includes an elastic element 316, the movable element 315 is connected to the other end surface of the housing 311 through the elastic element 316, the end surface is opposite to the end surface of the housing 311 protruding from the movable element 315, so that when the tail gate is closed, the tail gate is jointed with the car body, so that the movable element 315 protruding from the housing 311 is pressed down, and the elastic element 316 is compressed to drive the common electrode 312 to move to the second position, and when the tail gate is opened, the tail gate is not jointed with the car body, and the elastic element 316 in the compressed state is restored to the free state, the movable member 315 is driven to protrude out of the end surface of the housing 311 again, and the common electrode 312 is driven to move to the first position. Of course, the switch element 310 may also be disposed on the vehicle body at a position where the vehicle body is attached to the tailgate when the tailgate is closed, and the housing 311 is embedded in the vehicle body, and the end surface of the movable member 315 protruding from the housing 311 is flush with the attachment surface of the vehicle body and the tailgate when the tailgate is closed.
Alternatively, in order to save the volume of the switching element 310 and reduce the occupied space, the first fixed electrode 313 and the second fixed electrode 314 may be shaped as ring-shaped electrodes as shown in fig. 2, and the common electrode 312 is located between the first fixed electrode 313 and the second fixed electrode 314, the first position is a position when the common electrode 312 abuts against the first fixed electrode 313, and the second position is a position when the common electrode 312 abuts against the second fixed electrode 314. The common electrode 312 is sleeved on the movable member 315, the elastic member 316 is directly connected to the movable member 315, or the elastic member 316 is indirectly connected to the movable member 315 through the common electrode 312, because the first fixed electrode 313 and the second fixed electrode 314 are ring-shaped electrodes, the movable member 315 can pass through the hollow area of the first fixed electrode 313 and protrude out of the end surface of the housing 311, and the elastic member 316 can pass through the hollow area of the second fixed electrode 314 and be connected to the housing 311, so that the occupied space of the switching element 310 can be reduced as much as possible without affecting the movement of the movable member.
In addition, an embodiment of the present invention further provides a tailgate control device, where the tailgate control device includes any one of the foregoing voice collecting devices and a controller, the controller is configured to control a tailgate of a vehicle according to a voice signal collected by the voice collecting device, and a user may control opening and closing of the tailgate by sending out the voice signal.
As shown in fig. 3, in the schematic connection relationship of the tailgate control apparatus of fig. 3, the first microphone 100 inside the tailgate and the second microphone 200 outside the tailgate are respectively connected to the positive electrode of the power supply, the negative electrode of the power supply is connected to the common electrode 312, the common electrode 312 abuts against the first fixed electrode 313, the power supply supplies power to the first microphone 100, the first microphone 100 transmits the collected voice signal to the controller through the communication bus, the common electrode 312 abuts against the second fixed electrode 314, the power supply supplies power to the second microphone 200, and the second microphone 200 transmits the collected voice signal to the controller through the communication bus.
As shown in fig. 4, fig. 4 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention is a tail gate control device.
As shown in fig. 4, the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, and a memory 1003. Wherein a communication bus 1002 is used to enable connective communication between these components. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 4, a tailgate control program may be included in the memory 1003 as a kind of computer storage medium.
In the terminal shown in fig. 4, the processor 1001 may be configured to call the tail gate control program stored in the memory 1003, and perform the following operations:
receiving a voice signal collected by a first microphone or a second microphone;
and controlling a tail gate of the vehicle according to the voice signal.
Further, the processor 1001 may call the tail gate control program stored in the memory 1003, and also perform the following operations:
detecting whether an obstacle exists on a motion path of the tail gate in the motion process of the tail gate;
and when an obstacle exists on the motion path, controlling the tail gate to move to an initial position of the motion process of the tail gate.
Further, the processor 1001 may call the tail gate control program stored in the memory 1003, and also perform the following operations:
after the vehicle stops running, detecting whether a preset mobile terminal device exists in a preset range of the vehicle;
and executing the step of receiving the voice signal when the preset mobile terminal equipment exists.
Referring to fig. 5, in an embodiment, a tailgate control method is applied to a vehicle including the tailgate control apparatus described above, the tailgate control method including the steps of:
step S10, receiving a voice signal collected by the first microphone or the second microphone;
in this embodiment, in the vehicle including the tailgate control apparatus as described above, when a user wants to tailgate, the user is usually located at the rear side of the vehicle body, when the tailgate of the vehicle is in an open state, the first microphone faces the area where the user is located, and thus can receive the voice signal collected by the first microphone, and when the vehicle is in a closed state, the second microphone faces the area where the user is located, and thus can receive the voice signal collected by the second microphone. Therefore, no matter the tail gate is in an opening state or a closing state, the microphone for collecting the voice signals faces to the position of the user all the time, the microphone can collect the voice signals of the area where the user is located, and the collected voice signals are more accurate.
And step S20, controlling a tail gate of the vehicle according to the voice signal.
In this embodiment, after receiving the voice signal, the signal feature of the voice signal is recognized, and if the signal feature is the same as the preset signal feature, it is determined that a control command corresponding to the preset signal feature occurs, so that the tailgate of the vehicle can be controlled according to the control command, where the control command includes an opening command or a closing command. After the control command is recognized, the control command is sent to a driving device connected with a tail gate of the vehicle, the tail gate of the vehicle is controlled through the driving device, or the driving device is directly controlled according to the recognized control command, so that the tail gate of the vehicle is controlled to be opened or closed.
Optionally, after the tailgate is controlled according to the voice signal, in the movement process of the tailgate, whether an obstacle exists on the movement path of the tailgate may be detected, and if an obstacle exists on the movement path, it is indicated that closing or opening the tailgate may clamp or block the obstacle, and closing or opening the tailgate may hinder a user's action of taking and putting luggage in the trunk or clamp a user's hand. Wherein the step of detecting whether an obstacle exists on the moving path of the tailgate may be implemented by an infrared device disposed near the tailgate.
Optionally, the state of the vehicle is detected in real time, and when the vehicle is in a driving state, the user may not need to open the tail gate at this time, so that the voice signal sent by the voice acquisition device may not be received. After the vehicle is detected to stop running, whether a preset mobile terminal device exists in a preset range where the vehicle is located is detected, if the preset mobile terminal device exists, the fact that the user is located near the vehicle is indicated, the user possibly needs to open the tail gate, therefore, the step of receiving the voice signal can be executed, if the preset mobile terminal device does not exist, the fact that the user is not located near the vehicle is indicated, the user possibly needs to open the tail gate, therefore, the voice signal sent by the voice collecting device can not be received, false opening of the tail gate of the vehicle is avoided, and safety of articles in a trunk of the vehicle is guaranteed. The method includes the steps that whether a preset mobile terminal device exists in a preset range where a vehicle is located or not can be detected through a Bluetooth function, for example, when the preset mobile terminal device is a vehicle key of a user, if the vehicle key is located in the preset range where the vehicle is located, Bluetooth of the vehicle key is paired with Bluetooth of the vehicle, and if the Bluetooth of the vehicle is successfully paired with the Bluetooth of the vehicle key, it is indicated that the preset mobile terminal device exists in the preset range where the vehicle is located. Certainly, when the bluetooth of the vehicle is successfully paired with the bluetooth of the vehicle key, the distance between the vehicle key and the vehicle can be calculated according to the intensity of the bluetooth signal, and if the distance is smaller than the distance corresponding to the preset range, it is indicated that the preset mobile terminal device exists in the preset range where the vehicle is located.
In this embodiment, gather voice signal through voice acquisition device to according to voice signal control vehicle tail-gate, realized that user's speech control vehicle tail-gate opens and the purpose of closing, the control of vehicle tail-gate is more convenient.
In addition, an embodiment of the present invention further provides a tailgate control device, where the tailgate control device includes: the system comprises a memory, a processor and a tail gate control program stored on the memory and capable of running on the processor, wherein the tail gate control program realizes the steps of the tail gate control method according to the above embodiments when being executed by the processor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.