CN105607810B - Leather sheath window information generation method and device - Google Patents

Leather sheath window information generation method and device Download PDF

Info

Publication number
CN105607810B
CN105607810B CN201511024346.6A CN201511024346A CN105607810B CN 105607810 B CN105607810 B CN 105607810B CN 201511024346 A CN201511024346 A CN 201511024346A CN 105607810 B CN105607810 B CN 105607810B
Authority
CN
China
Prior art keywords
leather sheath
window
window information
information
control
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.)
Active
Application number
CN201511024346.6A
Other languages
Chinese (zh)
Other versions
CN105607810A (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 CN201511024346.6A priority Critical patent/CN105607810B/en
Publication of CN105607810A publication Critical patent/CN105607810A/en
Application granted granted Critical
Publication of CN105607810B publication Critical patent/CN105607810B/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures

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)

Abstract

The invention discloses a kind of leather sheath window information generating means, the device that the leather sheath window information generates includes: acquisition module, for obtaining leather sheath photo;Parsing module obtains the window information in leather sheath, the window information includes the window's position and window size for parsing to the leather sheath photo got;Memory module, for saving the window information obtained, to show leather sheath window in mobile terminal screen according to the window information when detecting that leather sheath blocks operation.The present invention also proposes a kind of leather sheath window information generation method.The invention enables only one leather sheath photos of shooting can get leather sheath window information, very convenient, allows the transfer terminal of user to be applicable in other leather sheaths, without being confined to configured leather sheath, very flexibly.

Description

Leather sheath window information generation method and device
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of leather sheath window information generation method and devices.
Background technique
With the development of mobile terminal, leather sheath is increasingly becoming mobile terminal, the especially standard configuration of flagship mobile phone.Now, city Occurs the mobile terminal of a large amount of support leather sheath modes on field.Often there is a wicket on leather sheath, when leather sheath is covered on movement When terminal end surface, screen extinguishes;When leather sheath frames out, then screen is lighted automatically, without pressing power key.When leather sheath covers At mobile terminal surface, power key is pressed, the wicket on leather sheath can show that time, electricity, Weather information, incoming call etc. are believed Breath.
However, mobile terminal is some corresponding specific leather sheath on the market at present, while alsoing specify leather sheath window Number, position and size, user can not switch customized display window as needed.The leather sheath window that mobile terminal is supported Information as number, position and size substantially terminal dispatch from the factory when if write in the dust, the variation of leather sheath can not be followed and changed, User can only use fixed leather sheath, and flexibility is told somebody what one's real intentions are.
Summary of the invention
The main purpose of the present invention is to provide a kind of leather sheath window information generation method and devices, it is intended to solve leather sheath window The technical issues of message breath cannot be modified according to leather sheath, and flexibility is the bottom of compared with.
To achieve the above object, the present invention provides a kind of leather sheath window information generating means, and the leather sheath window information is raw Include: at device
Module is obtained, for obtaining leather sheath photo;
Parsing module obtains the window information in leather sheath, the window for parsing to the leather sheath photo got Information includes the window's position and window size;
Memory module, for saving the window information obtained, with when detecting that leather sheath blocks operation, according to described Window information shows leather sheath window in mobile terminal screen.
Optionally, the leather sheath window information generating means further include:
Display module, for according to the window information that gets in the correspondence position of the display interface of the mobile terminal Set place's display leather sheath window;
The memory module is also used to save and obtain when receiving the confirmation operation based on leather sheath window triggering The window information.
Optionally, the leather sheath window information generating means further include:
Removing module, for deleting the deletion and referring to when receiving the deletion instruction based on leather sheath window triggering Corresponding leather sheath window is enabled, and deletes in the window information and has deleted the corresponding window information of leather sheath window;
The preserving module is also used to save the window information after carrying out delete operation.
Optionally, which is characterized in that
The display module is also used to the display when receiving the control addition instruction based on leather sheath window triggering Control selection interface, and when receiving the selection operation based on control selection interface triggering, added in the control Corresponding leather sheath window is instructed to show the corresponding control of the selection operation;
The memory module, while being also used to save the window information of acquisition, by the control pair in leather sheath window The control information answered is associated with preservation with the window information.
Optionally, which is characterized in that
The acquisition module, is also used to when preserving the window information, obtains the window information association of preservation Control information;
The display module is also used to show the corresponding control of the control information of acquisition in the leather sheath window;
The memory module is also used to when receiving the confirmation operation based on leather sheath window triggering, before deletion The window information saved closes the corresponding control information of control in leather sheath window with the window information currently saved UNPROFOR is deposited.
In addition, to achieve the above object, the present invention also proposes a kind of leather sheath window information generation method, the leather sheath window Information generating method the following steps are included:
Obtain leather sheath photo;
The leather sheath photo got is parsed, obtains the window information in leather sheath, the window information includes window Position and window size;
The window information obtained is saved, moved according to the window information when detecting that leather sheath blocks operation Dynamic terminal screen shows leather sheath window.
Optionally, after the step of described pair of leather sheath photo got parses, and obtains the window information in leather sheath, The leather sheath window information generation method further comprises the steps of:
Leather sheath is shown in the corresponding position of the display interface of the mobile terminal according to the window information got Window;
When receiving the confirmation operation based on leather sheath window triggering, the window letter for saving and obtaining is executed The step of breath.
Optionally, described when receiving the confirmation operation based on leather sheath window triggering, save the window of acquisition Before the step of message ceases, the leather sheath window information generation method includes:
When receiving the deletion instruction based on leather sheath window triggering, deletes the deletion and instruct corresponding leather sheath window Mouthful;
It deletes and has deleted the corresponding window information of leather sheath window in the window information;
It is described save obtain the window information the step of include:
Save the window information after carrying out delete operation.
Optionally, corresponding position of the window information that the basis is got in the display interface of the mobile terminal After the step of place's display leather sheath window, the leather sheath window information generation method is further comprised the steps of:
When receiving the control addition instruction based on leather sheath window triggering, control selection interface is shown;
It is corresponding in control addition instruction when receiving the selection operation based on control selection interface triggering Leather sheath window shows the corresponding control of the selection operation;
When receiving the confirmation operation based on leather sheath window triggering, the window information for saving and obtaining is executed While step, step is executed:
The corresponding control information of control in leather sheath window is associated with preservation with the window information.
Optionally, corresponding position of the window information that the basis is got in the display interface of the mobile terminal After the step of place's display leather sheath window, the leather sheath window information generation method is further comprised the steps of:
When preserving the window information, the associated control information of the window information of preservation is obtained;
The corresponding control of the control information of acquisition is shown in the leather sheath window;
When receiving the confirmation operation based on leather sheath window triggering, the window information for saving and obtaining is executed While step, step is executed:
The previously stored window information is deleted, by the corresponding control information of control and current preservation in leather sheath window The window information be associated with save.
Leather sheath window information generation method proposed by the present invention and device, are directly handled leather sheath photo, are obtained simultaneously The window information obtained in leather sheath is saved, with when detecting that leather sheath blocks operation, according to saving window information in mobile terminal The corresponding position of screen shows leather sheath window, so that leather sheath window information can be got by only shooting a leather sheath photo, very It is convenient, allow the transfer terminal of user to be applicable in other leather sheaths, without being confined to configured leather sheath, very flexibly.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the electrical structure block diagram of camera in Fig. 1;
Fig. 3 is the functional block diagram of leather sheath window information generating means first embodiment of the present invention;
Fig. 4 is the functional block diagram of leather sheath window information generating means second embodiment of the present invention;
Fig. 5 is the flow diagram of leather sheath window information generation method first embodiment of the present invention;
Fig. 6 is the flow diagram of leather sheath window information generation method second embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention an optional mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device Or the radio communication between network.For example, wireless communication unit may include mobile communication module 111.
Mobile communication module 111 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and image may be displayed on display unit 151.After the processing of camera 121 Image can store in memory 160 (or other storage mediums) or sent via wireless communication unit 110, can Two or more cameras 121 are provided with the construction according to mobile terminal.Microphone 122 can be in telephone calling model, record mould Sound (audio data) is received via microphone in formula, speech recognition mode etc. operational mode, and can be by such sound Sound processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can be via Mobile communication module 112 is sent to the format output of mobile communication base station.Microphone 122 can be implemented various types of noises and disappear Except (or inhibition) algorithm to eliminate the noise or interference that (or inhibition) generates during sending and receiving audio signal.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151 and audio output module 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI), such as can show find a view interface or the phase of camera The control interface of machine.When mobile terminal 100 is in video calling mode or image capture mode, display unit 151 can be with Show captured image and/or received image, the UI or GUI that show video or image and correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include 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 input.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include sound pick-up, buzzer etc..
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
It is the electrical structure block diagram of camera in Fig. 1 referring to Fig. 2, Fig. 2.
Phtographic lens 1211 is made of the multiple optical lens for being used to form shot object image, is single-focus lens or varifocal mirror Head.Phtographic lens 1211 can move in the direction of the optical axis under the control of lens driver 1221, and lens driver 1221 According to the control signal from lens driving control circuit 1222, the focal position of phtographic lens 1211 is controlled, in zoom lens In the case of, it also can control focal length.Lens driving control circuit 1222 is according to the control command from microcomputer 1217 Carry out the drive control of lens driver 1221.
It is configured with and takes the photograph near the position of the shot object image formed on the optical axis of phtographic lens 1211, by phtographic lens 1211 Element 1212.Photographing element 1212 is for imaging shot object image and obtaining image data.On photographing element 1212 Two dimension and be arranged in a matrix the photodiode for constituting each pixel.Each photodiode generates photoelectricity corresponding with light income Switching current, the photoelectric conversion electric current carry out charge accumulation by the capacitor connecting with each photodiode.The preceding table of each pixel Face is configured with the RGB colour filter of bayer arrangement.
Photographing element 1212 is connect with imaging circuit 1213, which carries out charge in photographing element 1212 Accumulation control and picture signal read control, carry out after reducing resetting noise to the picture signal (analog picture signal) of the reading Waveform shaping, and then gain raising etc. is carried out to become signal level appropriate.Imaging circuit 1213 and A/D converter 1214 connect It connects, which carries out analog-to-digital conversion to analog picture signal, (following to 1227 output digital image signal of bus Referred to as image data).
Bus 1227 is the transmitting path for being transmitted in the various data that the inside of camera reads or generates.In bus 1227 are connected to above-mentioned A/D converter 1214, are additionally connected to image processor 1215, jpeg processor 1216, microcomputer Calculation machine 1217, SDRAM (Synchronous Dynamic random access memory, Synchronous Dynamic Random Access Memory) 1218, memory interface (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display, liquid crystal display Device) driver 1220.
Image processor 1215 carries out OB to the image data of the output based on photographing element 1212 and subtracts each other processing, white balance Adjustment, gamma conversion, colour difference signal processing, noise removal process, changes processing, edge processing etc. respectively at color matrix operation simultaneously Kind image procossing.Jpeg processor 1216 is when by Imagery Data Recording in recording medium 1225, according to JPEG compression mode pressure Contract the image data read from SDRAM1218.In addition, jpeg processor 1216 shows to carry out image reproducing and carries out JPEG The decompression of image data.When unziping it, the file being recorded in recording medium 1225 is read, in jpeg processor 1216 In implement decompression after, the image data of decompression is temporarily stored in SDRAM1218 and is carried out on LCD1226 Display.In addition, in the present embodiment, as compression of images decompression mode using JPEG mode, however Compress softwares Contracting mode is without being limited thereto, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 1217 plays the function of the control unit as camera entirety, is uniformly controlled the various processing of camera Sequence.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but is not limited to physical button or virtual key, and the entity or virtual key can be electricity Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button, The operational controls such as the various input buttons such as large buttons and various enter keys, detect the mode of operation of these operational controls,.
It will test result to export to microcomputer 1217.In addition, the front surface in the LCD1226 as display is equipped with Touch panel detects the touch location of user, which is exported to microcomputer 1217.Microcomputer 1217 According to the testing result of the operating position from operating unit 1223, various processing sequences corresponding with the operation of user are executed.
Flash memory 1224 stores the program for executing the various processing sequences of microcomputer 1217.Microcomputer 1217 The control of camera entirety is carried out according to the program.In addition, flash memory 1224 stores the various adjusted values of camera, microcomputer 1217 Adjusted value is read, the control of camera is carried out according to the adjusted value.
SDRAM1218 be for image data etc. temporarily stored can electricity rewrite volatile memory.It should SDRAM1218 temporarily stores the image data exported from A/D converter 1214 and in image processor 1215, jpeg processor 1216 it is equal in the image data that carried out that treated.
Memory interface 1219 is connect with recording medium 1225, is carried out image data and the text being attached in image data First-class control data write-in recording medium 1225 and read from recording medium 1225 of part.Recording medium 1225 is, for example, can The recording mediums such as memory card of disassembled and assembled freely on camera main-body, however it is without being limited thereto, it is also possible to be built in camera main-body In hard disk etc..
LCD driver 1210 is connect with LCD1226, will treated that image data is stored in by image processor 1215 SDRAM1218 when needing to show, reads the image data of SDRAM1218 storage and shows on LCD1226, alternatively, at JPEG The compressed image data of reason device 1216 is stored in SDRAM1218, and when needing to show, jpeg processor 1216 is read The compressed image data of SDRAM1218, then unzip it, the image data after decompression is carried out by LCD1226 Display.
LCD1226 configuration performs image display at the back side of camera main-body.The LCD1226LCD), however it is without being limited thereto, The various display panels (LCD1226) such as organic EL can be used, however it is without being limited thereto, it can also be using various displays such as organic EL Panel.
Electrical structure schematic diagram based on above-mentioned mobile terminal hardware configuration and camera proposes each reality of the method for the present invention Apply example.
As shown in figure 3, Fig. 3 is the functional block diagram of leather sheath window information generating means preferred embodiment of the present invention.
The present embodiment proposes that a kind of leather sheath window information generating means, the leather sheath window information generating means include:
Module 10 is obtained, for obtaining leather sheath photo;
In the present embodiment, there are many modes for obtaining leather sheath photo, can shine the photo of current shooting as leather sheath Piece calls camera application and shows interface of taking pictures that is, when receiving the setting instruction of leather sheath window information;It is receiving based on bat According to interface triggering photographing operation when, the photo that photographing operation is obtained is as leather sheath photo;Or it can be in the photograph shot Select a picture as leather sheath photo in piece;Alternatively, user obtains leather sheath photo otherwise, such as obtained by network It takes.
Since the partial region that user may only take leather sheath when shooting can then when shooting obtains leather sheath photo Detection leather sheath photo edge feature detected, detection arrive leather sheath edge feature when, will shooting obtain photo work For leather sheath photo;When edge feature is not detected, display, which is taken pictures, interface and prompts user to take pictures again, it is to be appreciated that should Edge feature can be the profile information of leather sheath, detection profile information can refer to the prior art pass through the comparison of pixel can be real It is existing.
Parsing module 20 obtains the window information in leather sheath, the window for parsing to the leather sheath photo got Message breath includes the window's position and window size;
In the present embodiment, when being parsed to the leather sheath photo got, each pixel can be analyzed and generate profile letter Breath, based on the window in profile information confirmation leather sheath, i.e., when detecting closure and systematicness profile, it is believed that the profile surrounds Region be leather sheath window, then obtain the corresponding location information of leather sheath window and dimension information.Since user shoots to obtain Leather sheath photo be generally less than screen size, then need to calculate the ratio between leather sheath photo and screen size to convert to obtain The corresponding location information of window and dimension information.
It is understood that since there may be the information such as pattern on leather sheath, then when passing through contour detecting window There may be mistakes, and since general window is specific shape such as rectangle or ellipse, then it can be in the window got Other windows at exclusion except specific shape, to improve the accuracy of the window got.
Memory module 30, for saving the window information obtained, with when detecting that leather sheath blocks operation, according to institute It states window information and shows leather sheath window in mobile terminal screen.
In the present embodiment, when saving window information, preservation is respectively associated in the size of each window and position, is being moved When being stored with window information before dynamic terminal, the window information stored before is replaced.It is understood that mobile whole When preserving other window informations in end, each window information can be added and be identified, so that user is directed to the leather sheath used switching Default window information.
The leather sheath window information generating means that the present embodiment proposes, directly handle leather sheath photo, obtain and save The window information in leather sheath is obtained, with when detecting that leather sheath blocks operation, according to saving window information in mobile terminal screen Corresponding position show leather sheath window so that only shoot a leather sheath photo can get leather sheath window information, it is very convenient, The transfer terminal of user is allowed to be applicable in other leather sheaths, without being confined to configured leather sheath, very flexibly.
Further, referring to Fig. 4, propose that leather sheath window information generating means second of the present invention are implemented based on first embodiment Example, in the present embodiment, the leather sheath window information generating means further include:
Display module 40, for according to the window information that gets the display interface of the mobile terminal correspondence Leather sheath window is shown at position;
The memory module 30 is also used to when receiving the confirmation operation based on leather sheath window triggering, and preservation obtains The window information taken.
In the present embodiment, each leather sheath window, Yong Huke can be shown according to window information after getting window information Leather sheath window is deleted, position adjustment and the adjustings operation such as size adjusting, so that ground window information is more accurate.For more Add the accuracy convenient for user's acknowledgement window information, can increase by a control module, control module can be in display module 40 according to obtaining After the window information got shows leather sheath window in the corresponding position of the display interface of the mobile terminal, detect When the operation that leather sheath covers, control mobile terminal keeps bright screen state, so that ground user can check whether window information is appropriate.
It is understood that can show leather sheath photo simultaneously in display window information, while leather sheath photo can be according to screen Curtain size amplifies, so that user confirms whether the window information generated is accurate.
When carrying out delete operation to leather sheath window, it can also carry out delete operation to the window information got, i.e., it is described Leather sheath window information generating means further include:
Removing module, for deleting the deletion and referring to when receiving the deletion instruction based on leather sheath window triggering Corresponding leather sheath window is enabled, and deletes in the window information and has deleted the corresponding window information of leather sheath window;
The preserving module is also used to save the window information after carrying out delete operation.
In scheme disclosed in the present embodiment, can be shown according to the window information that gets leather sheath window in order to user into Row adjustment, so that the generation of leather sheath window information is more accurate.
Further, leather sheath window information generating means 3rd embodiment of the present invention is proposed based on second embodiment, at this In embodiment, the display module 40 is also used to show when receiving the control addition instruction based on leather sheath window triggering Show control selection interface, and when receiving the selection operation based on control selection interface triggering, adds in the control The corresponding leather sheath window of instruction is added to show the corresponding control of the selection operation;The memory module 30, is also used to save acquisition The window information while, the corresponding control information of control in leather sheath window is associated with preservation with the window information.
In the present embodiment, user can pass through the drag operation and clicking operation realization selection in control selection interface Operation is shown when selection operation is realized by the drag operation in control selection interface in the final position of drag operation The corresponding control of drag operation;It, can be directly in control when selection operation is realized by the clicking operation in control selection interface Addition instructs the vacant position in corresponding leather sheath window to show the corresponding control of selection operation.It is understood that user can Control in leather sheath window is adjusted, which may include deletion and position adjustment, and user can be by dragging control It drags operation and realizes deletion and position adjustment, further, which may also include such as color of the adjustment to control display parameters And whether flash.Signified control may include application identities or Function Identification in the present embodiment, for example, short message mark with And time message identification.
It is understood that terminal may preserve window information and the associated control information of window information, then basis The possible control information of the common use habit of user is constant, and only window information changes with the variation of leather sheath, then described to obtain Modulus block 10 is also used to when preserving the window information, obtains the associated control information of the window information of preservation;Institute Display module 40 is stated, is also used to show the corresponding control of the control information of acquisition in the leather sheath window;The storage Module 30 is also used to delete the previously stored window when receiving the confirmation operation based on leather sheath window triggering The corresponding control information of control in leather sheath window is associated with preservation with the window information currently saved by information.
In the present invention, the corresponding control of the associated control information of the window information of storage is directly shown in leather sheath window Part, user can be adjusted based on the control of display as increased or deleting, and increased process is identical as above scheme, herein not It can be realized by dragging or other operations when repeating, and deleting again, the display position of control can also be adjusted as needed.Not When preserving the window information, the control of default can be shown in leather sheath window, or directly display control selection interface.
When the window information of storage has multiple, the control being overlapped in the associated control information of multiple window informations can be obtained Part then can only show the control of overlapping in leather sheath window, reduce the number of user's adjustment.
In the scheme that the present embodiment proposes, user optionally adds control in leather sheath window, so that leather sheath window The setting of information is more flexible.
The present invention further provides a kind of leather sheath window information generation methods of mobile terminal.
As shown in figure 5, Fig. 5 is the flow diagram of leather sheath window information generation method preferred embodiment of the present invention.
The present embodiment proposes a kind of leather sheath window information generation method, and the leather sheath window information generation method includes following Step:
Step S10 obtains leather sheath photo;
In the present embodiment, there are many modes for obtaining leather sheath photo, can shine the photo of current shooting as leather sheath Piece calls camera application and shows interface of taking pictures that is, when receiving the setting instruction of leather sheath window information;It is receiving based on bat According to interface triggering photographing operation when, the photo that photographing operation is obtained is as leather sheath photo;Or it can be in the photograph shot Select a picture as leather sheath photo in piece;Alternatively, user obtains leather sheath photo otherwise, such as obtained by network It takes.
Since the partial region that user may only take leather sheath when shooting can then when shooting obtains leather sheath photo Detection leather sheath photo edge feature detected, detection arrive leather sheath edge feature when, will shooting obtain photo work For leather sheath photo;When edge feature is not detected, display, which is taken pictures, interface and prompts user to take pictures again, it is to be appreciated that should Edge feature can be the profile information of leather sheath, detection profile information can refer to the prior art pass through the comparison of pixel can be real It is existing.
Step S20 parses the leather sheath photo got, obtains the window information in leather sheath, the window information Including the window's position and window size;
In the present embodiment, when being parsed to the leather sheath photo got, each pixel can be analyzed and generate profile letter Breath, based on the window in profile information confirmation leather sheath, i.e., when detecting closure and systematicness profile, it is believed that the profile surrounds Region be leather sheath window, then obtain the corresponding location information of leather sheath window and dimension information.Since user shoots to obtain Leather sheath photo be generally less than screen size, then need to calculate the ratio between leather sheath photo and screen size to convert to obtain The corresponding location information of window and dimension information.
It is understood that since there may be the information such as pattern on leather sheath, then when passing through contour detecting window There may be mistakes, and since general window is specific shape such as rectangle or ellipse, then it can be in the window got Other windows at exclusion except specific shape, to improve the accuracy of the window got.
Step S30 saves the window information of acquisition, with when detecting that leather sheath blocks operation, according to the window Information shows leather sheath window in mobile terminal screen.
In the present embodiment, when saving window information, preservation is respectively associated in the size of each window and position, is being moved When being stored with window information before dynamic terminal, the window information stored before is replaced.It is understood that mobile whole When preserving other window informations in end, each window information can be added and be identified, so that user is directed to the leather sheath used switching Default window information.
The leather sheath window information generation method that the present embodiment proposes, directly handles leather sheath photo, obtains and save The window information in leather sheath is obtained, with when detecting that leather sheath blocks operation, according to saving window information in mobile terminal screen Corresponding position show leather sheath window so that only shoot a leather sheath photo can get leather sheath window information, it is very convenient, The transfer terminal of user is allowed to be applicable in other leather sheaths, without being confined to configured leather sheath, very flexibly.
Further, referring to Fig. 6, propose that leather sheath window information generation method second of the present invention is implemented based on first embodiment Example, in the present embodiment, after the step S20, the leather sheath window information generation method further include:
Step S40, according to the window information got in the corresponding position of the display interface of the mobile terminal Show leather sheath window;
When receiving the confirmation operation based on leather sheath window triggering, the step S30 is executed.
In the present embodiment, each leather sheath window, Yong Huke can be shown according to window information after getting window information Leather sheath window is deleted, position adjustment and the adjustings operation such as size adjusting, so that ground window information is more accurate.For more Add the accuracy convenient for user's acknowledgement window information, can increase by a control module, it can be according to the window information got After the corresponding position of the display interface of the mobile terminal shows leather sheath window, when detecting the operation that leather sheath covers, It controls mobile terminal and keeps bright screen state, so that ground user can check whether window information is appropriate.
It is understood that can show leather sheath photo simultaneously in display window information, while leather sheath photo can be according to screen Curtain size amplifies, so that user confirms whether the window information generated is accurate.
When carrying out delete operation to leather sheath window, delete operation, i.e. step can be also carried out to the window information got Before S30, the leather sheath window information generation method includes:
When receiving the deletion instruction based on leather sheath window triggering, deletes the deletion and instruct corresponding leather sheath window Mouthful;
It deletes and has deleted the corresponding window information of leather sheath window in the window information;
The step S30 includes:
Save the window information after carrying out delete operation.
In scheme disclosed in the present embodiment, can be shown according to the window information that gets leather sheath window in order to user into Row adjustment, so that the generation of leather sheath window information is more accurate.
Further, leather sheath window information generating means 3rd embodiment of the present invention is proposed based on second embodiment, at this In embodiment, after step S40, further comprise the steps of:
When receiving the control addition instruction based on leather sheath window triggering, control selection interface is shown;
It is corresponding in control addition instruction when receiving the selection operation based on control selection interface triggering Leather sheath window shows the corresponding control of the selection operation;
When receiving the confirmation operation based on leather sheath window triggering, while executing the step S30, step is executed It is rapid:
The corresponding control information of control in leather sheath window is associated with preservation with the window information.
In the present embodiment, user can pass through the drag operation and clicking operation realization selection in control selection interface Operation is shown when selection operation is realized by the drag operation in control selection interface in the final position of drag operation The corresponding control of drag operation;It, can be directly in control when selection operation is realized by the clicking operation in control selection interface Addition instructs the vacant position in corresponding leather sheath window to show the corresponding control of selection operation.It is understood that user can Control in leather sheath window is adjusted, which may include deletion and position adjustment, and user can be by dragging control It drags operation and realizes deletion and position adjustment, further, which may also include such as color of the adjustment to control display parameters And whether flash.Signified control may include application identities or Function Identification in the present embodiment, for example, short message mark with And time message identification.
It is understood that terminal may preserve window information and the associated control information of window information, then basis The possible control information of the common use habit of user is constant, and only window information changes with the variation of leather sheath, then step S40 Later, the leather sheath window information generation method further comprises the steps of:
When preserving the window information, the associated control information of the window information of preservation is obtained;
The corresponding control of the control information of acquisition is shown in the leather sheath window;
When receiving the confirmation operation based on leather sheath window triggering, while executing the step S0, step is executed It is rapid:
The previously stored window information is deleted, by the corresponding control information of control and current preservation in leather sheath window The window information be associated with save.
In the present invention, the corresponding control of the associated control information of the window information of storage is directly shown in leather sheath window Part, user can be adjusted based on the control of display as increased or deleting, and increased process is identical as above scheme, herein not It can be realized by dragging or other operations when repeating, and deleting again, the display position of control can also be adjusted as needed.Not When preserving the window information, the control of default can be shown in leather sheath window, or directly display control selection interface.
When the window information of storage has multiple, the control being overlapped in the associated control information of multiple window informations can be obtained Part then can only show the control of overlapping in leather sheath window, reduce the number of user's adjustment.
In the scheme that the present embodiment proposes, user optionally adds control in leather sheath window, so that leather sheath window The setting of information is more flexible.
Further, the present invention also proposes a kind of mobile terminal, which includes described in any of the above embodiment Leather sheath window information generating means.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of leather sheath window information generating means, which is characterized in that the leather sheath window information generating means include:
Module is obtained, for obtaining leather sheath photo;
Parsing module, for being parsed to the leather sheath photo got, and according to leather sheath photo and mobile terminal screen size Between ratio convert, obtain leather sheath in window information, the window information includes the window's position and window size;
Memory module, for saving the window information obtained, with when detecting that leather sheath blocks operation, according to the window Information shows leather sheath window in mobile terminal screen.
2. leather sheath window information generating means as described in claim 1, which is characterized in that the leather sheath window information generates dress It sets further include:
Display module, for according to the window information that gets in the corresponding position of the display interface of the mobile terminal Show leather sheath window;
The memory module is also used to save the institute of acquisition when receiving the confirmation operation based on leather sheath window triggering State window information.
3. leather sheath window information generating means as claimed in claim 2, which is characterized in that the leather sheath window information generates dress It sets further include:
Removing module, for deleting the deletion instruction pair when receiving the deletion instruction based on leather sheath window triggering The leather sheath window answered, and delete in the window information and deleted the corresponding window information of leather sheath window;
The preserving module is also used to save the window information after carrying out delete operation.
4. leather sheath window information generating means as claimed in claim 2, which is characterized in that
The display module is also used to show control when receiving the control addition instruction based on leather sheath window triggering Selection interface, and when receiving the selection operation based on control selection interface triggering, add and instruct in the control Corresponding leather sheath window shows the corresponding control of the selection operation;
The memory module, it is while being also used to save the window information of acquisition, the control in leather sheath window is corresponding Control information is associated with preservation with the window information.
5. leather sheath window information generating means as claimed in claim 4, which is characterized in that
The acquisition module, is also used to when preserving the window information, obtains the associated control of the window information of preservation Part information;
The display module is also used to show the corresponding control of the control information of acquisition in the leather sheath window;
The memory module is also used to save before deleting when receiving the confirmation operation based on leather sheath window triggering The window information, the corresponding control information of control in leather sheath window is associated with guarantor with the window information currently saved It deposits.
6. a kind of leather sheath window information generation method, which is characterized in that the leather sheath window information generation method includes following step It is rapid:
Obtain leather sheath photo;
The leather sheath photo got is parsed, and is carried out according to the ratio between leather sheath photo and mobile terminal screen size Conversion obtains the window information in leather sheath, and the window information includes the window's position and window size;
The window information obtained is saved, moved eventually according to the window information when detecting that leather sheath blocks operation Screen is held to show leather sheath window.
7. leather sheath window information generation method as claimed in claim 6, which is characterized in that the described pair of leather sheath photo got After the step of being parsed, obtaining the window information in leather sheath, the leather sheath window information generation method is further comprised the steps of:
Leather sheath window is shown in the corresponding position of the display interface of the mobile terminal according to the window information got;
When receiving the confirmation operation based on leather sheath window triggering, the window information for saving and obtaining is executed Step.
8. leather sheath window information generation method as claimed in claim 7, which is characterized in that described to receive based on the skin When covering the confirmation operation of window triggering, before the step of saving the window information of acquisition, the leather sheath window information is generated Method includes:
When receiving the deletion instruction based on leather sheath window triggering, deletes the deletion and instruct corresponding leather sheath window;
It deletes and has deleted the corresponding window information of leather sheath window in the window information;
It is described save obtain the window information the step of include:
Save the window information after carrying out delete operation.
9. leather sheath window information generation method as claimed in claim 7, which is characterized in that the window that the basis is got Message ceased after the step of corresponding position of the display interface of the mobile terminal shows leather sheath window, the leather sheath window Information generating method further comprises the steps of:
When receiving the control addition instruction based on leather sheath window triggering, control selection interface is shown;
When receiving the selection operation based on control selection interface triggering, corresponding leather sheath is instructed in control addition Window shows the corresponding control of the selection operation;
Receive based on the leather sheath window triggering confirmation operation when, execute it is described save obtain window information the step of While, execute step:
The corresponding control information of control in leather sheath window is associated with preservation with the window information.
10. leather sheath window information generation method as claimed in claim 9, which is characterized in that the basis is got described Window information is after the step of corresponding position of the display interface of the mobile terminal shows leather sheath window, the leather sheath window Mouth information generating method further comprises the steps of:
When preserving the window information, the associated control information of the window information of preservation is obtained;
The corresponding control of the control information of acquisition is shown in the leather sheath window;
Receive based on the leather sheath window triggering confirmation operation when, execute it is described save obtain window information the step of While, execute step:
Delete the previously stored window information, by leather sheath window the corresponding control information of control and the institute that currently saves Window information association is stated to save.
CN201511024346.6A 2015-12-30 2015-12-30 Leather sheath window information generation method and device Active CN105607810B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511024346.6A CN105607810B (en) 2015-12-30 2015-12-30 Leather sheath window information generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511024346.6A CN105607810B (en) 2015-12-30 2015-12-30 Leather sheath window information generation method and device

Publications (2)

Publication Number Publication Date
CN105607810A CN105607810A (en) 2016-05-25
CN105607810B true CN105607810B (en) 2019-08-16

Family

ID=55987785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511024346.6A Active CN105607810B (en) 2015-12-30 2015-12-30 Leather sheath window information generation method and device

Country Status (1)

Country Link
CN (1) CN105607810B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708387A (en) * 2016-12-19 2017-05-24 深圳天珑无线科技有限公司 Leather sheath display window setting method and device
CN107734159B (en) * 2017-09-29 2021-01-01 努比亚技术有限公司 Graphic processing method, mobile terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294198A (en) * 2013-05-23 2013-09-11 深圳先进技术研究院 Mobile terminal based human-computer interaction method and system
CN103747134A (en) * 2013-12-23 2014-04-23 宇龙计算机通信科技(深圳)有限公司 User interface display method and terminal
CN103941987A (en) * 2014-04-21 2014-07-23 宇龙计算机通信科技(深圳)有限公司 Window display method and mobile terminal
CN104866229A (en) * 2015-06-03 2015-08-26 广东欧珀移动通信有限公司 Method and device for setting leather case display window of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2010038296A1 (en) * 2008-10-01 2012-02-23 任天堂株式会社 Information processing apparatus, information processing system, start program, and storage medium storing the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294198A (en) * 2013-05-23 2013-09-11 深圳先进技术研究院 Mobile terminal based human-computer interaction method and system
CN103747134A (en) * 2013-12-23 2014-04-23 宇龙计算机通信科技(深圳)有限公司 User interface display method and terminal
CN103941987A (en) * 2014-04-21 2014-07-23 宇龙计算机通信科技(深圳)有限公司 Window display method and mobile terminal
CN104866229A (en) * 2015-06-03 2015-08-26 广东欧珀移动通信有限公司 Method and device for setting leather case display window of mobile terminal

Also Published As

Publication number Publication date
CN105607810A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN105100609B (en) The adjusting method of mobile terminal and acquisition parameters
CN105430295B (en) Image processing apparatus and method
CN104902185B (en) Image pickup method and device
CN105704369B (en) A kind of information processing method and device, electronic equipment
CN105959554B (en) Video capture device and method
CN105516423A (en) Mobile terminal, data transmission system and mobile terminal shoot method
CN105430263A (en) Long-exposure panoramic image photographing device and method
CN105335458B (en) Preview picture method and device
CN105513021B (en) Image denoising device and method
CN105491358B (en) A kind of image processing method and device, terminal
CN105578056A (en) Photographing terminal and method
CN105472246B (en) Camera arrangement and method
CN110225241A (en) A kind of video capture control method, terminal and computer readable storage medium
CN105407295B (en) Mobile terminal filming apparatus and method
CN105357444B (en) focusing method and device
CN109788268A (en) Terminal and its white balance correction control method and computer readable storage medium
CN106028098A (en) Video recording method, device, and terminal
CN105827961A (en) Mobile terminal and focusing method
CN105872361A (en) Shooting guidance device, system and method
CN106385579A (en) Camera detection device, method and multi-camera terminal
CN105681894A (en) Device and method for displaying video file
CN105163035A (en) Mobile terminal shooting system and mobile terminal shooting method
CN104751488A (en) Photographing method for moving track of moving object and terminal equipment
CN105407275B (en) Photo synthesizer and method
CN104796625A (en) Picture synthesizing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant