CN104571889A - Image switching method and device - Google Patents

Image switching method and device Download PDF

Info

Publication number
CN104571889A
CN104571889A CN201510047575.3A CN201510047575A CN104571889A CN 104571889 A CN104571889 A CN 104571889A CN 201510047575 A CN201510047575 A CN 201510047575A CN 104571889 A CN104571889 A CN 104571889A
Authority
CN
China
Prior art keywords
fingerprint
fingerprint template
print information
finger print
image
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.)
Granted
Application number
CN201510047575.3A
Other languages
Chinese (zh)
Other versions
CN104571889B (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 CN201510047575.3A priority Critical patent/CN104571889B/en
Publication of CN104571889A publication Critical patent/CN104571889A/en
Application granted granted Critical
Publication of CN104571889B publication Critical patent/CN104571889B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Collating Specific Patterns (AREA)
  • Image Input (AREA)

Abstract

The invention is applicable to the technical field of information and provides an image switching method and device. The method includes: if fingerprint information is detected, comparing the fingerprint information with fingerprint templates pre-stored in a fingerprint database; if the fingerprint information matches with any fingerprint template in the fingerprint database, acquiring an image switching command corresponding to the fingerprint template; executing the image switching command acquired. The image switching method and device has the advantages that images are switched conveniently and quickly through fingerprint, users are allowed to see complete images during image switching, image viewing and switching continuity is guaranteed, and user experience is improved.

Description

Image switching method and device
Technical field
The invention belongs to areas of information technology, particularly relate to image switching method and device.
Background technology
In prior art, when user checks image by mobile terminal, generally slided on screen by finger and switch to next image.But, point in the process of sliding, blocked the sight line that user checks image, made user can not see complete image, until after finger sliding completes, user just can see complete image.Existing image switching mode cause user to check the process of image is interrupted, Consumer's Experience is poor.
Summary of the invention
Given this, embodiments provide a kind of image switching method and device, block to solve existing image switching mode the sight line that user checks image, the process of image is by the problem interrupted to cause user to check.
On the one hand, embodiments provide a kind of image switching method, comprising:
When finger print information being detected, described finger print information and the fingerprint template in the fingerprint base prestored are compared;
If the arbitrary fingerprint template in described finger print information and described fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template;
Perform the described image switching command obtained.
Second aspect, embodiments provides a kind of image switching apparatus, comprising:
Comparing unit, for when finger print information being detected, compares described finger print information and the fingerprint template in the fingerprint base prestored;
Acquiring unit, if match for the arbitrary fingerprint template in described finger print information and described fingerprint base, then obtains the image switching command corresponding with this fingerprint template;
Performance element, for performing the described image switching command of acquisition.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: the embodiment of the present invention is by when being in image viewing interface and receive finger print information, the finger print information received and the fingerprint template in the fingerprint base prestored are compared, if the arbitrary fingerprint template in the finger print information received and fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template and perform, achieve conveniently image by fingerprint thus to switch, in the process that image switches, make user can check complete image, thus ensure that the continuity of image viewing and switching, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of the image switching method that the embodiment of the present invention provides;
Fig. 2 is the specific implementation process flow diagram of the image switching method step S102 that the embodiment of the present invention provides;
Fig. 3 is the specific implementation process flow diagram of the image switching method step S202 that the embodiment of the present invention provides;
Fig. 4 is the realization flow figure of the image switching method that another embodiment of the present invention provides;
Fig. 5 is the structured flowchart of the image switching apparatus that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the realization flow figure of the image switching method that the embodiment of the present invention provides, and details are as follows:
In step S101, when finger print information being detected, described finger print information and the fingerprint template in the fingerprint base prestored are compared.
Executive agent of the present invention can be mobile terminal, as mobile phone or panel computer etc.Fingerprint sensor can be placed in the back side of mobile terminal.
As one embodiment of the present of invention, when being in image viewing interface and finger print information detected, described finger print information and the fingerprint template in the fingerprint base prestored are compared.
Before step S101, described method also comprises: in photograph album application, registration one receives the broadcast of finger print information.When being in image viewing interface, if receive finger print information by fingerprint sensor, then fingerprint sensor sends broadcast, and photograph album application receives this broadcast.
The fingerprint base prestored comprises at least one fingerprint template, each fingerprint template at least comprises one group of fingerprint feature information, that is, each fingerprint template may comprise the fingerprint feature information of different finger, and the fingerprint of different finger may correspond to same fingerprint template.
In step s 102, if the arbitrary fingerprint template in described finger print information and described fingerprint base matches, then the image switching command corresponding with this fingerprint template is obtained.
Fingerprint base stores the corresponding relation of fingerprint template and image switching command.If the arbitrary fingerprint template in the finger print information received and fingerprint base matches, then from fingerprint base, obtain the image switching command corresponding with this fingerprint template.
In step s 103, the described image switching command obtained is performed.
Fig. 2 shows the specific implementation process flow diagram of the image switching method step S102 that the embodiment of the present invention provides, with reference to Fig. 2:
If the arbitrary fingerprint template in described finger print information described in step S102 and described fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template and comprise:
In step s 201, if the first fingerprint template in described finger print information and described fingerprint base matches, then the running time that described finger print information is corresponding is obtained;
In step S202, obtain corresponding image switching command according to described first fingerprint template and described running time.
The arbitrary group of fingerprint feature information that the first fingerprint template in the finger print information received and fingerprint base refers in the finger print information and the first fingerprint template received matches.When the finger print information received and the first fingerprint template match, obtain the running time of finger print information, and determine image switching command according to the first fingerprint template and running time.
Fig. 3 shows the specific implementation process flow diagram of the image switching method step S202 that the embodiment of the present invention provides, with reference to Fig. 3:
Obtain corresponding image switching command according to described first fingerprint template and described running time described in step S202 to comprise:
In step S301, when the described running time is less than preset value, obtain according to described first fingerprint template the instruction switching to next image;
In step s 302, when the described running time is more than or equal to described preset value, obtain according to described first fingerprint template the instruction switching image with preset frame rate continuously.
Here, preset value can be 1.5 seconds, and preset frame rate can be 2FPS (Frame Per Second, frame is per second).When the finger print information received and the first fingerprint template match, and when the running time is less than 1.5 seconds, the present image that image viewing interface shows is switched to next image.When the finger print information received and the first fingerprint template match, and when the running time is more than or equal to 1.5 seconds, switch image continuously with the frame per second of 2FPS, reach the effect of the automatic playing image of lantern slide.
Preferably, if the arbitrary fingerprint template in described finger print information described in step S102 and described fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template and comprise:
If the second fingerprint template in described finger print information and described fingerprint base matches, then obtain according to described second fingerprint template the instruction switching to a upper image.
The arbitrary group of fingerprint feature information that the second fingerprint template in the finger print information received and fingerprint base refers in the finger print information and the second fingerprint template received matches.Second fingerprint template correspondence switches to the instruction of an image.
Fig. 4 shows the realization flow figure of the image switching method that another embodiment of the present invention provides, with reference to Fig. 4:
In step S401, described fingerprint base comprises the corresponding relation of fingerprint template, image switching command and fingerprint template and image switching command; Or described fingerprint base comprises the corresponding relation of fingerprint template and fingerprint template and image switching command;
In step S402, when finger print information being detected, described finger print information and the fingerprint template in the fingerprint base prestored are compared;
In step S403, if the arbitrary fingerprint template in described finger print information and described fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template;
In step s 404, the described image switching command obtained is performed.
As one embodiment of the present of invention, fingerprint base comprises the corresponding relation of fingerprint template, image switching command and fingerprint template and image switching command.
As an alternative embodiment of the invention, fingerprint base comprises the corresponding relation of fingerprint template and fingerprint template and image switching command.The memory location of the image switching command that fingerprint base record is corresponding with fingerprint template, when the finger print information mated with arbitrary fingerprint template being detected, from fingerprint base, obtain the memory location of the image switching command corresponding with this fingerprint template, and obtain the image switching command corresponding to this fingerprint template according to described memory location.
As an alternative embodiment of the invention, fingerprint base comprises the corresponding relation of fingerprint template, image switching command and fingerprint template, running time and image switching command.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
The embodiment of the present invention is by when being in image viewing interface and receive finger print information, the finger print information received and the fingerprint template in the fingerprint base prestored are compared, if the arbitrary fingerprint template in the finger print information received and fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template and perform, achieve conveniently image by fingerprint thus to switch, in the process that image switches, make user can check complete image, thus ensure that the continuity of image viewing and switching, improve Consumer's Experience.
Fig. 5 shows the structured flowchart of the image switching apparatus that the embodiment of the present invention provides, and this device may be used for the image switching method described in service chart 1 to Fig. 4.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.With reference to Fig. 5:
Described device comprises:
Comparing unit 51, for when finger print information being detected, compares described finger print information and the fingerprint template in the fingerprint base prestored;
Acquiring unit 52, if match for the arbitrary fingerprint template in described finger print information and described fingerprint base, then obtains the image switching command corresponding with this fingerprint template;
Performance element 53, for performing the described image switching command of acquisition.
Preferably, described acquiring unit 52 comprises:
Running time obtains subelement 521, if match for the first fingerprint template in described finger print information and described fingerprint base, then obtains the running time that described finger print information is corresponding;
First switching command obtains subelement 522, for obtaining corresponding image switching command according to described first fingerprint template and described running time.
Preferably, described first switching command obtain subelement 522 specifically for:
When the described running time is less than preset value, obtain according to described first fingerprint template the instruction switching to next image;
When the described running time is more than or equal to described preset value, obtain according to described first fingerprint template the instruction switching image with preset frame rate continuously.
Preferably, described acquiring unit 52 also comprises:
Second switching command obtains subelement 523, if match for the second fingerprint template in described finger print information and described fingerprint base, then obtains according to described second fingerprint template the instruction switching to a upper image.
Further, described device also comprises:
Fingerprint base creating unit 54, comprises the corresponding relation of fingerprint template, image switching command and fingerprint template and image switching command for described fingerprint base; Or described fingerprint base comprises the corresponding relation of fingerprint template and fingerprint template and image switching command.
The embodiment of the present invention is by when being in image viewing interface and receive finger print information, the finger print information received and the fingerprint template in the fingerprint base prestored are compared, if the arbitrary fingerprint template in the finger print information received and fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template and perform, achieve conveniently image by fingerprint thus to switch, in the process that image switches, make user can check complete image, thus ensure that the continuity of image viewing and switching, improve Consumer's Experience.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (10)

1. an image switching method, is characterized in that, comprising:
When finger print information being detected, described finger print information and the fingerprint template in the fingerprint base prestored are compared;
If the arbitrary fingerprint template in described finger print information and described fingerprint base matches, then obtain the image switching command corresponding with this fingerprint template;
Perform the described image switching command obtained.
2. the method for claim 1, is characterized in that, if the arbitrary fingerprint template in described finger print information and described fingerprint base matches, then obtains the image switching command corresponding with this fingerprint template and comprises:
If the first fingerprint template in described finger print information and described fingerprint base matches, then obtain the running time that described finger print information is corresponding;
Corresponding image switching command is obtained according to described first fingerprint template and described running time.
3. method as claimed in claim 2, is characterized in that, the described image switching command according to described first fingerprint template and acquisition of described running time correspondence comprises:
When the described running time is less than preset value, obtain according to described first fingerprint template the instruction switching to next image;
When the described running time is more than or equal to described preset value, obtain according to described first fingerprint template the instruction switching image with preset frame rate continuously.
4. the method for claim 1, is characterized in that, if the arbitrary fingerprint template in described finger print information and described fingerprint base matches, then obtains the image switching command corresponding with this fingerprint template and comprises:
If the second fingerprint template in described finger print information and described fingerprint base matches, then obtain according to described second fingerprint template the instruction switching to a upper image.
5. the method for claim 1, is characterized in that, described when finger print information being detected, before described finger print information and the fingerprint template in the fingerprint base prestored being compared, described method also comprises:
Create fingerprint base, described fingerprint base comprises the corresponding relation of fingerprint template, image switching command and fingerprint template and image switching command; Or described fingerprint base comprises the corresponding relation of fingerprint template and fingerprint template and image switching command.
6. an image switching apparatus, is characterized in that, comprising:
Comparing unit, for when finger print information being detected, compares described finger print information and the fingerprint template in the fingerprint base prestored;
Acquiring unit, if match for the arbitrary fingerprint template in described finger print information and described fingerprint base, then obtains the image switching command corresponding with this fingerprint template;
Performance element, for performing the described image switching command of acquisition.
7. device as claimed in claim 6, it is characterized in that, described acquiring unit comprises:
Running time obtains subelement, if match for the first fingerprint template in described finger print information and described fingerprint base, then obtains the running time that described finger print information is corresponding;
First switching command obtains subelement, for obtaining corresponding image switching command according to described first fingerprint template and described running time.
8. device as claimed in claim 7, is characterized in that, described first switching command obtain subelement specifically for:
When the described running time is less than preset value, obtain according to described first fingerprint template the instruction switching to next image;
When the described running time is more than or equal to described preset value, obtain according to described first fingerprint template the instruction switching image with preset frame rate continuously.
9. device as claimed in claim 6, it is characterized in that, described acquiring unit also comprises:
Second switching command obtains subelement, if match for the second fingerprint template in described finger print information and described fingerprint base, then obtains according to described second fingerprint template the instruction switching to a upper image.
10. device as claimed in claim 6, it is characterized in that, described device also comprises:
Fingerprint base creating unit, comprises the corresponding relation of fingerprint template, image switching command and fingerprint template and image switching command for described fingerprint base; Or described fingerprint base comprises the corresponding relation of fingerprint template and fingerprint template and image switching command.
CN201510047575.3A 2015-01-29 2015-01-29 image switching method and device Expired - Fee Related CN104571889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510047575.3A CN104571889B (en) 2015-01-29 2015-01-29 image switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510047575.3A CN104571889B (en) 2015-01-29 2015-01-29 image switching method and device

Publications (2)

Publication Number Publication Date
CN104571889A true CN104571889A (en) 2015-04-29
CN104571889B CN104571889B (en) 2018-11-27

Family

ID=53088094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510047575.3A Expired - Fee Related CN104571889B (en) 2015-01-29 2015-01-29 image switching method and device

Country Status (1)

Country Link
CN (1) CN104571889B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677147A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Application program starting method and device
CN112506414A (en) * 2020-12-23 2021-03-16 成都师范学院 Image input/output switching method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134418A1 (en) * 2008-12-02 2010-06-03 Microsoft Corporation Opposite facing device keypad
CN101763843A (en) * 2008-12-24 2010-06-30 兄弟工业株式会社 Display control apparatus and display control method
CN101853379A (en) * 2009-03-18 2010-10-06 Lg电子株式会社 The method of portable terminal and this portable terminal of control
CN103257826A (en) * 2013-05-17 2013-08-21 广东欧珀移动通信有限公司 Method and system for mobile terminal to achieve navigation key function based on fingerprint identification

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134418A1 (en) * 2008-12-02 2010-06-03 Microsoft Corporation Opposite facing device keypad
CN101763843A (en) * 2008-12-24 2010-06-30 兄弟工业株式会社 Display control apparatus and display control method
CN101853379A (en) * 2009-03-18 2010-10-06 Lg电子株式会社 The method of portable terminal and this portable terminal of control
CN103257826A (en) * 2013-05-17 2013-08-21 广东欧珀移动通信有限公司 Method and system for mobile terminal to achieve navigation key function based on fingerprint identification

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677147A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Application program starting method and device
CN105677147B (en) * 2015-12-31 2019-04-12 宇龙计算机通信科技(深圳)有限公司 A kind of application program launching method and device
CN112506414A (en) * 2020-12-23 2021-03-16 成都师范学院 Image input/output switching method and electronic device

Also Published As

Publication number Publication date
CN104571889B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
EP3032418A1 (en) Permission control method and device
US20190171831A1 (en) Application freezing management method, device and terminal
CN104992709A (en) Method for executing voice command and voice recognition equipment
CN105843681B (en) Mobile terminal and operating system switching method thereof
CN104572219A (en) Photographing mode switching method and photographing mode switching device
CN104571877A (en) Display processing method and device for pages
CN103218555A (en) Logging-in method and device for application program
CN103809854A (en) Data processing method and electronic equipment
CN105005448A (en) Method and equipment for starting application programs as well as terminal device
WO2018149138A1 (en) Wireless fidelity (wi-fi) connection method and related product
CN104793887A (en) Double camera control method and device of mobile terminal
US20180173862A1 (en) Fingerprint Recognition Method and Mobile Terminal
CN106227483B (en) Display control method and mobile terminal
CN104537301A (en) Method and device for logging in to application and mobile terminal
CN104469717A (en) Short message sending method and device
CN104679391A (en) Icon display method and device of smart watch
CN104991780A (en) Interface switching method and terminal
CN104915588A (en) Privacy protection method and device for electronic equipment
CN109144363B (en) Information processing method and electronic equipment
US20170272430A1 (en) Authentication method, apparatus and system for device
CN104808949B (en) A kind of page method of adjustment and mobile terminal
US10503362B2 (en) Method and apparatus for image selection
CN104571889A (en) Image switching method and device
US9648112B2 (en) Electronic device and method for setting network model
CN106161768B (en) Call device selection method and 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
CP03 Change of name, title or address

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 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181127

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