[go: up one dir, main page]

CN105426081A - Interface switching apparatus and method for mobile terminal - Google Patents

Interface switching apparatus and method for mobile terminal Download PDF

Info

Publication number
CN105426081A
CN105426081A CN201510859518.5A CN201510859518A CN105426081A CN 105426081 A CN105426081 A CN 105426081A CN 201510859518 A CN201510859518 A CN 201510859518A CN 105426081 A CN105426081 A CN 105426081A
Authority
CN
China
Prior art keywords
mobile terminal
interface
angle
threshold values
corner dimension
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
CN201510859518.5A
Other languages
Chinese (zh)
Other versions
CN105426081B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201510859518.5A priority Critical patent/CN105426081B/en
Publication of CN105426081A publication Critical patent/CN105426081A/en
Application granted granted Critical
Publication of CN105426081B publication Critical patent/CN105426081B/en
Active 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

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)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an interface switching apparatus for a mobile terminal. The apparatus comprises a detection module used for detecting information of an included angle between the mobile terminal and the horizontal plane when a display interface of the mobile terminal displays a shooting interface, a judgment module used for judging whether the information of the included angle meets a preset interface switching condition or not, and a switching module used for switching the display interface of the mobile terminal from the shooting interface to a photo album interface when the information of the included angle meets the preset interface switching condition. The invention furthermore discloses an interface switching method for the mobile terminal. With the adoption of the interface switching apparatus and method, manual operations of users are reduced when a display page of the mobile terminal is switched from a shooting page to a photo album page, so that the user experience is improved.

Description

The changing interface device and method of mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of changing interface device and method of mobile terminal.
Background technology
Along with the universal use of intelligent mobile terminal (as mobile phone), increasing user likes being taken pictures by mobile terminal, common, user likes taking pictures while check the effect of the photo of just now taking pictures, as in a scene, user A is taken pictures to user B by mobile terminal, after shooting completes, user B wants the effect of checking the photo just now taken, then user A or user B needs manual operation mobile terminal, checks photo as manually clicked photograph album application on mobile terminals to enter photograph album application; As in another scene, user A takes certain scenery by mobile terminal, after shooting completes, ites is desirable to look over the photo just now taken, then user A needs manual operation mobile terminal, checks photo as manually clicked photograph album application on mobile terminals to enter photograph album application.Adopt existing aforesaid way, user is when using mobile terminal to carry out taking pictures and checking photograph album, and need manual operation to open the photograph album application on mobile terminal, operating process is complicated, poor user experience.
Summary of the invention
Fundamental purpose of the present invention is the changing interface device and method proposing a kind of mobile terminal, be intended to solve in prior art, user is when using mobile terminal to carry out taking pictures and checking photograph album, need manual operation to open the photograph album application on mobile terminal, operating process is complicated, the technical matters of poor user experience.
For achieving the above object, the invention provides a kind of changing interface device of mobile terminal, this device comprises:
Detection module, for when the display interface display shooting interface of mobile terminal, detects the angle information of described mobile terminal and surface level;
Judge module, for judging whether described angle information meets the changing interface condition preset;
Handover module, for when described angle information meets default changing interface condition, by the display interface of described mobile terminal from shooting changing interface to photograph album interface.
Optionally, described angle information comprises corner dimension, and described judge module comprises:
First judging unit, for judging the handoff angle threshold values whether described corner dimension equals default;
First determining unit, for equaling default handoff angle threshold values when described corner dimension, determines that described angle information meets default changing interface condition.
Optionally, described angle information comprises corner dimension, duration that described corner dimension is corresponding, and described judge module comprises:
Second judging unit, for judging the handoff angle threshold values whether described corner dimension equals default;
3rd judging unit, during for equaling default handoff angle threshold values at described corner dimension, judges whether the duration that described corner dimension is corresponding is more than or equal to default threshold values switching time;
Second determining unit, when being more than or equal to default threshold values switching time for the duration corresponding at described corner dimension, determines that described angle information meets default changing interface condition.
Optionally, described device also comprises and arranges module, for arranging described handoff angle threshold values.
Optionally, the described module that arranges comprises:
Acquiring unit, for when the display interface display photograph album interface of described mobile terminal, in each subcycle in a preset time period, obtains at least one first angle that described in each subcycle, between mobile terminal and surface level, the retention time is the longest;
Computing unit, for calculating the persistence probability of at least one the first angle described;
Setting unit, for selecting first angle according to the persistence probability of at least one the first angle described from least one first angle described, is set to handoff angle threshold values.
Optionally, described device also comprises:
Control module, for described handover module by the display interface of described mobile terminal from shooting changing interface to photograph album interface while or afterwards, control described mobile terminal and exit application of taking pictures.
In addition, for achieving the above object, the present invention also proposes a kind of interface switching method of mobile terminal, and the method comprises:
When the display interface display shooting interface of mobile terminal, detect the angle information of described mobile terminal and surface level;
Judge whether described angle information meets the changing interface condition preset;
If described angle information meets default changing interface condition, then by the display interface of described mobile terminal from shooting changing interface to photograph album interface.
Optionally, described angle information comprises corner dimension, and the described step judging that whether described angle information meet the changing interface condition preset comprises:
Judge the handoff angle threshold values whether described corner dimension equals default;
If described corner dimension equals default handoff angle threshold values, then determine that described angle information meets default changing interface condition.
Optionally, described angle information comprises corner dimension, duration that described corner dimension is corresponding, and the described step judging whether described angle information meets the changing interface condition preset comprises:
Judge the handoff angle threshold values whether described corner dimension equals default;
If described corner dimension equals default handoff angle threshold values, then judge whether the duration that described corner dimension is corresponding is more than or equal to default threshold values switching time;
If the duration that described corner dimension is corresponding is more than or equal to default threshold values switching time, then determine that described angle information meets default changing interface condition.
Optionally, the method also comprises: arrange described handoff angle threshold values; The described step arranging described handoff angle threshold values comprises:
When the display interface display photograph album interface of described mobile terminal, in each subcycle in a preset time period, obtain at least one first angle that described in each subcycle, between mobile terminal and surface level, the retention time is the longest;
Calculate the persistence probability of at least one the first angle described;
Persistence probability according at least one the first angle described selects first angle from least one first angle described, is set to handoff angle threshold values.
Optionally, by the display interface of described mobile terminal from shooting changing interface to photograph album interface while or afterwards, the method also comprises:
Control described mobile terminal and exit application of taking pictures.
The changing interface device and method of mobile terminal of the present invention, this device comprises: detection module, for when the display interface display shooting interface of mobile terminal, detects the angle information of described mobile terminal and surface level; Judge module, for judging whether described angle information meets the changing interface condition preset; Handover module, for when described angle information meets default changing interface condition, by the display interface of described mobile terminal from shooting changing interface to photograph album interface; Adopt the present invention, mobile terminal display interface display shooting interface time, angle information according to this mobile terminal and surface level determines whether the display interface of this mobile terminal to be switched to photograph album interface, user's manual operation is not needed to open photograph album interface, operation is more simple, improves Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the hardware configuration schematic diagram realizing each embodiment of the present invention optional mobile terminal;
Fig. 2 is the electrical structure block diagram of camera in Fig. 1;
Fig. 3 is the structural representation of the first embodiment of the changing interface device of mobile terminal of the present invention;
Fig. 4 a is the schematic diagram that user longitudinally grips mobile terminal;
Fig. 4 b is the schematic diagram that user tilts to grip mobile terminal;
Fig. 5 is the structural representation of an embodiment of judge module in the changing interface device of mobile terminal of the present invention;
Fig. 6 is the structural representation of another embodiment of judge module in the changing interface device of mobile terminal of the present invention;
Fig. 7 is the structural representation of the second embodiment of the changing interface device of mobile terminal of the present invention;
Fig. 8 is the detailed construction schematic diagram arranging module in Fig. 7;
Fig. 9 is the structural representation of the 3rd embodiment of the changing interface device of mobile terminal of the present invention;
Figure 10 is the schematic flow sheet of the first embodiment of the interface switching method of mobile terminal of the present invention;
Figure 11 is the schematic flow sheet of the second embodiment of the interface switching method of mobile terminal of the present invention;
Figure 12 is the schematic flow sheet of the 3rd embodiment of the interface switching method of mobile terminal of the present invention;
Figure 13 is the schematic flow sheet of the 4th embodiment of the interface switching method of mobile terminal of the present invention;
Figure 14 is the detailed process schematic diagram of the step arranging this handoff angle threshold values in Figure 13;
Figure 15 is the schematic flow sheet of the 5th embodiment of the interface switching method of mobile terminal of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the hardware configuration signal realizing each embodiment of the present invention optional mobile terminal.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180, power supply unit 190 and timer 200 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the wireless communication between mobile terminal 100 and radio communication device or network.
A/V input block 120 is for audio reception or vision signal.A/V input block 120 can comprise camera 121, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in storer 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 121 according to the structure of mobile terminal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, such as, the state that opens or closes of mobile terminal 100, the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration of mobile terminal 100 or accelerate the angle etc. of the direction of movement, mobile terminal and surface level, and generation is for controlling order or the signal of the operation of mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power supply unit 190 provides electric power or interface unit 170 to couple with external device (ED).In one embodiment, this sensing cell can comprise angular transducer, and this angular transducer is gyroscope or gravity sensor.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other coupling arrangement.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
Output unit 150 can comprise display unit 151 etc.Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, mobile terminal 100 can comprise two or more display units (or other display device), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.
Storer 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, storer 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of sound signal.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 181 for reproducing (or playback) multi-medium data, and multi-media module 181 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power supply unit 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such embodiment can be implemented in controller 180.For implement software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in storer 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
With reference to the electrical structure block diagram that Fig. 2, Fig. 2 are camera 121 in Fig. 1.
Phtographic lens 1211 is made up of the multiple optical lens for the formation of shot object image, is single-focus lens or zoom lens.Phtographic lens 1211 can move in the direction of the optical axis under the control of lens driver 1221, lens driver 1221 is according to the control signal from lens driving control circuit 1222, control the focal position of phtographic lens 1211, when zoom lens, also can control focal length.Lens driving control circuit 1222 carries out the drived control of lens driver 1221 according to the control command from microcomputer 1217.
Imaging apparatus 1212 is configured with near the position of the shot object image formed on the optical axis of phtographic lens 1211, by phtographic lens 1211.Imaging apparatus 1212 is for making a video recording to shot object image and obtaining image data.On imaging apparatus 1212 two dimension and be arranged in a matrix the photodiode forming each pixel.Each photodiode produces the opto-electronic conversion electric current corresponding with light income, and this opto-electronic conversion electric current carries out charge accumulation by the capacitor be connected with each photodiode.The front surface of each pixel is configured with the RGB color filter of Bayer arrangement.
Imaging apparatus 1212 is connected with imaging circuit 1213, this imaging circuit 1213 carries out charge accumulation and controls and picture signal reading control in imaging apparatus 1212, to the picture signal (analog picture signal) of this reading reduce reset noise after carry out wave shaping, and then carry out gain raising etc. to become suitable signal level.Imaging circuit 1213 is connected with A/D converter 1214, and this A/D converter 1214 pairs of analog picture signals carry out analog to digital conversion, to bus 1227 output digital image signal (hereinafter referred to as view data).
Bus 1227 is the transfer paths of the various data that the inside for being transmitted in camera reads or generates.Above-mentioned A/D converter 1214 is connected in bus 1227, be connected to image processor 1215, jpeg processor 1216, microcomputer 1217, SDRAM (SynchronousDynamicrandomaccessmemory in addition, SDRAM (Synchronous dynamic random access memory)) 1218, memory interface (hereinafter referred to as memory I/F) 1219, LCD (LiquidCrystalDisplay, liquid crystal display) driver 1220.
Image processor 1215 carries out OB to the view data of the output based on imaging apparatus 1212 and subtracts each other process, blank level adjustment, color matrix computing, gamma conversion, colour difference signal process, noise removal process, changes the various image procossing such as process, edge treated simultaneously.Jpeg processor 1216 by Imagery Data Recording in recording medium 1225 time, according to JPEG compress mode compression from SDRAM1218 read view data.In addition, jpeg processor 1216 carries out the decompression of jpeg image data in order to carry out image reproducing display.When decompressing, read the file that is recorded in recording medium 1225, implement decompression in jpeg processor 1216 after, the view data of decompression to be temporarily stored in SDRAM1218 and to show on LCD1226.H.264 in addition, in the present embodiment, what adopt as compression of images decompression mode is JPEG mode, but compressed and decompressed mode is not limited thereto, and certainly can adopt MPEG, TIFF, other the compressed and decompressed mode such as.
Microcomputer 1217 plays the function of the control part as this camera entirety, the unified various process sequences controlling camera.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but not limited to physical button or virtual key, this entity or virtual key can be the operational controls such as various load button and various enter keies such as power knob, key of taking pictures, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button, large buttons, detect the mode of operation of these operational controls.
Testing result is exported to microcomputer 1217.In addition, be provided with touch panel at the front surface of the LCD1226 as display, detect the touch location of user, this touch location is exported to microcomputer 1217.Microcomputer 1217, according to the testing result of the operating position from operating unit 1223, performs the various process sequences corresponding with the operation of user.
Flash memory 1224 stores the program of the various process sequences for performing microcomputer 1217.Microcomputer 1217 carries out the control of camera entirety according to this program.In addition, flash memory 1224 stores the various adjusted values of camera, and microcomputer 1217 reads adjusted value, carries out the control of camera according to this adjusted value.
SDRAM1218 is can the electricity volatile memory of rewriting for what carry out view data etc. temporarily storing.This SDRAM1218 temporarily stores the view data that exports from A/D converter 1214 and image processor 1215, jpeg processor 1216 etc., to have carried out the view data after processing.
Memory interface 1219 is connected with recording medium 1225, carries out the control by view data and the first-class data write recording medium 1225 of file be attached in view data and reading from recording medium 1225.Recording medium 1225 be such as can on camera main-body the recording medium such as memory card of disassembled and assembled freely, but being not limited thereto, also can be the hard disk etc. be built in camera main-body.
Lcd driver 1210 is connected with LCD1226, view data after being processed by image processor 1215 is stored in SDRAM1218, when needing display, read the view data that SDRAM1218 stores also to show on LCD1226, or the compressed view data of jpeg processor 1216 is stored in SDRAM1218, when needs show, jpeg processor 1216 reads the compressed view data of SDRAM1218, then decompresses, and the view data after decompressing is shown by LCD1226.
Image display is carried out at the back side that LCD1226 is configured in camera main-body.This LCD1226LCD), but be not limited thereto, also can adopt the various display panels (LCD1226) such as organic EL, but be not limited thereto, also can adopt the various display panels such as organic EL.
Based on the electrical structure schematic diagram of above-mentioned mobile terminal hardware configuration and camera, each embodiment of apparatus of the present invention is proposed.
With reference to the structural representation that Fig. 3, Fig. 3 are the first embodiment of the changing interface device of mobile terminal of the present invention, this device comprises:
Detection module 10, for when the display interface display shooting interface of mobile terminal, detects the angle information of this mobile terminal and surface level;
Judge module 20, for judging whether this angle information meets the changing interface condition preset;
Handover module 30, for when this angle information meets default changing interface condition, by the display interface of this mobile terminal from shooting changing interface to photograph album interface.
This mobile terminal 100 for having the intelligent terminal of camera function, as smart mobile phone, panel computer, digital camera etc.
User can open the application of taking pictures on this mobile terminal, takes pictures.When user open this mobile terminal take pictures application time, at the display interface display shooting interface of this mobile terminal, comprise view-finder and corresponding virtual key (as shooting button, arranging button etc.) at this shooting interface, user carries out corresponding operating and realizes taking pictures at this shooting interface.Common, when user is when using this mobile terminal to take pictures, user laterally or longitudinally grips this mobile terminal, and this mobile terminal is parallel with human body, i.e. the plane at this mobile terminal place and horizontal plane; When user longitudinally grips this mobile terminal, the top side of this mobile terminal upward, the bottom side of mobile terminal down, as shown in fig. 4 a; When user laterally grips this mobile terminal, down, the right side of this mobile terminal upward in the left side of this mobile terminal.When user wants to check photograph album, generally mobile terminal can be tilted hold, the plane making this mobile terminal place no longer with horizontal plane, the plane at this mobile terminal place and the angle α of surface level are less than 90 °, as shown in Figure 4 b.
This detection module 10, when the display interface display shooting interface of mobile terminal, detects the angle information of this mobile terminal and surface level in real time.This angle information comprises corner dimension, duration etc. that this corner dimension is corresponding.Concrete, measure the corner dimension between this mobile terminal and surface level by the angular transducer that this mobile terminal is built-in, this angular transducer can be gyroscope or gravity sensor; Duration corresponding to this corner dimension is calculated by the timer that this mobile terminal is built-in.
In advance the photograph album of mobile terminal can be opened pattern and switch to intelligent mode, then this detection module 10 detects the angle information of this mobile terminal and surface level.The photograph album of this mobile terminal is opened pattern and is comprised general mode and intelligent mode, in the normal mode, user adopts existing mode manual unlocking photograph album to apply, under intelligent mode, according to when interface is taken in the display interface display of mobile terminal, this mobile terminal detected and the angle information of surface level determine whether that opening photograph album applies.In one embodiment, a mode switch button can be set on the shooting interface of mobile terminal, user clicks this mode switch button, the photograph album of mobile terminal is opened pattern switch between intelligent mode and general mode, pattern opened by photograph album as corresponding in present mode switching push button is general mode, after then clicking this mode switch button, pattern opened by photograph album corresponding to this mode switch button is intelligent mode, after again clicking this mode switch button, pattern opened by photograph album corresponding to this mode switch button is general mode, the like.
This judge module 20 judges whether this angle information meets the changing interface condition preset, if this angle information meets default changing interface condition, then illustrate and the display interface of this mobile terminal can be switched to photograph album interface, if this angle information does not meet the boundary condition preset, then illustrate that user wishes the display interface of this mobile terminal to be continued display shooting interface, proceed to take pictures.
Optionally, this changing interface condition preset can be one or more handoff angle threshold values, as in one embodiment, this changing interface condition preset is a handoff angle threshold values, be 30 ゜, in another embodiment, this changing interface condition preset is multiple handoff angle threshold values, as being 30 ゜, 45 ゜ and 60 ゜, as when there being many people to use this mobile terminal, the corresponding handoff angle threshold values of each user, user A is when checking photograph album, custom, by downward-sloping for this mobile terminal gripping, makes the angle of this mobile terminal and surface level be 30 ゜; User B, when checking photograph album, is accustomed to downward-sloping for this mobile terminal gripping, makes the angle of this mobile terminal and surface level be 45 ゜.The changing interface condition preset when this comprises multiple handoff angle threshold values, as long as the corner dimension in the mobile terminal then detected in detection module 10 and the angle information of surface level equals in the plurality of handoff angle threshold values any one, then judge module 20 thinks that angle information meets default changing interface condition.
Optionally, this preset changing interface condition can comprise handoff angle threshold values and switching time threshold values, this handoff angle threshold values can be one or more.This handoff angle threshold values and switching time threshold values can arrange as required, when the display interface of mobile terminal is switched to photograph album interface from shooting interface by hope fast, then this of threshold values is arranged smaller switching time, when hope reduce maloperation by the display interface of this mobile terminal from shooting changing interface to photograph album interface, then this switching time is arranged larger.In one embodiment, this of threshold values can be set to 2 seconds switching time.
Optionally, this changing interface condition preset can comprise handoff angle scope, and this handoff angle scope can be arranged as required, if this handoff angle scope is 30 ゜ ~ 60 ゜, user is when gripping mobile terminal and checking photograph album, and the angle of this mobile terminal and surface level is at 30 ゜ ~ 60 ゜ usually.This judge module 20 judges that corner dimension in the angle information of mobile terminal and the surface level detected at detection module 10 is whether in this handoff angle scope, if detect mobile terminal and surface level angle information in corner dimension in this handoff angle scope, then think that angle information meets default changing interface condition; If the corner dimension in the mobile terminal of detection and the angle information of surface level is 45 ゜, then this judge module 20 thinks that this angle information meets default changing interface condition.
The display interface of this mobile terminal is switched to photograph album interface by this handover module 30, concrete, and when being switched to photograph album interface, directly can show a photo of shooting recently, user continues to browse other photo by page turning; Also directly can show the thumbnail of each photo of photograph album application, before being presented at by the photo taken recently, user clicks the thumbnail of certain photo, is opened by corresponding photo.
Adopt above-described embodiment, the changing interface device of this mobile terminal comprises detection module 10, for when the display interface display shooting interface of mobile terminal, detects the angle information of this mobile terminal and surface level; Judge module 20, for judging whether this angle information meets the changing interface condition preset; Handover module 30, for when this angle information meets default changing interface condition, by the display interface of this mobile terminal from shooting changing interface to photograph album interface; Namely mobile terminal display interface display shooting interface time, angle information according to this mobile terminal and surface level determines whether the display interface of this mobile terminal to be switched to photograph album interface, do not need user's manual operation to open photograph album interface, operation is more simple, improves Consumer's Experience.
Be the structural representation of an embodiment of judge module in the changing interface device of mobile terminal of the present invention with reference to Fig. 5, Fig. 5, this angle information comprises corner dimension, and this judge module 20 comprises:
First judging unit 21, for judging the handoff angle threshold values whether this corner dimension equals default;
First determining unit 22, for equaling default handoff angle threshold values when this corner dimension, determines that this angle information meets default changing interface condition.
This handoff angle threshold values preset can be arranged, as required if this handoff angle threshold values can be one or more.This handoff angle threshold values can be kept in the local storage of this mobile terminal, or is kept in Cloud Server.
When handoff angle threshold values that this is preset only has one, this first judging unit 21 judges the handoff angle threshold values whether this corner dimension equals default, if this corner dimension equals default handoff angle threshold values, then think that this angle information meets default changing interface condition.
When the handoff angle threshold values that this is preset has multiple, this corner dimension and the plurality of handoff angle threshold values compare by this first judging unit 21 successively, judge any one whether this corner dimension equal in the plurality of handoff angle threshold values, as long as this corner dimension is equal with one of them handoff angle threshold values, then think that angle information meets default changing interface condition.
Adopt above-described embodiment, this judge module 20, by judging the corner dimension of the mobile terminal that detection module 10 detects and surface level, can determine whether user wishes mobile terminal display interface, from taking changing interface to photograph album interface, to operate simpler fast.
Be the structural representation of another embodiment of judge module in the changing interface device of mobile terminal of the present invention with reference to Fig. 6, Fig. 6, this angle information comprises corner dimension, duration that this corner dimension is corresponding, and this judge module 20 comprises:
Second judging unit 23, for judging the handoff angle threshold values whether this corner dimension equals default;
3rd judging unit 24, during for equaling default handoff angle threshold values at this corner dimension, judges whether the duration that this corner dimension is corresponding is more than or equal to default threshold values switching time;
Second determining unit 25, when being more than or equal to default threshold values switching time for the duration corresponding at this corner dimension, determines that this angle information meets default changing interface condition.
This handoff angle threshold values preset can be arranged, as required if this handoff angle threshold values can be one or more.This handoff angle threshold values can be kept in the local storage of this mobile terminal, or is kept in Cloud Server.
When handoff angle threshold values that this is preset only has one, this second judging unit 23 judges the handoff angle threshold values whether this corner dimension equals default, if this corner dimension equals default handoff angle threshold values, then think that this angle information tentatively meets the changing interface condition preset, need to carry out next step to judge, to determine whether this angle information finally meets the changing interface condition preset.
When the handoff angle threshold values that this is preset has multiple, this corner dimension and the plurality of handoff angle threshold values compare by this second judging unit 23 successively, judge any one whether this corner dimension equal in the plurality of handoff angle threshold values, as long as this corner dimension is equal with one of them handoff angle threshold values, then think that angle information tentatively meets the changing interface condition preset, need to carry out next step to judge, to determine whether this angle information finally meets the changing interface condition preset.
This threshold values switching time preset can be arranged as required, if this of threshold values is 2 seconds switching time.This handoff angle threshold values can be kept in the local storage of this mobile terminal, or is kept in Cloud Server.
3rd judging unit 24 the judged result of the second judging unit 23 be this corner dimension equal default handoff angle threshold values time, judge whether the duration that this corner dimension is corresponding is more than or equal to default threshold values switching time, if the duration that this corner dimension is corresponding is more than or equal to default threshold values switching time, then think that this angle information finally meets the changing interface condition preset.
Adopt above-described embodiment, this judge module 20 is by the duration of the mobile terminal that judges detection module 10 and detect and the corner dimension of surface level and the corresponding of this corner dimension, can determine whether user wishes mobile terminal display interface from shooting changing interface to photograph album interface fast and accurately, reduce user misoperation, operate simpler.
With reference to the structural representation that Fig. 7, Fig. 7 are the second embodiment of the changing interface device of mobile terminal of the present invention.
Based on the first embodiment of the changing interface device of above-mentioned mobile terminal, this device also comprises and arranges module 40, for arranging this handoff angle threshold values.
By mode manually or automatically, this handoff angle threshold values is set.Under manual mode, mobile terminal provides one to arrange interface, user arranges interface manually input handoff angle threshold values at this, concrete, virtual soft dish can be shown arranging on interface, user, by this virtual soft dish input handoff angle threshold values, directly can also arrange the handwriting input region input handoff angle threshold values at interface at this.Under automated manner, the display interface of mobile terminal is shown photograph album interface to user and user tilts to grip this mobile terminal, when the duration at the display interface display photograph album interface of mobile terminal reaches specific duration, the angle of this mobile terminal and surface level is obtained by the angular transducer that this mobile terminal is built-in, and using the angle of acquisition as handoff angle threshold values.
In one embodiment, as shown in Figure 8, this arranges module 40 and comprises:
Acquiring unit 41, for when the display interface display photograph album interface of this mobile terminal, in each subcycle in a preset time period, obtains at least one first angle that in each subcycle, between this mobile terminal and surface level, the retention time is the longest;
Computing unit 42, for calculating the persistence probability of this at least one the first angle;
Setting unit 43, the persistence probability at least one the first angle according to this selects first angle from this at least one first angle, is set to handoff angle threshold values.
When the display interface display photograph album interface of this mobile terminal (this mobile terminal can be enter photograph album interface by user's manual operation or automatically enter photograph album interface by such scheme of the present invention), in this acquiring unit 41 each subcycle in a preset time period, obtain in each subcycle, angle situation between this mobile terminal and surface level, an angle that the retention time is the longest is selected from each subcycle, as the first angle, the first angle that each subcycle is corresponding can be identical or different.This preset time period and subcycle number can be arranged as required.As in one embodiment, this preset time period is 5 minutes, the number of subcycle is 5, the duration of each subcycle is 1 minute, this acquiring unit 41 obtains in these 51 minute cycles respectively, angle situation between this mobile terminal and surface level, an angle that the retention time is the longest is selected from each subcycle, as in first subcycle, retention time the longest angle is 30 ゜, in second subcycle, retention time the longest angle is 45 ゜, in the 3rd subcycle, retention time the longest angle is 40 ゜, in the 4th subcycle, retention time the longest angle is 30 ゜, in the 5th subcycle, retention time the longest angle is 30 ゜, namely this first angle is 30 ゜, 40 ゜ and 45 ゜.
This computing unit 42 calculates the persistence probability of each the first angle, concrete, the persistence probability of each the first angle is by following formulae discovery P=N/M, wherein, N represents the occurrence number of this first angle in this preset time period, M represents the number of the subcycle in this preset time period, as in the above-described embodiments, M is 5, first angle is the persistence probability of 30 ゜ is P=3/5, first angle is the persistence probability of 40 ゜ is P=1/5, and the first angle is the persistence probability of 45 ゜ is P=1/5.
This setting unit 43 can, from this at least one first angle, be selected the first maximum for persistence probability angle to be set to handoff angle threshold values, and as in the above-described embodiments, the first angle is that the persistence probability of 30 ゜ is maximum, then 30 ゜ are set to handoff angle threshold values.
In one embodiment, this setting unit 43 is from this at least one first angle, select the first angle that persistence probability is maximum, and judge whether the persistence probability of the first angle that this persistence probability is maximum is more than or equal to default probability threshold values, if the persistence probability of the first angle that this persistence probability is maximum is more than or equal to default probability threshold values, then the first maximum for this persistence probability angle is set to handoff angle threshold values, if the persistence probability of the first angle that this persistence probability is maximum is less than default probability threshold values, then the first maximum for this persistence probability angle is abandoned, again acquiring unit 41 need be passed through, computing unit 42 and setting unit 43 obtain handoff angle threshold values.
Adopt above-described embodiment that this handoff angle threshold values is set, handoff angle threshold values can be made to arrange more meet user's use habit, to determine whether the display interface of mobile terminal, from when taking changing interface to photograph album interface, to determine whether user wishes mobile terminal display interface from shooting changing interface to photograph album interface accurately at the mobile terminal detected according to detection module 10 and the corner dimension of surface level and the relation of this handoff angle threshold values.
With reference to the structural representation that Fig. 9, Fig. 9 are the 3rd embodiment of the changing interface device of mobile terminal of the present invention.
Based on the first embodiment of the changing interface device of above-mentioned mobile terminal, this device also comprises:
Control module 50, for this handover module 30 by the display interface of this mobile terminal from shooting changing interface to photograph album interface while or afterwards, control this mobile terminal and exit application of taking pictures.
This control module 50 controls this mobile terminal and exits application of taking pictures, and namely user is current checks photograph album, does not need to take.
Adopt above-described embodiment, do not use take pictures application time, control mobile terminal and exit application of taking pictures, application of taking pictures can be reduced and take the system resource of mobile terminal, the operational efficiency of raising mobile terminal.
The present invention further provides a kind of interface switching method of mobile terminal.
With reference to the schematic flow sheet that Figure 10, Figure 10 are the first embodiment of the interface switching method of mobile terminal of the present invention, the method comprises:
S10, when mobile terminal display interface display shooting interface time, detect the angle information of this mobile terminal and surface level.
This mobile terminal 100 for having the intelligent terminal of camera function, as smart mobile phone, panel computer, digital camera etc.
User can open the application of taking pictures on this mobile terminal, takes pictures.When user open this mobile terminal take pictures application time, at the display interface display shooting interface of this mobile terminal, comprise view-finder and corresponding virtual key (as shooting button, arranging button etc.) at this shooting interface, user carries out corresponding operating and realizes taking pictures at this shooting interface.Common, when user is when using this mobile terminal to take pictures, user laterally or longitudinally grips this mobile terminal, and this mobile terminal is parallel with human body, i.e. the plane at this mobile terminal place and horizontal plane; When user longitudinally grips this mobile terminal, the top side of this mobile terminal upward, the bottom side of mobile terminal down, as shown in fig. 4 a; When user laterally grips this mobile terminal, down, the right side of this mobile terminal upward in the left side of this mobile terminal.When user wants to check photograph album, generally mobile terminal can be tilted hold, the plane making this mobile terminal place no longer with horizontal plane, the plane at this mobile terminal place and the angle α of surface level are less than 90 °, as shown in Figure 4 b.
In this step, the angle information of this mobile terminal and surface level is detected in real time.This angle information comprises corner dimension, duration etc. that this corner dimension is corresponding.Concrete, measure the corner dimension between this mobile terminal and surface level by the angular transducer that this mobile terminal is built-in, this angular transducer can be gyroscope or gravity sensor; Duration corresponding to this corner dimension is calculated by the timer that this mobile terminal is built-in.
In this step, in advance the photograph album of mobile terminal can be opened pattern and switch to intelligent mode, then detect the angle information of this mobile terminal and surface level.The photograph album of this mobile terminal is opened pattern and is comprised general mode and intelligent mode, in the normal mode, user adopts existing mode manual unlocking photograph album to apply, under intelligent mode, according to when interface is taken in the display interface display of mobile terminal, this mobile terminal detected and the angle information of surface level determine whether that opening photograph album applies.In one embodiment, a mode switch button can be set on the shooting interface of mobile terminal, user clicks this mode switch button, the photograph album of mobile terminal is opened pattern switch between intelligent mode and general mode, pattern opened by photograph album as corresponding in present mode switching push button is general mode, after then clicking this mode switch button, pattern opened by photograph album corresponding to this mode switch button is intelligent mode, after again clicking this mode switch button, pattern opened by photograph album corresponding to this mode switch button is general mode, the like.
S20, judge that whether this angle information meet the changing interface condition preset, if this angle information meets default changing interface condition, then perform step S30.
In this step, judge whether this angle information meets the changing interface condition preset, if this angle information meets default changing interface condition, then illustrate and the display interface of this mobile terminal can be switched to photograph album interface, if this angle information does not meet the boundary condition preset, then illustrate that user wishes the display interface of this mobile terminal to be continued display shooting interface, proceed to take pictures.
Optionally, this changing interface condition preset can be one or more handoff angle threshold values, as in one embodiment, this changing interface condition preset is a handoff angle threshold values, be 30 ゜, in another embodiment, this changing interface condition preset is multiple handoff angle threshold values, as being 30 ゜, 45 ゜ and 60 ゜, as when there being many people to use this mobile terminal, the corresponding handoff angle threshold values of each user, user A is when checking photograph album, custom, by downward-sloping for this mobile terminal gripping, makes the angle of this mobile terminal and surface level be 30 ゜; User B, when checking photograph album, is accustomed to downward-sloping for this mobile terminal gripping, makes the angle of this mobile terminal and surface level be 45 ゜.The changing interface condition preset when this comprises multiple handoff angle threshold values, as long as the corner dimension in the angle information of the mobile terminal then detected in step S10 and surface level equals any one in the plurality of handoff angle threshold values, then think that angle information meets default changing interface condition.
Optionally, this preset changing interface condition can comprise handoff angle threshold values and switching time threshold values, this handoff angle threshold values can be one or more.This handoff angle threshold values and switching time threshold values can arrange as required, when the display interface of mobile terminal is switched to photograph album interface from shooting interface by hope fast, then this of threshold values is arranged smaller switching time, when hope reduce maloperation by the display interface of this mobile terminal from shooting changing interface to photograph album interface, then this switching time is arranged larger.In one embodiment, this of threshold values can be set to 2 seconds switching time.
Optionally, this changing interface condition preset can comprise handoff angle scope, and this handoff angle scope can be arranged as required, if this handoff angle scope is 30 ゜ ~ 60 ゜, user is when gripping mobile terminal and checking photograph album, and the angle of this mobile terminal and surface level is at 30 ゜ ~ 60 ゜ usually.In this step, judge corner dimension in the angle information of the mobile terminal that detects in step slo and surface level whether in this handoff angle scope, if detect mobile terminal and surface level angle information in corner dimension in this handoff angle scope, then think that angle information meets default changing interface condition; If the corner dimension in the mobile terminal of detection and the angle information of surface level is 45 ゜, then think that angle information meets default changing interface condition.
S30, by the display interface of this mobile terminal from shooting changing interface to photograph album interface.
In this step, the display interface of this mobile terminal is switched to photograph album interface, concrete, when being switched to photograph album interface, directly can show a photo of shooting recently, user continues to browse other photo by page turning; Also directly can show the thumbnail of each photo of photograph album application, before being presented at by the photo taken recently, user clicks the thumbnail of certain photo, is opened by corresponding photo.
Adopt above-described embodiment, when the display interface display shooting interface of mobile terminal, detect the angle information of described mobile terminal and surface level; Judge whether described angle information meets the changing interface condition preset; If described angle information meets default changing interface condition, then by the display interface of described mobile terminal from shooting changing interface to photograph album interface; Namely mobile terminal display interface display shooting interface time, angle information according to this mobile terminal and surface level determines whether the display interface of this mobile terminal to be switched to photograph album interface, do not need user's manual operation to open photograph album interface, operation is more simple, improves Consumer's Experience.
With reference to the schematic flow sheet that Figure 11, Figure 11 are the second embodiment of the interface switching method of mobile terminal of the present invention, details are as follows.
Based on the first embodiment of the interface switching method of above-mentioned mobile terminal, this angle information comprises corner dimension, judges that the step of the whether satisfied changing interface condition preset of this angle information comprises:
S21, judge the handoff angle threshold values whether this corner dimension equals default, if this corner dimension equals default handoff angle threshold values, then perform step S22.
This handoff angle threshold values preset can be arranged, as required if this handoff angle threshold values can be one or more.This handoff angle threshold values can be kept in the local storage of this mobile terminal, or is kept in Cloud Server.
When handoff angle threshold values that this is preset only has one, in this step, judge the handoff angle threshold values whether this corner dimension equals default, if this corner dimension equals default handoff angle threshold values, then think that this angle information meets default changing interface condition.
When the handoff angle threshold values that this is preset has multiple, in this step, successively this corner dimension and the plurality of handoff angle threshold values are compared, judge any one whether this corner dimension equal in the plurality of handoff angle threshold values, as long as this corner dimension is equal with one of them handoff angle threshold values, then think that angle information meets default changing interface condition.
S22, determine that this angle information meets default changing interface condition.
Adopt above-described embodiment, the mobile terminal detected by determining step S10 and the corner dimension of surface level, can determine fast user whether wish by mobile terminal display interface from take changing interface to photograph album interface, operate simpler.
With reference to the schematic flow sheet that Figure 12, Figure 12 are the 3rd embodiment of the interface switching method of mobile terminal of the present invention, details are as follows.
Based on the first embodiment of the interface switching method of above-mentioned mobile terminal, this angle information comprises corner dimension, duration that this corner dimension is corresponding, judges that the step whether this angle information meets the changing interface condition preset comprises:
S23, judge the handoff angle threshold values whether this corner dimension equals default, if this corner dimension equals default handoff angle threshold values, then perform step S24.
This handoff angle threshold values preset can be arranged, as required if this handoff angle threshold values can be one or more.This handoff angle threshold values can be kept in the local storage of this mobile terminal, or is kept in Cloud Server.
When handoff angle threshold values that this is preset only has one, in this step, judge the handoff angle threshold values whether this corner dimension equals default, if this corner dimension equals default handoff angle threshold values, then think that this angle information tentatively meets the changing interface condition preset, need to carry out next step to judge, to determine whether this angle information finally meets the changing interface condition preset.
When the handoff angle threshold values that this is preset has multiple, in this step, successively this corner dimension and the plurality of handoff angle threshold values are compared, judge any one whether this corner dimension equal in the plurality of handoff angle threshold values, as long as this corner dimension is equal with one of them handoff angle threshold values, then think that angle information tentatively meets the changing interface condition preset, need to carry out next step and judge, to determine whether this angle information finally meets the changing interface condition preset.
S24, judge whether the duration that this corner dimension is corresponding is more than or equal to default threshold values switching time, if duration corresponding to this corner dimension is more than or equal to default threshold values switching time, then perform step S25.
This threshold values switching time preset can be arranged as required, if this of threshold values is 2 seconds switching time.This handoff angle threshold values can be kept in the local storage of this mobile terminal, or is kept in Cloud Server.
In this step, judge whether the duration that this corner dimension is corresponding is more than or equal to default threshold values switching time, if the duration that this corner dimension is corresponding is more than or equal to default threshold values switching time, then think that this angle information finally meets the changing interface condition preset.
S25, determine that this angle information meets default changing interface condition.
Adopt above-described embodiment, the duration of the mobile terminal detected by determining step S10 and the corner dimension of surface level and the corresponding of this corner dimension, can determine whether user wishes mobile terminal display interface from shooting changing interface to photograph album interface fast and accurately, reduce user misoperation, operate simpler.
With reference to the schematic flow sheet that Figure 13, Figure 13 are the 4th embodiment of the interface switching method of mobile terminal of the present invention.
Based on the second embodiment of the interface switching method of above-mentioned mobile terminal or the schematic flow sheet of the 3rd embodiment, before judging whether this angle information meets the step of the changing interface condition preset, the method also comprises:
S40, this handoff angle threshold values is set.
By mode manually or automatically, this handoff angle threshold values is set.Under manual mode, mobile terminal provides one to arrange interface, user arranges interface manually input handoff angle threshold values at this, concrete, virtual soft dish can be shown arranging on interface, user, by this virtual soft dish input handoff angle threshold values, directly can also arrange the handwriting input region input handoff angle threshold values at interface at this.Under automated manner, the display interface of mobile terminal is shown photograph album interface to user and user tilts to grip this mobile terminal, when the duration at the display interface display photograph album interface of mobile terminal reaches specific duration, the angle of this mobile terminal and surface level is obtained by the angular transducer that this mobile terminal is built-in, and using the angle of acquisition as handoff angle threshold values.
In one embodiment, as shown in figure 14, this step arranging this handoff angle threshold values comprises:
S41, when this mobile terminal display interface display photograph album interface time, in each subcycle in a preset time period, obtain at least one first angle that in each subcycle, between this mobile terminal and surface level, the retention time is the longest.
When the display interface display photograph album interface of this mobile terminal (this mobile terminal can be enter photograph album interface by user's manual operation or automatically enter photograph album interface by such scheme of the present invention), in each subcycle in a preset time period, obtain in each subcycle, angle situation between this mobile terminal and surface level, an angle that the retention time is the longest is selected from each subcycle, as the first angle, the first angle that each subcycle is corresponding can be identical or different.As in one embodiment, this preset time period is 5 minutes, the number of subcycle is 5, the duration of each subcycle is 1 minute, obtain in these 51 minute cycles respectively, angle situation between this mobile terminal and surface level, an angle that the retention time is the longest is selected from each subcycle, as in first subcycle, retention time the longest angle is 30 ゜, in second subcycle, retention time the longest angle is 45 ゜, in the 3rd subcycle, retention time the longest angle is 40 ゜, in the 4th subcycle, retention time the longest angle is 30 ゜, in the 5th subcycle, retention time the longest angle is 30 ゜, namely this first angle is 30 ゜, 40 ゜ and 45 ゜.
S42, calculate the persistence probability of this at least one the first angle.
In this step, calculate the persistence probability of each the first angle, concrete, the persistence probability of each the first angle is by following formulae discovery P=N/M, wherein, N represents the occurrence number of this first angle in this preset time period, and M represents the number of the subcycle in this preset time period, as in the above-described embodiments, M is 5, first angle is the persistence probability of 30 ゜ is P=3/5, and the first angle is the persistence probability of 40 ゜ is P=1/5, and the first angle is the persistence probability of 45 ゜ is P=1/5.
S43, according to this, the persistence probability of at least one the first angle selects first angle from this at least one first angle, is set to handoff angle threshold values.
In this step, can, from this at least one first angle, select the first maximum for persistence probability angle to be set to handoff angle threshold values, as in the above-described embodiments, the first angle is that the persistence probability of 30 ゜ is maximum, then 30 ゜ are set to handoff angle threshold values.
In one embodiment, from this at least one first angle, select the first angle that persistence probability is maximum, and judge whether the persistence probability of the first angle that this persistence probability is maximum is more than or equal to default probability threshold values, if the persistence probability of the first angle that this persistence probability is maximum is more than or equal to default probability threshold values, then the first maximum for this persistence probability angle is set to handoff angle threshold values, if the persistence probability of the first angle that this persistence probability is maximum is less than default probability threshold values, then return step S41.
Adopt above-described embodiment that this handoff angle threshold values is set, handoff angle threshold values can be made to arrange more meet user's use habit, to determine whether the display interface of mobile terminal, from when taking changing interface to photograph album interface, to determine whether user wishes mobile terminal display interface from shooting changing interface to photograph album interface accurately at the mobile terminal detected according to step S10 and the corner dimension of surface level and the relation of this handoff angle threshold values.
With reference to the schematic flow sheet that Figure 15, Figure 15 are the 5th embodiment of the interface switching method of mobile terminal of the present invention.
Based on the first embodiment of the interface switching method of above-mentioned mobile terminal or the second embodiment or the 3rd embodiment, while step S30 or afterwards, the method also comprises:
S50, control this mobile terminal and exit application of taking pictures.
In this step, control this mobile terminal and exit application of taking pictures, namely user is current checks photograph album, does not need to take.
Adopt above-described embodiment, do not use take pictures application time, control mobile terminal and exit application of taking pictures, application of taking pictures can be reduced and take the system resource of mobile terminal, the operational efficiency of raising mobile terminal.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, air conditioner, or the network equipment etc.) perform the method that each embodiment of the present invention is somebody's turn to do.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a changing interface device for mobile terminal, is characterized in that, described device comprises:
Detection module, for when the display interface display shooting interface of mobile terminal, detects the angle information of described mobile terminal and surface level;
Judge module, for judging whether described angle information meets the changing interface condition preset;
Handover module, for when described angle information meets default changing interface condition, by the display interface of described mobile terminal from shooting changing interface to photograph album interface.
2. the changing interface device of mobile terminal as claimed in claim 1, it is characterized in that, described angle information comprises corner dimension, and described judge module comprises:
First judging unit, for judging the handoff angle threshold values whether described corner dimension equals default;
First determining unit, for equaling default handoff angle threshold values when described corner dimension, determines that described angle information meets default changing interface condition.
3. the changing interface device of mobile terminal as claimed in claim 1, is characterized in that, described angle information comprises corner dimension, duration that described corner dimension is corresponding, and described judge module comprises:
Second judging unit, for judging the handoff angle threshold values whether described corner dimension equals default;
3rd judging unit, during for equaling default handoff angle threshold values at described corner dimension, judges whether the duration that described corner dimension is corresponding is more than or equal to default threshold values switching time;
Second determining unit, when being more than or equal to default threshold values switching time for the duration corresponding at described corner dimension, determines that described angle information meets default changing interface condition.
4. the changing interface device of as claimed in claim 2 or claim 3 mobile terminal, is characterized in that, described device also comprises and arranges module, for arranging described handoff angle threshold values.
5. the changing interface device of mobile terminal as claimed in claim 4, it is characterized in that, the described module that arranges comprises:
Acquiring unit, for when the display interface display photograph album interface of described mobile terminal, in each subcycle in a preset time period, obtains at least one first angle that described in each subcycle, between mobile terminal and surface level, the retention time is the longest;
Computing unit, for calculating the persistence probability of at least one the first angle described;
Setting unit, for selecting first angle according to the persistence probability of at least one the first angle described from least one first angle described, is set to handoff angle threshold values.
6. the changing interface device of the mobile terminal as described in any one of claims 1 to 3, is characterized in that, described device also comprises:
Control module, for described handover module by the display interface of described mobile terminal from shooting changing interface to photograph album interface while or afterwards, control described mobile terminal and exit application of taking pictures.
7. an interface switching method for mobile terminal, is characterized in that, described method comprises:
When the display interface display shooting interface of mobile terminal, detect the angle information of described mobile terminal and surface level;
Judge whether described angle information meets the changing interface condition preset;
If described angle information meets default changing interface condition, then by the display interface of described mobile terminal from shooting changing interface to photograph album interface.
8. the interface switching method of mobile terminal as claimed in claim 7, it is characterized in that, described angle information comprises corner dimension, and the described step judging whether described angle information meets the changing interface condition preset comprises:
Judge the handoff angle threshold values whether described corner dimension equals default;
If described corner dimension equals default handoff angle threshold values, then determine that described angle information meets default changing interface condition.
9. the interface switching method of mobile terminal as claimed in claim 7, it is characterized in that, described angle information comprises corner dimension, duration that described corner dimension is corresponding, and the described step judging whether described angle information meets the changing interface condition preset comprises:
Judge the handoff angle threshold values whether described corner dimension equals default;
If described corner dimension equals default handoff angle threshold values, then judge whether the duration that described corner dimension is corresponding is more than or equal to default threshold values switching time;
If the duration that described corner dimension is corresponding is more than or equal to default threshold values switching time, then determine that described angle information meets default changing interface condition.
10. the interface switching method of mobile terminal as claimed in claim 8 or 9, it is characterized in that, the method also comprises: arrange described handoff angle threshold values;
The described step arranging handoff angle threshold values comprises:
When the display interface display photograph album interface of described mobile terminal, in each subcycle in a preset time period, obtain at least one first angle that described in each subcycle, between mobile terminal and surface level, the retention time is the longest;
Calculate the persistence probability of at least one the first angle described;
Persistence probability according at least one the first angle described selects first angle from least one first angle described, is set to handoff angle threshold values.
CN201510859518.5A 2015-11-30 2015-11-30 Interface switching device and method of mobile terminal Active CN105426081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510859518.5A CN105426081B (en) 2015-11-30 2015-11-30 Interface switching device and method of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510859518.5A CN105426081B (en) 2015-11-30 2015-11-30 Interface switching device and method of mobile terminal

Publications (2)

Publication Number Publication Date
CN105426081A true CN105426081A (en) 2016-03-23
CN105426081B CN105426081B (en) 2020-03-27

Family

ID=55504319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510859518.5A Active CN105426081B (en) 2015-11-30 2015-11-30 Interface switching device and method of mobile terminal

Country Status (1)

Country Link
CN (1) CN105426081B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371629A (en) * 2016-09-06 2017-02-01 珠海市魅族科技有限公司 Operation method and device for mobile terminal and mobile terminal
CN106943754A (en) * 2017-04-28 2017-07-14 董宇 Intelligent terminal information exchange mobile device and control method
CN107465820A (en) * 2017-07-28 2017-12-12 珠海市魅族科技有限公司 Interface switching method and device, computer installation and readable storage medium storing program for executing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010021721A (en) * 2008-07-09 2010-01-28 Olympus Corp Camera
CN102265242A (en) * 2008-10-29 2011-11-30 因文森斯公司 Controlling and accessing content using motion processing on mobile devices
US20110292073A1 (en) * 2002-01-06 2011-12-01 Glenn Reid Method and apparatus for image acquisition, organization, manipulation, and publication
CN103024182A (en) * 2012-12-14 2013-04-03 广东欧珀移动通信有限公司 Method and device which enter into photo album interface from shoot interface of mobile terminal
CN103902196A (en) * 2012-12-28 2014-07-02 联芯科技有限公司 Screen display system and method and electronic display equipment
CN104820536A (en) * 2015-03-02 2015-08-05 百度在线网络技术(北京)有限公司 Method and device for processing trigger element in terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110292073A1 (en) * 2002-01-06 2011-12-01 Glenn Reid Method and apparatus for image acquisition, organization, manipulation, and publication
JP2010021721A (en) * 2008-07-09 2010-01-28 Olympus Corp Camera
CN102265242A (en) * 2008-10-29 2011-11-30 因文森斯公司 Controlling and accessing content using motion processing on mobile devices
CN103024182A (en) * 2012-12-14 2013-04-03 广东欧珀移动通信有限公司 Method and device which enter into photo album interface from shoot interface of mobile terminal
CN103902196A (en) * 2012-12-28 2014-07-02 联芯科技有限公司 Screen display system and method and electronic display equipment
CN104820536A (en) * 2015-03-02 2015-08-05 百度在线网络技术(北京)有限公司 Method and device for processing trigger element in terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371629A (en) * 2016-09-06 2017-02-01 珠海市魅族科技有限公司 Operation method and device for mobile terminal and mobile terminal
CN106943754A (en) * 2017-04-28 2017-07-14 董宇 Intelligent terminal information exchange mobile device and control method
CN107465820A (en) * 2017-07-28 2017-12-12 珠海市魅族科技有限公司 Interface switching method and device, computer installation and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN105426081B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN105100609B (en) The adjusting method of mobile terminal and acquisition parameters
CN105516423A (en) Mobile terminal, data transmission system and mobile terminal shoot method
CN104902185B (en) Image pickup method and device
CN105430263A (en) Long-exposure panoramic image photographing device and method
CN105959554B (en) Video capture device and method
CN105578056A (en) Photographing terminal and method
CN105096241A (en) Face image beautifying device and method
CN105472246B (en) Camera arrangement and method
CN105357444B (en) focusing method and device
CN105872361A (en) Shooting guidance device, system and method
CN105513021B (en) Image denoising device and method
CN104767941A (en) Photography method and device
CN105763811A (en) Shooting control device and method
CN105611264B (en) A kind of auto white balance method and device
CN109788268A (en) Terminal and its white balance correction control method and computer readable storage medium
CN105335458A (en) Picture previewing method and apparatus
CN105427369A (en) Mobile terminal and method for generating three-dimensional image of mobile terminal
CN104935810A (en) Photographing guiding method and device
CN105577886A (en) Mobile terminal unlocking device and method
CN105163035A (en) Mobile terminal shooting system and mobile terminal shooting method
CN105407275B (en) Photo synthesizer and method
CN104991731A (en) Photographic method, apparatus and mobile terminal
CN105426081A (en) Interface switching apparatus and method for mobile terminal
CN105763810A (en) Photographing device and method based on human eyes
CN104967772A (en) Shooting method and apparatus

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