CN104539769B - The method and system that a kind of flash lamp of control mobile terminal is rotated - Google Patents

The method and system that a kind of flash lamp of control mobile terminal is rotated Download PDF

Info

Publication number
CN104539769B
CN104539769B CN201510044740.XA CN201510044740A CN104539769B CN 104539769 B CN104539769 B CN 104539769B CN 201510044740 A CN201510044740 A CN 201510044740A CN 104539769 B CN104539769 B CN 104539769B
Authority
CN
China
Prior art keywords
rotation
degree
flash lamp
correspondence
anglec
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
Application number
CN201510044740.XA
Other languages
Chinese (zh)
Other versions
CN104539769A (en
Inventor
刘平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510044740.XA priority Critical patent/CN104539769B/en
Publication of CN104539769A publication Critical patent/CN104539769A/en
Application granted granted Critical
Publication of CN104539769B publication Critical patent/CN104539769B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Non-Portable Lighting Devices Or Systems Thereof (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

The invention discloses the method and system that a kind of flash lamp of control mobile terminal is rotated, apply in the mobile terminal by the whirligig of electrical motor driven, on the spinning device, the method is comprised the following steps for the flash lamp installing:When mobile terminal enters flash lamp music pattern, the anglec of rotation sequence that acquisition pre-sets;According to the mapping relations of the anglec of rotation sequence and the anglec of rotation of the whirligig, control the electro-motor and order about the flash lamp on the whirligig according to the rotation angle value that the anglec of rotation sequence mapping comes to rotate automatically, so that the light of flash lamp is rhythmically rotated.The present invention can improve the flexibility of flash lamp, interesting and playability, and preferably experience is brought to user.

Description

The method and system that a kind of flash lamp of control mobile terminal is rotated
Technical field
It is to be related to a kind of flash lamp of control mobile terminal more specifically the present invention relates to technical field of mobile terminals The method and system of rotation.
Background technology
Existing mobile terminal (such as mobile phone) has become electronic communication product essential during people live.With regard to mobile phone For, outside its communication field, its multimedia application technology and camera technology are also being developed rapidly.
Wherein, the flash lamp in mobile phone is also a device being commonly used in living, and can be used to aid in shooting and being used as Flashlight lighting, but because traditional flash lamp is all installed in camera side and fixes, unitary function, flexibility, Interesting and playability is poor.
The content of the invention
It is an object of the invention to overcome drawbacks described above of the prior art, there is provided a kind of flash lamp of control mobile terminal The method and system of rotation, it is intended to improve the flexibility of mobile terminal flash lamp, interesting and playability, is brought more to user Good experience.
To achieve the above object, the technical scheme that the present invention is provided is as follows:A kind of flash lamp for controlling mobile terminal is rotated Method, apply in the mobile terminal by the whirligig of electrical motor driven, the flash lamp is installed in the rotation On rotary device, the method is comprised the following steps:
When mobile terminal enters flash lamp music pattern, the anglec of rotation sequence that acquisition pre-sets;
According to the anglec of rotation sequence and the mapping relations of the anglec of rotation of the whirligig, the electronic horse is controlled Ordering about the flash lamp on the whirligig up to the rotation angle value come according to the anglec of rotation sequence mapping has rhythm Ground is rotated.
It is in the above-mentioned methods, described when mobile terminal enters flash lamp music pattern as preferred, obtain and set in advance Also include before the step of anglec of rotation sequence put:
One sequence inputting window is provided, allows User Defined that the anglec of rotation sequence is set.
Used as preferred, in the above-mentioned methods, the anglec of rotation sequence is made up of several numerals, in the range from integer 1 to 7, each numeral one rotation angle value of whirligig of correspondence.
As preferred, in the above-mentioned methods, when the rotation angle value of the corresponding whirligig of the anglec of rotation sequence Scope when being 0 to 180 degree, 0 degree of the correspondence of numeral 1,30 degree of the correspondence of numeral 2,60 degree of the correspondence of numeral 3, digital 4 is corresponding 90 degree, counts 120 degree of the correspondence of word 5,150 degree of the correspondence of numeral 6 and digital 7 corresponding 180 degrees.
It is in the above-mentioned methods, described when mobile terminal enters flash lamp music pattern as preferred, obtain and set in advance Also include before the step of anglec of rotation sequence put:
The music numerical notation file of mobile terminal memory storage is obtained, the numeric note in the music numerical notation file is set to The anglec of rotation sequence, wherein, each numeric note one rotation angle value of whirligig of correspondence.
As preferred, in the above-mentioned methods, when the rotation angle value of the corresponding whirligig of the anglec of rotation sequence Scope be 0 to 180 degree when, in numeric note 1 to 7, numeric note 1 correspondence 0 degree, numeric note 2 correspond to 30 degree, digital sound 60 degree of the correspondence of symbol 3,90 degree of the correspondence of numeric note 4,120 degree of the correspondence of numeric note 5,150 degree of the correspondence of numeric note 6 and digital sound Accord with 7 corresponding 180 degrees.
As preferred, in the above-mentioned methods, when the flash lamp that the electro-motor is ordered about on the whirligig is rotated To after an anglec of rotation, directly rotated according to the difference with the previous anglec of rotation when performing next anglec of rotation, It is rotated further by without resetting to 0 degree.
It is in the above-mentioned methods, described to control the electro-motor according to the anglec of rotation sequence mapping as preferred The rotation angle value for coming over also includes after ordering about the step of the flash lamp on the whirligig is rhythmically rotated:
While flash lamp on the whirligig is rhythmically rotated, the flash lamp is controlled according to pre-setting Lamplight brightness and/or flashing rate real-time change.
Present invention also offers the system that a kind of flash lamp of control mobile terminal is rotated, apply with by electro-motor In the mobile terminal of the whirligig of driving, the flash lamp is installed on the whirligig, and the system includes:
Retrieval module, for when mobile terminal enters flash lamp music pattern, obtaining the anglec of rotation for pre-setting Degree series;
Control module, for the mapping relations according to the anglec of rotation sequence and the anglec of rotation of the whirligig, The electro-motor is controlled according to the rotation angle value that the anglec of rotation sequence mapping comes to order about on the whirligig Flash lamp rhythmically rotate.
Used as preferred, in the technical scheme of said system, the system also includes:
First setup module, for providing a sequence inputting window, allows User Defined to set the anglec of rotation sequence.
Used as preferred, in the technical scheme of said system, the anglec of rotation sequence is made up of several numerals, its Scope is integer 1 to 7, each numeral one rotation angle value of whirligig of correspondence.
As preferred, in the technical scheme of said system, when the corresponding whirligig of the anglec of rotation sequence When the scope of rotation angle value is 0 to 180 degree, 0 degree of the correspondence of numeral 1,30 degree of the correspondence of numeral 2,60 degree of the correspondence of numeral 3, numeral 4 pairs Answer 90 degree, 120 degree of the correspondence of numeral 5,7 corresponding 180 degrees of 150 degree of the correspondence of numeral 6 and numeral.
Used as preferred, in the technical scheme of said system, the system also includes:
Second setup module, the music numerical notation file for obtaining mobile terminal memory storage, by the music numerical notation file In numeric note be set to the anglec of rotation sequence, wherein, each numeric note correspondence one anglec of rotation of whirligig Angle value.
As preferred, in the technical scheme of said system, when the corresponding whirligig of the anglec of rotation sequence When the scope of rotation angle value is 0 to 180 degree, in numeric note 1 to 7,0 degree of the correspondence of numeric note 1, the correspondence of numeric note 2 30 degree, 60 degree of the correspondence of numeric note 3,90 degree of the correspondence of numeric note 4,120 degree of the correspondence of numeric note 5, the correspondence of numeric note 6 150 Degree and the corresponding 180 degree of numeric note 7.
As preferred, in the technical scheme of said system, when the electro-motor is ordered about on the whirligig After flash lamp turns to an anglec of rotation, perform direct according to the difference with the previous anglec of rotation during next anglec of rotation Rotate, be rotated further by without resetting to 0 degree.
Used as preferred, in the technical scheme of said system, the system also includes:
Second control module, while rhythmically rotation for the flash lamp on the whirligig, control is described Flash lamp is according to the lamplight brightness and/or flashing rate real-time change for pre-setting.
Compared with prior art, the beneficial effects of the present invention are:
The present invention after obtaining anglec of rotation sequence, according to reflecting for anglec of rotation sequence and the anglec of rotation of whirligig Relation is penetrated, control electro-motor orders about the flash of light on whirligig according to the rotation angle value that anglec of rotation sequence mapping comes Lamp rotates automatically, flexibility which raises flash lamp, interesting and can play so that the light of flash lamp is rhythmically rotated Property, bring preferably experience to user.
Brief description of the drawings
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 The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the structural representation of mobile terminal of the present invention;
Fig. 2 is a kind of method flow diagram of the flash lamp rotation of control mobile terminal that the embodiment of the present invention one is provided;
Fig. 3 is a kind of method flow diagram of the flash lamp rotation of control mobile terminal that the embodiment of the present invention two is provided;
Fig. 4 is a kind of structural frames of the system of the flash lamp rotation of control mobile terminal that the embodiment of the present invention three is provided Figure;
Fig. 5 is a kind of structural frames of the system of the flash lamp rotation of control mobile terminal that the embodiment of the present invention four is provided Figure.
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 accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
Embodiments of the invention one provide it is a kind of control mobile terminal flash lamp rotate method, apply with by In the mobile terminal of the whirligig of electrical motor driven.As shown in figure 1, the upper end of the mobile terminal is provided with whirligig 1, rotation The rotating shaft of rotary device 1 is connected with electro-motor 4, wherein, flash lamp 2 and camera 3 can be installed on whirligig 1.
The present embodiment is described in detail below in conjunction with the accompanying drawings.Fig. 2 is the method flow diagram of the embodiment of the present invention one, please With reference to Fig. 2, the method for the embodiment of the present invention is comprised the following steps:
Step S201, one sequence inputting window of offer, allow User Defined to set anglec of rotation sequence;
Used as preferred embodiment, the anglec of rotation sequence can be made up of several numerals, and its scope is set to Integer 1 to 7, each numeral one rotation angle value of whirligig of correspondence.
Specifically, the scope of the rotation angle value of the corresponding whirligig of the anglec of rotation sequence could be arranged to 0 to 180 degree.Accordingly, 0 degree of the correspondence of numeral 1,30 degree of the correspondence of numeral 2,60 degree of the correspondence of numeral 3,90 degree of the correspondence of numeral 4, digital 5 correspondence 120 degree, 7 corresponding 180 degrees of 150 degree of the correspondence of numeral 6 and numeral, angle value added is 30 degree.
Herein it should be noted that the digital scope in the anglec of rotation sequence is not limited to integer 1 to 7, it is also possible to It is integer 1 to 36 etc., it can also be provided that 0 to 360 degree, non-implementation is limited for the scope of rotation angle value.Additionally, the rotation Angle sequence can also be made up of several letters, each letter one rotation angle value of whirligig of correspondence.
Step S202, when mobile terminal enters flash lamp music pattern, the anglec of rotation sequence that pre-sets of acquisition;
Step S203, according to anglec of rotation sequence and the mapping relations of the anglec of rotation of whirligig, control electro-motor The rotation angle value come according to anglec of rotation sequence mapping is rhythmically rotated come the flash lamp ordered about on whirligig;
For example, if user-defined anglec of rotation sequence is { 2,5,3,7,4 ... }, then the rotation being corresponding in turn to Corner angle value is 30,120,60,180,90 ..., and now electro-motor will order about whirligig according to above-mentioned rotation angle value On flash lamp rotate automatically.
As it is another preferred embodiment, when the flash lamp that electro-motor is ordered about on whirligig turns to a rotation After angle, when performing next anglec of rotation, it is also possible to directly rotated according to the difference with the previous anglec of rotation, without 0 degree is reset to be rotated further by.For example:Anglec of rotation sequence is { 2,5,3 ... }, has currently rotated to 2 i.e. 30 degree position, is performed next During individual rotatable sequence numeral 5, can be directly from current location according to positive direction (it is assumed that rotating to be forward just, back rotation is anti-) 90 degree of rotational difference.
While step S204, flash lamp on the spinning device are rhythmically rotated, control flash lamp according to setting in advance The lamplight brightness and/or flashing rate real-time change put.
The method of the embodiment of the present invention can allow user to play the creative self-defined anglec of rotation sequence of oneself, Ran Hougen According to anglec of rotation sequence and the mapping relations of the anglec of rotation of whirligig, control electro-motor is according to anglec of rotation sequence mapping The rotation angle value for coming over rotates automatically come the flash lamp ordered about on whirligig, so that the light of flash lamp rhythmically turns Dynamic, flexibility, interesting and playability which raises flash lamp bring preferably experience to user.
Embodiment two
Embodiments of the invention two provide it is a kind of control mobile terminal flash lamp rotate method, apply with by In the mobile terminal of the whirligig of electrical motor driven, wherein, flash lamp is installed on the spinning device.Fig. 3 is of the invention real The method flow diagram of example two is applied, Fig. 3 is refer to, the method for the embodiment of the present invention is comprised the following steps:
Step S301, the music numerical notation file for obtaining mobile terminal memory storage, by the numeric note in music numerical notation file It is set to anglec of rotation sequence;
Wherein, the note in numbered musical notation be can be used for represent sound height and length symbol, these symbols generally by 7 Ah Arabic numbers is as mark, their literary style:1st, 2,3,4,5,6,7, pronunciation be Dou, Rai, Mi, Fa, Sou, La, Xi, and Music numerical notation file is then used to store the corresponding Serial No. of some numbered musical notation notes.In actual applications, music numerical notation file can Think corresponding music track, these music tracks can come from local music list, it is also possible to from internet, or, Can be the song of user's recording, the embodiment of the present invention is not any limitation as to specific music track and its source.
In step S301, each numeric note corresponds to a rotation angle value for whirligig respectively.When the rotation When the scope of the rotation angle value of the corresponding whirligig of angle sequence is 0 to 180 degree, it is preferred that in numeric note 1 to 7, 0 degree of the correspondence of numeric note 1,30 degree of the correspondence of numeric note 2,60 degree of the correspondence of numeric note 3,90 degree of the correspondence of numeric note 4, digital sound 120 degree of the correspondence of symbol 5, numeric note 6 correspondence 150 degree and the corresponding 180 degree of numeric note 7.Certainly, in actual applications, rotate It can also be provided that 0 to 360 degree, non-implementation is limited for the scope of angle value.
Step S302, when mobile terminal enters flash lamp music pattern, the anglec of rotation sequence that pre-sets of acquisition;
Step S303, according to anglec of rotation sequence and the mapping relations of the anglec of rotation of whirligig, control electro-motor The rotation angle value come according to anglec of rotation sequence mapping is rhythmically rotated come the flash lamp ordered about on whirligig;
For example, if the music numerical notation file for obtaining is music track《If here it is love》, choose chorus section If " this is not final result, if I also likes you ... ", corresponding numeric note is 555653555565255 ..., then rotation Corner degree series are { 5,5,5,6,5,3,5,5,5,5,6,5,2,5,5 ... }, and the rotation angle value being corresponding in turn to is 120, 120,120,150,120,60 ..., the flash of light that now electro-motor will be ordered about on whirligig according to above-mentioned rotation angle value Lamp rotates automatically.
As it is another preferred embodiment, when the flash lamp that electro-motor is ordered about on whirligig turns to a rotation After angle, when performing next anglec of rotation, it is also possible to directly rotated according to the difference with the previous anglec of rotation, without 0 degree is reset to be rotated further by.For example:Anglec of rotation sequence is { 2,5,3 ... }, has currently rotated to 2 i.e. 30 degree position, is performed next During individual rotatable sequence numeral 5, can be directly from current location according to positive direction (it is assumed that rotating to be forward just, back rotation is anti-) 90 degree of rotational difference.
While step S304, flash lamp on the spinning device are rhythmically rotated, control flash lamp according to setting in advance The lamplight brightness and/or flashing rate real-time change put.
Specifically, the lamplight brightness of flash lamp can it is highlighted, in change in bright and low bright scope, the flash of light of flash lamp is frequently Rate can combine anglec of rotation sequence real-time change, be capable of achieving to make the music of mobile terminal be linked with flash lamp.
Numeric note in music numerical notation file can be set to anglec of rotation sequence by the method for the embodiment of the present invention, so Afterwards according to anglec of rotation sequence and the mapping relations of the anglec of rotation of whirligig, control electro-motor is according to anglec of rotation sequence The flash lamp for reflecting incoming rotation angle value to order about on whirligig rotates automatically, so that the light of flash lamp has rhythm Ground is rotated, flexibility, interesting and playability which raises flash lamp, and preferably experience is brought to user.
Embodiment three
Embodiments of the invention three provide it is a kind of control mobile terminal flash lamp rotate system, apply with by In the mobile terminal of the whirligig of electrical motor driven.As shown in figure 1, the upper end of the mobile terminal is provided with whirligig 1, its In, flash lamp 2 and camera 3 can be installed on whirligig 1.
The present embodiment is described in detail below in conjunction with the accompanying drawings.Fig. 4 is the system architecture diagram of the embodiment of the present invention three, Fig. 4 is refer to, the system of the embodiment of the present invention includes:
First setup module 41, for providing a sequence inputting window, allows User Defined to set the anglec of rotation sequence Row;
Used as preferred embodiment, the anglec of rotation sequence can be made up of several numerals, and its scope is set to Integer 1 to 7, each numeral one rotation angle value of whirligig of correspondence.
Specifically, the scope of the rotation angle value of the corresponding whirligig of the anglec of rotation sequence could be arranged to 0 to 180 degree.Accordingly, 0 degree of the correspondence of numeral 1,30 degree of the correspondence of numeral 2,60 degree of the correspondence of numeral 3,90 degree of the correspondence of numeral 4, digital 5 correspondence 120 degree, 7 corresponding 180 degrees of 150 degree of the correspondence of numeral 6 and numeral, angle value added is 30 degree.
Herein it should be noted that the digital scope in the anglec of rotation sequence is not limited to integer 1 to 7, it is also possible to It is integer 1 to 36, it can also be provided that 0 to 360 degree, non-implementation is limited for the scope of rotation angle value.Additionally, the anglec of rotation Degree series can also be made up of several letters, each letter one rotation angle value of whirligig of correspondence.
Retrieval module 42, for when mobile terminal enters flash lamp music pattern, obtaining the rotation for pre-setting Angle sequence;
First control module 43, for the mapping according to the anglec of rotation sequence and the anglec of rotation of the whirligig Relation, controls the electro-motor to order about the rotating dress according to the rotation angle value that the anglec of rotation sequence mapping comes The flash lamp put rhythmically is rotated.
For example, if user-defined anglec of rotation sequence is { 2,5,3,7,4 ... }, then the rotation being corresponding in turn to Corner angle value is 30,120,60,180,90 ..., and now electro-motor will order about whirligig according to above-mentioned rotation angle value On flash lamp rotate automatically.
As it is another preferred embodiment, when the flash lamp that electro-motor is ordered about on whirligig turns to a rotation After angle, when performing next anglec of rotation, it is also possible to directly rotated according to the difference with the previous anglec of rotation, without 0 degree is reset to be rotated further by.For example:Anglec of rotation sequence is { 2,5,3 ... }, has currently rotated to 2 i.e. 30 degree position, is performed next During individual rotatable sequence numeral 5, can be directly from current location according to positive direction (it is assumed that rotating to be forward just, back rotation is anti-) 90 degree of rotational difference.
Second control module 44, while rhythmically rotation for the flash lamp on the whirligig, controls institute Flash lamp is stated according to the lamplight brightness and/or flashing rate real-time change for pre-setting.
The system of the embodiment of the present invention can allow user to play the creative self-defined anglec of rotation sequence of oneself, Ran Hougen According to anglec of rotation sequence and the mapping relations of the anglec of rotation of whirligig, control electro-motor is according to anglec of rotation sequence mapping The rotation angle value for coming over rotates automatically come the flash lamp ordered about on whirligig, so that the light of flash lamp rhythmically turns Dynamic, flexibility, interesting and playability which raises flash lamp bring preferably experience to user.
Example IV
Embodiments of the invention four provide it is a kind of control mobile terminal flash lamp rotate system, apply with by In the mobile terminal of the whirligig of electrical motor driven, flash lamp is installed on the spinning device.Fig. 5 is the embodiment of the present invention four System architecture diagram, refer to Fig. 5, the system of the embodiment of the present invention includes:
Second setup module 51, the music numerical notation file for obtaining mobile terminal memory storage, by music numerical notation text Numeric note in part is set to the anglec of rotation sequence;
Wherein, each numeric note corresponds to a rotation angle value for whirligig respectively.When the anglec of rotation sequence When the scope of the rotation angle value of corresponding whirligig is 0 to 180 degree, it is preferred that in numeric note 1 to 7, numeric note 10 degree of correspondence, 30 degree of the correspondence of numeric note 2,60 degree of the correspondence of numeric note 3,90 degree of the correspondence of numeric note 4, the correspondence of numeric note 5 120 degree, numeric note 6 correspondence 150 degree and the corresponding 180 degree of numeric note 7.Certainly, in actual applications, rotation angle value Scope is it can also be provided that 0 to 360 degree, non-implementation is limited.
Retrieval module 52, for when mobile terminal enters flash lamp music pattern, obtaining the rotation for pre-setting Angle sequence;
First control module 53, for the mapping according to the anglec of rotation sequence and the anglec of rotation of the whirligig Relation, controls the electro-motor to order about the rotating dress according to the rotation angle value that the anglec of rotation sequence mapping comes The flash lamp put rhythmically is rotated.
For example, if the music numerical notation file for obtaining is music track《If here it is love》, choose chorus section If " this is not final result, if I also likes you ... ", corresponding numeric note is 555653555565255 ..., then rotation Corner degree series are { 5,5,5,6,5,3,5,5,5,5,6,5,2,5,5 ... }, and the rotation angle value being corresponding in turn to is 120, 120,120,150,120,60 ..., the flash of light that now electro-motor will be ordered about on whirligig according to above-mentioned rotation angle value Lamp rotates automatically.
As it is another preferred embodiment, when the flash lamp that electro-motor is ordered about on whirligig turns to a rotation After angle, when performing next anglec of rotation, it is also possible to directly rotated according to the difference with the previous anglec of rotation, without 0 degree is reset to be rotated further by.For example:Anglec of rotation sequence is { 2,5,3 ... }, has currently rotated to 2 i.e. 30 degree position, is performed next During individual rotatable sequence numeral 5, can be directly from current location according to positive direction (it is assumed that rotating to be forward just, back rotation is anti-) 90 degree of rotational difference.
Second control module 54, while rhythmically rotation for the flash lamp on the whirligig, controls institute Flash lamp is stated according to the lamplight brightness and/or flashing rate real-time change for pre-setting.
Specifically, the lamplight brightness of flash lamp can it is highlighted, in change in bright and low bright scope, the flash of light of flash lamp is frequently Rate can combine anglec of rotation sequence real-time change, be capable of achieving to make the music of mobile terminal be linked with flash lamp.
Numeric note in music numerical notation file can be set to anglec of rotation sequence by the system of the embodiment of the present invention, so Afterwards according to anglec of rotation sequence and the mapping relations of the anglec of rotation of whirligig, control electro-motor is according to anglec of rotation sequence The flash lamp for reflecting incoming rotation angle value to order about on whirligig rotates automatically, so that the light of flash lamp has rhythm Ground is rotated, flexibility, interesting and playability which raises flash lamp, and preferably experience is brought to user.
It should be noted that a kind of flash lamp rotation of control mobile terminal that above-described embodiment three and example IV are provided System, only carried out with the division of above-mentioned each functional module for example, in practical application, can be as needed and by above-mentioned work( Can distribution completed by different functional module, will the internal structure of system be divided into different functional modules, more than completion The all or part of function of description.Additionally, the mobile terminal can be mobile phone, panel computer, human-computer interaction terminal or other Mobile terminal device with installing flash lamp on the spinning device.
One of ordinary skill in the art will appreciate that all or part of step in realizing above-described embodiment method can be The hardware of correlation is instructed to complete by program, described program can be stored in a computer read/write memory medium In, described storage medium, such as ROM/RAM, disk, CD.
Above-described embodiment is the present invention preferably implementation method, but embodiments of the present invention are not by above-described embodiment Limitation, it is other it is any without departing from Spirit Essence of the invention and the change, modification, replacement made under principle, combine, simplification, Equivalent substitute mode is should be, is included within protection scope of the present invention.

Claims (14)

1. a kind of method that flash lamp of control mobile terminal is rotated, applies with the whirligig by electrical motor driven In mobile terminal, the flash lamp is installed on the whirligig, it is characterised in that the method is comprised the following steps:
The music numerical notation file of mobile terminal memory storage is obtained, the numeric note in the music numerical notation file is set to described Anglec of rotation sequence, wherein, each numeric note one rotation angle value of whirligig of correspondence;
When mobile terminal enters flash lamp music pattern, the anglec of rotation sequence that acquisition pre-sets;
According to the anglec of rotation sequence and the mapping relations of the anglec of rotation of the whirligig, the electro-motor is controlled to press The rotation angle value come according to the anglec of rotation sequence mapping rhythmically turns ordering about the flash lamp on the whirligig It is dynamic.
2. the method that the flash lamp of control mobile terminal according to claim 1 is rotated, it is characterised in that described when movement Terminal enter flash lamp music pattern when, acquisition pre-set the anglec of rotation sequence the step of before also include:
One sequence inputting window is provided, allows User Defined that the anglec of rotation sequence is set.
3. the method that the flash lamp of control mobile terminal according to claim 2 is rotated, it is characterised in that the anglec of rotation Degree series are made up of several numerals, in the range from integer 1 to 7, each numeral one rotation angle value of whirligig of correspondence.
4. the method that the flash lamp of control mobile terminal according to claim 3 is rotated, it is characterised in that when the rotation When the scope of the rotation angle value of the corresponding whirligig of angle sequence is 0 to 180 degree, 0 degree of the correspondence of numeral 1, the correspondence of numeral 2 30 Degree, 60 degree of the correspondence of numeral 3,90 degree of the correspondence of numeral 4,120 degree of the correspondence of numeral 5,150 degree of the correspondence of numeral 6 and the correspondence of numeral 7 180 Degree.
5. the method that the flash lamp of control mobile terminal according to claim 1 is rotated, it is characterised in that when the rotation When the scope of the rotation angle value of the corresponding whirligig of angle sequence is 0 to 180 degree, in numeric note 1 to 7, digital sound 0 degree of the correspondence of symbol 1,30 degree of the correspondence of numeric note 2,60 degree of the correspondence of numeric note 3,90 degree of the correspondence of numeric note 4, numeric note 5 pairs Answer 120 degree, numeric note 6 correspondence 150 degree and the corresponding 180 degree of numeric note 7.
6. the method that the flash lamp of control mobile terminal as claimed in any of claims 1 to 5 is rotated, its feature exists In, after the flash lamp that the electro-motor is ordered about on the whirligig turns to an anglec of rotation, the next rotation of execution Directly rotated according to the difference with the previous anglec of rotation during gyration, be rotated further by without resetting to 0 degree.
7. the method that the flash lamp of control mobile terminal as claimed in any of claims 1 to 5 is rotated, its feature exists In the control electro-motor orders about the rotation according to the rotation angle value that the anglec of rotation sequence mapping comes Also include after the step of flash lamp on device is rhythmically rotated:
While flash lamp on the whirligig is rhythmically rotated, the flash lamp is controlled according to the lamp for pre-setting Brightness and/or flashing rate real-time change.
8. the system that a kind of flash lamp of control mobile terminal is rotated, applies with the whirligig by electrical motor driven In mobile terminal, the flash lamp is installed on the whirligig, it is characterised in that the system includes:
Second setup module, the music numerical notation file for obtaining mobile terminal memory storage, by the music numerical notation file Numeric note is set to the anglec of rotation sequence, wherein, each numeric note one rotation angle value of whirligig of correspondence;
Retrieval module, for when mobile terminal enters flash lamp music pattern, obtaining the anglec of rotation sequence for pre-setting Row;
First control module, for the mapping relations according to the anglec of rotation sequence and the anglec of rotation of the whirligig, The electro-motor is controlled according to the rotation angle value that the anglec of rotation sequence mapping comes to order about on the whirligig Flash lamp rhythmically rotate.
9. the system that the flash lamp of control mobile terminal according to claim 8 is rotated, it is characterised in that the system is also wrapped Include:
First setup module, for providing a sequence inputting window, allows User Defined to set the anglec of rotation sequence.
10. the system that the flash lamp of control mobile terminal according to claim 9 is rotated, it is characterised in that the rotation Angle sequence is made up of several numerals, in the range from integer 1 to 7, each numeral one anglec of rotation of whirligig of correspondence Value.
The system that the flash lamp of 11. control mobile terminals according to claim 10 is rotated, it is characterised in that when the rotation When the scope of the rotation angle value of the corresponding whirligig of gyration sequence is 0 to 180 degree, 0 degree of the correspondence of numeral 1, digital 2 correspondence 30 degree, 60 degree of the correspondence of numeral 3,90 degree of the correspondence of numeral 4,120 degree of the correspondence of numeral 5, numeral 6 correspondence 150 degree and digital 7 correspondence 180 degree.
The system that the flash lamp of 12. control mobile terminals according to claim 8 is rotated, it is characterised in that when the rotation When the scope of the rotation angle value of the corresponding whirligig of gyration sequence is 0 to 180 degree, in numeric note 1 to 7, numeral 0 degree of the correspondence of note 1,30 degree of the correspondence of numeric note 2,60 degree of the correspondence of numeric note 3,90 degree of the correspondence of numeric note 4, numeric note 5 120 degree of correspondence, numeric note 6 correspondence 150 degree and the corresponding 180 degree of numeric note 7.
The system that the flash lamp of the 13. control mobile terminal according to any one in claim 8 to 12 is rotated, its feature It is after the flash lamp that the electro-motor is ordered about on the whirligig turns to an anglec of rotation, to perform next Directly rotated according to the difference with the previous anglec of rotation during anglec of rotation, be rotated further by without resetting to 0 degree.
The system that the flash lamp of the 14. control mobile terminal according to any one in claim 8 to 12 is rotated, its feature It is that the system also includes:
Second control module, while rhythmically rotation for the flash lamp on the whirligig, controls the flash of light Lamp is according to the lamplight brightness and/or flashing rate real-time change for pre-setting.
CN201510044740.XA 2015-01-28 2015-01-28 The method and system that a kind of flash lamp of control mobile terminal is rotated Expired - Fee Related CN104539769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510044740.XA CN104539769B (en) 2015-01-28 2015-01-28 The method and system that a kind of flash lamp of control mobile terminal is rotated

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510044740.XA CN104539769B (en) 2015-01-28 2015-01-28 The method and system that a kind of flash lamp of control mobile terminal is rotated

Publications (2)

Publication Number Publication Date
CN104539769A CN104539769A (en) 2015-04-22
CN104539769B true CN104539769B (en) 2017-06-30

Family

ID=52855236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510044740.XA Expired - Fee Related CN104539769B (en) 2015-01-28 2015-01-28 The method and system that a kind of flash lamp of control mobile terminal is rotated

Country Status (1)

Country Link
CN (1) CN104539769B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764211B (en) * 2016-03-28 2018-12-11 广东欧珀移动通信有限公司 The control method of mobile terminal and its lighting apparatus
WO2019056195A1 (en) * 2017-09-20 2019-03-28 深圳传音通讯有限公司 Flash lamp control method, mobile terminal and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0921346A1 (en) * 1997-12-03 1999-06-09 Leopoldo Bazzicalupo System for generating a virtual volume of light and related equipment
CN201114639Y (en) * 2007-10-31 2008-09-10 中兴通讯股份有限公司 A mobile phone
CN101394433A (en) * 2008-11-02 2009-03-25 段属光 Bar type mobile phone with head and keyboard rotatable
CN202661082U (en) * 2012-07-06 2013-01-09 上海辉格科技发展有限公司 Automatic calibration turnplate system
CN203191752U (en) * 2013-04-08 2013-09-11 中南大学 Intelligent controller with digital nozzle and self-adaptive to audio signals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0921346A1 (en) * 1997-12-03 1999-06-09 Leopoldo Bazzicalupo System for generating a virtual volume of light and related equipment
CN201114639Y (en) * 2007-10-31 2008-09-10 中兴通讯股份有限公司 A mobile phone
CN101394433A (en) * 2008-11-02 2009-03-25 段属光 Bar type mobile phone with head and keyboard rotatable
CN202661082U (en) * 2012-07-06 2013-01-09 上海辉格科技发展有限公司 Automatic calibration turnplate system
CN203191752U (en) * 2013-04-08 2013-09-11 中南大学 Intelligent controller with digital nozzle and self-adaptive to audio signals

Also Published As

Publication number Publication date
CN104539769A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN108665742A (en) A kind of method and apparatus read by arrangement for reading
CN108462895A (en) Sound effect treatment method, device and machine readable media
CN109002433A (en) A kind of document creation method and device
CN109634552A (en) Report control method and terminal device applied to dictation
US20210104169A1 (en) System and method for ai based skill learning
US10452832B2 (en) Aural cuing pattern based mobile device security
CN108665764A (en) A kind of method and apparatus read by arrangement for reading
CN107170432B (en) Music generation method and device
CN104539769B (en) The method and system that a kind of flash lamp of control mobile terminal is rotated
CN103985379A (en) Karaoke mobile phone VOD system with special light effect
US20200410967A1 (en) Method for displaying triggered by audio, computer apparatus and storage medium
CN107886988A (en) Tiltedly become during memory program and suppress voltage
CN104572716A (en) System and method for playing video files
CN104965841A (en) Cover song ranking method and apparatus
CN209357459U (en) Intelligent voice system
CN105810226A (en) Method and system for controlling expression effects of music
US20160189667A1 (en) Audio output apparatus and control method thereof
CN109615953A (en) A kind of exchange method of educational robot, device, robot and storage medium
CN204390715U (en) A kind of electronic music device and system
Liu Make Python Talk: Build Apps with Voice Control and Speech Recognition
CN103678533B (en) A kind of method and apparatus for handling chart data
CN114415924A (en) Multi-mode interaction method based on physical programming and related equipment
CN106205279A (en) The reminding method of a kind of note duration, system and electronic equipment thereof
CN204695615U (en) Projection musical instrument teaching device and the combination of musical instrument teaching device
CN105630131A (en) Input key display method and electronic device

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

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.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170630

CF01 Termination of patent right due to non-payment of annual fee