The content of the invention
To solve the above-mentioned problems, can be to the ear room of user the present invention provides a kind of dual mode headset control platform
Detected in real time, and in ear during pressure anomaly, using built-in left ear air pressure release device or auris dextra air pressure release device
Carry out pressure in corresponding ear to liquidate, so as to be effectively protected the hearing of user.
According to an aspect of the present invention, there is provided a kind of dual mode headset control platform, the platform include;
IMX6 process chips, are arranged on the control line of earphone, for controlling earphone to ease up die pressing type two in play mode
Switched between kind pattern;
Left ear condition detecting system, is arranged on the left receiver of earphone, for the user corresponding to the left receiver to earphone
Left ear carry out state-detection;
Auris dextra condition detecting system, is arranged on the right receiver of earphone, for the user corresponding to the right receiver to earphone
Auris dextra carry out state-detection, the structure of the auris dextra condition detecting system and the structure phase of the left ear condition detecting system
Together;
Wherein, in play mode, control earphone plays music to the IMX6 process chips, and the IMX6 process chips exist
Under slow die pressing type, control earphone stops playing music.
Inventive point at the application at least following three:
(1) scene of image complexity is determined by R passages gradient, G passages gradient and the channel B gradient of each pixel
Degree, improves the measurement accuracy of scene complexity, meanwhile, build the enhanced scheme selection machine based on scene complexity size
System, so as to avoid the waste of resource while improving and strengthening quality;
(2) precision of user's ear-drum state-detection is improved by the image-enhancing equipment of customization, is the scheme control of earphone
There is provided more has the data of reference value;
(3) when user's ear-drum is heaved and transfinited, the air pressure in ear-drum is carried out using corresponding air pressure release device
Liquidate, solve user's ear-drum stress problems in time.
Embodiment
The embodiment of the dual mode headset control platform of the present invention is described in detail below with reference to accompanying drawings.
Currently, the operational mode of earphone is single, and internal structure design is also concentrated on the broadcast performance of earphone in itself, is not examined
Consider the physical condition of user itself.In order to overcome above-mentioned deficiency, the present invention has built a kind of dual mode headset control platform, tool
Body embodiment is as follows.
Fig. 1 is that the interface of the IMX6 process chips of the dual mode headset control platform according to embodiment of the present invention shows
It is intended to.The IMX6 process chips are used as the processor in figure to use.
Fig. 2 is the block diagram of dual mode headset control platform according to embodiment of the present invention, the platform
Including:
IMX6 process chips, are arranged on the control line of earphone, for controlling earphone to ease up die pressing type two in play mode
Switched between kind pattern;
Left ear condition detecting system, is arranged on the left receiver of earphone, for the user corresponding to the left receiver to earphone
Left ear carry out state-detection;
Auris dextra condition detecting system, is arranged on the right receiver of earphone, for the user corresponding to the right receiver to earphone
Auris dextra carry out state-detection, the structure of the auris dextra condition detecting system and the structure phase of the left ear condition detecting system
Together;
Wherein, in play mode, control earphone plays music to the IMX6 process chips, and the IMX6 process chips exist
Under slow die pressing type, control earphone stops playing music.
Then, continue that the concrete structure of the dual mode headset control platform of the present invention is further detailed.
It can also include in the dual mode headset control platform:
Left ear air pressure release device, is arranged on the left receiver of earphone, near left ear condition detecting system, for opening
Release is used for the gas for the left ear ear-drum bulging for alleviating user under dynamic state.
It can also include in the dual mode headset control platform:
Auris dextra air pressure release device, is arranged on the right receiver of earphone, near auris dextra condition detecting system, for opening
Release is used for the gas for the auris dextra ear-drum bulging for alleviating user under dynamic state.
In the dual mode headset control platform:
The left ear condition detecting system includes:
Left ear image sensing apparatus, for carrying out image taking to left ear internal environment, to obtain and export inside left ear
Image;
Complexity evaluations equipment, is connected with the left ear image sensing apparatus, with for receiving left ear internal image, obtaining
R passages pixel value, G passages pixel value and the channel B pixel value of each pixel, determine each in the left ear internal image
G passage picture of the gradient of all directions of the R passage pixel values of pixel as R passage gradients, to determine each pixel
The gradient of all directions of element value is as G passage gradients, to determine all directions of the channel B pixel value of each pixel
Gradient is using as channel B gradient, R passages gradient, G passages gradient and channel B gradient based on each pixel determine the left side
The corresponding scene complexity of ear internal image;
TF storage devices, are connected with handover operation equipment, for prestoring default complexity threshold;
Handover operation equipment, is connected with the complexity evaluations equipment, for the scene complexity received be more than etc.
When default complexity threshold, complicated enhancing equipment is selected to perform enhancing operation to the left ear internal image defeated to obtain enhancing
Go out image, and for when the scene complexity received is less than default complexity threshold, selecting simple enhancing equipment to institute
State left ear internal image and perform enhancing operation to obtain enhancing output image;
Complexity enhancing equipment, be connected respectively with the handover operation equipment and the complexity evaluations equipment, for based on
The scene complexity determines to carry out the left ear internal image images fragment quantity of average segmentation, the scene complexity
Higher, it is more to carry out the images fragment quantity of average segmentation to the left ear internal image, and each images fragment is performed respectively
Enhancing processing operation based on images fragment contrast is to obtain each enhancing fragment, and images fragment contrast is smaller, to image
The enhancing processing manipulation strength that fragment performs is bigger, and each enhancing fragment is performed the concatenation of stitching portion smoothing processing to obtain
Output image must be strengthened;
Simple enhancing equipment, is connected with the handover operation equipment and the complexity evaluations equipment, for institute respectively
State left ear internal image full image and perform enhancing operation to obtain enhancing output image;
Ear-drum identification equipment, is connected with the complicated enhancing equipment and the simple enhancing equipment, for receiving respectively
Enhancing output image is stated, the matching operation based on default ear-drum reference pattern is performed to the enhancing output image, to obtain
State the ear-drum target in enhancing output image and the corresponding ear-drum of the ear-drum target heaves state to be roused as left ear ear-drum
Play state output;
Wherein, the IMX6 process chips respectively with the left ear condition detecting system and the auris dextra condition detecting system
Connection, left ear ear-drum heaves state and auris dextra ear-drum heaves state for receiving, and heaves state or auris dextra ear in left ear ear-drum
Film heave state beyond it is default heave grade when, start the left ear air pressure release device or the auris dextra air pressure release device,
Earphone is controlled to be switched to slow die pressing type from play mode at the same time.
In the dual mode headset control platform:
The IMX6 process chips are additionally operable to heave state in left ear ear-drum and auris dextra ear-drum heaves state all without departing from pre-
If heave grade, the left ear air pressure release device or the auris dextra air pressure release device are closed, while control earphone to postpone
Die pressing type is switched to play mode.
It can also include in the dual mode headset control platform:
Static storage device, is connected with the IMX6 process chips, heaves grade for storing described preset.
Furthermore it is also possible to the IMX6 process chips are replaced using DSP process chips.The inside of dsp chip uses journey
Sequence and the separated Harvard structure of data, have special hardware multiplier, widely used pile line operation, there is provided special DSP
Instruction, can be used for quickly realizing various digital signal processing algorithms.
According to the requirement of Digital Signal Processing, dsp chip generally has some following main features:(1) in a finger
A multiplication and a sub-addition can be completed by making in the cycle.(2) program and data space is separated, can at the same time access instruction sum number
According to.(3) there is quick RAM in piece, can be usually accessed at the same time in two pieces by independent data/address bus.(4) there is low overhead
Or without overhead loop and the hardware supported redirected.(5) quickly interrupt processing and Hardware I/O are supported.(6) have within the monocycle
Multiple hardware address generators of operation.(7) multiple operations can be performed parallel.(8) support pile line operation, make fetching, translate
The operation such as code and execution can be with Overlapped Execution.
Dual mode headset control platform using the present invention, for the technology that Headphone structure in the prior art and pattern are coarse
Problem, by transforming Headphone structure and pattern, introduces multiple parameters detection device, the pressure in earphone is effectively extracted,
So that earphone flexibly switches between play mode eases up die pressing type, more it is essential that also introducing left ear air pressure release device
Or auris dextra air pressure release device, for when ear pressure transfinites, can to liquidate user's ear pressure in time.
It is understood that although the present invention is disclosed as above with preferred embodiment, but above-described embodiment and it is not used to
Limit the present invention.For any those skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications are all made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of change.Therefore, every content without departing from technical solution of the present invention, the technical spirit pair according to the present invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.