CN105338437B - A kind of control method that leakproof is listened, device and pleasant output equipment - Google Patents
A kind of control method that leakproof is listened, device and pleasant output equipment Download PDFInfo
- Publication number
- CN105338437B CN105338437B CN201410370003.4A CN201410370003A CN105338437B CN 105338437 B CN105338437 B CN 105338437B CN 201410370003 A CN201410370003 A CN 201410370003A CN 105338437 B CN105338437 B CN 105338437B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- output
- pressure
- equipment
- output data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a kind of control method that leakproof is listened, device and pleasant output equipment, pleasant output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts;This method comprises: judging whether the current pressure of the pleasant output equipment of the pressure sensitive unit detection is less than preset pressure when receiving the output data of first electronic equipment;When determining that pressure sensitive unit current pressure detected is less than the preset pressure, the output data of first electronic equipment is cached;When determining that pressure sensitive unit current pressure detected increases to the preset pressure by being less than the preset pressure, the output data of first electronic equipment of the caching is exported with preset first output speed, until synchronous with the current output data of first electronic equipment, the part output data of electronic equipment is listened to guarantee that user will not leak, improves user experience.
Description
Technical field
The present invention relates to automation field, more particularly to a kind of control method that leakproof is listened, device and enter
Ear output equipment.
Background technique
Current electronic equipment can generally be connect with a pleasant output equipment, so that its data to be output be exported
To pleasant output equipment, user is allowed to pass through pleasant output equipment to listen to the data.Such as, pleasant output equipment is bluetooth
Earphone, bluetooth headset by being put on ear (interior) by user, to answer the phone of electronic equipment, listens to electronic equipment broadcasting
Music etc..
But user often will appear when actually using pleasant output equipment and leak the output data for listening electronic equipment
Situation.If user is when listening to the output data of electronic equipment by pleasant output equipment, pleasant output equipment is suddenly from ear
On fall;For another example, when answering the phone of electronic equipment by pleasant output equipment, user is also not in time by pleasant output equipment
(interior) is put on ear, and phone has been picked up.
In these cases, user can leak the part output data for listening electronic equipment, greatly reduce user experience.
Summary of the invention
In view of this, the present invention provides a kind of control method that leakproof is listened, device and pleasant output equipment, to prevent user
The part output data of electronic equipment is listened in leakage, improves user experience.
To achieve the above object, the invention provides the following technical scheme:
A kind of control method that leakproof is listened, applied in the pleasant output equipment being connected with the first electronic equipment, it is described enter
Ear output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts;This method comprises:
When receiving the output data of first electronic equipment, the described pleasant of the pressure sensitive unit detection is judged
Whether the current pressure of output equipment is less than preset pressure;
When determining that pressure sensitive unit current pressure detected is less than the preset pressure, caching described first
The output data of electronic equipment;
Increase to described pre- by being less than the preset pressure when determining pressure sensitive unit current pressure detected
If when pressure, the output data of first electronic equipment of the caching is exported with preset first output speed, until with
The current output data of first electronic equipment is synchronous;
Wherein, first output speed is higher than the normal output speed of first electronic equipment.
Preferably, the pleasant output equipment further includes gravity sensitive unit;
The output data of first electronic equipment that the caching is exported with preset first output speed, until
Before synchronous with the current output data of first electronic equipment, further includes:
Determine that the motion profile of the gravity sensitive unit pleasant output equipment detected is consistent with desired guiding trajectory.
Preferably, the pleasant output equipment includes storage unit, the output number of caching first electronic equipment
According to specifically: the output data of first electronic equipment is cached into the storage unit.
Preferably, the output data of caching first electronic equipment specifically:
Generate cache instruction;
The cache instruction is sent to first electronic equipment, to control first electronic equipment caching described the
The output data of one electronic equipment.
Preferably, when the output data of first electronic equipment is the data sent by the second electronic equipment,
When the determination pressure sensitive unit current pressure detected is less than the preset pressure, institute is cached
After the output data for stating electronic equipment, further includes:
Judge the pressure sensitive unit current pressure detected is less than the duration of the preset pressure
It is no to reach preset time;
If so, generating and sending the first stopping output order to first electronic equipment, to control first electronics
Equipment generates and sends the first prompting data to second electronic equipment.
Preferably, when the output data of first electronic equipment is the data sent by first electronic equipment itself
When,
When the determination pressure sensitive unit current pressure detected is less than the preset pressure, institute is cached
After the output data for stating electronic equipment, further includes:
Judge the pressure sensitive unit current pressure detected is less than the duration of the preset pressure
It is no to reach preset time;
If so, generating and sending the second stopping output order to first electronic equipment, to control first electronics
Equipment stops output data.
A kind of control device that leakproof is listened, applied in the pleasant output equipment being connected with the first electronic equipment, it is described enter
Ear output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts;The device includes:
Judging unit is received, for when receiving the output data of first electronic equipment, judging that the pressure passes
Whether the current pressure of the pleasant output equipment of sense unit detection is less than preset pressure;
Cache unit is determined, for being less than the default pressure when the determining pressure sensitive unit current pressure detected
When power, the output data of first electronic equipment is cached;
Output unit is determined, for when the determining pressure sensitive unit current pressure detected is by being less than described preset
When pressure increase to the preset pressure, first electronic equipment of the caching is exported with preset first output speed
Output data, until synchronous with the current output data of first electronic equipment;
Wherein, first output speed is higher than the normal output speed of first electronic equipment.
Preferably, the pleasant output equipment further includes gravity sensitive unit;
The device further include:
First determination unit, for determining the movement rail of the gravity sensitive unit pleasant output equipment detected
Mark is consistent with desired guiding trajectory.
Preferably, the pleasant output equipment includes storage unit, the determining cache unit, is specifically used for when determining institute
When stating pressure sensitive unit current pressure detected less than the preset pressure, by the output data of first electronic equipment
Caching is into the storage unit.
Preferably, the determining cache unit includes:
Determining module, for determining that pressure sensitive unit current pressure detected is less than the preset pressure
Generation module, for generating cache instruction;
Sending module, for the cache instruction to be sent to first electronic equipment, to control first electronics
Equipment caches the output data of first electronic equipment.
Preferably, it when the output data of first electronic equipment is the data sent by the second electronic equipment, also wraps
It includes:
First judging unit, for judging that it is described default that the pressure sensitive unit current pressure detected is less than
Whether the duration of pressure reaches preset time;
First generates transmission unit, for determining pressure sensitive unit institute detected when first judging unit
When stating current pressure and reaching preset time less than duration of the preset pressure, the first stopping output order being generated and sent
To first electronic equipment, the first prompting data are generated and sent to second electronics to control first electronic equipment
Equipment.
Preferably, when the output data of first electronic equipment is the data sent by first electronic equipment itself
When, further includes:
Second judgment unit, for judging that it is described default that the pressure sensitive unit current pressure detected is less than
Whether the duration of pressure reaches preset time;
Second generates transmission unit, for determining pressure sensitive unit institute detected when first judging unit
When stating current pressure and reaching preset time less than duration of the preset pressure, the second stopping output order being generated and sent
To first electronic equipment, stop output data to control first electronic equipment.
A kind of pleasant output equipment, which is characterized in that including as above described in any item anti-control devices eavesdropped.
It can be seen via above technical scheme that compared with prior art, being listened the embodiment of the invention discloses a kind of leakproof
Control method, by the way that when determining that pressure sensitive unit current pressure detected is less than preset pressure, the first electronics of caching is set
Standby output data;Preset pressure is increased to by being less than preset pressure when determining pressure sensitive unit current pressure detected
When, with the output data of the first electronic equipment of preset first output speed output caching, until working as with the first electronic equipment
Preceding output data is synchronous, listens the part output data of electronic equipment to guarantee that user will not leak, improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram for the control method that leakproof is listened disclosed in one embodiment of the invention;
Fig. 2 is a kind of flow diagram for the control method that leakproof is listened disclosed in another embodiment of the present invention;
Fig. 3 is a kind of flow diagram for the control method that leakproof is listened disclosed in further embodiment of this invention;
Fig. 4 is a kind of flow diagram for the control method that leakproof is listened disclosed in further embodiment of this invention;
Fig. 5 is a kind of structural schematic diagram for the control device that leakproof is listened disclosed in one embodiment of the invention;
Fig. 6 is a kind of structural schematic diagram for the control device that leakproof is listened disclosed in another embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram for the control device that leakproof is listened disclosed in further embodiment of this invention;
Fig. 8 is a kind of structural schematic diagram for the control device that leakproof is listened disclosed in further embodiment of this invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of control method that leakproof is listened, device and electronic equipments, by when determining pressure
When sensing unit current pressure detected is less than preset pressure, the output data of the first electronic equipment is cached;When determining pressure
It is defeated with preset first output speed when sensing unit current pressure detected increases to preset pressure by being less than preset pressure
The output data of first electronic equipment cached out, until it is synchronous with the current output data of the first electronic equipment, to protect
Card user will not leak the part output data for listening electronic equipment, improve user experience.
One embodiment of the invention discloses a kind of control method that leakproof is listened, and can apply and be connected with the first electronic equipment
Pleasant output equipment in;Wherein, the first electronic equipment can be the equipment such as mobile phone, palm PC, tablet computer.
Pleasant output equipment can be the equipment such as wired earphone, wireless headset, bluetooth headset, headset;It should be noted that this
The pleasant output equipment of invention refers to that being placed on ear (interior) allows users to the equipment for listening to the data that it is exported.
The connection type of first electronic equipment and pleasant output equipment is limited there is no specific in the present invention, can be to have
Line connection, or be wirelessly connected.When being wirelessly connected, wireless communication module can be used and be attached, such as wireless network
Communication module, bluetooth module etc..
Wherein, pleasant output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts.
As shown in Figure 1, this method may comprise steps of:
Step 101: when receiving the output data of the first electronic equipment, judging the pleasant output of pressure sensitive unit detection
Whether the current pressure of equipment is less than preset pressure;
Wherein, which is user in the case where normal use pleasant output equipment, i.e. user is by pleasant output
When equipment is put on ear (interior), detected by pressure sensitive unit and the pressure that is set in advance in pleasant output equipment;
Since different user is different using the habit of pleasant output equipment, the characteristic of different pleasant output equipments itself is also not quite similar,
Therefore, the present invention limits preset pressure there is no specific, can be set in advance according to the actual situation.
Pressure sensitive unit is arranged on the position of pleasant output equipment and ear contacts, then, by judging that pressure passes
Whether sense unit current pressure detected is less than preset pressure, can determine that pleasant output equipment is set receiving the first electronics
Locating ambient condition when standby output data.
Wherein, the pleasant output equipment ambient condition locating when receiving the output data of the first electronic equipment generally may be used
To include following several situations:
A kind of situation is that, when the first electronic equipment sends output data to pleasant output equipment, user also not in time will
Pleasant output equipment is put on ear (interior);At this point it is possible to determine the current of the pleasant output equipment of pressure sensitive unit detection
Pressure is less than preset pressure;
Another situation is that, when the first electronic equipment sends output data to pleasant output equipment, user will be pleasant
Output equipment is put on ear (interior);At this point it is possible to determine the current pressure of the pleasant output equipment of pressure sensitive unit detection
More than or equal to preset pressure;
It is that user listens to the first electronics by being put on ear the pleasant output equipment of (interior) and sets there are also a kind of situation
When the output data that preparation is sent, pleasant output equipment surprisingly falls off from ear;At this point it is possible to determine pressure sensitive unit detection
Pleasant output equipment current pressure be less than preset pressure.
Wherein, when the current pressure for determining pressure sensitive unit pleasant output equipment detected is more than or equal to preset pressure
When, show that pleasant output equipment is currently put on ear (interior), therefore, directly the first received electronic equipment of output is defeated
Data out, so that user listens to.
Step 102: when determining that pressure sensitive unit current pressure detected is less than preset pressure, caching the first electronics
The output data of equipment;
When determining that pressure sensitive unit current pressure detected is less than preset pressure, show that pleasant output equipment is current
It is not put on ear (interior), therefore, leaks to prevent user pleasant output equipment is not put on ear (interior) and listens first
The part output data of electronic equipment, need to cache the output data of the first electronic equipment.
It should be noted that the output data of first electronic equipment of caching specifically refers to cache determining pressure sensitive unit institute
The current pressure of detection is less than the output data of the first electronic equipment after preset pressure.
Step 103: increasing to default pressure by being less than preset pressure when determining pressure sensitive unit current pressure detected
When power, with the output data of the first electronic equipment of preset first output speed output caching, until with the first electronic equipment
Current output data is synchronous.
When pressure sensitive unit current pressure detected increases to preset pressure by being less than preset pressure, show pleasant
Output equipment becomes being put on ear (interior) from not being put on ear (interior), at this point it is possible to defeated with preset first output speed
The output data of the first electronic equipment cached out, so that user listens to.
It should be noted that with the output data of the first electronic equipment of preset first output speed output caching
Afterwards, the output data for continuing to cache the first electronic equipment is also needed, until when synchronous with the current output data of the first electronic equipment,
Stop the output data of the first electronic equipment of caching.
Wherein, the first output speed is higher than the normal output speed of the first electronic equipment, the first electricity of general output caching
The output data of sub- equipment can be synchronous with the current output data of the first electronic equipment.
It should be noted that the first output speed is limited there is no specific in the present invention, it can be the first electronic equipment
Normal output speed n times of rate, such as 8 times, 5 times.
In embodiments of the present invention, by being less than preset pressure when determining pressure sensitive unit current pressure detected
When, cache the output data of the first electronic equipment;When determining pressure sensitive unit current pressure detected by being less than default pressure
When power increases to preset pressure, with the output data of the first electronic equipment of preset first output speed output caching, until
It is synchronous with the current output data of the first electronic equipment, the part output data of electronic equipment is listened to guarantee that user will not leak, is mentioned
High user experience.
When practical application, pleasant output equipment, may be due to external environment in the case where not being put on ear (interior)
Change to be squeezed, so as to cause pressure sensitive unit current pressure detected by be less than preset pressure increase to default
Pressure, at this point, also will appear the phenomenon that user's leakage is listened if the output data of the first electronic equipment of output caching.
To solve the above problems, another embodiment of the present invention also discloses a kind of control method that leakproof is listened, be applied to
In the connected pleasant output equipment of first electronic equipment, wherein pleasant output equipment is used for and is arranged on the position of ear contacts
There is pressure sensitive unit;Pleasant output equipment further includes gravity sensitive unit;
As shown in Fig. 2, this method may comprise steps of:
Step 201: when receiving the output data of the first electronic equipment, judging the pleasant output of pressure sensitive unit detection
Whether the current pressure of equipment is less than preset pressure;
Step 202: when determining that pressure sensitive unit current pressure detected is less than preset pressure, caching the first electronics
The output data of equipment;
Step 203: determine that pressure sensitive unit current pressure detected increases to preset pressure by being less than preset pressure,
And when determining that the motion profile of gravity sensitive unit pleasant output equipment detected is consistent with desired guiding trajectory, with preset first
The output data of first electronic equipment of output speed output caching, until the output data current with the first electronic equipment is same
Step;
Wherein, the desired guiding trajectory is for characterizing pleasant output equipment by not being put in ear (interior) to being put in ear (interior)
Motion profile, can be set according to the actual situation;Such as desired guiding trajectory can be used for characterizing pleasant output equipment under
Upward motion profile, it should be noted that, which is not necessarily the track perpendicular to ground, Ke Yiwei
Arcuate movement track or other tracks from bottom to top.
Gravity sensitive unit is used to detect the motion profile of pleasant output equipment, by judging that gravity sensitive unit is detected
Whether whether the motion profile of the pleasant output equipment arrived and desired guiding trajectory are consistent, to determine pleasant output equipment by be put in ear
(interior) becomes being put on ear (interior) on piece
Wherein, in the present invention, desired guiding trajectory may include a track, also may include a plurality of track, when default rail
When mark includes a plurality of track, if judge gravity sensitive unit detect the motion profile of pleasant output equipment with it is preset a plurality of
Whether one in track is consistent.
Preset pressure is increased to by being less than preset pressure when determining pressure sensitive unit current pressure detected, and is determined
When the motion profile of gravity sensitive unit pleasant output equipment detected is consistent with desired guiding trajectory, show pleasant output equipment by
Not being put on ear (interior) becomes being put on ear (interior), at this point it is possible to the of preset first output speed output caching
The output data of one electronic equipment, until synchronous with the current output data of the first electronic equipment.
In embodiments of the present invention, by being less than preset pressure when determining pressure sensitive unit current pressure detected
When, the output data of caching electronic equipment;Increased when determining pressure sensitive unit current pressure detected by being less than preset pressure
Add to preset pressure, and gravity sensitive unit pleasant output equipment detected motion profile it is consistent with desired guiding trajectory when, with
The output data of first electronic equipment of preset first output speed output caching, until current with the first electronic equipment
Output data it is synchronous, listen the part output data of electronic equipment further to guarantee that user will not leak, improve user
Experience;
In the present invention, there are many modes for caching the output data of the first electronic equipment;
As a kind of cache way, pleasant output equipment includes storage unit, caches the output data of the first electronic equipment
It is specifically as follows: the output data of the first electronic equipment is cached into the storage unit of pleasant output equipment.
As another cache way, the output data of the first electronic equipment can be cached into the first electronic equipment,
Specifically, the output data of the first electronic equipment of caching is specifically as follows:
Generate cache instruction;
Cache instruction is sent to the first electronic equipment, to control the output that the first electronic equipment caches the first electronic equipment
Data;
Wherein, the first electronic equipment then caches it and is exported when receiving the cache instruction that pleasant output equipment is sent
Output data;When pleasant output equipment determines pressure leaflet unit current pressure detected by increasing to less than preset pressure
When preset pressure, the first electronic equipment can control with the defeated of the first electronic equipment of preset first output speed output caching
Data out, until synchronous with the current output data of the first electronic equipment;
It should be noted that the first electronic equipment is with the defeated of the first electronic equipment of preset first output speed output caching
Data and the current output data of the first electronic equipment are not the data exported in the same manner out;
The current output data of first electronic equipment is the data that send to pleasant output equipment of the first electronic equipment, the
It is data i.e. first that will be sent to pleasant output equipment when one electronic equipment caches the data that it is exported according to cache instruction
The current output data caching of electronic equipment, in the process of caching, the first electronic equipment is current or with normal output speed
Output data is sent, only the output data of the transmission is buffered into the first electronic equipment.And work as pleasant output equipment control
The first electronic equipment is made with the output data of the first electronic equipment of preset first output speed output caching, until with first
When the current output data of electronic equipment is synchronous, stop the output data of the first electronic equipment of caching.
In the present invention, during the first electronic equipment sends output data to pleasant output equipment, if pleasant output is set
It is standby then to need the output data of the first electronic equipment of persistent cache for a long time in the state for not being put on ear (interior), then,
Memory space is not only taken up, the power consumption of the first electronic equipment, waste of resource are also increased.
To solve the above problems, one embodiment is the present invention provides two embodiments with the output of the first electronic equipment
Based on data are the data sent by the second electronic equipment, another embodiment is served as reasons with the output data of the first electronic equipment
Based on the data that first electronic equipment itself is sent.
As shown in figure 3, being the data Shi Benfa sent by the second electronic equipment for the output data when the first electronic equipment
The flow diagram for the control method that a kind of leakproof that bright another embodiment provides is listened;In conjunction with Fig. 3, this method may include following
Step:
Step 301: receive the output data of the first electronic equipment when, judge pressure sensitive unit detection it is pleasant defeated
Whether the current pressure of equipment is less than preset pressure out;
Step 302: when determining that pressure sensitive unit current pressure detected is less than the preset pressure, caching first
The output data of electronic equipment;
Step 303: judging whether pressure sensitive unit current pressure detected reaches less than the duration of preset pressure
To preset time;If so, 304 are entered step, if it is not, entering step 305;
Wherein, which can be set according to the actual situation, and the present invention is limited there is no specific;As 10min,
5min etc..
By by pressure sensitive unit current pressure detected be less than preset pressure duration and preset time into
Row judgement, to determine whether to continue the caching of output data.
Step 304: the first stopping output order to the first electronic equipment is generated and sent, it is raw to control the first electronic equipment
It send at the first prompting Data Concurrent to the second electronic equipment;
When determine pressure sensitive unit current pressure detected be less than preset pressure duration reach preset time
When, the first stopping output order to the first electronic equipment is generated and sent, so that the first electronic equipment, which generates first, reminds data
And it is sent to the second electronic equipment, to remind the user of current first electronic equipment of user of the second electronic equipment that can not pass through
Pleasant output equipment listens to the data that the second electronic equipment is sent to the first electronic equipment, enables the user of the second electronic equipment
It is enough to stop sending data to the first electronic equipment by controlling the second electronic equipment.
It should be noted that after pleasant output equipment sends the first stopping output order to the first electronic equipment, if detection
Continue to send output data to the first electronic equipment, then shows that the second electronic equipment does not stop sending number to the first electronic equipment
According to, then, continue to cache the output data that the first electronic equipment is sent, until detecting that the first electronic equipment stops sending data
Until.
Step 305: increasing to default pressure by being less than preset pressure when determining pressure sensitive unit current pressure detected
When power, the output data of the first electronic equipment of the caching is exported with preset first output speed, until with the first electronics
The current output data of equipment is synchronous;
Preset time is not up in the duration that pressure sensitive unit current pressure detected is less than preset pressure
Under the conditions of, however, it is determined that preset pressure is increased to by being less than preset pressure to pressure sensitive unit current pressure detected, then,
The output data of the first electronic equipment of the caching is just exported with preset first output speed, until with the first electronic equipment
Current output data is synchronous.
Wherein, the first output speed is higher than the normal output speed of the first electronic equipment.
In embodiments of the present invention, when determining that pressure sensitive unit current pressure detected is less than preset pressure and continues
When time reaches preset time, the first stopping output order to the first electronic equipment is generated and sent, is set to control the first electronics
It is standby to generate the first prompting data to the second electronic equipment, to remind the user of the second electronic equipment, current first electronic equipment
User can not listen to the data that the second electronic equipment is sent to the first electronic equipment by pleasant output equipment, so that the second electricity
The user of sub- equipment can stop sending data to the first electronic equipment by controlling the second electronic equipment, to reduce the defeated of caching
Data volume out saves memory space and resource.
As shown in figure 4, for when the output data of the first electronic equipment is the data sent by first electronic equipment itself
The flow diagram for the control method that a kind of leakproof that further embodiment of this invention provides is listened;In conjunction with Fig. 4, this method may include
Following steps:
Step 401: receive the output data of the first electronic equipment when, judge pressure sensitive unit detection it is pleasant defeated
Whether the current pressure of equipment is less than preset pressure out;
Step 402: when determining that pressure sensitive unit current pressure detected is less than the preset pressure, caching first
The output data of electronic equipment;
Step 403: judging whether pressure sensitive unit current pressure detected reaches less than the duration of preset pressure
To preset time;If so, 404 are entered step, if it is not, entering step 405;
Wherein, which can be set according to the actual situation, and the present invention is limited there is no specific;As 10min,
5min etc..
By by pressure sensitive unit current pressure detected be less than preset pressure duration and preset time into
Row judgement, to determine whether to continue the caching of output data.
Step 404: generating and sending the second stopping output order to the first electronic equipment, stopped with controlling the first electronic equipment
Only output data;
When determine pressure sensitive unit current pressure detected be less than preset pressure duration reach preset time
When, it generates second and stops output order, and the second stopping output order being sent to the first electronic equipment, stop by second
Output order controls the first electronic equipment and stops output data.
Step 405: increasing to described pre- by being less than preset pressure when determining pressure sensitive unit current pressure detected
If when pressure, the output data of the first electronic equipment of the caching is exported with preset first output speed, until with first
The current output data of electronic equipment is synchronous;
Preset time is not up in the duration that pressure sensitive unit current pressure detected is less than preset pressure
Under the conditions of, determine to pressure sensitive unit current pressure detected by less than preset pressure increase to preset pressure when, just with
Preset first output speed exports the output data of the first electronic equipment of the caching, until current with the first electronic equipment
Output data it is synchronous.
Wherein, the first output speed is higher than the normal output speed of the first electronic equipment.
In embodiments of the present invention, when determining that pressure sensitive unit current pressure detected is less than preset pressure and continues
When time reaches preset time, the second stopping output order to the first electronic equipment is generated and sent, is set to control the first electronics
It is standby to stop output data, to reduce the output data quantity of caching, save memory space and resource.
One embodiment of the invention also discloses a kind of control device that leakproof is listened, and can apply and the first electronic equipment phase
In pleasant output equipment even;Wherein, the first electronic equipment can be the equipment such as mobile phone, palm PC, tablet computer.
Pleasant output equipment can be the equipment such as wired earphone, wireless headset, bluetooth headset, headset;It should be noted that this
The pleasant output equipment of invention refers to that being placed on ear (interior) allows users to the equipment for listening to the data that it is exported.
Wherein, pleasant output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts.
As shown in figure 5, the apparatus may include: judging unit 501 is received, determine cache unit 502 and determines output
Unit 503;Wherein:
Judging unit 501 is received, can be used for judging pressure sensing when receiving the output data of the first electronic equipment
Whether the current pressure of the pleasant output equipment of unit detection is less than preset pressure;
It determines cache unit 502, can be used for being less than default pressure when determining pressure sensitive unit current pressure detected
When power, the output data of the first electronic equipment is cached;
It determines output unit 503, can be used for default by being less than when determining pressure sensitive unit current pressure detected
When pressure increase to preset pressure, with the output data of the first electronic equipment of preset first output speed output caching, directly
It is extremely synchronous with the current output data of the first electronic equipment;
Wherein, the first output speed is higher than the normal output speed of the first electronic equipment.
In embodiments of the present invention, by being less than preset pressure when determining pressure sensitive unit current pressure detected
When, cache the output data of the first electronic equipment;When determining pressure sensitive unit current pressure detected by being less than default pressure
When power increases to preset pressure, the output data of first electronic equipment of caching is exported with preset first output speed,
Until it is synchronous with the current output data of the first electronic equipment, listen the part of electronic equipment to export number to guarantee that user will not leak
According to improving user experience.
Another embodiment of the present invention also discloses a kind of control device that leakproof is listened, and is applied to be connected with the first electronic equipment
Pleasant output equipment in, the pleasant output equipment be used for and be provided with pressure sensitive unit on the position of ear contacts;
Wherein, which further includes gravity sensitive unit;
As shown in fig. 6, the apparatus may include: it receives judging unit 601, determine cache unit 602, the first determination unit
603 and determine output unit 604;Wherein:
Judging unit 601 is received, can be used for judging pressure sensing when receiving the output data of the first electronic equipment
Whether the current pressure of the pleasant output equipment of unit detection is less than preset pressure;
It determines cache unit 602, can be used for being less than default pressure when determining pressure sensitive unit current pressure detected
When power, the output data of the first electronic equipment is cached;
First determination unit 603 is determined for the fortune of the gravity sensitive unit pleasant output equipment detected
Dynamic rail mark is consistent with desired guiding trajectory;
It determines output unit 604, can be used for default by being less than when determining pressure sensitive unit current pressure detected
When pressure increase to preset pressure, with the output data of the first electronic equipment of preset first output speed output caching, directly
It is extremely synchronous with the current output data of the first electronic equipment;
Wherein, first output speed is higher than the normal output speed of first electronic equipment.
In embodiments of the present invention, by being less than preset pressure when determining pressure sensitive unit current pressure detected
When, the output data of caching electronic equipment;Increased when determining pressure sensitive unit current pressure detected by being less than preset pressure
Add to preset pressure, and gravity sensitive unit pleasant output equipment detected motion profile it is consistent with desired guiding trajectory when, with
The output data of first electronic equipment of preset first output speed output caching, until current with the first electronic equipment
Output data it is synchronous, listen the part output data of electronic equipment further to guarantee that user will not leak, improve user
Experience;
In the present invention, determine that cache unit is less than preset pressure when determining pressure sensitive unit current pressure detected
When, there are many cache way of the output data of the first electronic equipment of caching;
As a kind of cache way, pleasant output equipment includes storage unit, determines that cache unit can be used for when determination
When pressure sensitive unit current pressure detected is less than preset pressure, the output data of the first electronic equipment is cached to pleasant
In the storage unit of output equipment.
As another cache way, confirm that cache unit can include determining that module, generation module and sending module.
Wherein it is determined that module is determined for pressure sensitive unit current pressure detected less than preset pressure, generation module can
For generating cache instruction;Sending module can be used for for cache instruction being sent to the first electronic equipment, with the first electricity of control
Sub- equipment caches the output data of the first electronic equipment.
Further embodiment of this invention discloses a kind of control device that leakproof is listened, which is applied to the first electronic equipment phase
In pleasant output equipment even, wherein the output data of the first electronic equipment is the data sent by the second electronic equipment.
As shown in fig. 7, the device includes: to receive judging unit 701, determine cache unit 702, the first judging unit 703,
First generates transmission unit 704 and determines output unit 705;Wherein:
Judging unit 701 is received, can be used for judging pressure sensing when receiving the output data of the first electronic equipment
Whether the current pressure of the pleasant output equipment of unit detection is less than preset pressure;
It determines cache unit 702, can be used for being less than default pressure when determining pressure sensitive unit current pressure detected
When power, the output data of the first electronic equipment is cached;
First judging unit 703 can be used for judging that pressure sensitive unit current pressure detected is less than preset pressure
Duration whether reach preset time;
First generates transmission unit 704, can be used for determining pressure sensitive unit institute detected when the first judging unit
When stating current pressure and reaching preset time less than duration of preset pressure, the first stopping output order being generated and sent to institute
The first electronic equipment is stated, generates and sends the first prompting data to the second electronic equipment to control the first electronic equipment.
It determines output unit 705, can be used for determining that pressure sensitive unit is worked as described in detected in the first judging unit
The duration that preceding pressure is less than preset pressure is not up under conditions of preset time, determines that pressure sensitive unit is detected and works as
When preceding pressure increases to preset pressure by being less than preset pressure, set with the first electronics of preset first output speed output caching
Standby output data, until synchronous with the current output data of the first electronic equipment;
Wherein, first output speed is higher than the normal output speed of first electronic equipment.
In embodiments of the present invention, when determining that pressure sensitive unit current pressure detected is less than preset pressure and continues
When time reaches preset time, the first stopping output order to the first electronic equipment is generated and sent, is set to control the first electronics
It is standby to generate the first prompting data to the second electronic equipment, to remind the user of the second electronic equipment, current first electronic equipment
User can not listen to the data that the second electronic equipment is sent to the first electronic equipment by pleasant output equipment, so that the second electricity
The user of sub- equipment can stop sending data to the first electronic equipment by controlling the second electronic equipment, to reduce the defeated of caching
Data volume out saves memory space and resource.
Further embodiment of this invention discloses a kind of control device that leakproof is listened, which is applied to the first electronic equipment phase
In pleasant output equipment even, wherein the output data of the first electronic equipment is the data sent by first electronic equipment itself.
As shown in figure 8, the device includes: to receive judging unit 801, determine cache unit 802, second judgment unit 803,
Second generates transmission unit 804 and determines output unit 805;Wherein:
Judging unit 801 is received, can be used for judging pressure sensing when receiving the output data of the first electronic equipment
Whether the current pressure of the pleasant output equipment of unit detection is less than preset pressure;
It determines cache unit 802, can be used for being less than default pressure when determining pressure sensitive unit current pressure detected
When power, the output data of the first electronic equipment is cached;
Second judgment unit 803 can be used for judging that pressure sensitive unit current pressure detected is less than preset pressure
Duration whether reach preset time;
Second generates transmission unit 804, can be used for determining pressure sensitive unit institute detected when the first judging unit
When stating current pressure and reaching preset time less than duration of preset pressure, the second stopping output order being generated and sent to the
One electronic equipment stops output data to control the first electronic equipment;
It determines output unit 805, can be used for determining that pressure sensitive unit is worked as described in detected in second judgment unit
The duration that preceding pressure is less than preset pressure is not up under conditions of preset time, determines that pressure sensitive unit is detected and works as
When preceding pressure increases to preset pressure by being less than preset pressure, set with the first electronics of preset first output speed output caching
Standby output data, until synchronous with the current output data of the first electronic equipment;
Wherein, first output speed is higher than the normal output speed of first electronic equipment.
In embodiments of the present invention, when determining that pressure sensitive unit current pressure detected is less than preset pressure and continues
When time reaches preset time, the second stopping output order to the first electronic equipment is generated and sent, is set to control the first electronics
It is standby to stop output data, to reduce the output data quantity of caching, save memory space and resource.
One embodiment of the invention also discloses a kind of pleasant output equipment, including prevents described in any embodiment as above
The control device eavesdropped.
The embodiment of above each device is corresponding with embodiment of the method, and for details, reference can be made to embodiments of the method, herein no longer in detail
Carefully repeat.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (7)
1. a kind of control method that leakproof is listened, which is characterized in that applied to the pleasant output equipment being connected with the first electronic equipment
In, the pleasant output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts;The pleasant output equipment
It further include gravity sensitive unit;This method comprises:
When receiving the output data of first electronic equipment, the pleasant output of the pressure sensitive unit detection is judged
Whether the current pressure of equipment is less than preset pressure;
When determining that pressure sensitive unit current pressure detected is less than the preset pressure, first electronics is cached
The output data of equipment;Wherein, caching the first electronic equipment output data is referred to as caching and determines that the pressure passes
Feel the output data that unit current pressure detected is less than first electronic equipment after preset pressure;
The default pressure is increased to by being less than the preset pressure when determining pressure sensitive unit current pressure detected
When power, and determine that the motion profile of the gravity sensitive unit pleasant output equipment detected is consistent with desired guiding trajectory
When, the output data of first electronic equipment of the caching is exported with preset first output speed, until with described the
The current output data of one electronic equipment is synchronous;
Wherein, first output speed is higher than the normal output speed of first electronic equipment;
When the output data of first electronic equipment is the data sent by the second electronic equipment, the determination pressure
The sensing unit current pressure detected be less than the preset pressure when, cache the electronic equipment output data it
Afterwards, further includes: judge that the pressure sensitive unit current pressure detected is less than the duration of the preset pressure
Whether preset time is reached;If so, generating and sending the first stopping output order to first electronic equipment, described in controlling
First electronic equipment generates and sends the first prompting data to second electronic equipment;
When the output data of first electronic equipment is the data sent by first electronic equipment itself, the determination
When the pressure sensitive unit current pressure detected is less than the preset pressure, the output of the electronic equipment is cached
After data, further includes: judge that the pressure sensitive unit current pressure detected is less than holding for the preset pressure
Whether the continuous time reaches preset time;If so, generating and sending the second stopping output order to first electronic equipment, with control
It makes first electronic equipment and stops output data.
2. described slow the method according to claim 1, wherein the pleasant output equipment includes storage unit
Deposit the output data of first electronic equipment specifically: cache the output data of first electronic equipment to the storage
In unit.
3. the method according to claim 1, wherein the output data tool of caching first electronic equipment
Body are as follows:
Generate cache instruction;
The cache instruction is sent to first electronic equipment, to control the first electronic equipment caching first electricity
The output data of sub- equipment.
4. a kind of control device that leakproof is listened, which is characterized in that applied to the pleasant output equipment being connected with the first electronic equipment
In, the pleasant output equipment is used for and is provided with pressure sensitive unit on the position of ear contacts;The pleasant output equipment
It further include gravity sensitive unit;The device includes:
Judging unit is received, for judging the pressure sensing list when receiving the output data of first electronic equipment
Whether the current pressure of the pleasant output equipment of member detection is less than preset pressure;
Cache unit is determined, for being less than the preset pressure when the determining pressure sensitive unit current pressure detected
When, cache the output data of first electronic equipment;Wherein, caching the first electronic equipment output data is referred to as
Caching determines output of the pressure sensitive unit current pressure detected less than first electronic equipment after preset pressure
Data;
First determination unit, for determine the motion profile of the gravity sensitive unit pleasant output equipment detected with
Desired guiding trajectory is consistent;
Output unit is determined, for when the determining pressure sensitive unit current pressure detected is by being less than the preset pressure
When increasing to the preset pressure, and determine that the gravity sensitive unit is detected described pleasant in first determination unit
When the motion profile of output equipment is consistent with desired guiding trajectory, the caching is exported with preset first output speed described first
The output data of electronic equipment, until synchronous with the current output data of first electronic equipment;
Wherein, first output speed is higher than the normal output speed of first electronic equipment;
When the output data of first electronic equipment is the data sent by the second electronic equipment, further includes:
First judging unit, for judging that the pressure sensitive unit current pressure detected is less than the preset pressure
Duration whether reach preset time;First generates transmission unit, for determining the pressure when first judging unit
When the duration that the power sensing unit current pressure detected is less than the preset pressure reaches preset time, generate simultaneously
It sends first and stops output order to first electronic equipment, generating and sending first to control first electronic equipment mentions
Data of waking up are to second electronic equipment;
When the output data of first electronic equipment is the data sent by first electronic equipment itself, further includes:
Second judgment unit, for judging that the pressure sensitive unit current pressure detected is less than the preset pressure
Duration whether reach preset time;Second generates transmission unit, for determining the pressure when first judging unit
When the duration that the power sensing unit current pressure detected is less than the preset pressure reaches preset time, generate simultaneously
It sends second and stops output order to first electronic equipment, stop output data to control first electronic equipment.
5. device according to claim 4, which is characterized in that the pleasant output equipment includes storage unit, described true
Determine cache unit, specifically for when determine pressure sensitive unit current pressure detected be less than the preset pressure when,
The output data of first electronic equipment is cached into the storage unit.
6. device according to claim 4, which is characterized in that the determining cache unit includes:
Determining module, for determining that pressure sensitive unit current pressure detected is less than the preset pressure
Generation module, for generating cache instruction;
Sending module, for the cache instruction to be sent to first electronic equipment, to control first electronic equipment
Cache the output data of first electronic equipment.
7. a kind of pleasant output equipment, which is characterized in that the control listened including the described in any item leakproofs of such as claim 4~6
Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410370003.4A CN105338437B (en) | 2014-07-30 | 2014-07-30 | A kind of control method that leakproof is listened, device and pleasant output equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410370003.4A CN105338437B (en) | 2014-07-30 | 2014-07-30 | A kind of control method that leakproof is listened, device and pleasant output equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105338437A CN105338437A (en) | 2016-02-17 |
CN105338437B true CN105338437B (en) | 2019-03-29 |
Family
ID=55288657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410370003.4A Active CN105338437B (en) | 2014-07-30 | 2014-07-30 | A kind of control method that leakproof is listened, device and pleasant output equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105338437B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009091174A2 (en) * | 2008-01-17 | 2009-07-23 | Lg Electronics Inc. | Recording/playing device and method for processing broadcast signal |
CN102577192A (en) * | 2009-08-14 | 2012-07-11 | 苹果公司 | Synchronization of buffered audio data with live broadcast |
CN202873023U (en) * | 2012-09-21 | 2013-04-10 | 天津市滨海新区塘沽海天科贸有限公司 | Bluetooth earphone capable of pressure sensing |
CN103680546A (en) * | 2013-12-31 | 2014-03-26 | 深圳市金立通信设备有限公司 | Audio playing method, terminal and system |
-
2014
- 2014-07-30 CN CN201410370003.4A patent/CN105338437B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009091174A2 (en) * | 2008-01-17 | 2009-07-23 | Lg Electronics Inc. | Recording/playing device and method for processing broadcast signal |
CN102577192A (en) * | 2009-08-14 | 2012-07-11 | 苹果公司 | Synchronization of buffered audio data with live broadcast |
CN202873023U (en) * | 2012-09-21 | 2013-04-10 | 天津市滨海新区塘沽海天科贸有限公司 | Bluetooth earphone capable of pressure sensing |
CN103680546A (en) * | 2013-12-31 | 2014-03-26 | 深圳市金立通信设备有限公司 | Audio playing method, terminal and system |
Also Published As
Publication number | Publication date |
---|---|
CN105338437A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131345B (en) | Control method and device of proximity sensor and mobile terminal | |
CN110475377B (en) | RACH resource selection and configuration method, user equipment and network side equipment | |
CN105430186A (en) | Rejecting short message sending method and system | |
CN107066173B (en) | Method of controlling operation thereof and device | |
CN110351040B (en) | Sounding reference signal transmission method, sounding reference signal configuration method, user equipment and network side equipment | |
CN106471518B (en) | Conversion based on user's coherent signal between two kinds of power supply status | |
CN110166192A (en) | Cell processing method, terminal device and the network equipment | |
CN107809793A (en) | The wake-up control method and device of intelligent terminal | |
CN104423822B (en) | Record the method and device of automatic test script | |
CN106851013A (en) | SOT state of termination determination methods, device and terminal | |
CN104077184B (en) | A kind of course control method and computer system of application program | |
CN106412664B (en) | Multimedia synchronous plays method, apparatus, terminal and system | |
CN105264970B (en) | A kind of method, device and mobile terminal reducing power consumption | |
CN107516917A (en) | Charge control method, terminal, intelligent charge equipment and computer-readable storage medium | |
CN104348943A (en) | Incoming call prompt method and incoming call prompt device | |
CN104111729A (en) | Information processing method and electronic equipment | |
CN107566604A (en) | The control method and user terminal of a kind of prompting message | |
CN108628430A (en) | A kind of game electricity-saving control method, terminal and computer readable storage medium | |
CN109819506A (en) | Method for intelligent connection, wearable device and computer readable storage medium | |
CN107734619A (en) | Reduce the method and mobile terminal of mobile terminal power consumption | |
CN106066769B (en) | A kind of processing method and mobile terminal of mobile terminal | |
CN105338437B (en) | A kind of control method that leakproof is listened, device and pleasant output equipment | |
CN110798888B (en) | Resource allocation method, resource use method, user equipment and network side equipment | |
CN111104012B (en) | Distance measuring method and device, storage medium and terminal equipment | |
CN108182135A (en) | Electric quantity reminding method, flexible screen terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |