A kind of platform for protecting children's ear-drum
Technical field
The present invention relates to children's ear-drum protection field more particularly to a kind of platforms for protecting children's ear-drum.
Background technique
Earphone (Earphones;Headphones;Head-sets;Earpieces it is) a pair of of converting unit, receives media
The electric signal that player or receiver are issued converts it into the sound wave that can be heard using the loudspeaker close to ear.
Earphone is usually separable with media player, and a plug is utilized to connect.Benefit is not influence other people
In the case of, sound equipment can be listened to alone;Also the sound that ambient enviroment can be separated, to recording studio, DJ, journey, movement etc. make an uproar it is noisy
The people used under environment is helpful.Earphone original is used on phone and radio, but with portable electronic devices
Prevailing, earphone is chiefly used in mobile phone, walkman, radio, portable electronic game sum digit reproducing apparatus for phonotape etc..
Currently, held in user's ear room in the use process of earphone due to the dynamic nature of music and the motility of user
It is also easy to produce ear and presses through big or ear and press through small situation and occur, both of these case is all unfavorable for users.
Children for learning, amusement etc. at present is widely used earphone, but since children's torso is in the body development stage,
It is easy to damage ear-drum using earphone for a long time.In the purpose for showing loving care for children, a kind of protection children's ear is needed at present
The technology of film.
Summary of the invention
It to solve the above-mentioned problems, being capable of ear room to user the present invention provides a kind of platform for protecting children's ear-drum
It is measured in real time, and in ear when pressure anomaly, using built-in left ear air pressure release device or auris dextra air pressure release device
It carries out pressure in corresponding ear to liquidate, to be effectively protected the hearing of user.
According to an aspect of the present invention, a kind of platform for protecting children's ear-drum is provided, the dual mode headset control is flat
Platform includes:
IMX6 handles chip, is arranged on the control line of earphone, eases up die pressing type two for controlling earphone in play mode
It is switched between kind mode;
Left ear condition detecting system, is arranged on the left earpiece of earphone, for user corresponding to the left earpiece to earphone
Left ear carry out state-detection;
Auris dextra condition detecting system is arranged on the right earpiece of earphone, for user corresponding to the right earpiece to earphone
Auris dextra carry out state-detection, the structure phase of the structure of the auris dextra condition detecting system and the left ear condition detecting system
Together;
Wherein, in play mode, control earphone plays music to the IMX6 processing chip, and the IMX6 processing chip exists
Under slow die pressing type, control earphone stops playing music.
Preferably, the platform further include: left ear air pressure release device is arranged on the left earpiece of earphone, left ear shaped state
Near detection system, for discharging the gas of the left ear ear-drum bulging for alleviating user in the start-up conditions.
Preferably, the platform further include: auris dextra air pressure release device is arranged on the right earpiece of earphone, auris dextra state
Near detection system, for discharging the gas of the auris dextra ear-drum bulging for alleviating user in the start-up conditions.
Preferably, 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 connect with the left ear image sensing apparatus, with for receiving left ear internal image, is obtained
The channel R pixel value, the channel G pixel value and the channel B pixel value of each pixel, determine each in the left ear internal image
The gradient of all directions of the channel the R pixel value of pixel is to determine the channel the G picture of each pixel as the channel R gradient
The gradient of all directions of element value is to determine all directions of the channel B pixel value of each pixel as the channel G gradient
Gradient is to determine the left side based on the channel R gradient, the channel G gradient and the channel B gradient of each pixel as channel B gradient
The corresponding scene complexity of ear internal image;
TF stores equipment, connect with handover operation equipment, for default complexity threshold to be stored in advance;
Handover operation equipment is connect with the complexity evaluations equipment, for the scene complexity received be greater than etc.
When default complexity threshold, complicated enhancing equipment is selected to execute enhancing operation to the left ear internal image defeated to obtain enhancing
Image out, and for when the scene complexity received is less than default complexity threshold, selecting simple enhancing equipment to institute
It states left ear internal image and executes enhancing operation to obtain enhancing output image;
Complexity enhancing equipment, connect, for being based on respectively with the handover operation equipment and the complexity evaluations equipment
The scene complexity determines the images fragment quantity that average segmentation is carried out to the left ear internal image, the scene complexity
Higher, the images fragment quantity for carrying out average segmentation to the left ear internal image is more, executes respectively to each images fragment
Based on the enhancing processing operation of images fragment contrast to obtain each enhancing fragment, images fragment contrast is smaller, to image
The enhancing processing operation intensity that fragment executes is bigger, and each enhancing fragment is executed the concatenation of stitching portion smoothing processing to obtain
Output image must be enhanced;
Simple enhancing equipment, connect, for institute respectively with the handover operation equipment and the complexity evaluations equipment
It states left ear internal image full image and executes enhancing operation to obtain enhancing output image;
Ear-drum identifies equipment, connect respectively with the complicated enhancing equipment and the simple enhancing equipment, for receiving
Enhancing output image is stated, the matching operation based on default ear-drum reference pattern is executed to enhancing output image, to obtain
The ear-drum target and the corresponding ear-drum of the ear-drum target stated in enhancing output image heave state to rouse as left ear ear-drum
Play state output;
Wherein, IMX6 processing chip 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,
Controlling earphone is switched to slow die pressing type from play mode simultaneously.
Preferably, the IMX6 processing chip is also used to heave state in left ear ear-drum and auris dextra ear-drum heaves state all not
Beyond it is default heave grade when, close the left ear air pressure release device or the auris dextra air pressure release device, while controlling ear
Machine die pressing type of postponing is switched to play mode.
Preferably, the platform further include: static storage device is connect, for storing with IMX6 processing chip
It states to preset and heaves grade.
Inventive point at the application at least following three:
(1) determine that the scene of image is complicated by the channel R gradient, the channel G 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, to avoid the waste of resource while improving enhances quality;
(2) precision that user's ear-drum state-detection is improved by the image-enhancing equipment of customization is the scheme control of earphone
The data for more having reference value are provided;
(3) when user's ear-drum, which is heaved, to transfinite, the air pressure in ear-drum is carried out using corresponding air pressure release device
It liquidates, solves user's ear-drum stress problems in time.
Detailed description of the invention
Embodiment of the present invention is described below with reference to attached drawing, in which:
Fig. 1 is that the interface for handling chip according to the IMX6 of the dual mode headset control platform shown in embodiment of the present invention shows
It is intended to.
Fig. 2 is the structural block diagram according to the dual mode headset control platform shown in embodiment of the present invention.
Specific embodiment
The embodiment of the platform of protection children's ear-drum of the invention is described in detail below with reference to accompanying drawings.
Currently, the operational mode of earphone is single, and internal structure design also concentrates on the broadcast performance of earphone itself, does not examine
Consider the physical condition of user itself.In order to overcome above-mentioned deficiency, the present invention has built a kind of platform for protecting children's ear-drum, root
Ease up according to user's ear-drum state control earphone in play mode and switches between die pressing type both of which.The dual mode headset
The specific embodiment of control platform is as follows.
Fig. 1 is that the interface for handling chip according to the IMX6 of the dual mode headset control platform shown in embodiment of the present invention shows
It is intended to.IMX6 processing chip be used as the processor in figure come using.
Fig. 2 is the structural block diagram according to the dual mode headset control platform shown in embodiment of the present invention, the platform
Include:
IMX6 handles chip, is arranged on the control line of earphone, eases up die pressing type two for controlling earphone in play mode
It is switched between kind mode;
Left ear condition detecting system, is arranged on the left earpiece of earphone, for user corresponding to the left earpiece to earphone
Left ear carry out state-detection;
Auris dextra condition detecting system is arranged on the right earpiece of earphone, for user corresponding to the right earpiece to earphone
Auris dextra carry out state-detection, the structure phase of the structure of the auris dextra condition detecting system and the left ear condition detecting system
Together;
Wherein, in play mode, control earphone plays music to the IMX6 processing chip, and the IMX6 processing chip exists
Under slow die pressing type, control earphone stops playing music.
Then, continue that the specific structure of dual mode headset control platform of the invention is further detailed.
Can also include: in the dual mode headset control platform
Left ear air pressure release device is arranged on the left earpiece of earphone, near left ear condition detecting system, for opening
The gas that release is bloated for alleviating the left ear ear-drum of user under dynamic state.
Can also include: in the dual mode headset control platform
Auris dextra air pressure release device is arranged on the right earpiece of earphone, near auris dextra condition detecting system, for opening
The gas that release is bloated for alleviating the auris dextra ear-drum of 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 connect with the left ear image sensing apparatus, with for receiving left ear internal image, is obtained
The channel R pixel value, the channel G pixel value and the channel B pixel value of each pixel, determine each in the left ear internal image
The gradient of all directions of the channel the R pixel value of pixel is to determine the channel the G picture of each pixel as the channel R gradient
The gradient of all directions of element value is to determine all directions of the channel B pixel value of each pixel as the channel G gradient
Gradient is to determine the left side based on the channel R gradient, the channel G gradient and the channel B gradient of each pixel as channel B gradient
The corresponding scene complexity of ear internal image;
TF stores equipment, connect with handover operation equipment, for default complexity threshold to be stored in advance;
Handover operation equipment is connect with the complexity evaluations equipment, for the scene complexity received be greater than etc.
When default complexity threshold, complicated enhancing equipment is selected to execute enhancing operation to the left ear internal image defeated to obtain enhancing
Image out, and for when the scene complexity received is less than default complexity threshold, selecting simple enhancing equipment to institute
It states left ear internal image and executes enhancing operation to obtain enhancing output image;
Complexity enhancing equipment, connect, for being based on respectively with the handover operation equipment and the complexity evaluations equipment
The scene complexity determines the images fragment quantity that average segmentation is carried out to the left ear internal image, the scene complexity
Higher, the images fragment quantity for carrying out average segmentation to the left ear internal image is more, executes respectively to each images fragment
Based on the enhancing processing operation of images fragment contrast to obtain each enhancing fragment, images fragment contrast is smaller, to image
The enhancing processing operation intensity that fragment executes is bigger, and each enhancing fragment is executed the concatenation of stitching portion smoothing processing to obtain
Output image must be enhanced;
Simple enhancing equipment, connect, for institute respectively with the handover operation equipment and the complexity evaluations equipment
It states left ear internal image full image and executes enhancing operation to obtain enhancing output image;
Ear-drum identifies equipment, connect respectively with the complicated enhancing equipment and the simple enhancing equipment, for receiving
Enhancing output image is stated, the matching operation based on default ear-drum reference pattern is executed to enhancing output image, to obtain
The ear-drum target and the corresponding ear-drum of the ear-drum target stated in enhancing output image heave state to rouse as left ear ear-drum
Play state output;
Wherein, IMX6 processing chip 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,
Controlling earphone is switched to slow die pressing type from play mode simultaneously.
In the dual mode headset control platform:
The IMX6 processing chip is also used 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 controlling earphone to postpone
Die pressing type is switched to play mode.
Can also include: in the dual mode headset control platform
Static storage device is connect with IMX6 processing chip, heaves grade for storing described preset.
Furthermore it is also possible to which handling chip using DSP handles chip to replace the IMX6.The inside of dsp chip uses journey
Sequence and the separated Harvard structure of data, have special hardware multiplier, pile line operation are widely used, provides special DSP
Instruction can be used to quickly realize various digital signal processing algorithms.
According to the requirement of Digital Signal Processing, dsp chip generally has following some main features: (1) referring at one
Enable an achievable multiplication and a sub-addition in the period.(2) program and data space is separated, can simultaneously access instruction sum number
According to.(3) there is quick RAM in piece, can usually be accessed simultaneously in two pieces by independent data/address bus.(4) there is low overhead
Or without overhead loop and the hardware supported jumped.(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 executed parallel.(8) it supports pile line operation, makes fetching, translates
The operations such as code and execution can be with Overlapped Execution.
Using dual mode headset control platform of the invention, for the technology that Headphone structure in the prior art and mode are coarse
Problem is introduced multiple parameters detection device, is effectively extracted to the pressure in earphone by transformation Headphone structure and mode,
Flexibly switch between die pressing type so that earphone eases up in play mode, more it is essential that also introducing left ear air pressure release device
Or auris dextra air pressure release device, for the user's ear pressure that when ear pressure transfinites, can liquidate in time.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are 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 variation.Therefore, anything that does not depart from the technical scheme of the invention are right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.