CN105847590A - Picture display device and method of Android system - Google Patents
Picture display device and method of Android system Download PDFInfo
- Publication number
- CN105847590A CN105847590A CN201610348320.5A CN201610348320A CN105847590A CN 105847590 A CN105847590 A CN 105847590A CN 201610348320 A CN201610348320 A CN 201610348320A CN 105847590 A CN105847590 A CN 105847590A
- Authority
- CN
- China
- Prior art keywords
- ratio
- artwork
- resolution
- pantograph ratio
- pantograph
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012545 processing Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002441 reversible effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000009730 ganji Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000002463 transducing effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4023—Scaling of whole images or parts thereof, e.g. expanding or contracting based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a picture display device and method. The device comprises an obtaining module, a calculation module, and a display module. The obtaining module is used for obtaining a resolution ratio of a currently used terminal. The calculation module is used for carrying out calculation on the obtained resolution ratio of the currently used terminal and a preset standard resolution ratio to determine a pantograph ratio of a to-be-displayed original picture, wherein the to-be-displayed original picture has a standard resolution ratio; and the display module is used for processing the to-be-displayed original picture according to the pantograph ratio and displaying the picture on a display interface of the terminal. According to the technical scheme, the occupied resources of the picture can be reduced; the APK size is reduced; the work complexity is reduced; and the work efficiency is improved.
Description
Technical field
The present invention relates to terminal applies field, particularly relate to image display apparatus and the side of a kind of Android system
Method.
Background technology
At present, the development process of Android Android application can relate to a lot of picture resources, these figures
The a lot of disk space of sheet resource occupation, the number of picture directly determines the big of Android installation kit APK
Little, owing to the resolution ratio of current mobile phone is varied, if therefore to develop a the strongest universal answering
With, need the mobile phone of adaptive various resolution ratio, in Android application development process, the most general mode
It is exactly to be separately provided a catalogue for each resolution ratio, such as, market has five kinds of general resolution ratio,
So being accomplished by arranging five catalogues corresponding with these five kinds of general resolution ratio, a pictures resource is just
Need to copy five parts, be put into respectively below five catalogues, which results in the picture resource of a lot of repetition,
Too increase the complexity of exploitation.
Summary of the invention
Present invention is primarily targeted at a kind of image display apparatus and the method proposing Android system, reduce
Picture occupy resource, reduce the size of APK, reduce work complexity, improve work effect
Rate.
For achieving the above object, a kind of image display apparatus that the present invention provides, this device includes: obtain
Module, computing module and display module.
Acquisition module, for obtaining the resolution ratio of currently used terminal.
Computing module, for the resolution ratio of currently used terminal that will obtain and default standard resolution
Calculate, determine the pantograph ratio of artwork to be shown;Wherein, artwork to be shown has this standard resolution.
Display module, shows the display in terminal after artwork to be shown being processed according to pantograph ratio
On interface.
Alternatively, this device also includes: comparison module.
Comparison module, at computing module by the resolution ratio of currently used terminal obtained and default
Before standard resolution calculates, the resolution ratio of currently used terminal is compared with standard resolution.
Display module, is additionally operable to, when the resolution ratio of currently used terminal is identical with standard resolution, will treat
Display artwork shows on the display interface of terminal with standard resolution.
Computing module, is additionally operable to when the resolution ratio of currently used terminal differs with standard resolution, will
Resolution ratio and the default standard resolution of the currently used terminal obtained calculate.
Alternatively, computing module is by the resolution ratio of currently used terminal obtained and default standard resolution
Rate calculates, and determines that the pantograph ratio of artwork to be shown includes:
The number of the horizontal pixel point in the resolution ratio that will obtain and the horizontal pixel point in standard resolution
Number is compared, and using the ratio of the number of two horizontal pixel points as the horizontal pantograph ratio of artwork to be shown.
The number of the longitudinal pixel in the resolution ratio that will obtain and the longitudinal pixel in standard resolution
Number is compared, and using the ratio of the number of two longitudinal pixels as longitudinal pantograph ratio of artwork to be shown.
Alternatively, computing module determines that the pantograph ratio of artwork to be shown also includes:
Horizontal pantograph ratio is compared with longitudinal pantograph ratio.
When horizontal pantograph ratio is less than or equal to longitudinal pantograph ratio, using horizontal pantograph ratio as artwork to be shown
Pantograph ratio.
When horizontal pantograph ratio is more than longitudinal pantograph ratio, using longitudinal pantograph ratio as the scaling of artwork to be shown
Ratio.
Alternatively, display module shows showing in terminal according to pantograph ratio after artwork to be shown being processed
Show and include on interface:
When the pantograph ratio of artwork to be shown is horizontal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with horizontal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.Or,
When the pantograph ratio of artwork to be shown is longitudinal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with longitudinal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.
For achieving the above object, the invention allows for a kind of image display method, the method includes:
Obtain the resolution ratio of currently used terminal.
Resolution ratio and the default standard resolution of the currently used terminal obtained are calculated, determines
The pantograph ratio of artwork to be shown;Wherein, artwork to be shown has this standard resolution.
Show on the display interface of terminal after artwork to be shown is processed according to pantograph ratio.
Alternatively, the method also includes:
Carrying out calculating it by resolution ratio and the default standard resolution of the currently used terminal obtained
Before, the resolution ratio of currently used terminal is compared with standard resolution.
When the resolution ratio of currently used terminal is identical with standard resolution, by artwork to be shown with standard scores
Resolution shows on the display interface of terminal.
When the resolution ratio of currently used terminal differs with standard resolution, the currently used end that will obtain
Resolution ratio and the default standard resolution of end calculate.
Alternatively, resolution ratio and the default standard resolution of the currently used terminal obtained are counted
Calculate, determine that the pantograph ratio of artwork to be shown includes:
The number of the horizontal pixel point in the resolution ratio that will obtain and the horizontal pixel point in standard resolution
Number is compared, and using the ratio of the number of two horizontal pixel points as the horizontal pantograph ratio of artwork to be shown.
The number of the longitudinal pixel in the resolution ratio that will obtain and the longitudinal pixel in standard resolution
Number is compared, and using the ratio of the number of two longitudinal pixels as longitudinal pantograph ratio of artwork to be shown.
Optionally it is determined that the pantograph ratio of artwork to be shown also includes:
Horizontal pantograph ratio is compared with longitudinal pantograph ratio.
When horizontal pantograph ratio is less than or equal to longitudinal pantograph ratio, using horizontal pantograph ratio as artwork to be shown
Pantograph ratio.
When horizontal pantograph ratio is more than longitudinal pantograph ratio, using longitudinal pantograph ratio as the scaling of artwork to be shown
Ratio.
Alternatively, show on the display interface of terminal after artwork to be shown being processed according to pantograph ratio
Including:
When the pantograph ratio of artwork to be shown is horizontal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with horizontal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.Or,
When the pantograph ratio of artwork to be shown is longitudinal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with longitudinal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.
Present applicant proposes a kind of image display apparatus and method, this device includes: acquisition module, calculating
Module and display module.Acquisition module, for obtaining the resolution ratio of currently used terminal.Computing module,
For the resolution ratio of the currently used terminal obtained and default standard resolution are calculated, determine
The pantograph ratio of artwork to be shown;Wherein, artwork to be shown has this standard resolution.Display module, uses
Show on the display interface of terminal after artwork to be shown is processed according to pantograph ratio.By this
The scheme of bright embodiment, decrease picture occupies resource, reduces the size of APK, reduces work
Complexity, improves operating efficiency.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the image display apparatus composition frame chart of the embodiment of the present invention;
Fig. 4 is the image display method flow chart of the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
Describe referring now to accompanying drawing and realize the present invention one optional mobile terminal of each embodiment.Rear
In continuous description, use such as " module ", " parts " or the suffix of " unit " for representing element
Only for the explanation of the beneficially present invention, itself do not has specific meaning.Therefore, " module " and " portion
Part " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include
(individual digital helps for such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA
Reason), PAD (panel computer), PMP (portable media player), the mobile end of guider etc.
The fixed terminal of end and such as numeral TV, desktop computer etc..Hereinafter it is assumed that terminal is mobile whole
End.However, it will be understood by those skilled in the art that, in addition to being used in particular for the element of mobile purpose,
Structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120,
User input unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170,
Controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, but should
It is understood by, it is not required that implement all assemblies illustrated.Can alternatively implement more or less of group
Part.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 mobile terminal 100 with wireless
Radio communication between communication system or network.Such as, wireless communication unit can include broadcast reception
Module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and position letter
At least one in breath module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receive broadcast singal and/
Or broadcast related information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast control services
Device can be to generate and send generation before broadcast singal and/or the server of broadcast related information or reception
Broadcast singal and/or broadcast related information and send it to the server of terminal.Broadcast singal is permissible
Including TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal can
To farther include the broadcast singal combined with TV or radio signals.Broadcast related information can also
There is provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be wide with digital multimedia
Broadcast the electronic program guides (EPG) of (DMB), the electronic service guidebooks of digital video broadcast-handheld (DVB-H)
Etc. (ESG) form and exist.Broadcast reception module 111 can be by using various types of broadcast system
System receives signal broadcast.Especially, broadcast reception module 111 can by use such as multimedia broadcasting-
Ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H),
Forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T)
Etc. digit broadcasting system receive digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for
The various broadcast systems of broadcast singal and above-mentioned digit broadcasting system.Receive via broadcast reception module 111
Broadcast singal and/or broadcast related information can be stored in memory 160 (or other type of storage is situated between
Matter) in.
Mobile communication module 112 send radio signals to base station (such as, access point, node B etc.),
In exterior terminal and server at least one and/or receive from it radio signal.Such radio
Signal can include voice call signal, video calling signal or according to text and/or Multimedia Message
The various types of data sent and/or receive.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can internal or
Externally it is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (nothing
Line LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (at a high speed
Downlink packets accesses) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology
Including bluetoothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTM
Etc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Position is believed
The typical case of breath module is GPS (global positioning system).According to current technology, GPS module 115 calculates
From the range information of three or more satellites and correct time information and for the Information application calculated
Triangulation, thus according to longitude, latitude and highly accurately calculating three-dimensional current location information.When
Before, use three satellites and by using other one for calculating the method for position and temporal information
Satellite corrects the position and the error of temporal information calculated.Additionally, GPS module 115 can be by real time
Ground Continuous plus current location information calculates velocity information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include phase
Machine 121 and microphone 1220, camera 121 is caught by image in Video Capture pattern or image capture mode
The view data of the static images or video that obtain device acquisition processes.Picture frame after process can show
Show on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other
Storage medium) in or be transmitted via wireless communication unit 110, can carry according to the structure of mobile terminal
For two or more cameras 1210.Microphone 122 can be known at telephone calling model, logging mode, voice
Other pattern etc. operational mode receives sound (voice data) via microphone, and can be by such sound
Sound is processed as voice data.Audio frequency (voice) data after process can turn in the case of telephone calling model
It is changed to be sent to the form output of mobile communication base station via mobile communication module 112.Microphone 122 can
Eliminate (or suppression) algorithm with the various types of noises of enforcement and in reception and send audio frequency letter to eliminate (or suppression)
The noise produced during number or interference.
It is mobile to control that user input unit 130 can generate key input data according to the order of user's input
The various operations of terminal.User input unit 130 allows user to input various types of information, and permissible
Including keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electricity
The sensitive component of change held etc.), roller, rocking bar etc..Especially, when touch pad as a layer
When being superimposed upon on display unit 151, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or
Closed mode), the position of mobile terminal 100, user is for the contact (that is, touch input) of mobile terminal 100
Presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc.,
And generate the order or signal being used for controlling the operation of mobile terminal 100.Such as, when mobile terminal 100
When being embodied as sliding-type mobile phone, it is to engage on or off that sensing unit 140 can sense this sliding-type number
Close.It addition, sensing unit 140 can detect whether power subsystem 190 provides electric power or interface unit 170
Whether couple with external device (ED).It is tactile that sensing unit 140 can include that proximity transducer 1410 will combine below
Touch screen this is described.
Interface unit 170 is used as at least one external device (ED) and is connected connecing of can passing through with mobile terminal 100
Mouthful.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery
Charger) port, wired or wireless FPDP, memory card port, for connect there is identification module
The port of device, audio frequency input/output (I/O) port, video i/o port, ear port etc..Identify mould
Block can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include user
Identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition,
The device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, knows
Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 is permissible
For receiving from the input (such as, data message, electric power etc.) of external device (ED) and defeated by receive
Enter to be transferred to the one or more elements in mobile terminal 100 or may be used in mobile terminal and outside
Data are transmitted between device.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to lead to
Cross it provide the path of mobile terminal 100 by electric power from base or can serve as allowing to input from base
Various command signals be transferred to the path of mobile terminal by it.Various command signals from base input
Or electric power may serve as identifying whether mobile terminal is accurately fitted within the signal on base.Output is single
Unit 150 be configured to vision, audio frequency and/or tactile manner provide output signal (such as, audio signal,
Vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151,
Dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, mobile terminal is worked as
100 when being in telephone calling model, display unit 151 can show and call or other communicate (such as, civilian
This information receiving and transmitting, multimedia file download etc.) relevant 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 show capture image and/or the image of reception, illustrate video or image and the UI of correlation function or
GUI etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another to form touch-screen time, aobvious
Show that unit 151 can serve as input unit and output device.Display unit 151 can include liquid crystal display
(LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexibility show
Show at least one in device, three-dimensional (3D) display etc..Some in these displays may be constructed such that
Transparence is to allow user to watch from outside, and this is properly termed as transparent display, typical transparent display
Can for example, TOLED (transparent organic light emitting diode) display etc..According to the specific enforcement wanted
Mode, mobile terminal 100 can include two or more display units (or other display device), such as,
Mobile terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can
For detecting touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal at mobile terminal and receive pattern, call mode, note
Time under the isotypes such as record pattern, speech recognition mode, broadcast reception mode, wireless communication unit 110 is connect
Receive or in memory 160 storage voice data transducing audio signal and be output as sound.And
And, the audio frequency that dio Output Modules 152 can provide relevant to the specific function of mobile terminal 100 execution is defeated
Go out (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can wrap
Include loudspeaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typically
Event can include calling reception, message sink, key signals input, touch input etc..Except audio frequency
Or outside video frequency output, alarm unit 153 can provide in a different manner and export sending out with notification event
Raw.Such as, alarm unit 153 can with vibration form provide output, when receive calling, message or
During some other entrance communication (incomingcommunication), alarm unit 153 can provide sense of touch defeated
Go out (that is, vibration) to notify to user.By providing such sense of touch to export, even if in the shifting of user
When mobile phone is in the pocket of user, user also is able to identify the generation of various event.Alarm unit
The output of 153 generations that notification event can also be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store the process performed by controller 180 and control the software program etc. of operation
Deng, or can temporarily store oneself through output maybe will export data (such as, telephone directory, message,
Still image, video etc.).And, memory 160 can store about when touch is applied to touch-screen
The vibration of the various modes of output and the data of audio signal.
Memory 160 can include the storage medium of at least one type, described storage medium include flash memory,
Hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device
(RAM), static random-access memory (SRAM), read-only storage (ROM), electrically erasable
Read-only storage (EEPROM), programmable read only memory (PROM), magnetic storage, disk, light
Dish etc..And, mobile terminal 100 can be connected the storage function performing memory 160 with by network
Network storage device cooperation.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice
Control that call, data communication, video calling etc. are relevant and process.It addition, controller 180 can wrap
Including the multi-media module 1810 for reproducing (or playback) multi-medium data, multi-media module 1810 can construct
In controller 180, or it is so structured that separate with controller 180.Controller 180 can perform pattern
Identifying processing, with the handwriting input performed on the touchscreen or picture are drawn input be identified as character or
Image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides behaviour
Make the suitable electric power needed for each element and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any group
The computer-readable medium closed is implemented.Implementing for hardware, embodiment described herein can pass through
Use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device
(DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, control
Device, microcontroller, microprocessor, it is designed to perform in the electronic unit of function described herein extremely
Few one is implemented, and in some cases, such embodiment can be implemented in controller 180.Right
Implementing in software, the embodiment of such as process or function can perform at least one function or behaviour with permission
The single software module made is implemented.Software code can be by writing with any suitable programming language
Software application (or program) is implemented, and software code can be stored in memory 160 and by controlling
Device 180 performs.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe
Various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc.
In slide type mobile terminal as example.Therefore, the present invention can be applied to any kind of mobile whole
End, and it is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that and utilizes via frame or packet transmission data
The most wired and wireless communication system and satellite-based communication system operate.
The communication system being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communication system can use different air interfaces and/or physical layer.Such as, by communication system
The air interface that system uses includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA
(CDMA) move lead to UMTS (UMTS) (especially, Long Term Evolution (LTE)), the whole world
Communication system (GSM) etc..As non-limiting example, explained below relates to cdma communication system, but
It is that such teaching is equally applicable to other type of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 100, multiple base station
(BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to
Interface is formed with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and can be via returning
Journey circuit is couple to the BSC275 of base station 270 and forms interface.If the interface that back haul link can be known according to Ganji
In any one construct, described interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL,
ADSL or xDSL.It will be appreciated that system as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by multidirectional antenna or sensing certain party
To antenna cover each subregion radially away from BS270.Or, each subregion can be by for dividing
Two or more antennas that collection receives cover.Each BS270 may be constructed such that support multiple frequencies distribution,
And the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station
Transceiver subsystem (BTS) or other equivalent terms.In this case, term " base station " can be used
In broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".
Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in system the shifting operated by broadcsting transmitter (BT) 295
Dynamic terminal 100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences reception as shown in Figure 1
The broadcast singal sent by BT295.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.
Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of defend
Star obtains useful location information.GPS module 115 is generally configured to and satellite 300 as shown in Figure 1
Coordinate the location information wanted with acquisition.Substitute GPS tracking technique or outside GPS tracking technique, can
To use other technology of the position that can follow the tracks of mobile terminal.It addition, at least one gps satellite 300 can
Optionally or additionally to process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives from various mobile terminals 100
Reverse link signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Special
The each reverse link signal determining base station 270 reception is processed in specific BS270.The data obtained
It is forwarded to the BSC275 being correlated with.BSC provides call resource distribution and the soft handover included between BS270
The mobile management function of the coordination of process.The data received also are routed to MSC280 by BSC275, its
Extra route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270
Forward link signals to be sent to mobile terminal 100.
Based on above-mentioned optional mobile terminal hardware configuration and communication system, propose the inventive method each
Embodiment.
There is multiple different terminal resolution ratio in the market, if a application is wanted to accomplish to adapt to every kind
The resolution ratio of terminal, would have to do substantial amounts of adaptive work, and relevant picture adaptation scheme is through
Set up different catalogues, reach adaptive purpose.Such as, market has five kinds of general resolution ratio, that
Being accomplished by arranging five catalogues corresponding with these five kinds of general resolution ratio, a pictures resource just needs
Copying five parts, be put into below five catalogues respectively, the picture resource that these five catalogues are placed is the same,
Simply resolution ratio is different, and so on the mobile phone of different resolution, Android android system just can be according to working as
The resolution ratio of front mobile phone determines the picture resource of which catalogue of this use.It is exemplified below:
Assume an only pictures resource in an application, in reality is developed more than one, may have on
Hundred pictures, in order to allow this apply the mobile phone of every kind of resolution ratio on adaptive market, then be accomplished by setting up five
Individual catalogue, e.g., drawable-ldpi, drawable-mdpi, drawable-hdpi, drawable-xhdpi,
drawable-xxhdpi;Meanwhile, same pictures resource needs five parts, difference be exactly photo resolution not
With.Illustrated below is the resolving range that five catalogues are the most adaptive:
Drawable-ldpi:240x320;
Drawable-mdpi:320x480;
Drawable-hdpi:480x800,480x854;
Drawable-xhdpi: at least 720 × 960;
Drawable-xxhdpi:720 × 1280.
Such as, the screen resolution of certain terminal is 720 × 1280, then the application on this mobile phone uses
Picture resource is exactly the resource under drawable-xxhdpi catalogue, if resolution ratio is 320x480, then
The picture resource that application on this mobile phone uses is exactly the resource under drawable-mdpi catalogue.
Above-mentioned picture adaptation displaying scheme causes the picture resource storing a lot of repetition in terminal, waste
Terminal resource, too increases the complexity of exploitation.
For the problems referred to above, the embodiment of the present invention proposes a solution, being contemplated that of the program:
In advance at defined in terminal system standard resolution, it is stored in the picture in this terminal system all with this
Standard resolution stores, when in needing terminal system, the picture of storage shows, according to current whole
The storage picture with standard resolution is zoomed in and out by the resolution ratio of end automatically, thus can guarantee that one
Picture resource the most only stores portion, can greatly reduce picture resource, reduce the big of APK simultaneously
Complexity that is little and that develop.
It should be noted that above-mentioned terminal system can be any can embodiment embodiment of the present invention side
The system of case, is not particularly limited at this, and alternatively, this terminal system is android system.
As it is shown on figure 3, first embodiment of the invention proposes a kind of image display apparatus 01, this device includes:
Acquisition module 02, computing module 03 and display module 04.
Acquisition module 02, for obtaining the resolution ratio of currently used terminal.
In embodiments of the present invention, in order to realize the picture Zoom display scheme of the embodiment of the present invention, need
First obtain the resolution ratio of currently used terminal, in order to find scaling foundation for follow-up picture scaling.This
In, the acquisition methods of resolution ratio and algorithm for currently used terminal do not limit, and any are capable of
The acquisition methods of embodiment of the present invention scheme and algorithm are all within the protection domain of the embodiment of the present invention.
It addition, the terminal in the embodiment of the present invention can be mobile phone, computer, Ipad, wearable device and
Any type of electronic display unit, such as large LED display screen etc..
Computing module 03, for the resolution ratio of currently used terminal that will obtain and default standard resolution
Rate calculates, and determines the pantograph ratio of artwork to be shown;Wherein, artwork to be shown has this standard resolution
Rate.
In embodiments of the present invention, obtained the resolution ratio of currently used terminal by acquisition module 02 after,
Also need to by acquisition module 02 obtain further in this terminal system preset standard resolution, here,
This standard resolution preset can be not particularly limited, example according to different application scenarios self-definings
As, 720 × 1280.Can store one or more picture in this terminal system, these pictures all have this mark
Quasi-resolution ratio, and these one or more pictures only store portion in terminal system.
After acquisition module 02 obtains resolution ratio and the default standard resolution of currently used terminal, need
To pass through the resolution ratio of the computing module 03 currently used terminal to obtaining and default standard scores further
Resolution calculates, to obtain the pantograph ratio of artwork to be shown.
In embodiments of the present invention, in order to improve operating efficiency, the resolution ratio of artwork to be shown is being carried out
Calculate, before obtaining the pantograph ratio of artwork to be shown, need the resolution first to the currently used terminal obtained
Rate judges, looks at that the resolution ratio of this terminal is just the most identical with standard resolution, from without
Artwork to be shown is zoomed in and out.Here, complete the program by comparison module 05,
Alternatively, this device also includes: comparison module 05.
Comparison module 05, at computing module 03 by the resolution ratio of currently used terminal obtained and pre-
If standard resolution calculate before, the resolution ratio of currently used terminal is carried out with standard resolution
Relatively.
In embodiments of the present invention, obtained the resolution ratio of currently used terminal by acquisition module 02 after,
Comparison module 05 needs the resolution ratio of currently used terminal obtained and default at computing module 03
Standard resolution compares before calculating, in order to judge the resolution ratio of currently used terminal whether with
Standard resolution is identical.If it is determined that the resolution ratio of currently used terminal is identical with standard resolution, the most really
The resolution ratio of fixed artwork to be shown, the resolution ratio of the standard resolution i.e. preset and the terminal of use is just
Join, then need not the follow-up resolution ratio to this artwork to be shown and zoom in and out, and then without again by meter
Calculate module 03 to calculate.Comparison module 05 avoids computing module 03 and obtains for acquisition module 02
Any one terminal resolution ratio all calculate, and calculate the result of the pantograph ratio of 1:1, this is necessarily
Save terminal resource in degree, improve display efficiency.
Display module 04, for when the resolution ratio of currently used terminal is identical with standard resolution, will treat
Display artwork shows on the display interface of terminal with standard resolution.
In embodiments of the present invention, when resolution ratio and the mark being determined currently used terminal by comparison module 05
When quasi-resolution ratio is identical, then directly artwork to be shown can be shown with standard resolution by display module 04
Show on the display interface of terminal.
Computing module 03, is additionally operable to when the resolution ratio of currently used terminal differs with standard resolution,
Resolution ratio and the default standard resolution of the currently used terminal obtained are calculated.
In embodiments of the present invention, when resolution ratio and the mark being determined currently used terminal by comparison module 05
When quasi-resolution ratio differs, then need further by computing module 03, the resolution to currently used terminal
Rate and default standard resolution calculate, to obtain the pantograph ratio of artwork to be shown.
Alternatively, computing module 03 is by the resolution ratio of currently used terminal obtained and default standard scores
Resolution calculates, and determines that the pantograph ratio of artwork to be shown includes step S101-S102:
The number of the horizontal pixel point in S101, the resolution ratio that will obtain and the horizontal picture in standard resolution
The number of vegetarian refreshments is compared, and using horizontal as artwork to be shown of the ratio of the number of two horizontal pixel points
Pantograph ratio.
In embodiments of the present invention, it is assumed that the resolution ratio of the currently used terminal of acquisition is 320x480;Wait to show
Showing the resolution ratio of artwork, the standard resolution i.e. preset is 720 × 1280;The most according to embodiments of the present invention
Scheme, the number of the horizontal pixel point in the resolution ratio of currently used terminal is 320;In standard resolution
The number of horizontal pixel point is 720;Then laterally pantograph ratio is 320/720=0.44.
The number of the longitudinal pixel in S102, the resolution ratio that will obtain and the longitudinal picture in standard resolution
The number of vegetarian refreshments is compared, and using the ratio of the number of two longitudinal pixels as the longitudinal direction of artwork to be shown
Pantograph ratio.
In embodiments of the present invention, illustrate as a example by above-described embodiment equally, it is assumed that acquisition current
The resolution ratio using terminal is 320x480;The resolution ratio of artwork to be shown is 720 × 1280;Then according to this
The scheme of bright embodiment, the number of the longitudinal pixel in the resolution ratio of currently used terminal is 480;Standard
The number of the longitudinal pixel in resolution ratio is 1280;Then longitudinal pantograph ratio is 480/1280=0.38.
In embodiments of the present invention, by such scheme, we just obtain the pantograph ratio of artwork to be shown,
To the direction of artwork to be shown and longitudinally divided with longitudinal pantograph ratio 0.38 by the horizontal pantograph ratio 0.44 obtained
Do not reduce, just can obtain the picture that the resolution ratio with currently used terminal matches.
It should be noted that above-mentioned step S101 and step S102 are in no particular order, can be first carried out it
In any one step.
In embodiments of the present invention, obtained the horizontal stroke of artwork to be shown according to computing module 03 by such scheme
After pantograph ratio and longitudinal pantograph ratio, just can be directly according to the horizontal pantograph ratio obtained and longitudinal scaling
Comparison picture zooms in and out, but it should be recognized that due to each picture of storage in terminal system
All there is fixing horizontal and vertical length ratio, only keep this horizontal and vertical length ratio constant
In the case of, guarantee artwork to be shown is maintained to the state of artwork after zooming in and out process,
Indeformable, non-warping.But, it is generally the case that according to the horizontal pantograph ratio calculated to be shown former
Figure laterally scales, and according to the longitudinal pantograph ratio calculated, artwork to be shown is carried out longitudinal scaling
After, the horizontal and vertical length ratio of artwork is the most altered so that the picture after scaling occur deformation or
The situations such as distortion occur, such picture has not had use value, and the viewing body to user
Test and also result in the biggest impact.In order to solve the problems referred to above, the embodiment of the present invention takes following solution party
Case.
Alternatively, computing module 03 determines that the pantograph ratio of artwork to be shown also includes step S201-S203:
S201, horizontal pantograph ratio is compared with longitudinal pantograph ratio.
In embodiments of the present invention, computing module 03 calculates horizontal pantograph ratio and the longitudinal direction of artwork to be shown
After pantograph ratio, further this horizontal pantograph ratio is compared with longitudinal pantograph ratio, to determine laterally contracting
Which is less with longitudinal pantograph ratio to put ratio.
S202, when horizontal pantograph ratio is less than or equal to longitudinal pantograph ratio, horizontal pantograph ratio is shown as waiting
Show the pantograph ratio of artwork.
In embodiments of the present invention, when determining that horizontal pantograph ratio is less than or equal to longitudinally scaling by comparing
Than time, using horizontal pantograph ratio as the pantograph ratio of artwork to be shown, a conduct that will be less in both
Final pantograph ratio, this final pantograph ratio is artwork to be shown pantograph ratio transversely, is also to wait to show
Show the pantograph ratio on artwork is longitudinally, i.e. make artwork to be shown zoom in or out with same pantograph ratio, with
Allow to carry out the picture after scaling and remain that original horizontal and vertical length ratio is constant, and ensure
The resolution ratio of the picture after scaling is mated with the resolution ratio of currently used terminal as far as possible, solves picture than that
Row or the problem of distortion, and improve the experience sense of user.
S203, when horizontal pantograph ratio is more than longitudinal pantograph ratio, using longitudinal direction pantograph ratio as artwork to be shown
Pantograph ratio.
In embodiments of the present invention, in like manner, when determining that horizontal pantograph ratio is more than longitudinally scaling by comparing
Than time, using longitudinal pantograph ratio as the pantograph ratio of artwork to be shown, a conduct that will be less in both
Final pantograph ratio, this final pantograph ratio is artwork to be shown pantograph ratio transversely, is also to wait to show
Show the pantograph ratio on artwork is longitudinally, i.e. make artwork to be shown zoom in or out with same pantograph ratio, with
Allow to carry out the picture after scaling and remain that original horizontal and vertical length ratio is constant, and ensure
The resolution ratio of the picture after scaling is mated with the resolution ratio of currently used terminal as far as possible, solves picture than that
Row or the problem of distortion, and improve the experience sense of user.
Display module 04, shows showing in terminal according to pantograph ratio after artwork to be shown being processed
Show on interface.
In embodiments of the present invention, calculated the pantograph ratio of artwork to be shown by computing module 03 after,
The horizontal and vertical of artwork to be shown just can be carried out respectively by display module 04 according to the pantograph ratio calculated
Scaling, the scaling pictures matched with the resolution ratio obtained with currently used terminal, and this scaling the most at last
Picture shows on the display interface of terminal.Specific embodiments is as described below.
Alternatively, display module 04 shows in terminal after artwork to be shown being processed according to pantograph ratio
Include on display interface:
When the pantograph ratio of artwork to be shown is horizontal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with horizontal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.Or,
When the pantograph ratio of artwork to be shown is longitudinal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with longitudinal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.
In embodiments of the present invention, according to ratio smaller in the horizontal pantograph ratio of selection and longitudinal pantograph ratio it is
The principle of final pantograph ratio, after computing module 03 is calculated and determined out final pantograph ratio, display module
Just according to this final pantograph ratio, the horizontal and vertical of artwork to be shown can be zoomed in and out process, and will
Picture after scaling shows on the display interface of terminal.
So far, by the agency of is over whole essential characteristics of embodiment of the present invention scheme, it should be noted that
Such scheme is only multiple embodiments of the embodiment of the present invention, can also use it in other embodiments
His embodiment, any with the same or analogous scheme of the embodiment of the present invention, and embodiment of the present invention side
Any combination of the essential characteristic of case, all within the protection domain of the embodiment of the present invention.
For achieving the above object, the invention allows for a kind of image display method, it should be noted that
The picture display side that any embodiment of above-mentioned image display apparatus is equally applicable in the embodiment of the present invention
Method, does not repeats them here.As shown in Figure 4, the method comprising the steps of S301-S303:
S301, obtain the resolution ratio of currently used terminal.
Alternatively, the method also includes:
Carrying out calculating it by resolution ratio and the default standard resolution of the currently used terminal obtained
Before, the resolution ratio of currently used terminal is compared with standard resolution.
When the resolution ratio of currently used terminal is identical with standard resolution, by artwork to be shown with standard scores
Resolution shows on the display interface of terminal.
When the resolution ratio of currently used terminal differs with standard resolution, the currently used end that will obtain
Resolution ratio and the default standard resolution of end calculate.
S302, the resolution ratio of currently used terminal obtained and default standard resolution are calculated,
Determine the pantograph ratio of artwork to be shown;Wherein, artwork to be shown has this standard resolution.
Alternatively, resolution ratio and the default standard resolution of the currently used terminal obtained are counted
Calculate, determine that the pantograph ratio of artwork to be shown includes:
The number of the horizontal pixel point in the resolution ratio that will obtain and the horizontal pixel point in standard resolution
Number is compared, and using the ratio of the number of two horizontal pixel points as the horizontal pantograph ratio of artwork to be shown.
The number of the longitudinal pixel in the resolution ratio that will obtain and the longitudinal pixel in standard resolution
Number is compared, and using the ratio of the number of two longitudinal pixels as longitudinal pantograph ratio of artwork to be shown.
Optionally it is determined that the pantograph ratio of artwork to be shown also includes:
Horizontal pantograph ratio is compared with longitudinal pantograph ratio.
When horizontal pantograph ratio is less than or equal to longitudinal pantograph ratio, using horizontal pantograph ratio as artwork to be shown
Pantograph ratio.
When horizontal pantograph ratio is more than longitudinal pantograph ratio, using longitudinal pantograph ratio as the scaling of artwork to be shown
Ratio.
S303, artwork to be shown is processed according to pantograph ratio after show on the display interface of terminal.
Alternatively, show on the display interface of terminal after artwork to be shown being processed according to pantograph ratio
Including:
When the pantograph ratio of artwork to be shown is horizontal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with horizontal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.Or,
When the pantograph ratio of artwork to be shown is longitudinal pantograph ratio, by artwork to be shown on horizontal and vertical
Zoom in and out with longitudinal pantograph ratio respectively, it is thus achieved that the picture after scaling, the picture after scaling was shown at end
On the display interface of end.
Present applicant proposes a kind of image display apparatus and method, this device includes: acquisition module, calculating
Module and display module.Acquisition module, for obtaining the resolution ratio of currently used terminal.Computing module,
For the resolution ratio of the currently used terminal obtained and default standard resolution are calculated, determine
The pantograph ratio of artwork to be shown;Wherein, artwork to be shown has this standard resolution.Display module, uses
Show on the display interface of terminal after artwork to be shown is processed according to pantograph ratio.By this
The scheme of bright embodiment, decrease picture occupies resource, makes every part of picture resource only portion;Reduce
The size of APK, reduces work complexity, improves operating efficiency.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
Method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. an image display apparatus, it is characterised in that described device includes: acquisition module, calculating mould
Block and display module;
Described acquisition module, for obtaining the resolution ratio of currently used terminal;
Described computing module, for the resolution ratio of currently used terminal that will obtain and default standard scores
Resolution calculates, and determines the pantograph ratio of artwork to be shown;Wherein, described artwork to be shown has described
Standard resolution;
Described display module, shows after described artwork to be shown being processed according to described pantograph ratio
On the display interface of described terminal.
2. the image display apparatus of Android system as claimed in claim 1, it is characterised in that described dress
Put and also include: comparison module;
Described comparison module, for described computing module by obtain currently used terminal resolution ratio with
And before the standard resolution preset calculates, by the resolution ratio of described currently used terminal and described mark
Quasi-resolution ratio compares;
Described display module, is additionally operable to the resolution ratio when described currently used terminal and described standard resolution
Time identical, described artwork to be shown is shown on the display interface of described terminal with described standard resolution;
Described computing module, is additionally operable to the resolution ratio when described currently used terminal and described standard resolution
When differing, resolution ratio and the default standard resolution of the currently used terminal obtained are calculated.
3. the image display apparatus of Android system as claimed in claim 1, it is characterised in that described meter
Calculate module resolution ratio and the default standard resolution of the currently used terminal obtained to be calculated, really
The pantograph ratio of fixed artwork to be shown includes:
Horizontal with described standard resolution of the number of the horizontal pixel point in the described resolution ratio that will obtain
The number of pixel is compared, and using the ratio of the number of two described horizontal pixel points as described to be shown
The horizontal pantograph ratio of artwork;
The number of the longitudinal pixel in the described resolution ratio that will obtain and the longitudinal direction in described standard resolution
The number of pixel is compared, and using the ratio of the number of two described longitudinal pixels as described to be shown
Longitudinal pantograph ratio of artwork.
4. the image display apparatus of Android system as claimed in claim 3, it is characterised in that described meter
Calculate module and determine that the pantograph ratio of artwork to be shown also includes:
Described horizontal pantograph ratio is compared with described longitudinal pantograph ratio;
When described horizontal pantograph ratio is less than or equal to described longitudinal pantograph ratio, described horizontal scaling is compared to
Pantograph ratio for described artwork to be shown;
When described horizontal pantograph ratio is more than described longitudinal pantograph ratio, using described longitudinal pantograph ratio as described
The pantograph ratio of artwork to be shown.
5. the image display apparatus of Android system as claimed in claim 4, it is characterised in that described aobvious
Show that module shows the display in described terminal after described artwork to be shown being processed according to described pantograph ratio
Include on interface:
When the pantograph ratio of described artwork to be shown is described horizontal pantograph ratio, described artwork to be shown is existed
Horizontal and vertical upper zoom in and out with described horizontal pantograph ratio respectively, it is thus achieved that the picture after scaling, by described
Picture after scaling shows on the display interface of described terminal;Or,
When the pantograph ratio of described artwork to be shown is described longitudinal pantograph ratio, described artwork to be shown is existed
Horizontal and vertical upper zoom in and out with described longitudinal pantograph ratio respectively, it is thus achieved that the picture after scaling, by described
Picture after scaling shows on the display interface of described terminal.
6. an image display method, it is characterised in that described method includes:
Obtain the resolution ratio of currently used terminal;
Resolution ratio and the default standard resolution of the currently used terminal obtained are calculated, determines
The pantograph ratio of artwork to be shown;Wherein, described artwork to be shown has described standard resolution;
Display circle in described terminal is shown according to described pantograph ratio after described artwork to be shown being processed
On face.
7. the image display method of Android system as claimed in claim 6, it is characterised in that described side
Method also includes:
Carrying out calculating it by resolution ratio and the default standard resolution of the currently used terminal obtained
Before, the resolution ratio of described currently used terminal is compared with described standard resolution;
When the resolution ratio of described currently used terminal is identical with described standard resolution, by described to be shown
Artwork shows on the display interface of described terminal with described standard resolution;
When the resolution ratio of described currently used terminal differs with described standard resolution, by working as of obtaining
Resolution ratio and the default standard resolution of front use terminal calculate.
8. the image display method of Android system as claimed in claim 6, it is characterised in that described general
Resolution ratio and the default standard resolution of the currently used terminal obtained calculate, and determine to be shown
The pantograph ratio of artwork includes:
Horizontal with described standard resolution of the number of the horizontal pixel point in the described resolution ratio that will obtain
The number of pixel is compared, and using the ratio of the number of two described horizontal pixel points as described to be shown
The horizontal pantograph ratio of artwork;
The number of the longitudinal pixel in the described resolution ratio that will obtain and the longitudinal direction in described standard resolution
The number of pixel is compared, and using the ratio of the number of two described longitudinal pixels as described to be shown
Longitudinal pantograph ratio of artwork.
9. the image display method of Android system as claimed in claim 8, it is characterised in that described really
The pantograph ratio of fixed artwork to be shown also includes:
Described horizontal pantograph ratio is compared with described longitudinal pantograph ratio;
When described horizontal pantograph ratio is less than or equal to described longitudinal pantograph ratio, described horizontal scaling is compared to
Pantograph ratio for described artwork to be shown;
When described horizontal pantograph ratio is more than described longitudinal pantograph ratio, using described longitudinal pantograph ratio as described
The pantograph ratio of artwork to be shown.
10. the image display method of Android system as claimed in claim 9, it is characterised in that described
Show on the display interface of described terminal after described artwork to be shown is processed according to described pantograph ratio
Including:
When the pantograph ratio of described artwork to be shown is described horizontal pantograph ratio, described artwork to be shown is existed
Horizontal and vertical upper zoom in and out with described horizontal pantograph ratio respectively, it is thus achieved that the picture after scaling, by described
Picture after scaling shows on the display interface of described terminal;Or,
When the pantograph ratio of described artwork to be shown is described longitudinal pantograph ratio, described artwork to be shown is existed
Horizontal and vertical upper zoom in and out with described longitudinal pantograph ratio respectively, it is thus achieved that the picture after scaling, by described
Picture after scaling shows on the display interface of described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610348320.5A CN105847590A (en) | 2016-05-24 | 2016-05-24 | Picture display device and method of Android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610348320.5A CN105847590A (en) | 2016-05-24 | 2016-05-24 | Picture display device and method of Android system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847590A true CN105847590A (en) | 2016-08-10 |
Family
ID=56593299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610348320.5A Pending CN105847590A (en) | 2016-05-24 | 2016-05-24 | Picture display device and method of Android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847590A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995451A (en) * | 2016-10-26 | 2018-05-04 | 北京视联动力国际信息技术有限公司 | A kind of inspection method and device regarding networked video stream |
CN111611043A (en) * | 2020-05-23 | 2020-09-01 | 中南大学 | Image display method, image display device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070016887A (en) * | 2005-08-05 | 2007-02-08 | 삼성전자주식회사 | Apparatus and method for displaying video information in a mobile terminal |
CN102662616A (en) * | 2012-03-28 | 2012-09-12 | 北京邮电大学 | Screen graphics self-adaption method and system used for mobile terminal |
CN104598107A (en) * | 2014-12-31 | 2015-05-06 | 乐视网信息技术(北京)股份有限公司 | Generating method and system of interface control |
CN105282321A (en) * | 2015-08-28 | 2016-01-27 | 上海健保科技有限公司 | Adaption method of application software user interface and display device |
CN105511725A (en) * | 2015-12-09 | 2016-04-20 | 网易(杭州)网络有限公司 | Method and device for displaying controls in interface |
-
2016
- 2016-05-24 CN CN201610348320.5A patent/CN105847590A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070016887A (en) * | 2005-08-05 | 2007-02-08 | 삼성전자주식회사 | Apparatus and method for displaying video information in a mobile terminal |
CN102662616A (en) * | 2012-03-28 | 2012-09-12 | 北京邮电大学 | Screen graphics self-adaption method and system used for mobile terminal |
CN104598107A (en) * | 2014-12-31 | 2015-05-06 | 乐视网信息技术(北京)股份有限公司 | Generating method and system of interface control |
CN105282321A (en) * | 2015-08-28 | 2016-01-27 | 上海健保科技有限公司 | Adaption method of application software user interface and display device |
CN105511725A (en) * | 2015-12-09 | 2016-04-20 | 网易(杭州)网络有限公司 | Method and device for displaying controls in interface |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995451A (en) * | 2016-10-26 | 2018-05-04 | 北京视联动力国际信息技术有限公司 | A kind of inspection method and device regarding networked video stream |
CN111611043A (en) * | 2020-05-23 | 2020-09-01 | 中南大学 | Image display method, image display device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104660913B (en) | Focus adjustment method and apparatus | |
CN104731340B (en) | Cursor position determines method and terminal device | |
CN106249988A (en) | A kind of display packing and terminal | |
CN106130734A (en) | The control method of mobile terminal and control device | |
CN105760057A (en) | Screenshot device and method | |
CN106304037A (en) | The management method of virtual SIM card and device | |
CN106155695A (en) | The removing control device and method of background application | |
CN106155694A (en) | A kind of application and the display packing and device applied of attending to anything else | |
CN106331145A (en) | Information recommendation method, device and system | |
CN105959551A (en) | Shooting device, shooting method and mobile terminal | |
CN105718200A (en) | Page switching device and method based on pressure sensor, and terminal | |
CN104777982B (en) | Method and device for switching terminal input method | |
CN106097284A (en) | The processing method of a kind of night scene image and mobile terminal | |
CN106302086A (en) | A kind of different mobile terminal carries out the method for content synchronization, Apparatus and system | |
CN105975052A (en) | Screen switching method and device | |
CN106250081A (en) | A kind of display packing based on double screen terminal and device | |
CN105898703A (en) | Method and device for managing identified pseudo base stations | |
CN105843478A (en) | Icon display control method and apparatus for shortcut switch | |
CN106383707A (en) | Picture display method and system | |
CN106302992A (en) | A kind of mobile terminal and screen lighting method | |
CN106161790A (en) | A kind of mobile terminal and control method thereof | |
CN106376004A (en) | Information processing method and terminal | |
CN105991293A (en) | Verification method and verification device | |
CN105183830A (en) | Picture browsing method and apparatus | |
CN106227454B (en) | A kind of touch trajectory detection system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |