CN105141836B - A kind of method and device for reducing terminal rotating camera false triggering - Google Patents
A kind of method and device for reducing terminal rotating camera false triggering Download PDFInfo
- Publication number
- CN105141836B CN105141836B CN201510473953.4A CN201510473953A CN105141836B CN 105141836 B CN105141836 B CN 105141836B CN 201510473953 A CN201510473953 A CN 201510473953A CN 105141836 B CN105141836 B CN 105141836B
- Authority
- CN
- China
- Prior art keywords
- terminal
- close
- hall sensor
- digital hall
- another terminal
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000001514 detection method Methods 0.000 claims abstract description 63
- 230000005684 electric field Effects 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 24
- 230000008859 change Effects 0.000 claims description 5
- 238000007689 inspection Methods 0.000 claims description 5
- 241001062009 Indigofera Species 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 11
- 230000009467 reduction Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Landscapes
- Studio Devices (AREA)
Abstract
The invention discloses a kind of method and device for reducing terminal rotating camera false triggering, this method comprises the following steps:Whether the output valve of the digital hall sensor on detection terminal body is more than the threshold value of setting and triggers interruption;If the output valve of the digital hall sensor on terminal body is more than the threshold value of setting and triggers interruption, first detect whether that another terminal is close and the digital hall sensor generation on terminal body is disturbed by mistake at this time;It is disturbed by mistake if having another terminal close and the digital hall sensor on terminal body being generated, does not wake up system;If close without another terminal, system is waken up according to the interrupt signal of triggering, into camera applications.The present invention can reduce the event generation for since two station terminals are close to each other magnetic field being caused to be interfered so that maloperation occurs for terminal, provide more stable guarantee to open camera, improve the usage experience of camera.
Description
Technical field
The present invention relates to technical field of mobile terminals, are to be related to a kind of reduction terminal rotating camera to miss more specifically
The method and device of triggering.
Background technology
In order to improve the convenience that mobile terminal (such as mobile phone) is taken pictures, many mobile terminals are both provided with rotating and take the photograph now
As head.When rotating camera is used to take pictures, it is necessary to carry out rotation process to camera.The control of currently used rotation process with
And judging is realized by digital hall sensor.
Digital hall sensor is built-in with magnetic induction chip, can sense the magnetic field size of rotating camera upper magnet,
In the rotary course of rotating camera, magnet and the distance between digital hall sensor are different, then Digital Hall passes
The ADC values that sensor obtains are just different, we can judge the angle of current rotating camera by this value.
At present, existing mobile terminal has in the case of system dormancy, is to wake up by rotating rotating camera
System, and enter the function of camera.However, many users often have two even more mobile terminals, when mobile terminal weight
It stacks when put, it is possible to wake up a wherein mobile terminal, and into camera interface.It is well known that magnetic field is very
It is easily interfered, if the electromagnetic environment residing for terminal is different, then the value of digital hall sensor output is just not yet
Equally, as soon as so when mobile terminal causes larger interference to the Hall identification of another mobile terminal, it is present with
The problem of above-mentioned.But user is many times not aware that the principle of triggering, just will be considered that terminal is defective in quality.
The content of the invention
It is an object of the invention to overcome drawbacks described above of the prior art, a kind of reduction terminal rotating camera is provided and is missed
The method and device of triggering can reduce the maloperation of terminal, and more stable guarantee is provided to open camera.
To achieve the above object, the first aspect of the present invention provides a kind of side for reducing terminal rotating camera false triggering
Method, the rotating camera are rotatably mounted on terminal body, the terminal body be equipped with in the rotating camera
Magnet cooperating digital hall sensor, this method comprises the following steps:
Whether the output valve of the digital hall sensor on detection terminal body is more than the threshold value of setting and triggers interruption;
If the output valve of the digital hall sensor on terminal body is more than the threshold value of setting and triggers interruption, first at this time
It first detects whether that another terminal is close and interference by mistake is generated to the digital hall sensor on terminal body;
It is disturbed by mistake if there is another terminal to be generated close to and to digital hall sensor on terminal body, does not wake up and be
System;
If close without another terminal, system is waken up according to the interrupt signal of triggering, into camera applications.
As preference, in the above-mentioned methods, it is described detect whether another terminal close to and to the number on terminal body
Word Hall sensor generates the step of disturbing by mistake and specifically includes:
Start the nfc functions of terminal, pass through the variation of nfc antenna detection current electric field intensity;
Whether the changing value for judging the current electric field intensity that nfc antenna detections arrive is more than setting value;
If the changing value for the current electric field intensity that nfc antenna detections arrive is more than setting value, it is close to be determined with another terminal
And the digital hall sensor on terminal body is generated and is disturbed by mistake;
If nfc antenna detections to the changing value of current electric field intensity be not above setting value, judge no another end
It holds close.
As preference, in the above-mentioned methods, it is described detect whether another terminal close to and to the number on terminal body
Word Hall sensor generates the step of disturbing by mistake and specifically includes:
Start the wifi functions of terminal, detect the intensity of the wifi signals of other side;
Whether the intensity value for judging to detect the wifi signals of other side is more than setting value;
If detect the wifi signals of other side intensity value be more than setting value, be determined with another terminal close to and to terminal
Digital hall sensor on body generates to be disturbed by mistake;
If detecting, the intensity value of the wifi signals of other side is not above setting value, judges that no another terminal is close.
As preference, in the above-mentioned methods, it is described detect whether another terminal close to and to the number on terminal body
Word Hall sensor generates the step of disturbing by mistake and specifically includes:
Start the Bluetooth function of terminal, detect the bluetooth equipment of other side;
Judge whether to detect the bluetooth equipment of other side;
If detecting the bluetooth equipment of other side, be determined with another terminal close to and on terminal body Digital Hall pass
Sensor generates to be disturbed by mistake;
If not detecting the bluetooth equipment of other side, judge that no another terminal is close.
As preference, in the above-mentioned methods, it is described detect whether another terminal close to and to the number on terminal body
Word Hall sensor generates the step of disturbing by mistake and specifically includes:
Start the Magnetic Sensor of terminal, the variation of current magnetic field intensity is detected by Magnetic Sensor;
Whether the changing value for judging the current magnetic field intensity that Magnetic Sensor detects is more than setting value;
If the changing value for the current magnetic field intensity that Magnetic Sensor detects is more than setting value, it is close to be determined with another terminal
And the digital hall sensor on terminal body is generated and is disturbed by mistake;
If the changing value for the current magnetic field intensity that Magnetic Sensor detects is not above setting value, no another end is judged
It holds close.
The second aspect of the present invention provides a kind of device for reducing terminal rotating camera false triggering, the rotation camera shooting
Head is rotatably mounted on terminal body, and the terminal body is equipped with and the magnet cooperating in the rotating camera
Digital hall sensor, the device include:
First detection module, whether the output valve of the digital hall sensor on detection terminal body is more than setting
Threshold value simultaneously triggers interruption;
Second detection module, if detecting the digital hall sensor on terminal body for the first detection module
Output valve is more than the threshold value of setting and triggers interruptions, then has first detected whether that another terminal is close and on terminal body at this time
Digital hall sensor generate by mistake disturb;
Processing module, if for having another terminal close and being generated to the digital hall sensor on terminal body by mistake dry
It disturbs, does not then wake up system;And if it is close without another terminal, according to the interrupt signal of triggering wake up system, into camera
Using.
As preference, in above device, second detection module specifically includes:
Nfc starting modules for starting the nfc functions of terminal, pass through the variation of nfc antenna detection current electric field intensity;
Field strength judgment module, whether the changing value for judging current electric field intensity that nfc antenna detections arrive is more than setting
Value;If the changing value for the current electric field intensity that nfc antenna detections arrive be more than setting value, be determined with another terminal close to and to end
The digital hall sensor on body is held to generate to disturb by mistake;If nfc antenna detections to the changing value of current electric field intensity do not have
More than setting value, then judge that no another terminal is close.
As preference, in above device, second detection module specifically includes:
Wifi starting modules for starting the wifi functions of terminal, detect the intensity of the wifi signals of other side;
Signal strength judgment module, for judging to detect whether the intensity value of the wifi signals of other side is more than setting value;
If detect the wifi signals of other side intensity value be more than setting value, be determined with another terminal close to and on terminal body
Digital hall sensor generates to be disturbed by mistake;If detecting, the intensity value of the wifi signals of other side is not above setting value, judges
There is no another terminal close.
As preference, in above device, second detection module specifically includes:
Bluetooth starting module for starting the Bluetooth function of terminal, detects the bluetooth equipment of other side;
Bluetooth judgment module, for judging whether to detect the bluetooth equipment of other side;If detecting the bluetooth equipment of other side,
Then be determined with another terminal close to and on terminal body digital hall sensor generate by mistake disturb;If do not detect other side
Bluetooth equipment, then judge that no another terminal is close.
As preference, in above device, second detection module specifically includes:
For starting the Magnetic Sensor of terminal, current magnetic field intensity is detected by Magnetic Sensor for Magnetic Sensor starting module
Variation;
Magnetic field judgment module, whether the changing value for judging current magnetic field intensity that Magnetic Sensor detects is more than setting
Value;If the changing value for the current magnetic field intensity that Magnetic Sensor detects is more than setting value, it is close and right to be determined with another terminal
Digital hall sensor on terminal body generates to be disturbed by mistake;If the changing value for the current magnetic field intensity that Magnetic Sensor detects does not have
Setting value is had more than, then judges that no another terminal is close.
Compared with prior art, the beneficial effects of the present invention are:
The present invention can be when detecting the output valve of digital hall sensor more than the threshold value set and triggering interruption, first
System is not waken up and into camera applications, but first detect whether that another terminal is close and the Digital Hall of local terminal is passed
Sensor determines whether wake-up system and into camera applications again after generating interference by mistake, can reduce since two station terminals mutually lean on
The nearly event generation for magnetic field being caused to be interfered so that maloperation occurs for terminal, more stable guarantor is provided to open camera
Card improves the usage experience of camera.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is the structure diagram of the terminal of the present invention with rotating camera;
Fig. 2 is a kind of method flow diagram of reduction terminal rotating camera false triggering described in the embodiment of the present invention one;
Fig. 3 is that the first described in the embodiment of the present invention one detects whether the close method flow diagram of another terminal;
Fig. 4 is that second described in the embodiment of the present invention one detects whether the close method flow diagram of another terminal;
Fig. 5 is that the third described in the embodiment of the present invention one detects whether the close method flow diagram of another terminal;
Fig. 6 is the 4th kind described in the embodiment of the present invention one and detects whether the close method flow diagram of another terminal;
Fig. 7 is a kind of structural frames of the device of reduction terminal rotating camera false triggering described in the embodiment of the present invention two
Figure;
Fig. 8 is the structure diagram of the first the second detection module described in the embodiment of the present invention two;
Fig. 9 is the structure diagram of second of second detection modules described in the embodiment of the present invention two;
Figure 10 is the structure diagram of the third the second detection module described in the embodiment of the present invention two;
Figure 11 is the structure diagram of the 4th kind of the second detection module described in the embodiment of the present invention two.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts belong to the scope of protection of the invention.
Embodiment one
The embodiment of the present invention one provides a kind of method for reducing terminal rotating camera false triggering, as shown in Figure 1, institute
Rotating camera is stated on terminal body and can be rotated compared with terminal body, is provided in the rotating camera
Magnet is provided with digital hall sensor on terminal body.The present embodiment is described in detail below in conjunction with the accompanying drawings.Fig. 2
It is the method flow diagram of the embodiment of the present invention one, please refers to Fig.2, the method for the embodiment of the present invention comprises the following steps:
Step S1, whether the output valve of the digital hall sensor on detection terminal body is more than the threshold value and triggering set
It interrupts;
Specifically, fracture in having in digital hall sensor, can be provided with down trigger condition in code, if digital
The output valve of Hall sensor is more than the threshold value of setting, then will trigger interruption, but first not light screen and wake-up at this time
System, but perform following step S2.
Step S2, detect whether that another terminal is close and the digital hall sensor on terminal body is generated by mistake dry
It disturbs;
Since digital hall sensor is to judge the rotation angle of rotating camera according to the power in detection magnetic field, because
This, when two station terminals are close to each other, magnetic field originally may be interfered, and the output valve of digital hall sensor is then at this time
Variation can be generated, false triggering is generated, causes in the case where rotating camera acts without spin, terminal can also wake up system, and
Into camera applications.For this reason, it is necessary to the output valve in digital hall sensor is more than the threshold value of setting and when triggering interruption, inspection
Whether survey has that another terminal is close, if there have another terminal to be generated close to and to digital hall sensor on terminal body to be by mistake dry
It disturbs, then step S3, otherwise, then performs step S4.
Step S3, system is not waken up;
Step S4, system is waken up according to the interrupt signal of triggering, into camera applications.
As a preferred embodiment, as shown in figure 3, step S2 specifically includes following steps:
Step S211, start the nfc functions of terminal, pass through the variation of nfc antenna detection current electric field intensity;
Whether the changing value for step S212, judging the current electric field intensity that nfc antenna detections arrive is more than setting value;
If the changing value for the current electric field intensity that nfc antenna detections arrive is more than setting value, step S213 is performed, if nfc
Antenna detection to the changing value of current electric field intensity be not above setting value, then perform step S214.
Step S213, be determined with another terminal close to and on terminal body digital hall sensor generate by mistake disturb;
Step S214, judge that no another terminal is close.
The nfc antennas of terminal can detect the variation of current electric field intensity, when changing value be more than setting value, illustrate wired
It is close to enclose equipment, then just two station terminals of explanation are close together.
As another preferred embodiment, as shown in figure 4, step S2 can also specifically include following steps:
Step S221, start the wifi functions of terminal, detect the intensity of the wifi signals of other side;
Whether the intensity value for step S222, judging to detect the wifi signals of other side is more than setting value;
If the intensity value for detecting the wifi signals of other side is more than setting value, step S223 is performed, if detecting other side
The intensity values of wifi signals be not above setting value, then perform step S224.
Step S223, be determined with another terminal close to and on terminal body digital hall sensor generate by mistake disturb;
Step S224, judge that no another terminal is close.
When two station terminals slowly close to when, the intensity value of the wifi signals detected can gradually increase, when intensity value surpasses
Setting value is crossed, illustrates that the distance of two station terminals is closer, another terminal is sensed close to the Digital Hall being enough to local terminal
Device generates to be disturbed by mistake.
As another preferred embodiment, as shown in figure 5, step S2 can also specifically include following steps:
Step S231, start the Bluetooth function of terminal, detect the bluetooth equipment of other side;
Step S232, judge whether to detect the bluetooth equipment of other side;
If detecting the bluetooth equipment of other side, step S233 is performed, if not detecting the bluetooth equipment of other side, is held
Row step S234.
Step S233, be determined with another terminal close to and on terminal body digital hall sensor generate by mistake disturb;
Step S234, judge that no another terminal is close.
When local terminal detects the bluetooth equipment of other side, illustrate that the distance of two station terminals is closer, another terminal is leaned on
It is near to be enough to generate the digital hall sensor of local terminal interference by mistake.
As another preferred embodiment, as shown in fig. 6, step S2 can also specifically include following steps:
Step S241, start the Magnetic Sensor of terminal, the variation of current magnetic field intensity is detected by Magnetic Sensor;
When it is implemented, the Magnetic Sensor needs the separate magnet with digital hall sensor cooperating, make it not
Magnetic interference between by digital hall sensor and magnet.
Whether the changing value for step S242, judging the current magnetic field intensity that Magnetic Sensor detects is more than setting value;
If the changing value for the current magnetic field intensity that Magnetic Sensor detects is more than setting value, step S243 is performed, if magnetic
The changing value for the current magnetic field intensity that sensor detects is not above setting value, then performs step S244.
Step S243, be determined with another terminal close to and on terminal body digital hall sensor generate by mistake disturb;
Step S244, judge that no another terminal is close.
When the changing value for the current magnetic field intensity that local terminal detects is more than setting value, illustrate to have another band magnetic
Terminal is close, and the digital hall sensor of local terminal is generated and is disturbed by mistake.
It it should be noted that can be very convenient above by detection modes such as nfc, bluetooth, wifi and Magnetic Sensors
Detect the output valve of digital hall sensor variation whether due to other-end lean on it is close caused by, operation letter
Easily.
The method of the present invention can detect the output valve of digital hall sensor more than in the threshold value of setting and triggering
When disconnected, first do not wake up system and into camera applications, but first detect whether another terminal close to and to the number of local terminal
Word Hall sensor determines whether wake-up system and into camera applications again after generating interference by mistake, can reduce due to two ends
The event generation close to each other for magnetic field being caused to be interfered so that maloperation occurs for terminal is held, is provided for unlatching camera more steady
Fixed guarantee improves the usage experience of camera.
Embodiment two
The embodiment of the present invention two provides a kind of device for reducing terminal rotating camera false triggering, as shown in Figure 1, institute
It states rotating camera to be rotatably mounted on terminal body, the terminal body is equipped with and the magnet in the rotating camera
The digital hall sensor of cooperating, refer to Fig. 7, which includes first detection module 1, the second detection module 2 and place
Module 3 is managed, the principle of above-mentioned each module will be described in detail below.
First detection module 1, whether the output valve of the digital hall sensor on detection terminal body is more than setting
Threshold value and trigger interruption.
Second detection module 2, if detecting the digital hall sensor on terminal body for the first detection module 1
Output valve be more than the threshold value of setting and trigger interruptions, then first detected whether that another terminal is close and to terminal body at this time
On digital hall sensor generate by mistake disturb.
Wherein, according to actual conditions, the exact functionality framework of second detection module 2 can also be with detection mode
It is different and different.As shown in figure 8, second detection module 2 specifically includes:
Nfc starting modules 211 for starting the nfc functions of terminal, pass through the change of nfc antenna detection current electric field intensity
Change;
Field strength judgment module 212, for judge nfc antenna detections to current electric field intensity changing value whether be more than set
Definite value;If the changing value for the current electric field intensity that nfc antenna detections arrive is more than setting value, it is close and right to be determined with another terminal
Digital hall sensor on terminal body generates to be disturbed by mistake;If nfc antenna detections to the changing value of current electric field intensity do not have
Setting value is had more than, then judges that no another terminal is close.
In another embodiment, as shown in figure 9, second detection module 2 specifically includes:
Wifi starting modules 221 for starting the wifi functions of terminal, detect the intensity of the wifi signals of other side;
Signal strength judgment module 222, for judging to detect whether the intensity value of the wifi signals of other side is more than setting
Value;If detect the wifi signals of other side intensity value be more than setting value, be determined with another terminal close to and to terminal body
On digital hall sensor generate by mistake disturb;If detecting, the intensity value of the wifi signals of other side is not above setting value,
Judge that no another terminal is close.
In another embodiment, as shown in Figure 10, second detection module 2 specifically includes:
Bluetooth starting module 231 for starting the Bluetooth function of terminal, detects the bluetooth equipment of other side;
Bluetooth judgment module 232, for judging whether to detect the bluetooth equipment of other side;If detecting, the bluetooth of other side is set
It is standby, then be determined with another terminal close to and on terminal body digital hall sensor generate by mistake disturb;If it does not detect
The bluetooth equipment of other side then judges that no another terminal is close.
In another embodiment, as shown in figure 11, second detection module 2 specifically includes:
For starting the Magnetic Sensor of terminal, it is strong to detect current magnetic field by Magnetic Sensor for Magnetic Sensor starting module 241
The variation of degree;
Magnetic field judgment module 242, for judge the changing value of current magnetic field intensity that Magnetic Sensor detects whether be more than
Setting value;If the changing value for the current magnetic field intensity that Magnetic Sensor detects is more than setting value, it is close to be determined with another terminal
And the digital hall sensor on terminal body is generated and is disturbed by mistake;If the variation for the current magnetic field intensity that Magnetic Sensor detects
Value is not above setting value, then judges that no another terminal is close.
It can easily detect that Digital Hall senses above by detection modes such as nfc, bluetooth, wifi and Magnetic Sensors
The variation of the output valve of device whether due to other-end lean on it is close caused by, operation is simple.
Processing module 3, if for having another terminal close and being generated to the digital hall sensor on terminal body by mistake dry
It disturbs, does not then wake up system;And if it is close without another terminal, according to the interrupt signal of triggering wake up system, into camera
Using.
The device of the invention can detect the output valve of digital hall sensor more than in the threshold value of setting and triggering
When disconnected, first do not wake up system and into camera applications, but first detect whether another terminal close to and to the number of local terminal
Word Hall sensor determines whether wake-up system and into camera applications again after generating interference by mistake, can reduce due to two ends
The event generation close to each other for magnetic field being caused to be interfered so that maloperation occurs for terminal is held, is provided for unlatching camera more steady
Fixed guarantee improves the usage experience of camera.
It should be noted that above-described embodiment provide a kind of reduction terminal rotating camera false triggering device, only with
The division progress of above-mentioned each function module, can be as needed and by above-mentioned function distribution by not for example, in practical application
Same function module is completed, i.e., the internal structure of system is divided into different function modules, to complete whole described above
Or partial function.In addition, the terminal can be mobile phone, tablet computer, human-computer interaction terminal or other with rotating camera
Mobile terminal device.
One of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, the program can be stored in a computer read/write memory medium
In, the storage medium, such as ROM/RAM, disk, CD.
Above-described embodiment is the preferable embodiment of the present invention, but embodiments of the present invention and from above-described embodiment
Limitation, other any Spirit Essences without departing from the present invention with made under principle change, modification, replacement, combine, simplification,
Equivalent substitute mode is should be, is included within protection scope of the present invention.
Claims (8)
1. a kind of method for reducing terminal rotating camera false triggering, the rotating camera are rotatably mounted to terminal body
On, the terminal body is equipped with the digital hall sensor with the magnet cooperating in the rotating camera, and feature exists
In this method comprises the following steps:
Whether the output valve of the digital hall sensor on detection terminal body is more than the threshold value of setting and triggers interruption;
If the output valve of the digital hall sensor on terminal body is more than the threshold value of setting and triggers interruption, examine first at this time
It surveys whether to have another terminal close and generate the digital hall sensor on terminal body and disturb by mistake;
It is disturbed by mistake if having another terminal close and the digital hall sensor on terminal body being generated, does not wake up system;
If close without another terminal, system is waken up according to the interrupt signal of triggering, into camera applications;
It is described to detect whether that another terminal is close and generates the step of disturbing by mistake to the digital hall sensor on terminal body
It specifically includes:
Start the nfc functions of terminal, pass through the variation of nfc antenna detection current electric field intensity;
Whether the changing value for judging the current electric field intensity that nfc antenna detections arrive is more than setting value;
If the changing value for the current electric field intensity that nfc antenna detections arrive is more than setting value, it is close and right to be determined with another terminal
Digital hall sensor on terminal body generates to be disturbed by mistake;
If nfc antenna detections to the changing value of current electric field intensity be not above setting value, judge that no another terminal is leaned on
Closely.
A kind of 2. method for reducing terminal rotating camera false triggering according to claim 1, which is characterized in that the inspection
It surveys whether to have another terminal close and generate the step of disturbing by mistake to the digital hall sensor on terminal body and specifically replace with:
Start the wifi functions of terminal, detect the intensity of the wifi signals of other side;
Whether the intensity value for judging to detect the wifi signals of other side is more than setting value;
If detect the wifi signals of other side intensity value be more than setting value, be determined with another terminal close to and to terminal body
On digital hall sensor generate by mistake disturb;
If detecting, the intensity value of the wifi signals of other side is not above setting value, judges that no another terminal is close.
A kind of 3. method for reducing terminal rotating camera false triggering according to claim 1, which is characterized in that the inspection
It surveys whether to have another terminal close and generate the step of disturbing by mistake to the digital hall sensor on terminal body and specifically replace with:
Start the Bluetooth function of terminal, detect the bluetooth equipment of other side;
Judge whether to detect the bluetooth equipment of other side;
If detecting the bluetooth equipment of other side, be determined with another terminal close to and to the digital hall sensor on terminal body
It generates and disturbs by mistake;
If not detecting the bluetooth equipment of other side, judge that no another terminal is close.
A kind of 4. method for reducing terminal rotating camera false triggering according to claim 1, which is characterized in that the inspection
It surveys whether to have another terminal close and generate the step of disturbing by mistake to the digital hall sensor on terminal body and specifically replace with:
Start the Magnetic Sensor of terminal, the variation of current magnetic field intensity is detected by Magnetic Sensor;
Whether the changing value for judging the current magnetic field intensity that Magnetic Sensor detects is more than setting value;
If the changing value for the current magnetic field intensity that Magnetic Sensor detects is more than setting value, it is close and right to be determined with another terminal
Digital hall sensor on terminal body generates to be disturbed by mistake;
If the changing value for the current magnetic field intensity that Magnetic Sensor detects is not above setting value, judge that no another terminal is leaned on
Closely.
5. a kind of device for reducing terminal rotating camera false triggering, the rotating camera are rotatably mounted to terminal body
On, the terminal body is equipped with the digital hall sensor with the magnet cooperating in the rotating camera, and feature exists
In the device includes:
First detection module, whether the output valve of the digital hall sensor on detection terminal body is more than the threshold value set
And trigger interruption;
Second detection module, if detecting the output of the digital hall sensor on terminal body for the first detection module
Value is more than the threshold value of setting and triggers interruptions, then first detects whether that another terminal is close and to the number on terminal body at this time
Word Hall sensor generates to be disturbed by mistake;
Processing module, if disturbed for having another terminal close and the digital hall sensor on terminal body being generated by mistake,
Do not wake up system;And if it is close without another terminal, according to the interrupt signal of triggering wake up system, into camera applications;
Second detection module specifically includes:
Nfc starting modules for starting the nfc functions of terminal, pass through the variation of nfc antenna detection current electric field intensity;
Field strength judgment module, whether the changing value for judging current electric field intensity that nfc antenna detections arrive is more than setting value;
If the changing value for the current electric field intensity that nfc antenna detections arrive is more than setting value, it is close and right to be determined with another terminal
Digital hall sensor on terminal body generates to be disturbed by mistake;If nfc antenna detections to the changing value of current electric field intensity do not have
Setting value is had more than, then judges that no another terminal is close.
6. a kind of device for reducing terminal rotating camera false triggering according to claim 5, which is characterized in that described the
Two detection modules specifically replace with:
Wifi starting modules for starting the wifi functions of terminal, detect the intensity of the wifi signals of other side;
Signal strength judgment module, for judging to detect whether the intensity value of the wifi signals of other side is more than setting value;If inspection
Measure the wifi signals of other side intensity value be more than setting value, then be determined with another terminal close to and to the number on terminal body
Hall sensor generates to be disturbed by mistake;If detecting, the intensity value of the wifi signals of other side is not above setting value, and judgement does not have
Another terminal is close.
7. a kind of device for reducing terminal rotating camera false triggering according to claim 5, which is characterized in that described the
Two detection modules specifically replace with:
Bluetooth starting module for starting the Bluetooth function of terminal, detects the bluetooth equipment of other side;
Bluetooth judgment module, for judging whether to detect the bluetooth equipment of other side;If detecting the bluetooth equipment of other side, sentence
Surely there is another terminal close and the digital hall sensor on terminal body is generated and disturb by mistake;If the indigo plant of other side is not detected
Tooth equipment then judges that no another terminal is close.
8. a kind of device for reducing terminal rotating camera false triggering according to claim 5, which is characterized in that described the
Two detection modules specifically replace with:
For starting the Magnetic Sensor of terminal, the change of current magnetic field intensity is detected by Magnetic Sensor for Magnetic Sensor starting module
Change;
Magnetic field judgment module, whether the changing value for judging current magnetic field intensity that Magnetic Sensor detects is more than setting value;
If the changing value for the current magnetic field intensity that Magnetic Sensor detects is more than setting value, it is close and right to be determined with another terminal
Digital hall sensor on terminal body generates to be disturbed by mistake;If the changing value for the current magnetic field intensity that Magnetic Sensor detects does not have
Setting value is had more than, then judges that no another terminal is close.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510473953.4A CN105141836B (en) | 2015-08-05 | 2015-08-05 | A kind of method and device for reducing terminal rotating camera false triggering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510473953.4A CN105141836B (en) | 2015-08-05 | 2015-08-05 | A kind of method and device for reducing terminal rotating camera false triggering |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105141836A CN105141836A (en) | 2015-12-09 |
CN105141836B true CN105141836B (en) | 2018-05-29 |
Family
ID=54727034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510473953.4A Expired - Fee Related CN105141836B (en) | 2015-08-05 | 2015-08-05 | A kind of method and device for reducing terminal rotating camera false triggering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105141836B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677041B (en) * | 2016-02-17 | 2019-08-06 | Oppo广东移动通信有限公司 | The display control method and device of screen |
CN106339168B (en) * | 2016-08-22 | 2020-10-16 | 北京小米移动软件有限公司 | Screen control method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135576A (en) * | 2014-08-25 | 2014-11-05 | 广东欧珀移动通信有限公司 | Compass positioning optimization method and system for mobile terminal |
CN104640184A (en) * | 2015-02-15 | 2015-05-20 | 广东欧珀移动通信有限公司 | Screen wake-up method and device |
CN104765551A (en) * | 2015-04-20 | 2015-07-08 | 深圳市欧珀通信软件有限公司 | Method, device and system for lightening mobile terminal screen |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8188851B2 (en) * | 2009-05-04 | 2012-05-29 | Sony Mobile Communications Ab | Wake-up system and method for an electronic apparatus |
-
2015
- 2015-08-05 CN CN201510473953.4A patent/CN105141836B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104135576A (en) * | 2014-08-25 | 2014-11-05 | 广东欧珀移动通信有限公司 | Compass positioning optimization method and system for mobile terminal |
CN104640184A (en) * | 2015-02-15 | 2015-05-20 | 广东欧珀移动通信有限公司 | Screen wake-up method and device |
CN104765551A (en) * | 2015-04-20 | 2015-07-08 | 深圳市欧珀通信软件有限公司 | Method, device and system for lightening mobile terminal screen |
Also Published As
Publication number | Publication date |
---|---|
CN105141836A (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3506052B1 (en) | Method of detecting whether smart device is being worn, and smart device | |
CN113131565A (en) | Charging method and terminal | |
CN104142728B (en) | Electronic installation | |
CN106897713A (en) | A kind of method and mobile terminal for waking up mobile terminal screen | |
CN107843802A (en) | Internal short-circuit detection method and device | |
CN107664841A (en) | Intelligent glasses and the method for controlling intelligent glasses dormancy awakening | |
WO2016168982A1 (en) | Method, apparatus and terminal device for setting interrupt threshold for fingerprint identification device | |
CN104640184A (en) | Screen wake-up method and device | |
CN104238743A (en) | Information processing apparatus, and information processing method | |
CN109839245B (en) | Electronic device and waterproof quality guarantee condition judgment method thereof | |
CN109362124B (en) | Infrared detection false triggering prevention method and device and low-power-consumption wireless equipment | |
CN103365389A (en) | Method for performing power consumption control, and associated apparatus | |
CN105141836B (en) | A kind of method and device for reducing terminal rotating camera false triggering | |
CN108845727B (en) | Mutual capacitance type touch screen based awakening method and device | |
CN103576092A (en) | Remote controller and battery capacity detection device and method thereof | |
CN104243683B (en) | A kind of method, terminal, Subscriber Identity Module and system handling data | |
CN104484112A (en) | Work mode switching method and terminal | |
US8212517B2 (en) | Battery type sensing method and device for sensing battery type | |
US20160042636A1 (en) | Electronic device and method for turning off alarm for electronic device | |
CN105844179A (en) | Terminal protection method and device | |
CN110049537A (en) | Power saving method, device, equipment and storage medium for intelligent wearable equipment | |
CN103078990A (en) | Mobile terminal with alarm clock shake control system and alarm clock shake control method | |
CN110958345A (en) | Method and device for detecting rear cover of mobile terminal and computer readable storage medium | |
US20160147630A1 (en) | Method and system of detecting abnormal power consumption | |
CN206932277U (en) | Mobile terminal |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180529 |