Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the process flow diagram of an embodiment of method of a kind of function digit photo frame of the present invention, and described method comprises:
S101: obtain the induced voltage that the described digital album (digital photo frame) of vibration produces;
S102: according to described induced voltage, determine the vibration number of described vibration;
S103: according to described vibration number and described digital album (digital photo frame) current working state, determine the corresponding operation strategy of described vibration;
S104: according to the operation strategy of described correspondence, operate described digital album (digital photo frame).
The embodiment of the invention, by according to described vibration number and described digital album (digital photo frame) current working state, determine the corresponding operation strategy of described vibration, and according to the operation strategy of described correspondence, operate described digital album (digital photo frame), realized replacing with induction vibration the mechanical key operation of traditional digital album (digital photo frame), simplified user's operation, the interaction that has promoted between user and digital album (digital photo frame) is experienced, and has set up mutual between good user and digital album (digital photo frame).
Fig. 2 is the process flow diagram of an embodiment of method of a kind of function digit photo frame of the present invention, and described method comprises:
S201: obtain the vibration induction electric charge that the described digital album (digital photo frame) of vibration produces;
Preferably, can obtain the vibration induction electric charge C that the described digital album (digital photo frame) of vibration produces by vibration transducer in this step.Obtain the applied acceleration applied acceleration that vibration produces by vibration transducer; According to described applied acceleration, generate the vibration induction electric charge C that described vibration produces.
The applied acceleration of vibration and the corresponding relation of vibration induction electric charge can be as shown in Figure 3, and transverse axis is applied acceleration applied acceleration among Fig. 3, the vibration induction electric charge of the longitudinal axis for producing.
S202: according to described vibration induction electric charge, generate the induced voltage that described vibration produces;
Preferably, can pass through operational amplifier in this step, generate the induced voltage that described vibration produces according to described vibration induction electric charge.Concrete, when vibration transducer was sensed the vibration induction electric charge that the vibration of extraneous logarithmic code photo frame produces, the vibration transducer sense sent to operational amplifier with this vibration induction electric charge, after handling through operational amplifier, forms certain induced voltage.
For example, the operational amplification circuit in the operational amplifier can be as shown in Figure 4, wherein, and output voltage V
OutWith the vibration induction charge Q
gCorresponding relation be:
Wherein, Q
gBe vibration induction electric charge, C
1Be feedback capacity; R
2, R
3Amplify output load resistance for computing, amplify voltage output and be proportional to
This operational amplifier can also adopt other operational amplification circuit, thereby has the corresponding relation of corresponding output voltage and vibration induction electric charge, and this step does not limit.
S203: described induced voltage is sampled, obtain the sampled result of described induced voltage;
Preferably, can realize described induced voltage is sampled by loading processing software in the digital album (digital photo frame) master chip in this step, obtain the sampled result of described induced voltage.
S204: according to described sampled result, the corresponding relation of inquiry sampled result and vibration number obtains the vibration number corresponding with described sampled result.
In this step, preferably can obtain the vibration number corresponding with described sampled result by the corresponding relation of digital album (digital photo frame) master chip inquiry sampled result and vibration number.
S205: according to described vibration number, the corresponding relation of default vibration number and operation strategy collection obtains the respective operations set of strategies with described vibration number;
In this step, preferably can pass through the default vibration number of digital album (digital photo frame) master chip and the corresponding relation of operation strategy collection, obtain the respective operations set of strategies with described vibration number.
Need to prove that the vibration number that this is default and the corresponding relation of operation strategy collection can be the vibration number of this locality preservation and the corresponding relation of operation strategy collection, or the vibration number of network preservation and the corresponding relation of operation strategy collection, present embodiment does not limit; In addition, corresponding with vibration number operation strategy collection can be preset as various ways.For example, the corresponding relation of vibration number and operation strategy collection can be for shown in the table one, when definite this digital album (digital photo frame) was one time by vibration number, then once vibrating corresponding operation strategy collection with this can be retrieved as by question blank one: open digital album (digital photo frame), play photo.
Table one:
S206: the corresponding relation according to each operation strategy and digital photo frame working condition in the default described respective operations set of strategies, obtain the operation strategy corresponding with described digital album (digital photo frame) current working state;
In this step, the corresponding relation of each operation strategy and digital photo frame working condition can be preset as various ways in the described respective operations set of strategies, preferably the corresponding relation of vibration number among this corresponding relation and the S206 and operation strategy collection can be associated with in the same mapping relations.For example, mapping relations after this association comprise: the corresponding relation of each operation strategy and digital photo frame working condition can be for shown in the table two in vibration number, the operation strategy set, shown in the S205 example get access to once vibrate corresponding operation strategy collection with this and be: open digital album (digital photo frame), when playing photo, then by question blank two duty of the digital album (digital photo frame) corresponding with each operation strategy in this set of strategies as can be known.When current digital album (digital photo frame) is in off-mode, then select table two as can be known by difference, this corresponding operation strategy is: open digital album (digital photo frame).
Table two:
S207: according to the operation strategy of described correspondence, operate described digital album (digital photo frame).
The embodiment of the invention, by according to described vibration number and described digital album (digital photo frame) current working state, determine the corresponding operation strategy of described vibration, and according to the operation strategy of described correspondence, operate described digital album (digital photo frame), realized replacing with induction vibration the mechanical key operation of traditional digital album (digital photo frame), simplified user's operation, the interaction that has promoted between user and digital album (digital photo frame) is experienced, and has set up mutual between good user and digital album (digital photo frame).
A kind of digital album (digital photo frame) that Fig. 5 provides for the embodiment of the invention, described digital album (digital photo frame) comprises:
Induced voltage acquisition module 301 is used for obtaining the induced voltage that the described digital album (digital photo frame) of vibration produces;
Vibration number determination module 302 is used for according to described induced voltage, determines the vibration number of described vibration;
Respective operations strategy determination module 303 is used for according to described vibration number and described digital album (digital photo frame) current working state, determines the corresponding operation strategy of described vibration;
Digital album (digital photo frame) operational module 304 is used for the operation strategy according to described correspondence, operates described digital album (digital photo frame).
The embodiment of the invention, by according to described vibration number and described digital album (digital photo frame) current working state, determine the corresponding operation strategy of described vibration, and according to the operation strategy of described correspondence, operate described digital album (digital photo frame), realized replacing with induction vibration the mechanical key operation of traditional digital album (digital photo frame), simplified user's operation, the interaction that has promoted between user and digital album (digital photo frame) is experienced, and has set up mutual between good user and digital album (digital photo frame).
A kind of digital album (digital photo frame) that Fig. 6 provides for the embodiment of the invention, on the basis of a last embodiment, the induced voltage acquisition module 301 in the described digital album (digital photo frame) specifically comprises:
Vibration induction electric charge acquiring unit 3011 is used for obtaining the vibration induction electric charge that the described digital album (digital photo frame) of vibration produces;
Described vibration induction electric charge acquiring unit specifically comprises:
Applied acceleration obtains subelement 30111, is used for obtaining the applied acceleration that vibration produces by vibration transducer;
The vibration induction electric charge generates subelement 30112, is used for according to described applied acceleration, generates the vibration induction electric charge that described vibration produces.
Preferably, described vibration induction electric charge acquiring unit 3011 is specifically as follows vibration transducer, obtains be used to obtaining the vibration induction electric charge that the described digital album (digital photo frame) of vibration produces by vibration transducer.
Induced voltage generation unit 3012 is used for basis
Generate the induced voltage that described vibration produces, wherein V
OutBe induced voltage, Q
gBe vibration induction electric charge, C
1Be feedback capacity; R
2, R
3For output load resistance is amplified in computing.
Preferably, this induced voltage generation unit 3012 is specifically as follows operational amplifier, and operational amplifier generates the induced voltage that described vibration produces according to described vibration induction electric charge.
Described vibration number determination module 302 specifically comprises:
Voltage sample unit 3021 is used for described induced voltage is sampled, and obtains the sampled result of described induced voltage;
Vibration number acquiring unit 3022 is used for according to described sampled result, and the corresponding relation of inquiry sampled result and vibration number obtains the vibration number corresponding with described sampled result.
Described respective operations strategy determination module 303 is specially:
Respective operations set of strategies acquiring unit 3031 is used for according to described vibration number, and the corresponding relation of default vibration number and operation strategy collection obtains the respective operations set of strategies with described vibration number;
Respective operations strategy acquiring unit 3032 is used for obtaining the operation strategy corresponding with described digital album (digital photo frame) current working state according to default described each operation strategy of respective operations set of strategies and the corresponding relation of digital photo frame working condition.
Optionally, respective operations strategy determination module 303 can be realized by the software that loads corresponding function at the digital album (digital photo frame) main control chip.
The embodiment of the invention, by according to described vibration number and described digital album (digital photo frame) current working state, determine the corresponding operation strategy of described vibration, and according to the operation strategy of described correspondence, operate described digital album (digital photo frame), realized replacing with induction vibration the mechanical key operation of traditional digital album (digital photo frame), simplified user's operation, the interaction that has promoted between user and digital album (digital photo frame) is experienced, and has set up mutual between good user and digital album (digital photo frame).
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.