Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use
For representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itself
Not specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc.
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular for
Outside the element of 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's input
Unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates
There is the mobile terminal of various assembly, it should be understood that be not required for implementing all assemblies illustrated.Can be alternatively
Implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and wireless communication system
Or the radio communication between network.Such as, wireless communication unit can include broadcast reception module 111, mobile communication module
112, at least one in wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcasting management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send
Broadcast singal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include that TV broadcast singal, radio signals, data are broadcasted
Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Pass information can also provide 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 with the electronics of DMB (DMB)
Program guide (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast
Receiver module 111 can be broadcasted by using various types of broadcast systems to receive signal.Especially, broadcast reception module 111
Can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video wide
Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for extensively
Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcast reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals to base station (such as, access point, node B etc.), exterior terminal
And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to
Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Positional information module 115 is the module of positional information for checking or obtain mobile terminal.Positional information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115 calculates from three or more satellites
Range information and correct time information and for the Information application triangulation calculated, thus according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, the method use three being used for calculating position and temporal information is defended
Star and by using the position and the error of temporal information that other satellite correction calculates.Additionally, GPS module 115
Velocity information can be calculated by Continuous plus current location information in real time.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He
Mike 1220, the camera 121 static map to being obtained by image capture apparatus in Video Capture pattern or image capture mode
The view data of sheet or video processes.Picture frame after process may be displayed on display unit 151.At camera 121
Picture frame after reason can be stored in memorizer 160 (or other storage medium) or carry out via wireless communication unit 110
Send, two or more cameras 1210 can be provided according to the structure of mobile terminal.Mike 122 can be at telephone relation mould
Formula, logging mode, speech recognition mode etc. operational mode receives sound (voice data) via mike, and can be by
Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model
For can be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 can implement all kinds
Noise eliminate (or suppression) algorithm with the noise eliminating (or suppression) and producing during receiving and send audio signal or
Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input
Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..It addition, the device (hereinafter referred to as " identifying device ") with identification module can be to take the form of smart card, therefore, know
Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for receive from
The input (such as, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it
Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it
It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner
Go out signal (such as, audio signal, video 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, it is in electricity when mobile terminal 100
During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate
Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern
Or during image capture mode, display unit 151 can show image and/or the image of reception of capture, illustrate video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit
151 can serve as input equipment and output device.Display unit 151 can 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
A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent
Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode,
Time under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memorizer 160
The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide with mobile
The audio frequency output (such as, call signal receives sound, message sink sound etc.) that the specific function that terminal 100 performs is relevant.
Dio Output Modules 152 can include speaker, buzzer etc..
Alarm unit 153 can provide output to notify event to mobile terminal 100.Typical event is permissible
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video exports, alarm unit
153 can provide output with the generation of notification event in a different manner.Such as, alarm unit 153 can be with the form of vibration
Output is provided, when receiving calling, message or some other entrance communication (incomingcommunication), alarm list
Unit 153 can provide sense of touch output (that is, vibration) to notify to user.By providing such sense of touch to export, even if
When the mobile phone of user is in the pocket of user, user also is able to identify the generation of various event.Alarm unit 153 is also
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can
Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And
And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal
Data.
Memorizer 160 can include that the storage medium of at least one type, described storage medium include flash memory, hard disk, many
Media card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access store
Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network
The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data
Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or it is so structured that with control
Device 180 processed separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or figure
Sheet is drawn input and is identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implementing for hardware, 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
Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any suitable programming language
Implementing, software code can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
As shown in Figure 1 mobile terminal 100 may be constructed such that utilize via frame or packet transmission data all if any
Line 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, communication system use
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face relates to cdma communication system, but 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 and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.
If back haul link can construct according to any one in the interface that Ganji knows, 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 the sky of sensing specific direction
Each subregion that line covers is radially away from BS270.Or, each subregion can be by for two or more of diversity reception
Antenna covers.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
System (BTS) or other equivalent terms.In this case, term " base station " may be used for 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 claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent in system the mobile terminal operated by broadcsting transmitter (BT) 295
100.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences the broadcast that reception is sent by BT295 as shown in Figure 1
Signal.In fig. 2 it is shown that several global positioning systems (GPS) satellite 300.Satellite 300 helps to position multiple mobile terminals
At least one in 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtain useful
Location information.GPS module 115 is generally configured to coordinate with satellite 300 to obtain the location letter wanted as shown in Figure 1
Breath.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other of position of mobile terminal can be followed the tracks of
Technology.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Certain base station 270 receive each instead
Processed in specific BS270 to link signal.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call
Resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The number that BSC275 also will receive
According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.
First embodiment
Present embodiments providing a kind of user interface and regard effect specification detection device, Fig. 3 is the structured flowchart of this device, such as figure
Shown in 3, this device 30 includes consisting of part:
Module 31 is set, for being set to highlight by least one class user interface target item to be detected;
In the present embodiment, user interface target item can be specifically the visual each element presented in user interface, such as,
The controls such as title bar, switch, edit box, similar window, the background in region, the icon mark etc. of same application, and word, the back of the body
The color etc. of scape lines, the width of homogeneous region, height, word font size, font and transparency, these elements are highlighted
The most specifically may include that the background resource of the element in whole or in part by public for target control is replaced/redirected as with highlighted
The background of mark (such as there is the color of high resolution, word, icon indicia).Based on this, during subsequent detection, coherent element does not carries
The control having above-mentioned highlighted mark is realization lack of standardization, i.e. can detect whether each user interface uses the public control specified
Part, user interface uses the public control specified enough ensure the function of each conventional module and regard the concordance of effect, facilitates follow-up
Unified upgrade maintenance;Public picture resource to be checked is replaced/is redirected into highlighted mark (as high resolution color,
Word, pattern mark) picture, when subsequent detection, the picture/icon elemental areas without highlighted mark is reality lack of standardization
Existing, so can detect whether user interface uses the public picture resource specified, user interface uses the public figure specified
Sheet resource, it is possible to keep the concordance in correlation window region, multiplexing same asset, reduce redundancy picture;By public for target color
Resource arranges/redirects the color into band height resolution, and the color elements region being unchanged as high resolution during subsequent detection is
Realization lack of standardization, so can detect whether user interface uses the public color resource specified, and user interface uses and specifies
Public color resource can keep coherent element consistency of colour, facilitate later stage unified amendment, simplify colors list;By mesh
Mark public size to arrange/redirect as differing the biggest exaggeration size value with canonical sized, be unchanged as during subsequent detection exaggerating chi
Very little elemental areas is realization lack of standardization, so can detect whether user interface uses the public size resource specified,
User interface uses public size resource to can ensure that the concordance of the size of coherent element, position, facilitates the later stage same to repair
Change, simplify size list;Target font being arranged/redirect as regarding, with specification, the font that effect is totally different, during subsequent detection, font is not
The font region changed is realization lack of standardization, so can detect whether user interface uses the public font specified
Resource, user interface uses public font resource can keep the concordance of interface font style feature, facilitates the later stage unified
Redjustment and modification, simplify literal pool, the space that compressed information Chinese library takies;Target clear degree is arranged/redirects as totally different with normal value
Transparency, during subsequent detection element synthesis, expression effect constant be realization lack of standardization, so can detect user interface
The common transparent angle value resource whether use is specified, user interface uses the common transparent angle value resource specified can keep all circles
Surface element synthesis, the concordance of expression effect, facilitate the later stage to unify redjustment and modification;Part or all of by open community set
Resource value arranges/redirects as the resource value totally different with specification, includes above-mentioned highlighted mark, exaggeration size, wind in this set
The font etc. that lattice are totally different, is realization lack of standardization when subsequent detection depending on effect is constant, so can detect that user interface is
The open community set that no use is specified, user interface uses disclosed community set that application interface can be kept to regard the consistent of effect
Property, facilitate later stage adjustment and maintenance.
The user interface provided the present embodiment below in conjunction with accompanying drawing 4 illustrates depending on the use imitating specification detection device:
As shown in Figure 4, wherein 50 be in terminal display current user interface, wherein, 51 and 52 belong to same
Class title bar, then be target item arranging module 31 already provided with title bar, and highlight this target item, presenting module
Highlight in the case of presenting this target item, do not highlighted if there being one in 51 or 52, then do not highlight
Title bar is the title bar not meeting and regarding effect specification, and wherein, 53 and 54 represent control, whether meets it and sentences depending on effect specification
The disconnected same title bar of method, here is omitted.Concrete, in the present embodiment, target item is set to the setting highlighted
Operation specifically can be configured in user interface system, it is also possible to be based in user interface compilation tool to compiling
Resource is carried out.
Concrete, needing the situation that is set to a more than class user interface target item highlight, for the ease of with
Different types of user interface target item is distinguished at family, in the present embodiment, can arrange different types of target item with different
Form highlights, for example, it may be highlight mode with highlighted mark, it is also possible to be that changing background color is to play
Highlight the purpose of target item.
Present module 32, present described target item for being arranged in described user interface described in basis;
In the present embodiment, present module 32 each target item highlighted by arranging module to be provided with to be highlighted
Display, if it should be noted that the target item being provided with more than one kind needs to highlight, such as, set simultaneously
Put window and two kinds of target item of control to have highlighted, then when arranging, both target item highlight mode
Then different, during display, the effect that this two classes target item presents is the most different.
Specifically can use and pre-set the user interface compiling resource generation user interface highlighting target item,
The described user interface generated highlights described target item, or by receiving the operational order of user, according to institute in instruction
The resource items specified, the resource items specifying user carries out resource replacement/redirection, and the resource items making user specify is prominent aobvious
Show.
Determining module 33, at least one class target item and the target item that do not highlights are defined as not being inconsistent described in will belong to
Close the target item regarding effect specification.
This determines whether module is in, according to each target item presented in user interface, the state of highlighting and determines it
Whether meet and regard effect specification, concrete, in the present embodiment, highlight the standard display shape i.e. meaned and regard in effect specification
State is different, is to highlight the target item of detection by temporarily change depending on the display state of each element in effect specification in this enforcement, from
And make can be the most not identified according to the target item designed depending on criterion standard, thus reach to detect each unit in user interface
Whether element meets the purpose regarding effect specification.
Second embodiment
The present embodiment is on the basis of above-mentioned first embodiment, it is provided that another kind of user interface regards effect specification detection dress
Putting, this device, outside having all constituents that said apparatus 30 is had, also has a following ingredient:
Arrange module 31 specifically to may be used for: be set to highlight by least one class user interface compiling resource items;Should
User interface compiling resource items, for example, it may be mobile terminal main body compilation tool bag is for compiling the compiling resource items of theme,
Based on this, present module 32 and specifically may be used for: use user interface compiling resource to generate user interface, user circle generated
Face highlights target item, concrete, it is possible to use user interface compiling resource generates theme bag, by applying in systems
This theme bag, thus highlight target item in the user interface of each application of terminal.
Further, the device 30 in the present embodiment can also include: parsing module, for by be detected at least one
Before class user interface target item is set to highlight, user interface is resolved, obtain each user interface element and drawn
Resource items, herein, can be that each user interface to be detected is resolved;Receiver module, is used for receiving user and sends out
The instruction gone out, specifies the resource items being cited in this instruction;Based on this, arrange module 31 specifically for: user is specified
Resource items is set to highlight;Present module 33 and carry out resource replacement/reset specifically for: the resource items that user is specified
To, the resource items making user specify is the most highlighted.
Wherein, above-mentioned arrange module 31 specifically for: be set to different prominent aobvious by belonging to different types of target item
Showing form, in the present embodiment, different types of user interface target item can be specifically present in user interface visual each
Element, such as, the control such as title bar, switch, edit box, similar window, the background in region, the icon mark etc. of same application,
And word, the color etc. of background lines, the width of homogeneous region, height, word font size, font and transparency.Based on this, will belong to
It is set to the different forms that highlights in different types of target item specifically can include, uses color or prompting mark etc. no
Highlight with display mode and present different types of target item, to distinguish different types of target item.Concrete, at the present embodiment
In, it is set to highlight by least one class user interface target item to be detected, specifically can include at least one side following
Formula:
It is set to target item, with highlighted mark, the color of target item be set to the color preset, by target item
Size is amplified to pre-set dimension, the font of change target item and the transparency of change target item.
Illustrate how to use the different modes that highlights to present in the user interface below by way of way of example
Target item:
The background resource of the element in whole or in part of public for target control is replaced/is redirected into highlighted mark (as
There is the color of high resolution, word, icon indicia) background.Based on this, during subsequent detection, coherent element is not with above-mentioned
The control of highlighted mark is realization lack of standardization;Public picture resource to be checked is replaced/redirected into carrying highlighted mark (such as height
The color of resolution, word, pattern mark) picture.When subsequent detection without the picture/icon elemental areas of highlighted mark
It is realization lack of standardization;Public for target color resource is arranged/redirects the color into band height resolution, unchanged during subsequent detection
Color elements region for high resolution is realization lack of standardization;Public for target size is arranged/redirects as with canonical sized
Differing the biggest exaggeration size value, the elemental areas being unchanged as exaggerating size during subsequent detection is realization lack of standardization;By target
Font arranges/redirects as regarding, with specification, the font that effect is totally different, and the font region that during subsequent detection, font does not changes is
Realization lack of standardization;Target clear degree is arranged/redirect into the transparency totally different with normal value, element synthesis during subsequent detection,
What expression effect was constant is realization lack of standardization;Part or all of resource value in open community set is arranged/redirects and is
The resource value totally different with specification, includes above-mentioned highlighted mark, exaggeration size, the font etc. of different style, rear in this set
Regard during continuous detection to imitate and constant be realization lack of standardization.
3rd embodiment
Present embodiments providing a kind of user interface and regard effect specification detection method, Fig. 5 is the flow chart of the method, the method
User interface for realizing providing in above-mentioned first embodiment and the second embodiment regards effect specification detection device, such as Fig. 5 institute
Showing, the method specifically can include processing as follows:
Step 401: according to the first instruction received, be set to dash forward by least one class user interface target item to be detected
Go out display;
In this step, this first instruction received specifically can be sent by user, can include in this instruction
The target item to be detected that user specifies.
In the present embodiment, user interface target item arrange be each visual elements presented in user interface, including but not
It is limited to: the controls such as title bar, switch, edit box, similar window, the background in region, the icon mark etc. of same application, Yi Jiwen
Word, the color etc. of background lines, the width of homogeneous region, height, word font size, font and transparency.
Step 402: present described target item according to described being arranged in described user interface;
In the present embodiment, present target item in the user interface specifically can change in user interface resource compiling bag
Compiling resource items, after generating user interface, the target item presented in user interface is the state highlighted after arranging, also
It may be that the attribute the most directly changing target item is arranged so that target item highlights in the user interface.
Step 403: above-mentioned at least one class target item will be belonged to and the target item that do not highlights is defined as not meeting and regards effect
The target item of specification.
In the present embodiment, target item to be detected is highlighted primarily to detect each target in user interface
The following index of item:
Whether user interface uses the public control specified, and whether user interface uses the public picture resource specified, and uses
Whether interface, family uses the public color resource specified, and whether user interface uses the public size resource specified, user interface
The public font resource whether use is specified, whether user interface uses the common transparent angle value resource specified, and user interface is
The open community set that no use is specified.
Owing to, in above-mentioned steps 401, user has specified that target item to be detected, therefore, present target item prominent
After, if this target item is when being originally designed, be all according to as be designed depending on criterion standard, then belong to such
Target item all show so that the same mode that highlights is set, therefore, if belonging to such a certain item or a few item
Target item also shows in the same mode that highlights being set, then may determine that a certain item or certain not highlighted
Several target item are not followed regarding criterion accurate when initial design, and this target item needs to be recorded, in order to follow-up modify it,
So that same class target item can present to user according to same visual style, and facilitate follow-up adjustment and maintenance.Its
In, it is set to highlight by least one class user interface target item to be detected and specifically may include that at least one class user
Interface compiling resource items is set to highlight;Based on this, present described target according to described being arranged in described user interface
Item specifically may include that use user interface compiling resource generates user interface, highlights mesh in the user interface generated
Mark item.
The method that the present embodiment provides can also include: at least one class user interface target item to be detected is being set to
Before highlighting, described user interface is resolved, obtain each user interface element resource referred to by item;Receive user
The resource items being cited specified;Based on this, it is set to highlight by the attribute of at least one class user interface target item to be detected
Display, including: resource items user specified is set to highlight;Based on this, it is arranged on described user interface according to described
In present described target item, including: the resource items specifying user carries out resource replacement/redirection, makes the resource that user specifies
Item is highlighted.
Wherein, it is set to highlight by least one class user interface target item to be detected, including: will belong to the most of the same race
The target item of class is set to different highlight form.
Wherein, be set to highlight by least one class user interface target item to be detected, its set-up mode include with
At least one mode lower or the combination of several ways: be set to target item, with highlighted mark, the color of target item be arranged
For default color (can be the color that color saturation is higher), the size of target item is amplified to pre-set dimension, changes institute
State the font (referred to change is depending on the default font in criterion standard) of target item and change the transparency of described target item (herein
Refer to that change regards the acquiescence transparency during criterion is noted).
The user interface that the present embodiment provides regards effect specification detection method without relying on complicated information extraction utility, simply
Easy-to-use;Target can be checked with on-demand customization theme bag/dynamic selection simultaneously, can be for different check items, it is achieved group flexibly
Close multiplexing;Meanwhile, the method also has high visual identity degree, high-contrast, the simple feature of use, facilitates inspection personnel quick
Investigation, reduces the dependence to other complicated checking tools, improves and check efficiency.
4th embodiment
The present embodiment is based on resources such as the icon in subject resource, background picture, color, size, font size, transparencys, logical
Cross and dynamically redirect resource value.Strengthen vision difference when user interface target item is detected, highlight target item, convenient fast
Speed investigation, reduces the dependence to other complicated checking tools, improves detection efficiency.(it should be noted that with master in the present embodiment
Illustrate as a example by topic bag, but the present invention is not limited in theme bag compilation tool, it is also possible to be other compiling works such as webpage
Tool).
The present embodiment mainly realizes whether meeting user interface examining depending on effect specification of specifying by two ways
Surveying, this two ways is realized by two flow processs as shown in Figure 6 respectively, first introduces by the way of dynamically detection
Whether user interface is met specify depending on effect specification detect flow process (flow process in the left side shown in Fig. 6, i.e. scheme acceptance of the bid
Know the flow process having label 1):
Regard effect specification making a selection of reference frame demo, this demo previously according to standard is an application program, employs
Standard regards public module resource specified in effect specification.Possess and detection target item each in user interface is carried out resource resolution
Function, can parse the basic resources item cited in selected user interface visual object object, including visual object
Belonging to class, size is quoted, color is quoted, picture is quoted, character script, transparency are quoted and property set is quoted.
Use the specific region in the selected user interface of this selection of reference frame application, such as public control title bar.Benchmark selects
Select application class name, the size of title bar are quoted, color is quoted, picture is quoted, character script, transparency are quoted, property set draws
With etc. parse and present to user, check for user, user select one of which or multinomial as check target.Determine inspection
Target high bright values is set after looking into target further, by system (that is, the operating system that user interface is run) to target to be detected
Item carries out resource replacement/redirection, and updating system regards effect.The most i.e. switch to other application, observe the title of each application
Hurdle regards effect, by not switching to the highlighted application depending on effect to be labeled as realization lack of standardization in title bar, transfers to developer to confirm amendment,
I.e. achieve user interface and regard the detection of effect specification.
Hereinafter the present embodiment is providing the mode of employing Static Detection detect whether user interface meets regarding effect specification
Flow process (as in Fig. 6 right side shown in flow process, figure is i.e. identified with the flow process of label 2) illustrate:
In theme bag compilation tool, select detection target item, such as common subject matter color, application default background, title bar, open
The controls such as pass, edit box, similar window, the background in region, the icon mark etc. of same application, and word, background lines
Color etc., the width of homogeneous region, height, word font size, font and transparency etc..Compiling resource items corresponding in theme bag is repaiied
Change the value of statistical indicant that identification degree is high into, for example, it is possible to include revising mode:
The background resource of the element in whole or in part of public for target control is replaced/is redirected into highlighted mark (as
There is the color of high resolution, word, icon indicia) background.Public picture resource to be checked is replaced/redirected into band
The picture of highlighted mark (such as the color of high resolution, word, pattern mark).Public for target color resource is arranged/redirects
Color for band height resolution;Public for target size is arranged/redirect into differing the biggest exaggeration size value with canonical sized,
Target font is arranged/redirects into regarding, with specification, the font that effect is totally different;Target clear degree is arranged/redirects into normal value
Totally different transparency;Part or all of resource value in open community set is arranged/redirects as the resource totally different with specification
Value, includes above-mentioned highlighted mark, exaggeration size, the font etc. of different style in this set.
Based on amended compiling resource items, generate theme bag, by the theme bag import system of generation and apply, respectively
Compiling item correspondence visual object can highlight, and that observes each application regards effect, does not switches to the highlighted application regarding effect, for not
Specification realizes, and transfers to developer to confirm amendment.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row
Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and
And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device
Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this
The process of key element, 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-described embodiment side
Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of
The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words
The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take
Business 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 this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.