CN105389025B - A kind of terminal and the control method based on terminal - Google Patents
A kind of terminal and the control method based on terminal Download PDFInfo
- Publication number
- CN105389025B CN105389025B CN201510649529.0A CN201510649529A CN105389025B CN 105389025 B CN105389025 B CN 105389025B CN 201510649529 A CN201510649529 A CN 201510649529A CN 105389025 B CN105389025 B CN 105389025B
- Authority
- CN
- China
- Prior art keywords
- terminal
- sphere
- pipeline
- control instruction
- processor
- 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 33
- 238000010586 diagram Methods 0.000 description 12
- 238000001514 detection method Methods 0.000 description 9
- 230000005622 photoelectricity Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 239000011324 bead Substances 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B15/00—Special procedures for taking photographs; Apparatus therefor
- G03B15/02—Illuminating scene
- G03B15/03—Combinations of cameras with lighting apparatus; Flash units
- G03B15/05—Combinations of cameras with electronic flash apparatus; Electronic flash units
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
Include the embodiment of the invention discloses a kind of terminal with the control method based on terminal, the terminal:Pipeline is arranged in the terminal, and the pipeline is built-in at least one sphere, for being rolled in pipeline during the shake of the terminal;Sensor, for detecting the sphere mobile status in the pipeline;Processor, the sphere mobile status for being detected according to the sensor generate control instruction;Execution module, for performing the control instruction that the processor generates, which can be specifically used for the flash lamp of control terminal.The embodiment of the present invention by using above-mentioned technical proposal, can solve the problems, such as in actual life terminal flash operation process it is cumbersome take, be difficult to it is singlehanded complete operation, improve user experience.
Description
Technical field
The present invention relates to field of mobile terminals more particularly to a kind of terminal and the control method based on terminal.
Background technology
In recent years, with the fast development of mobile communication, mobile terminal is increasingly towards personalized, facilitation direction hair
Exhibition.
Mobile terminal is generally fitted with flash lamp, and user would generally make in the case of dark or suddenly power-off
It is illuminated with the flash lamp of portable mobile terminal.The pattern for opening flash lamp in mobile terminal at present usually first will
The mobile terminal unlock being in the standby state, finds the application program for opening flash lamp, then opens flash lamp.
The existing method operating process for opening mobile terminal flash lamp is cumbersome, it is difficult to one-handed performance, it is inconvenient for use, and
In the case where being badly in need of use specific condition of the flash lamp as emergency lighting, when methods of these opening flash lamps need to expend longer
Between, it is unfavorable for the use of user, the needs of user can not be met.
Invention content
In view of this, the embodiment of the present invention provides a kind of terminal and the control method based on terminal, to solve the prior art
In open a terminal flash lamp operating process it is cumbersome, expend the time it is longer, inconvenient for use the problem of.
In a first aspect, an embodiment of the present invention provides a kind of terminal, including:
Pipeline is arranged in the terminal, and the pipeline is built-in at least one sphere, in the shake of the terminal
It is rolled in pipeline in the process;
Sensor, for detecting the sphere mobile status in the pipeline;
Processor, the sphere mobile status for being detected according to the sensor generate control instruction;
Execution module, for performing the control instruction that the processor generates.
Second aspect, the embodiment of the present invention additionally provide a kind of control method based on terminal, and this method is using the present invention
Terminal that any embodiment is provided performs, and this method includes:
When user shakes the terminal, the sphere being configured in pipeline is driven to rotate by the pipeline being configured in terminal;
The sphere mobile status in the pipeline is detected by the sensor being configured in terminal;
By the processor being configured in terminal, the sphere mobile status detected according to the sensor generates control and refers to
It enables;
By the execution module being configured in terminal, operated accordingly according to the control instruction.
Control program provided in an embodiment of the present invention based on terminal, passes through the dresses such as installation pipeline, sensor, execution module
It puts, user shakes terminal and the sphere in terminal is driven to rotate, and processor is generated corresponding by the rotation of sensor sensing sphere
Control instruction, which can be specifically used for the flash lamp that is configured in control terminal.It, can by using above-mentioned technical proposal
To solve the problems, such as that flash operation process is cumbersome in actual life, the consuming time is longer, be difficult to singlehanded completion operation, use is improved
It experiences at family.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of structure diagram for terminal that the embodiment of the present invention one provides;
Fig. 2 is a kind of structure diagram for annulus line that the embodiment of the present invention one provides;
Fig. 3 is a kind of structure diagram of photosensitive sensor provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structure diagram of terminal provided by Embodiment 2 of the present invention;
Fig. 5 A are the relative position schematic diagrames of the first annulus line and photosensitive sensor provided by Embodiment 2 of the present invention;
Fig. 5 B are the relative position schematic diagrames of second of annulus line and photosensitive sensor provided by Embodiment 2 of the present invention;
Fig. 5 C are the relative position schematic diagrames of the third annulus line and photosensitive sensor provided by Embodiment 2 of the present invention;
Fig. 5 D are the relative position schematic diagrames of the 4th kind of annulus line and photosensitive sensor provided by Embodiment 2 of the present invention;
Fig. 6 is the relative position schematic diagram of a kind of annulus line and photosensitive sensor provided by Embodiment 2 of the present invention;
Fig. 7 is a kind of flow diagram for control method based on terminal that the embodiment of the present invention three provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than full content are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 is the structure diagram of a kind of terminal that the embodiment of the present invention one provides, which can be used for performing the present invention in fact
Apply the control method based on terminal of example proposition.As shown in Figure 1, the terminal includes:Pipeline 110 is arranged in the terminal, pipe
Road 110 is built-in at least one sphere, for being rolled in pipeline 110 during the shake of the terminal;Sensor 120,
For detecting the sphere mobile status in the pipeline 110;Processor 130, the sphere for being detected according to sensor 120 move
Dynamic state generates control instruction;Execution module 140, for performing the control instruction that the processor 130 generates.
Relative size during design between the diameter of sphere and the diameter of pipeline 110 is reasonably set
Meter.If the diameter of sphere is more than the diameter of pipeline 110, sphere can not be just put into pipeline 110;It is if straight with pipeline 110
Diameter is compared, and the diameter of sphere is too small, and sphere can arbitrarily shake in pipeline, can increase the difficulty of the detection of sensor 120.Institute
With, in design, the setting of sphere diameter should be appropriate, can neither it is excessive can not be too small, illustratively, the diameter of sphere can be with
Equal to the diameter of pipeline 110, make bead that can enter pipeline 110 just, but will not arbitrarily be shaken in pipeline 110 again.
Further, as shown in Fig. 2, the shape of the pipeline 210 is annular.Annulus line 210 can make sphere 220 exist
Stress is more uniform during terminal is shaken, so as to which sphere 220 be made to have than more uniform velocity of rotation, it is ensured that when terminal is along suitable
During hour hands/rotate in an anti-clockwise direction, the sphere 220 in pipeline 210 can also be rolled along clockwise/counterclockwise direction accordingly.
During initial shake terminal, pipeline 210 shakes with terminal, and due to sphere 220, there are inertia, spheres 220 at this time
It can be moved for pipeline 210 to the direction opposite with shaking direction, but the mistake that sphere 220 moves in the opposite direction
Cheng Zhong, tube wall can constantly apply the power identical with terminal shaking direction to sphere 220, sphere made to have and terminal shaking direction
Identical acceleration, if friction is small between sphere 220 and pipeline 210, the power that tube wall applies to sphere 220 is far longer than
Frictional force suffered by sphere 220, then, by related physical knowledge it is found that when being finally reached equilibrium state, using ground as
Object of reference, the velocity of rotation of sphere 220 can be more than the shake speed of terminal, sphere 220 relative to pipeline 210 moving direction with
Terminal is identical relative to the moving direction on ground.So in order to ensure that sphere 220 is relative to pipeline 210 when shaking terminal
Rotation direction is identical relative to the shaking direction on ground with terminal, should as possible reduce between sphere 220 and pipeline 210 in design
Frictional force.
Illustratively, when shaking terminal clockwise, pipeline 210 moves along clockwise direction together with terminal, at this time
Since sphere 220 is there are inertia, sphere 220 can move in the counterclockwise direction for pipeline 210.Using pipeline 210 as
Object of reference, in moving process, active force of the sphere 220 constantly by tube wall along clockwise direction so that sphere 220 has up time
The acceleration in needle direction, in the process, 220 anticlockwise speed of sphere can constantly reduce, until become zero, but by
In sphere 220 at this time there are still acceleration, so sphere 220 can obtain speed along clockwise direction, velocity amplitude constantly increases
Greatly.By the relevant knowledge of physical mechanics it is found that when sphere 220 has clockwise speed relative to pipeline 210, sphere
220 can by 210 anticlockwise frictional force of pipeline and tube wall to sphere anticlockwise resistance, with the speed of sphere 220
The increase of degree, the Resistance Value also can constantly increase, until being finally reached equilibrium state.By being analyzed above it is found that working as along clockwise
When terminal is shaken in direction, sphere 220 is rotated in the clockwise direction for terminal in pipeline 210.Similarly, it shakes counterclockwise
During dynamic terminal, sphere 220 rotates in the counterclockwise direction for terminal in pipeline 210.
Further, the execution module is additionally operable to arrive corresponding information reporting after the completion of the control instruction performs
Processor.The corresponding information includes:The information such as flash lamp has been opened or flash lamp is turned off.
Further, the control instruction is flash lamp switch order;The execution module is flash lamp.
Illustratively, when control instruction is flash lamp switch order, the course of work for the terminal that the present embodiment is provided
It is as follows:Terminal is shaken, the pipeline 110 in terminal shakes with terminal, so as to which sphere be made to be rolled in pipeline 110;Work as sphere
When being rolled in pipeline 110, the mobile status of sphere can be detected and will detect by being set to the sensor 120 of 110 side of pipeline
To state be sent to processor 130;Processor 130 makes opening/closing flash lamp accordingly according to the generation of the mobile status of sphere
Instruction;Execution module 140 is operated accordingly according to instruction, and corresponding information is returned to processor 130 after completing operation;Place
Reason device 130 shows the information received by terminal screen, informs that user's flash lamp has beaten opening/closing.
The embodiment of the present invention provides a kind of terminal, when shaking mobile phone, applies active force to sphere by pipeline, makes in pipeline
Sphere rolled in pipeline;By the mobile status of sensor signal piping interior spheroid and the mobile status is transmitted to processing
Device;Control instruction is generated according to sphere mobile status by processor;It is carried out accordingly according to control instruction by execution module
Operation.The embodiment of the present invention is treated the control of control device by terminal realization, controls process by using above-mentioned technical proposal
It is convenient succinct, it can achieve the purpose that enhance the function of terminal, improve user experience, when device to be controlled is terminal flash lamp
When, can solve the problems, such as in actual life terminal flash operation process it is cumbersome take, be difficult to it is singlehanded complete operation, improve and use
It experiences at family.
Embodiment two
The embodiment of the present invention two provides a kind of terminal, the present embodiment based on above-described embodiment, to above-described embodiment into
Row optimization, further, the sensor is photosensitive sensor, for the detection in the sphere by the photosensitive sensor
It is counted during light path.
Sensor is a kind of detection device, the information that the variation of tested measurement information can be detected according to setting and will be detected
It is converted into electric signal or the information output of other required forms according to certain rules, to meet the transmission of information, processing, storage, show
The requirements such as show, record and control.Sensor is generally made of sensing element, conversion element, translation circuit and four part of power supply,
In, sensing element is used to detect the variation for the amount of being measured and exports have the physical signal of determining relationship, conversion member with being measured amount
Part is used to the physical signal that sensing element exports being converted into electric signal or some other signals, and translation circuit is used to that member will to be converted
The signal amplification of part output, accessory power supply are used to power to conversion element and translation circuit.Common sensor has light sensor
Device, acoustic sensor, voltage sensitive sensor, temp-sensitive sensor etc..Variation of the photosensitive sensor commonly used to the extraneous light intensity of detection, sound
Variation of the dependent sensor commonly used to detection external sound, variation of the voltage sensitive sensor commonly used to detection ambient pressure are temperature sensitive
Variation of the sensor commonly used to detection ambient temperature.
Because terminal is typically opaque, it can stop that ambient enters terminal inner, ambient is not easy pair
Sensor in terminal interferes, and the variation of the factors such as external sound, temperature is than less easily to the interference of sensor
It excludes, so, in order to improve the accuracy of sphere mobile status that sensor detects, the present embodiment preferably uses photosensitive biography
Sensor detects the mobile status of sphere.
Illustratively, as shown in figure 3, photosensitive sensor is led to by light source 310, light-sensitive element 320, photoelectric device 330, photoelectricity
Road 340 and 350 5 part of accessory power supply composition.Wherein, light source 310 is used to provide the light needed for detection to light-sensitive element 320;
Light-sensitive element 320 is used to detect the variation of light and is exported the variation of light in the form of physical signal, and light-sensitive element 320 has
Many different classification, such as photo resistance, photodiode, phototriode etc.;Photoelectric device 330 is used for light-sensitive element
The physical signal of 320 outputs is converted into electric signal;Photoelectricity access 340 is used to put the electric signal that photoelectric device 330 is converted
Greatly;Accessory power supply 350 to photoelectric device 330 and photoelectricity access 340 for powering, in the present embodiment, the auxiliary electricity of sensor
Source 350 can save, and the operation powered for photoelectric device 330 and photoelectricity access 340 is completed by the power supply of terminal.
Further, the quantity of the photosensitive sensor is at least two, and the processor is specifically used for obtaining each photosensitive
The sphere that sensor is recorded is by time and number, as the sphere mobile status.
Illustratively, as shown in figure 4, microprocessor 430, micro- place can be added between processor 440 and sensor 420
Reason device is connected with sensor 420 and processor 440, by microprocessor 430 come record sphere by time of sensor 420 with
The time being recorded and number are simultaneously reported to processor 440 by number.
Illustratively, the quantity of photosensitive sensor could be provided as two, as shown in Fig. 5 A, Fig. 5 B, Fig. 5 C or Fig. 5 D, ball
The mobile status of body 520 includes time of the sphere 520 by the light path of photosensitive sensor 530 and the light path of photosensitive sensor 540,
Further include number of the sphere 520 by the light path of photosensitive sensor 530 and the light path of photosensitive sensor 540.Processor passes through note
Time of the sphere 520 Jing Guo 540 light path of photosensitive sensor 530 and photosensitive sensor is recorded to judge that sphere 520 is to rotate clockwise
Still rotate counterclockwise the operation carried out so as to which user be judged to want, if sphere 520 by time of 530 light path of sensor earlier than
Sphere 520 first passes through the light path of sensor 530 again by sensor 540 by time of 540 light path of sensor, i.e. sphere 520
Light path, then processor judge that sphere 520 is rotating in the counterclockwise direction;Conversely, then processor judges sphere 520 along up time
Needle direction rotates.Processor is by judging that sphere 520 passes through photosensitive sensor 530 and the number of the light path of photosensitive sensor 540
Whether meet preset times to determine whether to operate the flash lamp being configured in terminal accordingly, preset times can by with
Family sets itself, in order to reduce the possibility of false triggering, it is preferred that preset times can be set greater than or equal to three times.
In the present embodiment, the setting of two photosensitive sensor positions is very flexible:By photosensitive sensor 530 and light sensor
Device 540 is used as a global analysis, and photosensitive sensor is set to the side of annulus line, and side mentioned here can be but not
It is limited to any position on the upside of annulus line, downside, left side, right side;Photosensitive sensor 530 and photosensitive sensor 540 are made
For individual ontoanalysis, the phase between relative position and the two and annulus line between two photosensitive sensors 530 and 540
Setting to position is also extremely flexible, when photosensitive sensor 530 is set to the outside of annulus line 510, light sensor
Device 540 can be set to the outside (as shown in Figure 5A) of annulus line 510, can also be set to the inside of annulus line 510 (such as
Shown in Fig. 5 B);When photosensitive sensor 530 is set to the inside of annulus line 510, photosensitive sensor 540 can be set to ring
The outside (as shown in Figure 5 C) of shape pipeline 510 can also be set to the inside (as shown in Figure 5 D) of annulus line 510.
It should be noted that in the present embodiment, the distance between two photosensitive sensors are not arbitrary.As shown in fig. 6, circle
Arc 630 and circular arc 640 are irradiated to light 670 and photosensitive sensor 660 in pipeline 610 for an annulus by photosensitive sensor 650
Two parts that the light 680 being irradiated in pipeline 610 is cut, the annulus as the center of circle and pass through sphere 620 using the center of circle of pipeline 610
Center, circular arc 630 and circular arc 640 can form a full circle.If shorter circular arc is (in this figure in circular arc 630 and circular arc 640
For circular arc 640) more than the diameter of sphere 620, then processor is likely to result in due to the difference of 620 initial position of sphere and mistake occurs
Judgement accidentally.For example, sphere 620 is also in being rotated in the clockwise direction, if the initial position that sphere 620 rotates is located at circular arc
630 parts, then processor can record sphere 620 and first pass through sensor 660, using sensor 650, so as to judge sphere
620 are being rotated in the clockwise direction;If the initial position that sphere 620 rotates is located at 640 part of circular arc, then processor can record
Sphere 620 first passes through sensor 650, and using sensor 660, such processor will judge sphere 620 along side counterclockwise
To rotation, in this case, processor will generate the judgement of mistake and then generate the instruction of mistake.By analyzing above it is found that
In order to ensure the accuracy of detection, the irradiation light 670 of sensor 650 and the irradiation light 680 of sensor 660 should be reduced as possible
Along the distance of annulus line 610, both make to have one section with shorter length in the two sections of circular arcs cut.
The present embodiment is embodied as photosensitive sensor on the basis of above-described embodiment, by sensor, by the number of sensor
Amount is embodied as at least two, by judging that sphere rotates clockwise or rotate counterclockwise determining corresponding control instruction,
Decide whether triggering command by judging sphere by whether the number of sensor optical path reaches preset times.By using this
The technical solution that embodiment is provided, can solve in actual life that terminal flash operation engineering is cumbersome to be taken, be difficult to one hand
It is topic to complete operation, improves user experience.
Embodiment three
The embodiment of the present invention three provides a kind of control method based on terminal, and this method can be carried by any embodiment of the present invention
The terminal of confession performs.Fig. 7 is a kind of flow diagram of the control method based on terminal provided in an embodiment of the present invention, is such as schemed
Shown in 7, the control method provided in an embodiment of the present invention based on terminal includes the following steps:
S710, when user shakes the terminal, the sphere being configured in pipeline is driven to turn by the pipeline that is configured in terminal
It is dynamic.
S720, the sphere mobile status in the pipeline is detected by the sensor that is configured in terminal.
S730, the processor by being configured in terminal generate control according to the sphere mobile status that the sensor detects
System instruction.
S740, the execution module by being configured in terminal, are operated accordingly according to the control instruction.
Further, the control instruction is flash lamp switch order.
Further, the execution module being configured in by terminal is operated it accordingly according to the control instruction
Afterwards, it further includes:By the execution module being configured in terminal, the corresponding information that the control instruction performs is reported into processor;
By the processor being configured in terminal, the corresponding information is informed into user by the screen of the terminal.
The corresponding information includes:The information such as flash lamp has been opened or flash lamp is turned off.
Further, the method further includes:The input of user is received, is referred to updating the sphere mobile status with control
Correspondence between order.
The step execution sequence be it is extremely flexible, can be in the controlling party provided in an embodiment of the present invention based on terminal
It performs before the either step of method or later.
Correspondence between sphere mobile status and control instruction is included between the rotation direction and control instruction of sphere
Correspondence and sphere number of revolutions and control instruction between correspondence.Between the rotation direction and sphere of sphere
Correspondence includes:Sphere rotates clockwise generation and opens flash lamp instruction, and sphere rotates counterclockwise generation closing flash lamp and refers to
It enables;Or sphere rotates counterclockwise generation and opens flash lamp instruction, and sphere rotates clockwise generation and closes flash lamp instruction.Ball
Relationship between body number of revolutions and control instruction can be that sphere turnning circle is greater than or equal to N circle execution command adapted theretos,
In, N is positive integer, it is contemplated that the convenience of operation and the occurrence of in order to reduce flash lamp false triggering, it is preferred that N can
To be set as 3 or 4.
Illustratively, when N is set as 3, sphere rotates clockwise generation and opens flash lamp instruction, and sphere rotates counterclockwise production
During raw closing flash lamp instruction, shake clockwise more than the circle of terminal three, it is possible to the flash lamp to open a terminal;It shakes counterclockwise eventually
More than three circle of end, it is possible to be re-closing off the flash lamp of terminal.
The control method based on terminal that the present embodiment proposes can be performed by the terminal that above-mentioned any embodiment is proposed,
Has the corresponding advantageous effect of terminal proposed with the embodiment of the present invention.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiment described here, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (7)
1. a kind of terminal, which is characterized in that including:
Pipeline is arranged in the terminal, and the pipeline is built-in at least one sphere, in the shake process of the terminal
In rolled in pipeline;
Photosensitive sensor, for being counted in light path of the sphere by the photosensitive sensor, to detect
State the sphere mobile status in pipeline;
Processor, the sphere mobile status for being detected according to the photosensitive sensor generate control instruction;
Execution module, for performing the control instruction that the processor generates, wherein, the control instruction refers to for flash of light lamp switch
It enables;The execution module is flash lamp.
2. terminal according to claim 1, it is characterised in that:The shape of the pipeline is annular.
3. terminal according to claim 1, it is characterised in that:The quantity of the photosensitive sensor is at least two, described
Processor, by time and number, shape is moved as the sphere specifically for the sphere that each photosensitive sensor of acquisition is recorded
State.
4. terminal according to claim 1, which is characterized in that the execution module is additionally operable to perform in the control instruction
After the completion by corresponding information reporting to processor.
5. a kind of control method based on terminal, which is characterized in that it is performed using any terminals of claim 1-4,
The method includes:
When user shakes the terminal, the sphere being configured in pipeline is driven to rotate by the pipeline being configured in terminal;
It is counted by the photosensitive sensor being configured in terminal in light path of the sphere by the photosensitive sensor
Number, to detect the sphere mobile status in the pipeline;
By the processor being configured in terminal, the sphere mobile status detected according to the photosensitive sensor generates control and refers to
It enables;
By the execution module being configured in terminal, operated accordingly according to the control instruction, wherein, the control instruction
For flash lamp switch order.
6. according to the method described in claim 5, it is characterized in that, the execution module being configured in by terminal, according to described
Control instruction is carried out after operating accordingly, is further included:
By the execution module being configured in terminal, the corresponding information that the control instruction performs is reported into processor;
By the processor being configured in terminal, the corresponding information is informed into user by the screen of the terminal.
7. it according to the method described in claim 5, it is characterized in that, further includes:
The input of user is received, to update the correspondence between the sphere mobile status and control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510649529.0A CN105389025B (en) | 2015-10-09 | 2015-10-09 | A kind of terminal and the control method based on terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510649529.0A CN105389025B (en) | 2015-10-09 | 2015-10-09 | A kind of terminal and the control method based on terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105389025A CN105389025A (en) | 2016-03-09 |
CN105389025B true CN105389025B (en) | 2018-06-29 |
Family
ID=55421373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510649529.0A Expired - Fee Related CN105389025B (en) | 2015-10-09 | 2015-10-09 | A kind of terminal and the control method based on terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105389025B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1249833A (en) * | 1997-01-10 | 2000-04-05 | 艾利森电话股份有限公司 | Data input device |
CN2615984Y (en) * | 2003-05-29 | 2004-05-12 | 上海迪比特实业有限公司 | Mobile telephone |
CN1548921A (en) * | 2003-05-15 | 2004-11-24 | 邰志强 | Gravity induction dip angle sensor |
CN1653408A (en) * | 2002-03-08 | 2005-08-10 | 设计展示公司 | Electric device control apparatus |
CN101124621A (en) * | 2003-11-13 | 2008-02-13 | 美蓓亚株式会社 | Mechanical motion sensor and low-power trigger circuit |
CN201716031U (en) * | 2009-12-11 | 2011-01-19 | Tcl集团股份有限公司 | Mechanical type direction sensing device |
-
2015
- 2015-10-09 CN CN201510649529.0A patent/CN105389025B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1249833A (en) * | 1997-01-10 | 2000-04-05 | 艾利森电话股份有限公司 | Data input device |
CN1653408A (en) * | 2002-03-08 | 2005-08-10 | 设计展示公司 | Electric device control apparatus |
CN1548921A (en) * | 2003-05-15 | 2004-11-24 | 邰志强 | Gravity induction dip angle sensor |
CN2615984Y (en) * | 2003-05-29 | 2004-05-12 | 上海迪比特实业有限公司 | Mobile telephone |
CN101124621A (en) * | 2003-11-13 | 2008-02-13 | 美蓓亚株式会社 | Mechanical motion sensor and low-power trigger circuit |
CN201716031U (en) * | 2009-12-11 | 2011-01-19 | Tcl集团股份有限公司 | Mechanical type direction sensing device |
Also Published As
Publication number | Publication date |
---|---|
CN105389025A (en) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102024086B1 (en) | A laundry and a controlling method of a laundry | |
CN205941703U (en) | A wearable apparatus | |
TW201514573A (en) | System and method for a processor controlled ophthalmic lens | |
US10712828B2 (en) | Electronic device, recording medium, and control method | |
TWI503701B (en) | Proximity sensing method | |
CN106557021A (en) | A kind of screen based on intelligent watch lights method and apparatus, intelligent watch | |
TW201229814A (en) | Mobile communication device with three-dimensional sensing and a method therefore | |
JP2008512692A (en) | Measuring device having optical sensor device and measuring method by measuring device | |
CN105389025B (en) | A kind of terminal and the control method based on terminal | |
RU2702008C1 (en) | Intelligent flashlight control method and device and intelligent device | |
CN104281256A (en) | Navigation device including thermal sensor | |
JP2006334702A5 (en) | ||
CN105721786A (en) | Image sensing device and image sensing method | |
JP2020012827A (en) | Watch including device for measuring relative humidity inside watch | |
CN108937786A (en) | Control method of washing, dish-washing machine and computer readable storage medium | |
CN205403703U (en) | Main shaft axle head detecting system that beats | |
CN206757324U (en) | Earphone rotation detection device, earphone rotating control assembly and separate type call bracelet | |
CN104571861A (en) | Method and device for reminding users | |
CN105303658B (en) | A kind of terminal and the control method based on terminal | |
JP2018128318A (en) | Gas detector | |
CN108153140B (en) | Precision tester for mechanical watch | |
CN109448665A (en) | Portable display with automatic regulating lightness and picture automatic rotation function | |
CN206401230U (en) | Centrifugal force induction installation | |
CN106018881B (en) | A kind of test method and system of the acceleration transducer based on mobile terminal | |
KR101011828B1 (en) | Mobile terminal having gravity sensor and display method using the same |
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: 20180629 |