CN104571889B - image switching method and device - Google Patents

image switching method and device Download PDF

Info

Publication number
CN104571889B
CN104571889B CN201510047575.3A CN201510047575A CN104571889B CN 104571889 B CN104571889 B CN 104571889B CN 201510047575 A CN201510047575 A CN 201510047575A CN 104571889 B CN104571889 B CN 104571889B
Authority
CN
China
Prior art keywords
fingerprint
print information
finger print
fingerprint template
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.)
Expired - Fee Related
Application number
CN201510047575.3A
Other languages
Chinese (zh)
Other versions
CN104571889A (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)
  • Image Input (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present invention is suitable for information technology field, provides image switching method and device.The method includes:When detecting finger print information, the finger print information is compared with the fingerprint template in pre-stored fingerprint base;If the finger print information matches with any fingerprint template in the fingerprint base, image switching command corresponding with the fingerprint template is obtained;Execute the described image switching command obtained.The present invention realizes conveniently image switching by fingerprint, enables users to check complete image during image switching, to ensure that the continuity of image viewing and switching, improves user experience.

Description

Image switching method and device
Technical field
The invention belongs to information technology field more particularly to image switching methods and device.
Background technique
In the prior art, it when user checks image by mobile terminal, is generally slided on the screen by finger to switch To next image.It however, finger during sliding, has blocked the sight that user checks image, cannot see that user Complete image, until user can just see complete image after the completion of finger sliding.Existing image switching mode causes to use Family checks that the process of image is interrupted, and user experience is poor.
Summary of the invention
In consideration of it, the embodiment of the invention provides a kind of image switching method and device, to solve existing image switching Mode blocks the sight that user checks image, and user is caused to check the problem of process of image is interrupted.
On the one hand, the embodiment of the invention provides a kind of image switching methods, including:
When detecting finger print information, the finger print information and the fingerprint template in pre-stored fingerprint base are compared It is right;
If the finger print information matches with any fingerprint template in the fingerprint base, obtain and the fingerprint template pair The image switching command answered;
Execute the described image switching command obtained.
Second aspect, the embodiment of the invention provides a kind of image switching apparatus, including:
Comparing unit will be in the finger print information and pre-stored fingerprint base for when detecting finger print information Fingerprint template is compared;
Acquiring unit obtains if matching for the finger print information and any fingerprint template in the fingerprint base Image switching command corresponding with the fingerprint template;
Execution unit, for executing the described image switching command obtained.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention passes through when in image When checking interface and receiving finger print information, by the fingerprint template in the finger print information received and pre-stored fingerprint base into Row compares, if any fingerprint template in the finger print information and fingerprint base that receive matches, obtains and the fingerprint template pair The image switching command answered simultaneously executes, and conveniently image switching is realized from there through fingerprint, in the process of image switching In enable users to check complete image, to ensure that the continuity of image viewing and switching, improve user experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of image switching method provided in an embodiment of the present invention;
Fig. 2 is the specific implementation flow chart of image switching method step S102 provided in an embodiment of the present invention;
Fig. 3 is the specific implementation flow chart of image switching method step S202 provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides image switching method implementation flow chart;
Fig. 5 is the structural block diagram of image switching apparatus provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 shows the implementation flow chart of image switching method provided in an embodiment of the present invention, and details are as follows:
It in step s101, will be in the finger print information and pre-stored fingerprint base when detecting finger print information Fingerprint template is compared.
Executing subject of the invention can be mobile terminal, such as mobile phone or tablet computer.Fingerprint sensor can be placed in The back side of mobile terminal.
As an embodiment of the present invention, when being in image viewing interface and detecting finger print information, by the finger Line information is compared with the fingerprint template in pre-stored fingerprint base.
Before step S101, the method also includes:The broadcast of one reception finger print information of registration in photograph album application. When being in image viewing interface, if receiving finger print information by fingerprint sensor, fingerprint sensor issues broadcast, photograph album Using the reception broadcast.
Pre-stored fingerprint base includes at least one fingerprint template, and each fingerprint template includes at least one group of fingerprint characteristic Information, that is to say, that each fingerprint template may include the fingerprint feature information of different fingers, and the fingerprint of different fingers may be right It should be in the same fingerprint template.
In step s 102, it if the finger print information matches with any fingerprint template in the fingerprint base, obtains Image switching command corresponding with the fingerprint template.
The corresponding relationship of fingerprint base storage fingerprint template and image switching command.If the finger print information and fingerprint base that receive In any fingerprint template match, then corresponding with fingerprint template image switching command is obtained from fingerprint base.
In step s 103, the described image switching command of acquisition is executed.
Fig. 2 shows the specific implementation flow chart of image switching method step S102 provided in an embodiment of the present invention, references Fig. 2:
If the finger print information described in step S102 matches with any fingerprint template in the fingerprint base, obtain with The corresponding image switching command of the fingerprint template includes:
In step s 201, it if the finger print information matches with the first fingerprint template in the fingerprint base, obtains The finger print information corresponding operating time;
In step S202, corresponding image switching is obtained according to first fingerprint template and the operating time and is referred to It enables.
The first fingerprint template in the finger print information and fingerprint base received refers to the finger print information received and first Any group of fingerprint feature information in fingerprint template matches.When the finger print information received and the first fingerprint template match When, the operating time of finger print information is obtained, and image switching command is determined according to the first fingerprint template and operating time.
Fig. 3 shows the specific implementation flow chart of image switching method step S202 provided in an embodiment of the present invention, reference Fig. 3:
Corresponding image switching is obtained according to first fingerprint template and the operating time described in step S202 to refer to Order includes:
In step S301, when the operating time being less than preset value, is obtained and switched according to first fingerprint template To the instruction of next image;
In step s 302, when the operating time being greater than or equal to the preset value, according to the first fingerprint mould Plate obtains the instruction for continuously switching image with preset frame rate.
Herein, preset value can be 1.5 seconds, and preset frame rate can be 2FPS (Frame Per Second, frame are per second). When the finger print information received and the first fingerprint template match, and the operating time was less than 1.5 seconds, image viewing interface is shown The present image shown switches to next image.When the finger print information received and the first fingerprint template match, and operate Between be greater than or equal to 1.5 seconds when, image is switched continuously with the frame per second of 2FPS, achievees the effect that lantern slide plays image automatically.
Preferably, if the finger print information described in step S102 matches with any fingerprint template in the fingerprint base, Then obtaining image switching command corresponding with the fingerprint template includes:
If the finger print information matches with the second fingerprint template in the fingerprint base, according to the second fingerprint mould Plate obtains the instruction for switching to an image.
The second fingerprint template in the finger print information and fingerprint base received refers to the finger print information received and second Any group of fingerprint feature information in fingerprint template matches.The corresponding instruction for switching to an image of second fingerprint template.
Fig. 4 show another embodiment of the present invention provides image switching method implementation flow chart, referring to Fig. 4:
In step S401, the fingerprint base includes that fingerprint template, image switching command and fingerprint template and image are cut Change the corresponding relationship of instruction;Or the fingerprint base includes fingerprint template and fingerprint template pass corresponding with image switching command System;
It, will be in the finger print information and pre-stored fingerprint base when detecting finger print information in step S402 Fingerprint template is compared;
In step S403, if the finger print information matches with any fingerprint template in the fingerprint base, obtain Image switching command corresponding with the fingerprint template;
In step s 404, the described image switching command of acquisition is executed.
As an embodiment of the present invention, fingerprint base include fingerprint template, image switching command and fingerprint template with The corresponding relationship of image switching command.
As another embodiment of the invention, fingerprint base includes fingerprint template and fingerprint template and image switching command Corresponding relationship.Fingerprint base records the storage location of corresponding with fingerprint template image switching command, when detecting and any finger When the finger print information of line template matching, the storage position of image switching command corresponding with the fingerprint template is obtained from fingerprint base It sets, and is obtained according to the storage location to the corresponding image switching command of the fingerprint template.
As another embodiment of the invention, fingerprint base include fingerprint template, image switching command and fingerprint template, The corresponding relationship of operating time and image switching command.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
The embodiment of the present invention is by the way that when being in image viewing interface and receiving finger print information, the fingerprint received is believed Breath is compared with the fingerprint template in pre-stored fingerprint base, if any finger in the finger print information and fingerprint base that receive Line template matches, then obtains image switching command corresponding with the fingerprint template and execute, from there through the fingerprint side of realizing Just efficiently image switches, and enables users to check complete image during image switching, to ensure that image viewing With the continuity of switching, user experience is improved.
Fig. 5 shows the structural block diagram of image switching apparatus provided in an embodiment of the present invention, which can be used for running Image switching method described in Fig. 1 to Fig. 4.For ease of description, only parts related to embodiments of the present invention are shown.Reference Fig. 5:
Described device includes:
Comparing unit 51 will be in the finger print information and pre-stored fingerprint base for when detecting finger print information Fingerprint template be compared;
Acquiring unit 52 obtains if matching for the finger print information and any fingerprint template in the fingerprint base Take image switching command corresponding with the fingerprint template;
Execution unit 53, for executing the described image switching command obtained.
Preferably, the acquiring unit 52 includes:
Operating time obtains subelement 521, if for the first fingerprint template in the finger print information and the fingerprint base Match, then obtains the finger print information corresponding operating time;
First switching command obtains subelement 522, for being obtained according to first fingerprint template and the operating time Take corresponding image switching command.
Preferably, first switching command obtains subelement 522 and is specifically used for:
When the operating time being less than preset value, next image is switched to according to first fingerprint template acquisition Instruction;
When the operating time being greater than or equal to the preset value, obtained according to first fingerprint template to preset frame Rate continuously switches the instruction of image.
Preferably, the acquiring unit 52 further includes:
Second switching command obtains subelement 523, if for the second fingerprint in the finger print information and the fingerprint base Template matches, then the instruction for switching to a upper image is obtained according to second fingerprint template.
Further, described device further includes:
Fingerprint base creating unit 54 includes fingerprint template, image switching command and fingerprint template for the fingerprint base With the corresponding relationship of image switching command;Or the fingerprint base includes fingerprint template and fingerprint template and image switching command Corresponding relationship.
The embodiment of the present invention is by the way that when being in image viewing interface and receiving finger print information, the fingerprint received is believed Breath is compared with the fingerprint template in pre-stored fingerprint base, if any finger in the finger print information and fingerprint base that receive Line template matches, then obtains image switching command corresponding with the fingerprint template and execute, from there through the fingerprint side of realizing Just efficiently image switches, and enables users to check complete image during image switching, to ensure that image viewing With the continuity of switching, user experience is improved.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (2)

1. the method that a kind of pair of multiple images file switches over, which is characterized in that including:
The broadcast of one reception finger print information of registration in photograph album application;When being in image viewing interface, if being passed by fingerprint Sensor receives finger print information, then fingerprint sensor issues broadcast, so that photograph album application receives the broadcast;
When detecting finger print information, the finger print information is compared with the fingerprint template in pre-stored fingerprint base; Wherein, the finger print information is obtained by the fingerprint sensor at the mobile terminal back side;
If the finger print information matches with any fingerprint template in the fingerprint base, obtain corresponding with the fingerprint template Image switching command, including:
If the finger print information matches with the first fingerprint template in the fingerprint base, it is corresponding to obtain the finger print information Operating time;
Corresponding image switching command is obtained according to first fingerprint template and the operating time;
Execute the described image switching command obtained;
It is described to include according to first fingerprint template and the corresponding image switching command of operating time acquisition:
When the operating time being less than preset value, the finger for switching to next image is obtained according to first fingerprint template It enables;
When the operating time being greater than or equal to the preset value, is obtained according to first fingerprint template and connected with preset frame rate The instruction of continuous switching image;
If the finger print information matches with any fingerprint template in the fingerprint base, obtain and the fingerprint template pair The image switching command answered includes:
If the finger print information matches with the second fingerprint template in the fingerprint base, obtained according to second fingerprint template Take the instruction for switching to an image;
Described when detecting finger print information, the fingerprint template in the finger print information and pre-stored fingerprint base is carried out Before comparison, the method also includes:
Fingerprint base is created, the fingerprint base includes fingerprint template, image switching command and fingerprint template and image switching command Corresponding relationship;Or the fingerprint base includes the corresponding relationship of fingerprint template and fingerprint template and image switching command.
2. the device that a kind of pair of multiple images file switches over, which is characterized in that including:
Registering unit, for registering the broadcast of a reception finger print information in photograph album is applied;When being in image viewing interface, If receiving finger print information by fingerprint sensor, fingerprint sensor issues broadcast, so that photograph album application receives the broadcast;
Comparing unit, for when detecting finger print information, by the fingerprint in the finger print information and pre-stored fingerprint base Template is compared;Wherein, the finger print information is obtained by the fingerprint sensor at the mobile terminal back side;
Acquiring unit is obtained and is somebody's turn to do if matching for the finger print information and any fingerprint template in the fingerprint base The corresponding image switching command of fingerprint template;
The acquiring unit includes:
Operating time obtains subelement, if matching for the finger print information and the first fingerprint template in the fingerprint base, Then obtain the finger print information corresponding operating time;
First switching command obtains subelement, corresponding for being obtained according to first fingerprint template and the operating time Image switching command;
Execution unit, for executing the described image switching command obtained;
First switching command obtains subelement and is specifically used for:
When the operating time being less than preset value, the finger for switching to next image is obtained according to first fingerprint template It enables;
When the operating time being greater than or equal to the preset value, is obtained according to first fingerprint template and connected with preset frame rate The instruction of continuous switching image;
The acquiring unit further includes:
Second switching command obtains subelement, if for the finger print information and the second fingerprint template phase in the fingerprint base Match, then obtains the instruction for switching to a upper image according to second fingerprint template;
Described device further includes:
Fingerprint base creating unit includes fingerprint template, image switching command and fingerprint template and image for the fingerprint base The corresponding relationship of switching command;Or the fingerprint base includes that fingerprint template and fingerprint template are corresponding with image switching command Relationship.
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 CN104571889A (en) 2015-04-29
CN104571889B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN104571889A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104660907B (en) The method, device and mobile terminal taken pictures
CN104572219B (en) Photographing mode switching method and device
CN104469717B (en) Note transmission method and device
CN108595137A (en) It is wireless to throw screen method, apparatus and throw screen device
CN106131425B (en) A kind of method and mobile terminal switching camera
CN104657053B (en) A kind of method for realizing specific function using multi-point gestures in touch screen terminal
CN104793887B (en) The dual camera control method and device of mobile terminal
CN105225212A (en) A kind of image processing method and device
CN106130972B (en) resource access control method and device
CN108961387A (en) A kind of display methods and terminal device of house virtual three-dimensional model
CN105631970B (en) One-touch information sharing method and system based on drive recorder
CN109992176A (en) A kind of scan method and device of message identification code
CN106686545B (en) A kind of application method and device of Wireless Fidelity national code
CN108429879A (en) Electronic equipment, camera control method and Related product
CN111565282A (en) Shooting control processing method, device, equipment and storage medium
CN106713684A (en) Method and equipment for binding unified communication client account number with phone number
CN104571889B (en) image switching method and device
CN108073380A (en) Electronic device, display control method and related product
CN107656677B (en) Method for adjusting position of application icon, storage medium and mobile terminal
CN105334956B (en) A kind of information processing method and electronic equipment
CN104486553B (en) A kind of distant view photograph image pickup method and terminal
CN104808949B (en) A kind of page method of adjustment and mobile terminal
CN106709392B (en) Two-dimensional code scanning method and mobile terminal
CN109284060A (en) Display control method and relevant apparatus
CN109729270A (en) A kind of control method, device and electronic equipment

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
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.

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

Granted publication date: 20181127