CN106909366A - The method and device that a kind of widget shows - Google Patents
The method and device that a kind of widget shows Download PDFInfo
- Publication number
- CN106909366A CN106909366A CN201710004129.3A CN201710004129A CN106909366A CN 106909366 A CN106909366 A CN 106909366A CN 201710004129 A CN201710004129 A CN 201710004129A CN 106909366 A CN106909366 A CN 106909366A
- Authority
- CN
- China
- Prior art keywords
- display
- widget
- widgets
- type
- interface
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4488—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the method and device that a kind of widget shows, electronic equipment obtains the configuration information of one or more widgets, the configuration information includes the interface type matching identification of one or more of widgets, and the interface type matching identification is used to indicate the match information of the display type with the interface of electronic equipment display type of the mark correspondence widget;Interface type mark according to one or more of widgets, determines one or more widgets that the widget display type matches with the interface of electronic equipment display type;Described one or more widgets for matching are shown according to order set in advance.The method and device provided by the present invention, solve the problems, such as in the prior art widget do not have United Dispatching and management cause type show in a jumble it is unordered, unified user interface type, simplify the display of user interface, the attractive in appearance of user interface is improved, Consumer's Experience is improve.
Description
Technical field
The present invention relates to areas of information technology, the method and device that more particularly to a kind of widget shows.
Background technology
With developing rapidly for mobile Internet, the appearance of widget (Widget) allows the development of mobile Internet to improve again
In one stage, Widget can also be referred to as microtec.Widget technologies are a kind of based on java script language JavaScript
Application platform, Widget uses the Web technological development of standard, such as hypertext markup language (HTML, Hyper Text
Mark-up Language), CSS (CSS, Cascading Style Sheets), JavaScript etc..It is mobile
Widget is a kind of compact applications run on electronic equipment, and it follows the Framework System of desktop widget, typically
A file is packaged into by client downloads and is installed and used.User by Widget can enjoy news reading, weather information,
The business such as picture browsing.Certainly, user is while this business of enjoyment Widget, it is also possible to which the idea according to oneself makes each
The Widget of formula various kinds.
At present, user can make Widget, such as software development work by using some similar SDKs
Tool bag (Software Development Kit, SDK).And the Widget that will can be produced is loaded into electronic equipment operation.
However, for having the user interface for electronic devices of Uniting style/type, widget miscellaneous
It is very cumbersome due to without unified management and scheduling, after being loaded into terminal, causing terminal interface to show mixed and disorderly unordered, use
Family experience is low.
The content of the invention
The method and device that a kind of widget shows is the embodiment of the invention provides, widget in the prior art is solved and is not united
One scheduling and management cause type to show mixed and disorderly unordered problem, have unified user interface type, simplify the aobvious of user interface
Show, improve the attractive in appearance of user interface, improve Consumer's Experience.
A kind of method that widget shows is the embodiment of the invention provides, including:
Electronic equipment obtains the configuration information of one or more widgets, and the configuration information includes one or more of micro-
The interface type matching identification of part, the interface type matching identification be used for indicate it is described mark correspondence widget display type with
The match information of the interface of electronic equipment display type;
Interface type mark according to one or more of widgets, determines the widget display type and the electronics
One or more widgets that equipment interface display type matches;
Described one or more widgets for matching are shown according to order set in advance.
Correspondingly, the embodiment of the present invention additionally provides the device that a kind of widget shows, including:
Acquisition module, the configuration information for obtaining one or more widgets, the configuration information include it is one or
The interface type matching identification of multiple widgets, the interface type matching identification is used to indicate the display of the mark correspondence widget
The match information of type and the interface of electronic equipment display type;
Determining module, for being identified according to the interface type of one or more of widgets, determines that the widget shows
One or more widgets that type matches with the interface of electronic equipment display type;
Display module, for showing described one or more widgets for matching according to order set in advance.
Correspondingly, the embodiment of the present invention additionally provides a kind of electronic equipment, including:
At least one or more processor;And,
Memory;Wherein,
The memory storage has can be by the instruction repertorie of at least one or more computing device, the instruction journey
Sequence is arranged to perform:
The configuration information of one or more widgets is obtained, the configuration information includes the interface of one or more of widgets
Type matching is identified, and the interface type matching identification is used to indicate the display type and the electronics of the mark correspondence widget
The match information of equipment interface display type;
Interface type mark according to one or more of widgets, determines the widget display type and the electronics
One or more widgets that equipment interface display type matches;
Described one or more widgets for matching are shown according to order set in advance.
By method provided in an embodiment of the present invention, device and electronic equipment, identified by the interface type for getting, really
Make the widget in interface of electronic equipment type matching and shown, solving widget in the prior art does not have United Dispatching
Cause type to show mixed and disorderly unordered problem with management, unified user interface type, simplify the display of user interface, lifted
User interface it is attractive in appearance, improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the example electronic device composition structure chart of the embodiment of the present invention;
Fig. 2 is the exemplary widget pattern diagram of the embodiment of the present invention;
Fig. 3 A are an exemplary multifunctional equipment block diagrams of the embodiment of the present invention;
Fig. 3 B are the another exemplary multifunctional equipment block diagrams of the embodiment of the present invention;
Fig. 3 C are the exemplary multifunctional equipment perspective views of the embodiment of the present invention;
Fig. 4 A are the another exemplary electronic devices structure figures of the embodiment of the present invention;
Fig. 4 B are the another exemplary electronic equipment composition structure charts of the embodiment of the present invention;
Fig. 5 is the widget display methods flow chart of the embodiment of the present invention;
Fig. 6 is another widget display methods flow chart of the embodiment of the present invention;
Fig. 7 is the widget display device schematic diagram of the embodiment of the present invention.
Specific embodiment
The present invention is described in detail with implementation method below in conjunction with the accompanying drawings.
Fig. 1,2,3A-3C and Fig. 4 A-4B illustrate example devices.
To in the accompanying drawings illustrate the example of these embodiments referring in particular to embodiment now.In it the following specifically describes, explain
Many details are stated to provide the thorough understanding to the embodiment described by each.However, those of ordinary skill in the art
It will be clear that, the embodiment described by each can be still realized in the case of without these details.In other examples, not yet
Well known method, process, component, circuit and network are specifically described in order to avoid unnecessarily obscuring the aspect of embodiment.
Also it will be understood that, although the grade of term first, second is used to describe various key elements in some instances herein, but
These key elements should not be limited by these terms.These terms are only used for distinguishing a key element and another key element.Such as first contact
Can be referred to as the second contact and second contact be similarly properly termed as the first contact and without departing from the implementation described by each
The scope of example.First contact and the second contact are all contacts, but they are not identical contacts, unless context is clear and definite in addition
Point out.
Term used in the description of the embodiment of various descriptions is only used for describing specific embodiment herein, not
It is intended to limitation.Singulative " one ", " one used in the description of the embodiment of various descriptions and appended claims
It is individual " and " described " be intended to also include plural form, unless context clearly provides opposite instruction.It is also understood that being made herein
Term "and/or" refer to and cover any project in one or more entries of the associated project listed and
All possible combination.It will be further appreciated that term " including ", " having ", "comprising" and/or " containing " in this manual
Define feature, entirety, step, operation, element and/or partial presence when using, but be not precluded from one or more other
The presence or addition of feature, entirety, step, operation, element, component and/or combinations thereof.As used herein, term
" if " depend on context and be alternatively read as representing " ... when " or " once ... if " or " in response to determining " or
" in response to detection ".Similarly, phrase " if it is determined that " or " if detecting [certain condition or event] " depend on it is upper and lower
Text be alternatively read as representing " once it is determined that, then " or " in response to determining " or " once detect [certain condition or thing
Part] " or " in response to detecting [certain condition or event] ".
To electronic equipment, the user interface for this equipment and the reality for the associated procedure using this kind equipment
Example is applied to be described.In certain embodiments, electronic equipment is portable communication device (such as mobile phone, TV or individual
Computer PC), it also includes other functions, such as PDA and/or music player functionality.Electronic equipment such as has Touch sensitive surface
Other portable electronics of the laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc
Equipment can also be used.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but
Desktop computer with Touch sensitive surface (for example, touch-screen display and/or touch pad).
In the following discussion, a kind of electronic equipment including display and Touch sensitive surface is described.It is, however, to be understood that
It is that the computing device can include one or more other physical user-interface devices, such as physical keyboard, mouse and/or behaviour
Vertical pole.The equipment generally supports various applications, one or more applications in such as following application:Take notes application, draw
Application, disk are created using, demonstration application, text processing application, website write application, spreadsheet application, game application, phone
Using, video conference application, e-mail applications, instant message application, take exercise support application, photo management application, number phase
Machine application, digital video recorder application, web page browsing application, digital music player application and/or video frequency player application.
The various applications performed in equipment optionally use at least one public physical user-interface device, such as Touch sensitive surface.Touch
The one or more functions of sensitive surfaces and in equipment show corresponding informance from an application to it is next application and/or
Alternatively adjusted in each self-application and/or changed.In this way, the public physical structure (such as Touch sensitive surface) of equipment leads to
User interface directly perceived, transparent for a user is crossed alternatively to support various applications.
Fig. 1 is the block diagram of the portable multifunction device 100 with touch-sensitive display system 112 in the embodiment of the present invention.
Touch-sensitive display system 112 can be referred to as " touch-screen ", and can be often simply referred to as touch-sensitive display.Equipment 100 includes
Memory 102 (it alternatively includes one or more computer-readable recording mediums), Memory Controller 122, or many
Individual processing unit (CPU) 120, peripheral interface 118, RF circuit arrangements 108, voicefrequency circuit device 110, loudspeaker 111, microphone
113rd, input/output (I/O) subsystem 106, other inputs or control device 116 and outside port 124.Equipment 100 is optional
Ground includes one or more optical pickocffs 164.Equipment 100 alternatively include for testing equipment 100 (for example, Touch sensitive surface,
The touch-sensitive display system 112 of such as equipment 100) on contact strength one or intensity sensor 165.Equipment 100 is alternatively
Including exporting maker 167 (for example, such as setting for one or more tactile for producing tactile to export on the appliance 100
Tactile output is produced on the Touch sensitive surface of the touch pad 335 of standby 100 touch-sensitive display system 112 or equipment 300).These groups
Part is communicated alternately through one or more communication bus or signal line 103.
As used in the specification and in the claims, term " tactile output " is referred to the touching using the user by user
The equipment that detects of sense relative to equipment the physical displacement of front position, the component (for example, Touch sensitive surface) of equipment relative to
The displacement of physical displacement or component relative to the center of gravity of equipment of another component (for example, shell) of equipment.For example, in equipment
Or the component of equipment is contacted with to touching sensitive user surface (for example, other parts of finger, palm or user's hand)
In the case of, the tactile output produced by physical displacement will be read as corresponding to equipment or the apparatus assembly experienced by user
Physical characteristic in change sense of touch.For example, Touch sensitive surface is (for example, in touch-sensitive display or Trackpad (trackpad)
In) movement " the pressing click " or " lifting click " of physical actuation device button is alternatively read as by user.In some feelings
Under condition, even if when in the absence of the physical actuation being associated with the Touch sensitive surface that (such as displacement) is physically pressed by the movement of user
During the motion of device button, user will experience sense of touch, such as " press click " or " lifting click ".As another example, i.e.,
Make when the smoothness of Touch sensitive surface is not changed in, touch-sensitive table is alternatively understood or is felt as in the motion of Touch sensitive surface by user
" roughness " in face.Although the personalized sensory perception by user is influenceed to this deciphering for touching by user,
It is the sensory perception that there are many touches common to most of users.Therefore, used when tactile output is described as corresponding to
During specific sensory perception (for example, " lifting click ", " pressing click ", " roughness ") at family, unless opposite instruction is clearly given,
Otherwise produced tactile output will correspond to equipment or the physical displacement of its component, its by described by generation for typical case
(or average) user sensory perception.
It should be appreciated that equipment 100 is only an example of portable multifunction device, and equipment 100 alternatively has
Component more more or less than shown component, alternatively combines two or more components, or alternatively has different components
Configuration is arranged.Each component shown in Fig. 1 can be in hardware, software, firmware or its combination, including one or more
Realized in signal transacting and/or application specific integrated circuit.
Memory 102 alternatively includes high-speed random access memory, and alternatively also includes nonvolatile memory,
Such as one or more disk storage equipments, flash memory device or other non-volatile solid state memory equipment.Equipment 100 other
Component (such as (one or more) CPU 120 and peripheral interface 118) is to the access of memory 102 alternately through memory control
Device processed 122 is controlled.
Peripheral interface 118 can be used for the input of equipment and output periphery coupled to the Hes of (one or more) CPU 120
Memory 102.The various software programs and/or instruction stored in memory 102 are run or performed to one or more processors 120
Collection, to perform for the various functions of equipment 100 and for processing data.In certain embodiments, peripheral interface 118, (one
Individual or multiple) CPU120 and Memory Controller 122 alternatively realize on one single chip (such as, chip 104).At some
In other embodiment, they are alternatively realized on separate chips.RF (radio frequency) circuit arrangement 108 is received and sends RF letters
Number, also referred to as electromagnetic signal.RF circuit arrangements 108 convert the electrical signal to electromagnetic signal/convert electromagnetic signal into telecommunications
Number, and communicated with communication network and other communication equipments via electromagnetic signal.RF circuit arrangements 108 alternatively include
Known circuit arrangement for performing these functions, including but not limited to:Antenna system, RF transceivers, one or more amplifications
Device, tuner, one or more oscillators, digital signal processor, CODEC chipsets, subscriber identity module (SIM) are blocked, are deposited
Reservoir etc..RF circuit arrangements 108 alternately through radio communication, with such as also referred to as internet, the Intranet of WWW (WWW)
And/or the wireless network and other equipment of such as cellular telephone network, WLAN (LAN) and/or Metropolitan Area Network (MAN) (MAN)
Communicated.Radio communication optionally uses any one of various communication standards, agreement and technology, including but not limited to:
Global system for mobile communications (GSM), enhanced data gsm environment (EDGE), high-speed downlink packet access (HSDPA), height
Speed uplink packet access (HSUPA), only evolution data (EV-DO), HSPA, HSPA+, double small area HSPA (DC-HSPDA),
Long Term Evolution (LTE), near-field communication (NFC), WCDMA (W-CDMA), CDMA (CDMA), time division multiple acess
(TDMA), bluetooth, Wireless Fidelity (Wi-Fi) (for example, IEEE 802.11a, IEEE 802.11ac, IEEE 802.11ax,
IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), voice over internet protocol (VoIP), Wi-MAX, be directed to
The agreement (for example, internet message access protocol (IMAP) and/or post office protocol (POP)) of Email, instant message (example
Such as, scalable message transmitting-receiving and Presence Protocol (XMPP), the Session initiation Protocol extended for instant message and field balancing
(SIMPLE), instant message and Site Service (IMPS)) and/or Short Message Service (SMS), or any other appropriate communication
Agreement, including untill this document date of filing also it is untapped go out communication protocol.Voicefrequency circuit device 110, loudspeaker 111 and wheat
Gram wind 113 provides COBBAIF between user and equipment 100.Voicefrequency circuit device 110 receives audio number from peripheral interface 118
According to, the voice data is converted into electric signal, and to the transmission of loudspeaker 111 electric signal.Loudspeaker 111 turns the electric signal
Change the audible sound wave of the mankind into.Voicefrequency circuit device 110 also receives the electric signal changed from sound wave by microphone 113.Audio
Circuit arrangement 110 converts the electrical signal to voice data and interface 118 transmits the voice data for processing to the periphery.Audio
Data obtained from memory 102 and/or RF circuit arrangements 108 alternately through peripheral interface 118 and/or to memory 102 and/
Or RF circuit arrangements 108 are transmitted.In certain embodiments, voicefrequency circuit device 110 also includes earphone jack (for example, in Fig. 2
212).In voicefrequency circuit device 110, (what is such as only exported receives earphone jack with removable audio input/output ancillary equipment
Words device can export (for example, receiver of monaural or ears) and can be input into the earphone of (for example, microphone)) between provide and connect
Mouthful.
I/O subsystems 106 by the input/output ancillary equipment in equipment 100, (control by such as touch-screen 112 and other inputs
Control equipment 116) coupled to peripheral interface 118.I/O subsystems 106 alternatively include display controller 156, optical pickocff
Controller 158, intensity sensor controller 159, tactile feedback controller 161 and for other input or control device one
Individual or multiple input controllers 160.One or more input controllers 160 receive electricity from other inputs or control device 116
Signal/send electric signal to other inputs or control device 116.Other inputs or control device 116 are alternatively pressed including physics
Button (for example, push button, rocker button etc.), dial, slide switch, control stick, click type rotating disk etc..In some alternative realities
In applying example, any item that (one or more) input controller 160 is alternatively coupled in the following (or one all do not have
Have):The pointing device of keyboard, infrared port, USB port and such as mouse etc.One or more buttons alternatively include
For the up/down button of the volume control of loudspeaker 111 and/or microphone 113.One or more of buttons are alternatively
Including push button.
Touch-sensitive display system 112 provides input interface and output interface between equipment and user.Display controller 156
Electric signal is received from touch-sensitive display system 112 and/or send electric signal to touch-sensitive display system 112.Touch-sensitive display system 112 to
User shows visual output.The visual output alternatively includes any group of figure, text, icon, video and above-mentioned items
Close (being referred to as " figure ").In certain embodiments, some or all of visual outputs correspond to user interface object.Touch-sensitive display
System 112 have based on sense of touch (haptic) and/or tactile (tactile) contact and from user receive input Touch sensitive surface,
Sensor or sensor collection.Touch-sensitive display system 112 and display controller 156 are (together with any associated in memory 102
Module and/or instruction set) the contact any movement or interruption of contact (and) in touch-sensitive display system 112 is detected, and will
The contact for detecting is converted into the user interface object shown in touch-sensitive display system 112 (for example, one or more soft are pressed
Key, icon, webpage or image) interaction.In some exemplary embodiments, connecing between touch-sensitive display system 112 and user
Contact corresponds to the finger or stylus of user.
Although using other Display Techniques, touch-sensitive display system 112 to optionally use LCD (liquid crystals in other embodiment
Display screen) technology, LPD (light emitting polymer displays) technologies or LED (light emitting diode) technology.Touch-sensitive display system 112 and aobvious
Show that device controller 156 optionally uses any one of various touch-sensing technologies of currently known or later exploitation and connect to detect
Any movement or interruption touched and contact, these touch-sensing technologies are included but is not limited to:It is capacitive, resistive, red
Outer and surface acoustic wave technique, and other proximity sensor arrays or for determining or many with touch-sensitive display system 112
The other elements of individual contact point.In one exemplary embodiment, projection-type mutual capacitance detection technology is used.Touch-sensitive display system
112 alternatively have the video resolution more than 100dpi.In certain embodiments, touch-screen video resolution is more than 400dpi
(for example, 500dpi, 800dpi or bigger).User optionally uses any appropriate object of such as stylus, finger or the like
Or adjunct is contacted with touch-sensitive display system 112.In certain embodiments, user interface is designed to by based on finger
Contact and gesture carry out work, this compared with the input based on stylus, because finger contact area on the touchscreen is bigger
Possible accuracy is lower.In certain embodiments, the rough input based on finger is converted into accurate pointer/cursor by equipment
Position or order, to perform the desired action of user.
In certain embodiments, in addition to a touch, equipment 100 alternatively also includes for activating or deactivating specific
The touch pad (not shown) of function.In certain embodiments, touch pad is the touch sensitive regions of equipment, the touch sensitive regions and touch-screen
Difference, it does not show visual output.Touch pad is optionally the Touch sensitive surface that is separated with touch-sensitive display system 112 or by touching
Touch the extension of the Touch sensitive surface that screen is formed.
Equipment 100 also includes the power-supply system 162 for being powered to various assemblies.Power-supply system 162 alternatively includes electricity
Management system, one or more power supply (for example, battery, alternating current (AC)), charging system, power failure detection circuit, electricity
Source converter or phase inverter, power supply status indicator (for example, light emitting diode (LED)) and with portable set in power supply
Generation, manage and distribute any other relevant component.
Equipment 100 alternatively also includes one or more optical pickocffs 164.Fig. 1 shows and is coupled to I/O subsystems
The optical pickocff of the controller 158 of the optical pickocff in 106.(one or more) optical pickocff 164 alternatively includes
Charge-coupled image sensor (CCD) or complementary metal oxide semiconductors (CMOS) (CMOS) phototransistor.(one or more) optical sensing
Device 164 is received by the light from environment of one or more lens projects, and converts the light to the data of representative image.With
Image-forming module 143 (also referred to as camera model) is combined, and (one or more) optical pickocff 164 alternatively captures static map
Picture and/or video.In certain embodiments, optical pickocff is located at the back side of equipment 100, touch-sensitive display system positive with equipment
Unite 112 relative so that touch-screen is activated the view finder obtained for use as static and/or video image.In certain embodiments,
Another optical pickocff is located at the front of equipment so that obtained when other video conference participants that user is checked on touch-screen
User images (for example, for autodyning, for video conference).
Equipment 100 alternatively also includes one or more contact strength sensor 165.Fig. 1 shows and I/O subsystems
The contact strength sensor of the coupling of intensity sensor controller 159 in 106.(one or more) contact strength sensor 165
Alternatively include one or more piezoresistive strain instrument, capacitive force sensor, electrostatic force snesor, piezoelectric force transducer, optics
Force snesor, capacitive touch-sensitive surface or other intensity sensors are (for example, the power for measuring contact on Touch sensitive surface
The sensor of (or pressure)).(one or more) contact strength sensor 165 from environment receive contact strength information (for example,
Pressure information or the replacement for pressure information).In certain embodiments, at least one contact strength sensor and touch-sensitive table
Face (for example, touch-sensitive display system 112) juxtaposition is close to.In certain embodiments, at least one contact strength sensor position
In on the back side of equipment 100, it is relative with the positive touch-sensitive display system 112 positioned at equipment 100.
Equipment 100 alternatively also includes one or more proximity transducers 166.Fig. 1 is shown coupled to peripheral interface 118
Proximity transducer 166.Alternatively, proximity transducer 166 is coupled with the input controller 160 in I/O subsystems 106.One
In a little embodiments, when multifunctional equipment is near the ear of user (for example, when user just carries out call), approach
Sensor is closed and disables touch-sensitive display system 112.
Alternatively, equipment 100 also includes that one or more tactile exports maker 167.Fig. 1 shows and I/O subsystems
The tactile output maker of the coupling of tactile feedback controller 161 in system 106.(one or more) tactile exports maker 167
Alternatively include one or more electroacoustic equipment (such as, loudspeaker or other audio-frequency assemblies) and/or convert electric energy to
Linear movement electromechanical equipment (such as, motor, solenoid, electrically active polymer, piezo actuator, electrostatic actuator or
Other tactiles output formation component (for example, converting the electrical signal to the component of the tactile output in equipment)).In some embodiments
In, (one or more) tactile exports maker 167 and is instructed from the reception tactile feedback generation of tactile feedback module 133, and
The sense of touch that generation can be experienced by the user of equipment 100 in equipment 100 is exported.In certain embodiments, at least one tactile is defeated
Go out maker and Touch sensitive surface (for example, touch-sensitive display system 112) juxtaposition or close, and alternately through vertically (example
Such as, in the surface of equipment 100/outer) or laterally (reciprocal in the surface identical plane with equipment 100) the touch-sensitive table of movement
Face come generate sense of touch output.In certain embodiments, at least one tactile output maker sensor is located at the back of the body of equipment 100
Face, it is relative with the positive touch-screen display 112 positioned at equipment 100.
Equipment 100 alternatively also includes one or more accelerometers 168.Fig. 1 is shown coupled to peripheral interface 118
Accelerometer 168.Alternatively, accelerometer 168 can be coupled with the input controller 160 in I/O subsystems 106.At some
In embodiment, the analysis based on the data to being received from one or more accelerometers and will with longitudinal view or transverse views
Presentation of information is on touch-screen display.In addition to (multiple) accelerometer 168, equipment 100 alternatively also includes magnetometer
(not shown) and GPS (or GLONASS or other Global Navigation Systems) receiver (not shown), for acquisition and equipment
100 position and the relevant information of orientation (for example, vertical or horizontal).
In certain embodiments, storage component software in the memory 102 include operating system 126, communication module (or
Instruction set) 128, contact/motion module (or instruction set) 130, figure module (or instruction set) 132, tactile feedback module (or refers to
Order collection) 133, text input module (or instruction set) 134, global positioning system (GPS) module (or instruction set) 135 and application
(or instruction set) 136.Additionally, as shown in Fig. 1 and Fig. 3 A-3B, in certain embodiments, in the storage device of memory 102/overall situation
Portion's state 157.Equipment/overall situation internal state 157 includes one or more in the following:Application state is enlivened, which is indicated
A little application programs (if any) are currently active;Display state, indicates that what application, view and other information takes
The regional of touch-sensitive display system 112;Sensor states, including each sensor of slave unit sets with other inputs or control
Standby 116 information for obtaining;And position with equipment and/or the relevant position of attitude and/or location information.
Operating system 126 (for example, Android, iOS, Darwin, RTXC, LINUX, UNIX, OS X, WINDOWS or
The embedded OS of such as VxWorks) include for controlling and managing general system task (for example, memory management, depositing
The control of storage equipment, power management etc.) various component softwares and/or driver, and promote various hardware and component software it
Between communication.
Communication module 128 promotes the communication with other equipment on one or more outside ports 124, and also including use
The various component softwares of the data received in place reason RF circuit arrangements 108 and/or outside port 124.(the example of outside port 124
Such as, USB (USB), live wire etc.) it is suitable to directly coupled to other equipment or by network (for example, internet, nothing
Line LAN etc.) other equipment is coupled to indirectly.
Contact/motion module 130 is alternatively detected and (is combined with display controller 156) with touch-sensitive display system 112
With the contact of other touch-sensitive devices (for example, touch pad or physics click type rotating disk).Contact/motion module 130 includes various soft
Part component for performing various operations related to the detection of (such as finger or stylus) contact, such as to determine that whether occurring
Contact (for example, detection finger down event), determines contact strength (for example, the power or pressure of contact, or for contacting
Power or pressure replacement), it is determined whether exist contact motion and track across Touch sensitive surface motion (for example, detection
One or more finger-dragging events), and determine contact whether stopped (for example, detection digit up event or contact in
It is disconnected).Contact/motion module 130 receives contact data from Touch sensitive surface.It is determined that (it is represented by a series of contact data) are touched
The movement of point, alternatively including determine the speed (value) of contact, speed (value and direction) and/or acceleration (value and/or
Change on direction).These operations be alternatively applied to single contact (for example, the contact of finger or stylus contact) or
Multiple contacts simultaneously (for example, " multiple point touching "/multiple finger contacts).In certain embodiments, the He of contact/motion module 130
Contact on the detection touch pad of display controller 156.
Contact/motion module 130 is alternatively detected by the gesture of user input.Different gestures has not on Touch sensitive surface
Same contact mode (for example, contact strength of different motions, timing and/or detection).Therefore, gesture is alternately through detection
Specific contact mode and be detected.For example, detection finger tapping down gesture includes:Detection finger down event, be followed by with
Finger down event (for example, in picture mark position) the identical position (or substantially the same position) detection finger is upward
(for example, lifting) event.Used as another example, the finger drag gesture on detection touch-surface includes:Detection finger down thing
Part, be followed by detect one or more finger-dragging events, again be followed by detection finger upwards (lifting) event.Similarly, lead to
Detection is crossed for the contact mode of stylus alternatively to detect touch, dragging for stylus, pull and other gestures.
Figure module 132 includes being used to that each of figure to be rendered and shown in touch-sensitive display system 112 or other displays
Known software component is planted, including for changing the visual effect of shown figure (for example, brightness, transparency, saturation degree, contrast
Degree or other perceptual properties) component.As it is used herein, term " figure " is any right including what can be shown to user
As including but not limited to:It is text, webpage, icon (the such as user interface object including soft-key button), digital picture, video, dynamic
Draw etc..
In certain embodiments, figure module 132 stores the data for representing figure to be used.Each figure is alternatively divided
With corresponding code.Figure module 132 receives one or more codes for specifying figure to be shown from application etc., together with (if
It is in need) coordinate data and other graphic attribute data, screen image data is then generated with defeated to display controller 156
Go out.
Tactile feedback module 133 includes following various component softwares, and the component software is used in response to the use with equipment 100
Family interacts, and generation is used to use (one or more) tactile output maker 167 setting (such as by tactile feedback controller 161)
The instruction of sense of touch output is produced at one or more position on standby 100.
Text input module 134 (it is alternatively the component of figure module 132) provide for by Characters it is various should
In (for example, contact person 137, Email 140, IM 141, browser 147 and need any other application of text input)
Soft keyboard.
GPS module 135 determines the position of equipment, and provides this information and used (for example, being supplied to phone for various applications
138 in location-based during dialing for using, there is provided to camera 143 as picture/video metadata, and is supplied to base
In the application of the service of position, such as weather widget, local Yellow Page widget and map/navigation widget).
Alternatively include with lower module (or instruction set) or its subset or superset using 136:
● contact module 137 (sometimes referred to as address book or contacts list);
● phone module 138;
● video conference module 139;
● email client module 140
● instant message (IM) module 141;
● temper support module 142;
● for the camera model 143 of static and/or video image;
● image management module 144;
● browser module 147;
● calendaring module 148;
● widget module 149, it is alternatively including one or more in the following:Weather widget 149-1, stock are micro-
Part 149-2, calculator widget 149-3, alarm clock widget 149-4, dictionary widget 149-5 and other widgets obtained by user,
And the widget 149-6 that user creates;
● widget builder module 150, the widget 149-6 for making user's establishment;
● search module 151;
● video and musical player module 152, it is alternatively by video player module and musical player module group
Into;
● memorandum module 153;
● mapping module 154;And/or
● Online Video module 155.
The example of the other application 136 being optionally stored in memory 102 includes other text processing applications, other figures
As editor's application, application of drawing, demonstration application, the support application of JAVA functions, encryption, Digital Right Management, speech recognition and
Speech reproduction.
With reference to touch-sensitive display system 112, display controller 156, contact module 130, figure module 132 and text input
Module 134, contact module 137 includes being used to manage (for example, the contact person being stored in memory 102 or memory 370
In the application internal state 192 of module 137) executable instruction of address book or contacts list, including:By one or more
Name is added in address book;One or more names are deleted from address book;By one or more telephone numbers, one or many
Individual e-mail address, one or more physical address or other information are associated with name;Image is associated with name;It is right
Name is classified and is sorted;There is provided telephone number and/or e-mail address to initiate and/or promote by phone 138, regard
Communication of frequency meeting 139, Email 140 or instant message 141 etc..
With reference to RF circuit arrangements 108, voicefrequency circuit device 110, loudspeaker 111, microphone 113, touch-sensitive display system
112nd, display controller 156, contact module 130, figure module 132 and text input module 134, phone module 138 include
To following executable instruction:Typing correspond to telephone number character string, reference address book module 137 in one or
Multiple telephone numbers, modification typing telephone number, dial corresponding telephone number, conversate and when session complete
When disconnect or hang up.As described above, radio communication optionally uses any in various communication standards, agreement and technology
Kind.
With reference to RF circuit arrangements 108, voicefrequency circuit device 110, loudspeaker 111, microphone 113, touch-sensitive display system
112nd, display controller 156, the controller 158 of (one or more) optical pickocff 164, optical pickocff, contact module
130th, figure module 132, text input module 134, contacts list 137 and phone module 138, video conference module 139 are wrapped
Include for initiated according to user instruction, carried out and terminate user and video conference between one or more other participants can
Execute instruction.
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display controller 156, contact module 130, figure mould
Block 132 and text input module 134, email client module 140 include be used in response to user instruction create, send,
Receive and manage the executable instruction of Email.With reference to image management module 144, email client module 140 is caused
It is very easy to create and send the Email with the still image or video image shot by camera model 143.
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display controller 156, contact module 130, figure mould
Block 132 and text input module 134, instant message module 141 include corresponding to the character string of instant message for typing, use
In changing the character of previous typing, for transmitting corresponding instant message (for example, using Short Message Service (SMS) or multimedia
Messenger service (MMS) agreement pushes prompting clothes for the instant message based on phone, or using XMPP, SIMPLE, apple
Business (APNs) or IMPS are for the instant message based on internet), it is instant for receive that instant message and checking received
The executable instruction of message.In certain embodiments, the instant message for transmitting and/or being received be optionally included in MMS and/
Or figure, photo, audio file, video file and/or other annexes supported in enhanced messaging transmitting-receiving service (EMS).
As used in the embodiment of the present invention, " instant message " refers to the message based on phone (for example, using SMS or MMS transmissions
Message) and message (for example, using the message of XMPP, SIMPLE, APNs or IMPS) based on internet.
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display controller 156, contact module 130, figure mould
Block 132, text input module 134, GPS module 135, mapping module 154 and musical player module 146, temper support module
142 executable instructions for including being taken exercise for creating (for example, there is time, distance and/or caloric burn target);With (
In sports equipment and intelligent watch) communication of exercise sensor;Receive the executable instruction of workout sensor data;Calibrating is used for
Monitor the executable instruction of the sensor taken exercise;Select and play the executable instruction for the music taken exercise;And display,
Store and transmit the executable instruction of exercise data.
Passed with reference to touch-sensitive display system 112, display controller 156, (one or more) optical pickocff 164, optics
The controller 158 of sensor, contact module 130, figure module 132 and image management module 144, camera model 143 include being used for
Capture still image or video (including video flowing) and store them in memory 102, change still image or video
Characteristic and/or the executable instruction of still image or video is deleted from memory 102.
With reference to touch-sensitive display system 112, display controller 156, contact module 130, figure module 132, text input
Module 134 and camera model 143, image management module 144 includes for arranging, change (for example, editor) or manipulate, mark,
Delete, present the executable finger of (for example, in digital slide presentation or photograph album) and storage static state and/or video image
Order.
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display system controller 156, contact module 130, figure
Module 132 and text input module 134, browser module 147 includes being used for browsing internet according to user instruction (including searches
Rope, link, reception and display webpage or webpage some and with the annex and alternative document for being linked to webpage) can
Execute instruction.
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display system controller 156, contact module 130, figure
Module 132, text input module 134, email client module 140 and browser module 147, calendaring module 148 include
For being created according to user instruction, being shown, changed and store calendar and the data that are associated with calendar are (for example, calendar, treat
Working item list etc.) executable instruction.
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display system controller 156, contact module 130, figure
Module 132, text input module 134 and browser module 147, widget module 149 are alternatively downloaded and used by user
Compact applications are (for example, weather widget 149-1, stock widget 149-2, calculator widget 149-3, alarm clock widget 149-4 and dictionary
Widget 149-5), or the compact applications (for example, widget 149-6 of user's establishment) created by user.In certain embodiments,
Widget includes HTML (HTML) file, CSS (CSS) files and JavaScript file.In some realities
Apply in example, widget includes XML (Extensible Markup Language) files and JavaScript file (for example, Yahoo!Widget).
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display controller 156, contact module 130, figure mould
Block 132, text input module 134 and browser module 147, widget builder module 150 include being used to create widget (example
Such as, user's specified portions of webpage are transformed into widget) executable instruction.
It is defeated with reference to touch-sensitive display system 112, display system controller 156, contact module 130, figure module 132 and text
Enter module 134, search module 151 include being used for according to user indicate in searching storage 102 with one or more search condition
The text of (for example, one or more users specify search terms) matching, music, sound, image, video and/or alternative document
Executable instruction.
With reference to touch-sensitive display system 112, display system controller 156, contact module 130, figure module 132, audio-frequency electric
Road device 110, loudspeaker 111, RF circuit arrangements 108 and browser module 147, video and musical player module 152 are wrapped
Include allow user download and playback record music and with other audio files of one or more stored in file format (such as
MP3 or AAC files) executable instruction, and including for (for example, in touch-sensitive display system 112 or wirelessly or
On the external display that person is connected via outside port 124) display, present or the executable instruction of playback video in addition.Knot
Touch-sensitive display system 112, display controller 156, contact module 130, figure module 132 and text input module 134 are closed, it is standby
Forget to record module 153 including being created according to user's instruction and manage the executable instruction of memorandum, do list etc..
With reference to RF circuit arrangements 108, touch-sensitive display system 112, display system controller 156, contact module 130, figure
Module 132, text input module 134, GPS module 135 and browser module 147, mapping module 154 include being used to according to user
The data for indicating reception, display, change and storing map and be associated with map are (for example, steering direction;On in certain bits
Put or neighbouring shop and other points of interest data;And other location-based data) executable instruction.With reference to touch-sensitive
Display system 112, display system controller 156, contact module 130, figure module 132, voicefrequency circuit device 110, loudspeaker
111st, RF circuit arrangements 108, text input module 134, email client module 140 and browser module 147, regard online
Frequency module 155 is including allowing user access, browse, receiving (for example, by streaming and/or download), (for example, in touch-screen
On 112 or on the external display for wirelessly or via outside port 124 connecting) the specific Online Video of playback, transmission have
Regarded to the Email of specific Online Video link and the online of one or more file formats that manages such as H.264 etc
The executable instruction of frequency.In certain embodiments, instant message module 141 rather than email client module 140 by with
In the link for being sent to specific Online Video.
Each of above-mentioned identified module and application are both corresponded to for performing one or more work(mentioned above
Can and method described in this application (for example, computer implemented method as herein described and other information processing method)
Instruction set.These modules (i.e. instruction set) need not be realized as single software program, process or module, therefore these moulds
Each subset of block is alternatively combined or rearranged in embodiments.For example, video player module can be with music
Player module is combined as individual module.In certain embodiments, the optionally stored above-mentioned module of memory 102 and data structure
Subset.Additionally, optionally stored other modules and data structure being not described above of memory 102.
In certain embodiments, equipment 100 is to come predetermined in execution equipment exclusively by touch-screen and/or touch pad
The equipment of the operation of function set.Control to set by the main input that touch-screen and/or touch pad are used as operation equipment 100
Standby, the number for being physically entered control device (push button, dial etc.) in equipment 100 is alternatively reduced.
The predetermined function set performed exclusively by touch-screen and/or touch pad is alternatively included between user interface
Navigation.In certain embodiments, when user touches touch pad, by equipment 100 from any user shown in equipment 100
Interface navigation is to main screen, key frame or root menu.In such embodiment, implemented using touch pad " menu button ".
In some other embodiments, menu button is that physics pushes button or other are physically entered control device rather than touch pad.
Fig. 2 is typical widget widget schematic diagrames in the embodiment of the present invention, as shown in Fig. 2 the widget possesses title
201,3 functional areas 202, main body viewing area 203 and contraction/spreading area 204, wherein, main body viewing area 203 can ring
Using the touch event at family, specific operation is performed, when contraction/spreading area 204 is then that user clicks on the region, can produced
The display effect that widget is launched/shunk.
Fig. 3 A are the exemplary multifunctional equipments 300 for having display 340 and Touch sensitive surface 355 according to some embodiments
Block diagram.Equipment 300 needs not to be portable.In certain embodiments, equipment 300 is laptop computer, desktop computer, puts down
Plate computer, multimedia player device, navigation equipment, educational facilities (such as children for learning toy), games system or control
Equipment (for example, household or industrial controller).
Equipment 300 generally include one or more processing units (referred to herein as CPU and processor) 310, one or
Multiple networks or other communication interfaces 360, memory 370 and one or more communication bus for interconnecting these components
320.Communication bus 320 alternatively includes circuit arrangement (the sometimes referred to as core communicated between interconnection and control system component
Piece group).
Equipment 300 includes input/output (I/O) interface 330, and it includes display 340, and it is tactile in certain embodiments
Touch panel type display.In certain embodiments, I/O interfaces 330 are coupled to one by peripheral interface (not showing in figure 3 a)
Or multiple processing units 310 and/or memory 370.I/O interfaces 330 alternatively also include keyboard and/or mouse, and (or other are fixed
Point device) 350 and touch pad 355, in equipment 300 generate tactile output tactile export maker 357 (for example, class
It is similar to (one or more) tactile output maker 167 above with reference to described by accompanying drawing 1) and above with reference to described by accompanying drawing 1
The similar contact strength sensor 359 of (one or more) contact strength sensor 165, the and/or (example of other sensors 361
Such as, optics, acceleration, close, touch-sensitive and/or touch-sensitive sensors).
Memory 370 includes high-speed random access memory, and such as DRAM, SRAM, DDR RAM or other arbitrary accesses consolidate
State memory devices;And alternatively include nonvolatile memory, such as one or more disk storage equipments, optical disc storage
Equipment, flash memory device or other non-volatile solid-state memory devices.Memory 370 alternatively includes away from (one or more)
One or more storage devices of CPU 310.
In certain embodiments, memory 370 is stored and in the memory 102 of portable multifunction device 100 (Fig. 1)
The program of storage, the module program similar with data structure, module and data structure or its subset.Additionally, memory 370 is optional
Non-existent appendage, module and data structure in the memory 102 of ground storage portable multifunction device 100.For example, setting
The standby 300 optionally stored graphics module 380 of memory 370, demonstration module 382, word processing module 384, website establishment mould
Block 386, disk writes module 388 and/or spreadsheet module 390, and the memory 102 of portable multifunction device 100 (Fig. 1)
These modules are not stored alternatively.
In certain embodiments, operating system 126 includes one or more EM equipment modules 127 (also referred to as device drives
Device).One or more EM equipment modules 127 include component software, and the component software operation or control are included in multi-functional
The certain hardware device communicated in equipment 300 or with multifunctional equipment 300 is (for example, the touch pad shown in Fig. 3 A
355th, the Trackpad 332 shown in tactile output maker 357, intensity sensor 359 and other sensors 361 and/or Fig. 3 B
And its component).
Each element in said elements in Fig. 3 A is optionally stored on one or many in aforementioned memory equipment
In individual.Each module in above-mentioned module corresponds to the instruction set for performing function as described above.Above-mentioned module or program are (i.e.
Instruction set) independent software program, process or module need not be implemented as, therefore in embodiments, these modules it is various
Subset is alternatively combined or is otherwise re-arranged.In certain embodiments, memory 370 is optionally stored above-mentioned
The subset of module and data structure.Additionally, the optionally stored add-on module being not described above of memory 370 and data structure.
Fig. 3 B are the block diagrams of the exemplary multifunctional equipment 300 for having display and Touch sensitive surface according to some embodiments.
Fig. 3 B are similar with Fig. 3 A, except the multifunctional equipment 300 in Fig. 3 B includes the Trackpad 332, (example of Trackpad 332
Such as, USB port or other any wired communication protocols are used) peripheral interface 118 is coupled to by outside port 124.Alternatively
Ground, Trackpad 332 can pass through RF circuit arrangements 108 with (for example, using bluetooth or the wireless communication protocol of any other form)
It is coupled to peripheral interface 118.In certain embodiments, Trackpad 332 is located at the outside of the shell for equipment 300.Therewith
Compare, touch pad 355 is typically integrated with shell for equipment 300.In certain embodiments, Trackpad 332 be with
It is integrated in the shell of equipment 300.In certain embodiments, equipment 300 is in (and/or (one or more) tactile of touch pad 355
Output maker 357) outside additionally include Trackpad 332.In certain embodiments, equipment 300 substitute touch pad 355 (and/
Or (one or more) tactile output maker 357) and including Trackpad 332.
Trackpad 332 includes Touch sensitive surface 334.In certain embodiments, Trackpad 332 includes being used to detect in touch-sensitive table
One or more intensity sensors 336 of the intensity of the contact on face 334.In certain embodiments, Trackpad 332 includes one
Or multiple tactile output makers 338.In certain embodiments, Trackpad 332 includes being used to process from the He of Touch sensitive surface 334
The signal of one or more intensity sensors 336 (if including) and one or more tactiles are controlled to export maker 338 (such as
Fruit include) operation one or more processors 342.In certain embodiments, one or more processors 342 are included above
Intensity sensor controller 159 and/or tactile feedback controller 161 on Fig. 1 descriptions.In certain embodiments, one or
Multiple processors 342 are configured as detecting the contact (and any movement or interruption of contact) on Touch sensitive surface 334 and incite somebody to action
The contact of detection is converted into predefined user input, such as predefines and touches touch gestures, and the predefined user input is by software
Using treatment with initiate with touch-sensitive display system 112 show user interface object (for example, one or more soft-key buttons,
Icon, webpage or image) interaction.In certain embodiments, touch pad 355 also include with the Touch sensitive surface of Trackpad 332 and
The similar Touch sensitive surface of one or more processors 342 and one or more processors.
Trackpad 332 include be used to by peripheral interface 18 to one or more transmission information of processing unit 310 and/or from
One or more processing units 310 and/or peripheral interface 118 receive the communication module 344 of instruction.
In certain embodiments, other sensors 346 of the Trackpad 332 including proximity transducer, accelerometer etc..
Fig. 3 C be a diagram that the perspective of the exemplary multifunctional equipment 300 with Touch sensitive surface according to some embodiments
Figure.As shown in FIG. 3 C, equipment 300 can be laptop computer.Equipment 300 includes shell 302, display 340, touch pad
355th, mouse 350, one or more outside ports 124 and one or more inputs or control device 116 are (for example, opening/closing
Close button).Shell 302 forms at least a portion of the external form (exterior) of equipment 300.In certain embodiments, shell 302
At least partially around some components, multiple CPU 310 and memory 370 of such as equipment 300.
In certain embodiments, the multifunctional equipment shown in Fig. 3 C includes that one or more tactiles shown in Fig. 3 A are defeated
Go out maker 357.
Fig. 4 A-B are the schematical electronic devices structure figures that the embodiment of the present invention is given.Wherein, electronic equipment can be
The TV of integral structure or the TV of separate structure.
As shown in Figure 4 A, it is the external structure schematic diagram of electronic equipment 400.The front plane frame 401 of the electronic equipment 400,
Big backboard 402 and small rear shell 403, jointly wrap up wherein display screen 406, and base assembly 404 holds as one kind of display screen 406
Weight structure.By screw locking on display screen 406, the big backboard 402 is arranged on display screen 406 to the front plane frame 401
The back side, the small rear shell 403 is covered in the downside at the back side of display screen 406.The controlling bus 433 are provided with small rear shell 403 to insert
The opening of interface is pulled out, the upside of big backboard 402 is provided with the microstructure 405 set for compatible USB module.The front plane frame
401st, big backboard 402, small rear shell 403, base assembly 404, can use metal, transparent plastic, clear glass or safety glass.
Fig. 4 B are the inside connection diagram of electronic equipment 400.Include three class interfaces:USB transmission interface, HDMI transmission
Interface, and above-mentioned controlling bus 433 input interface.
Further, external multimedia signal sends into graphics processing unit 411 via HDMI coffrets.Image procossing list
Unit 411 includes input signal conversion module, and the dynamic image pro cess chip module being connected with signal conversion module;By
Signal feeding display unit 412 after image procossing, display unit 412 includes screen module, drive module, the screen module
Using but be not limited only to plasma panel, light emitting diode (LED) display screen and LCDs, overlay planes screen and Curved screen.
Fig. 5 is the method flow diagram that the widget in the embodiment of the present invention shows, as shown in figure 5, the method that the widget shows,
Comprise the following steps:
S501. electronic equipment obtains the configuration information of one or more widgets, and the configuration information includes this one or more
The interface type matching identification of widget, the interface type matching identification is used to indicate the display type of mark correspondence widget and be somebody's turn to do
The match information of interface of electronic equipment display type;
Alternatively, before the configuration information that the electronic equipment obtains one or more widgets, the method can also include:
Extension widget Type property field, in adding the interface type matching identification to the widget Type property field.
Wherein, after in addition interface type matching identification to the widget Type property field, the method may be used also
To include:
The interface type matching identification change directive is received, the interface type matching identification numerical value, the interface type is changed
Matching identification is constant.
S502. the interface type mark according to one or more widgets, determines the widget display type and the electronics
One or more widgets that equipment interface display type matches;
Wherein, the interface type mark according to one or more widgets, determines the widget display type and the electronics
One or more widgets that equipment interface display type matches, Ke Yiwei:According to the interface type of one or more widgets
Mark, determines widget display type one or more widgets consistent with the interface of electronic equipment type, the interface type
Identify whether consistent with the interface of electronic equipment display type for indicating the display type of mark correspondence widget.
S503. one or more widgets for matching are shown according to order set in advance.
Alternatively, configuration information also includes widget display information, then show the phase according to order set in advance at this
Before one or more widgets matched somebody with somebody, the method is also included according to the widget display information and the configuration protocol for pre-setting,
One or more widgets for meeting the configuration protocol are filtered out in one or more widgets for matching, this meets configuration protocol
One or more widgets be widget to be shown.
Alternatively, one or more widgets for matching, Ke Yiwei should be shown according to order set in advance:
Obtain the first display height parameter of one or more widgets for matching;
When the first display height is more than the second display height threshold for pre-setting, with the second display height threshold
The display for carrying out one or more widgets for matching as widget height value to be shown is operated, and in widget display interface
Upper to set that a display is highly Zone switched, the region is used to switch the display of one or more widgets highly, the switching it is aobvious
Show that height value is the first display height parameter or the second display height threshold;
When the first display height is less than or equal to the second display height threshold for pre-setting, with the first display height
Value shows one or more widgets for matching.
Alternatively, the display information includes colouring information, heading message and the custom feature key information of widget.
Alternatively, the configuration protocol includes one or more display thresholds for pre-setting, then this shows according to the widget
Information and the configuration protocol for pre-setting, filter out in one or more widgets for matching and meet the one of the configuration protocol
Individual or multiple widgets, Ke Yiwei:
The display information of one or more widgets for matching is obtained, is shown comprising one or more in the display information
Parameter;
The display information of one or more widgets is entered with one or more display thresholds in the configuration protocol successively
Row compares, and filters out corresponding with one or more display thresholds widget in display information, and the widget that this is filtered out was for should
Meet one or more widgets of the configuration protocol.
Alternatively, wherein, this successively by the display information of one or more widgets and the configuration protocol or
Multiple display thresholds are compared, and filter out corresponding with one or more display thresholds widget in display information, can be with
For:One or more display parameters of the display information are compared with one or more display thresholds of the configuration protocol successively
It is right, widget of one or more display parameters in the range of one or more display thresholds is filtered out, it is micro- that this is filtered out
Part is corresponding with one or more display thresholds widget in the display information.
Wherein, if the display information includes multiple display parameters, by one or more display parameters of the display information
One or more display thresholds with the configuration protocol are compared successively, filter out one or more display parameters this one
Widget in the range of individual or multiple display thresholds, Ke Yiwei:Reflecting for display parameters and display threshold is set up according to the configuration protocol
Firing table;The different display parameters are compared with corresponding display threshold in the mapping table respectively, if the different display
When parameter is in the range of corresponding display threshold, determine the corresponding widget of the display information be this filter out one or more
Widget.
Alternatively, this is according to the widget display information and the configuration protocol for pre-setting, or many matched at this
One or more widgets for meeting the configuration protocol are filtered out in individual widget, or:According to the configuration protocol, verify successively
The display information of one or more widgets for matching, filters out correspondence display information and meets the configuration protocol prescribed form
Widget.
By the introduction of above-described embodiment, electronic equipment obtains configuration information, true according to the matching identification in configuration information
Make qualified widget and show, solve the skimble-scamble problem of look & feel, meanwhile, it is qualified micro- filtering out
After part, further carry out filtering out the widget for not meeting protocol specification, remaining widget is shown in a predetermined sequence
Show, it is to avoid because widget configuration information mistake causes display mistake or display styles disunity, improve widget and show correctly
Rate, improves Consumer's Experience.
It should be noted that above method S501-S503 can be solidificated in memory RAM or ROM as programmed instruction
In, and then performed by processor 120 that the programmed instruction can be shown in Fig. 1 or controller 122, it is also possible to shown in Fig. 3 A
Performed by CPU310, or, it is also possible to performed by the graphics processing unit shown in Fig. 4 B.That is, the embodiment of the present invention is determined
Method executive agent include but is not limited to mobile terminal, TV, personal computer, industrial control unit (ICU) etc..
Fig. 6 is the other method flow chart that widget shows in the embodiment of the present invention, as shown in fig. 6, the embodiment of the present invention
Method includes:
S601. electronic equipment addition configuration interface type matching is identified into widget configuration information;
To that should have a widget configuration information, configuration information belongs to one of attribute of widget to each widget, should match somebody with somebody confidence
The display styles and type for indicating widget are ceased, after electronic equipment gets the configuration information, according to the items of configuration information
Parameter shows the widget on interface of mobile terminal, and configuration information generally using the form of extensible markup language (XML), also may be used
Think extended formatting, it is not restricted to this in the embodiment of the present invention.Display information comprising widget, such as face in configuration information
Color, title, custom feature area and/or expansion/contraction button, it will be understood by those skilled in the art that the display information is not
It is limited to the permutation and combination of above-mentioned one or more for referring to.
Separately, configuration information can also include the species (category type) of widget, in Android system specification protocol
Face, widget includes 3 types, is respectively main screen WIDGET_CATEGORY_HOME_SCREEN, locking screen interface WIDGET_
CATEGORY_KEYGUARD, search box WIDGET_CATEGORY_SEARCHBOX, represent that widget is applied to main screen, screen locking respectively
On interface and search box.In the embodiment of the present invention, the 4th type is creatively proposed:Interface type is matched, the type table
Show widget style/type whether style/the type matching with interface of mobile terminal.For Android mobile phone, its movement
Terminal according to manufacturer difference, user interface UI design styles have nothing in common with each other, for the UI using same style, its figure
Mark style, background and operation have one or more fixed pattern, if third-party widget is loaded into interface of mobile terminal
On, for the widget without any display styles specification, omnifarious widget is loaded on the UI of unified interface style, and pole holds
Easily cause the confusion of interface display style.Therefore in the embodiment of the present invention, be extended for the field of widget type by electronic equipment, will
New type identification -- interface type matching identification is added in the widget type field, and the interface type matching identification can be
One binary system constant, or other forms such as octal system, metric constant, can also be a threshold range,
The embodiment of the present invention is not required this.Separately, interface type matching identification can be schematically illustrated as WIDGET_
CATEGORY_EUI_CARD_SCREEN is, it is necessary to explanation, the representation is a signal, other any one examples
The scope of protection of the invention will be included.
Electronic equipment can according to the interface type matching identification, judge the related widget of the mark whether with this electronics
Equipment display styles are mutually unified, or match with this electronic equipment display type.For example, when this is designated binary system, " 0 " generation
Table does not match that " 1 " represents matching, and whether the widget display type/style can be distinguished by a simple binary system
With mobile terminal UI styles/type matching.Wherein, the expression that matches both can be the two type/style complete unity, also may be used
To be approximate unification, there is certain controlled range.
By this kind of mode, it is micro- with what interface UI styles were not taken that electronic equipment can just filter out style before display
Part, solves the skimble-scamble problem of style.
S602. the configuration interface type identification of self-defined widget;
As described above, the mark can be the constant/threshold range of binary system or other forms, for electronic equipment
Speech, is needed to carry out assignment or self-defined to the mark in design or during initializing widget, and the process can be set by electronics
It is standby to complete, the detection of configuration information is carried out to widget by electronic equipment, so as to define the mark.Separately, the value of the mark is simultaneously
It is not constant always, when there is UI look & feels and switch, original widget display styles and new UI interface display styles
Also do not take, then original mark should also be changed to not match that from matching.Separately, the process can also be come by developer user
Complete self-defined or assignment operation.
S603. the display command of one or more widgets is received, the configuration information of one or more widgets of correspondence is obtained;
When electronic equipment receives user to be indicated or the display command of one or more widgets is triggered according to other conditions,
Electronic equipment obtains the configuration information of one or more widgets of correspondence.As described in S601, configuration information includes the type of widget, should
Possesses interface type matching identification in type.Alternatively, the configuration information can also include widget display information, such as color,
Title, custom feature area and/or expansion/contraction button.
S604. one or more matched with the widget display type and the interface of electronic equipment display type are filtered out
Widget;
As described in S601, electronic equipment travels through its internal all of widget, is screened according to interface type matching identification,
One or more widgets not matched that are filtered out, so that it is determined that going out matched with the interface of electronic equipment display type
Or multiple widgets.Alternatively, the one or more widget that the electronic equipment will be filtered out is made as a widget list
(Widget List), it is convenient subsequently to carry out second or repeatedly screening.
S605. one or more widgets for filtering out further are screened according to configuration protocol;
Configuration protocol is applied to inspection widget and displays whether to meet electronic equipment display UI match-types, implements in the present invention
In example, the configuration protocol can be a framework, it is stipulated that all of display parameters size and/or scope, if display parameters are herein
In the range of i.e. be considered to meet the agreement, will otherwise be filtered, such as the colouring information value range in specified configuration information is in AAA-
Between BBB (A, B are positive integer), if the widget color value within this range if meet the agreement, do not meet otherwise.This
Outward, configuration protocol can also be a set of standard (or a set of filtering algorithm), and such as the color parameter in specified configuration information uses ten
Senary represents, is closed when detecting the color parameter and being when being represented with other modes then to need to filter out the color parameter
The widget of connection refuses display.The configuration protocol can also be XML, define multiple parameters threshold value, and the parameter threshold is used as reference
Value is compared with multiple configuration informations of widget, such as X during the parameter threshold of color, and the color parameter value of widget is Y, when and
Only when the difference between X=Y or X and Y is less than certain threshold value, the widget just meets the configuration protocol.
Why also need to using configuration protocol to matched come widget carry out further screening operation, be because
It is that primary dcreening operation has simply been carried out according to interface type matching identification in S604, other specific configuration informations is not made into one
The examination of step, if carrying out examination just with S604, it is possible that matching identification is represented match, but reality has some
Parameter does not reach standard, causes widget to show that mistake or style are chaotic during actual display.Therefore, according to configuration protocol
Carry out the further examination examination that helps to become more meticulous and meet desired widget, than further being prevented according to matching identification merely
Widget display mistake or display are chaotic.
For above-mentioned configuration protocol, the configuration protocol phase processing mode of different specification is different, in S604, if configuration protocol
In contain multiple display thresholds, then successively by the display information of one or more widgets and the configuration protocol or
Multiple display thresholds are compared, and filter out corresponding with one or more display thresholds widget in display information, the sieve
The widget selected is one or more widgets that this meets the configuration protocol.
Manner of comparison can be:
Obtain all widget configuration informations in the widget list in S604, according to the configuration protocol set up display parameters with
The color parameter of the mapping table of display threshold, such as widget is corresponding with the color parameter threshold value in configuration protocol, the title of widget
Parameter is corresponding with the header parameter in configuration protocol;
The different display parameters are compared with corresponding display threshold in the mapping table respectively, if this is different aobvious
When showing parameter in the range of corresponding display threshold, determine that the corresponding widget of the display information is or many that this is filtered out
Individual widget.
Separately, if the configuration protocol is a standard or a set of algorithm, the phase can successively be verified according to the configuration protocol
The display information of one or more widgets matched somebody with somebody, filters out the widget that correspondence display information meets the configuration protocol prescribed form.
For example, to all kinds of display parameters of widget:Color, title, soft key carry out examination respectively, as it was previously stated, working as color
Parameter is unsatisfactory for being filtered during the form of definition, and the method is equally readily adaptable for use in the examination of other specification, for making by oneself
For adopted function key, can also be to function key regional location whether in presumptive area, function key defines whether that the aspects such as support are entered
Row examination.Likewise, configuration protocol can also define event, the icon of custom button and event and the exhibition for clicking on widget response
Open/specification of retraction button etc., the widget for being unsatisfactory for above-mentioned configuration protocol specification is filtered, and is not repeated herein.
S606. widget is shown according to advance order.
The schematic widget style that the widget of the embodiment of the present invention can be given for Fig. 2.Can also be the micro- of other correlations
Part shows style, and the embodiment of the present invention is not limited this.
Widget is shown according to advance order, the order that can be specified according to user shows successively, it is also possible to according to widget
Priority shows that the embodiment of the present invention is not limited in this respect successively.
It should be noted that the display excessive height of some widgets, easily causing widget and blocking a large amount of icons causes interface
Fall into disarray, while also easily causing the waste of interface resources.Therefore, the second display height threshold defined in configuration protocol
Value, while obtaining the first display height parameter of widget;When the first display height is more than the second display height for pre-setting
During threshold value, widget is shown as widget height value to be shown using the second display height threshold, and on widget display interface
Set one and show highly Zone switched/button, the region/button is used to switch the display of one or more widgets highly, uses
Family click on or touch this it is Zone switched when, the height of the widget is converted therewith, for example, when user for the first time click on when, this is micro-
The height of part switches back into the first display height value, when user clicks on for the second time, the height of the widget by the second display height threshold
Again the second display height threshold is switched back into from the first display height value.
Separately, when the first display height is less than or equal to the second display height threshold for pre-setting, with first display
Height value shows widget.
The creatively Zone switched realization, helps flexibly to control the widget highly so that widget can shrink or
Launch, saved interface resources, enrich contents displayed on interface, improve Consumer's Experience.
Fig. 7 is the widget display device of the embodiment of the present invention, as shown in fig. 7, the device includes:
Acquisition module 701, the configuration information for obtaining one or more widgets, configuration information includes this or many
The interface type matching identification of individual widget, the interface type matching identification be used for indicate the mark correspondence widget display type with
The match information of the interface display type;
Alternatively, the device also includes:Add module, for extending widget Type property field, adds the interface type
In matching identification to the widget Type property field.
Wherein, described device should include receiver module, and for receiving the interface type matching identification change directive, modification should
Interface type matching identification numerical value, the interface type matching identification is constant.
Determining module 702, for being identified according to the interface type of one or more widgets, determines that the widget shows class
One or more widgets of type and the interface display type matching;
Wherein it is determined that module 702 is identified according to the interface type of one or more widgets, determine that the widget shows class
One or more widgets of type and the interface display type matching, Ke Yiwei:Interface class according to one or more widgets
Type is identified, and determines widget display type one or more widgets consistent with the interface type, and interface type mark is used
It is whether consistent with the interface display type in the display type for indicating mark correspondence widget.
Display module 703, for showing one or more widgets for matching according to order set in advance.
Alternatively, the device also includes screening module, for being assisted according to the widget display information and the configuration for pre-setting
View, filters out one or more widgets for meeting the configuration protocol in one or more widgets for matching, and the satisfaction is matched somebody with somebody
One or more widgets for putting agreement are widget to be shown.
Alternatively, display module 703 should show one or more widgets for matching according to order set in advance, can
Think:
Obtain the first display height parameter of one or more widgets for matching;
When the first display height is more than the second display height threshold for pre-setting, with the second display height threshold
The display for carrying out one or more widgets for matching as widget height value to be shown is operated, and in widget display interface
Upper to set that a display is highly Zone switched, the region is used to switch the display of one or more widgets highly, the switching it is aobvious
Show that height value is the first display height parameter or the second display height threshold;
When the first display height is less than or equal to the second display height threshold for pre-setting, with the first display height
Value shows one or more widgets for matching.
Alternatively, the display information includes colouring information, heading message and the custom feature key information of widget.
Alternatively, the configuration protocol includes one or more display thresholds for pre-setting, then the screening module basis should
Widget display information and the configuration protocol for pre-setting, filter out in one or more widgets for matching and meet the configuration
One or more widgets of agreement, Ke Yiwei:
The display information of one or more widgets for matching is obtained, is shown comprising one or more in the display information
Parameter;
The display information of one or more widgets is entered with one or more display thresholds in the configuration protocol successively
Row compares, and filters out corresponding with one or more display thresholds widget in display information, and the widget that this is filtered out was for should
Meet one or more widgets of the configuration protocol.
Alternatively, wherein, screening module is successively by the display information of one or more widgets and the configuration protocol
One or more display thresholds are compared, and filter out corresponding with one or more display thresholds micro- in display information
Part, Ke Yiwei:One or more display parameters of the display information are shown into thresholds with one or more of the configuration protocol successively
Value is compared, and filters out widget of one or more display parameters in the range of one or more display thresholds, the sieve
The widget selected is corresponding with one or more display thresholds widget in the display information.
Wherein, if the display information includes multiple display parameters, by one or more display parameters of the display information
One or more display thresholds with the configuration protocol are compared successively, filter out one or more display parameters this one
Widget in the range of individual or multiple display thresholds, Ke Yiwei:Reflecting for display parameters and display threshold is set up according to the configuration protocol
Firing table;The different display parameters are compared with corresponding display threshold in the mapping table respectively, if the different display
When parameter is in the range of corresponding display threshold, determine the corresponding widget of the display information be this filter out one or more
Widget.
Alternatively, this is according to the widget display information and the configuration protocol for pre-setting, or many matched at this
One or more widgets for meeting the configuration protocol are filtered out in individual widget, or:According to the configuration protocol, verify successively
The display information of one or more widgets for matching, filters out correspondence display information and meets the configuration protocol prescribed form
Widget.
By the introduction of above-described embodiment, acquiring unit 701 obtains configuration information, and determining unit 702 is according to configuration information
In matching identification determine qualified widget and shown by display unit 703, solve look & feel and do not unite
One problem, meanwhile, after screening module filters out qualified widget, further carry out filtering out do not meet agreement rule
The widget of model, remaining widget is shown in a predetermined sequence, it is to avoid because widget configuration information mistake causes to show
Show mistake or display styles disunity, improve widget display accuracy, improve Consumer's Experience.
It should be understood that in the various embodiments of the application, the size of the sequence number of each process is not meant to execution sequence
Successively, the execution sequence of each process should be with its function and internal logic determination, the implementation process without tackling the embodiment of the present application
Constitute any restriction.
Those of ordinary skill in the art are it is to be appreciated that the mould of each example described with reference to the embodiments described herein
Block and method and step, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
Scope of the present application.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Those skilled in the art it will be appreciated that in said one or multiple example, work(described herein
Be able to can be realized with hardware, software or their any combination.If the function is realized in the form of software function module
And as independent production marketing or when using, can store in a computer read/write memory medium.Based on such
Understand, part or the part of the technical scheme that technical scheme substantially contributes to prior art in other words
Can be embodied in the form of software product, the computer software product is stored in a storage medium, including some fingers
Order is used to so that computer equipment (can be personal computer, server, or network equipment an etc.) execution the application is each
The all or part of step of individual embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
The various pieces of this specification are described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was introduced is and other embodiment difference.Especially for device and it is
For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to method reality
Apply the explanation of example part.
Finally, it is necessary to what is illustrated is:The preferred embodiment of technical scheme is the foregoing is only, is not intended to
Limit the protection domain of the application.Obviously, those skilled in the art can carry out various changes and modification without de- to the application
From scope of the present application.If these modifications of the application and modification belong to the scope of the application claim and its equivalent technologies
Within, then any modification, equivalent substitution and improvements made etc. should be included within the protection domain of the application.
Claims (22)
1. a kind of method that widget shows, it is characterised in that including:
Electronic equipment obtains the configuration information of one or more widgets, and the configuration information includes one or more of widgets
Interface type matching identification, the interface type matching identification be used for indicate it is described mark correspondence widget display type with it is described
The match information of interface of electronic equipment display type;
Interface type mark according to one or more of widgets, determines the widget display type and the electronic equipment
One or more widgets of interface display type matching;
Described one or more widgets for matching are shown according to order set in advance.
2. method according to claim 1, it is characterised in that the interface type according to one or more of widgets
Mark, determines one or more widgets that the widget display type matches with the interface of electronic equipment display type,
Including:
Interface type mark according to one or more of widgets, determines widget display type with the interface of electronic equipment
One or more consistent widgets of type, the interface type identifies the display type for indicating the mark correspondence widget
It is whether consistent with the interface of electronic equipment display type.
3. method according to claim 1, it is characterised in that the configuration information also includes widget display information, then exist
It is described show described one or more widgets for matching according to order set in advance before, methods described also includes:
According to the widget display information and the configuration protocol for pre-setting, sieved in described one or more widgets for matching
One or more widgets for meeting the configuration protocol are selected, described one or more widgets for meeting configuration protocol are to be shown
Widget.
4. method according to claim 3, it is characterised in that the configuration protocol includes one or more for pre-setting
Display threshold, then it is described according to the widget display information and the configuration protocol for pre-setting, in for matching or
One or more widgets for meeting the configuration protocol are filtered out in multiple widgets, including:
The display information of one or more widgets matched described in obtaining, shows in the display information comprising one or more
Parameter;
The display information of one or more of widgets is entered with one or more display thresholds in the configuration protocol successively
Row compares, and filters out corresponding with one or more of display thresholds widget in display information, the widget for filtering out
It is described one or more widgets for meeting the configuration protocol.
5. method according to claim 4, it is characterised in that described successively to believe the display of one or more of widgets
Breath is compared with one or more display thresholds in the configuration protocol, filter out in display information with it is one or many
The corresponding widget of individual display threshold, including:
By one or more display parameters of the display information successively with one or more display thresholds of the configuration protocol
Compare, filter out widget of one or more of display parameters in the range of one or more of display thresholds, institute
It is corresponding with one or more of display thresholds widget in the display information to state the widget for filtering out.
6. method according to claim 5, it is characterised in that if the display information includes multiple display parameters, institute
State and enter one or more display parameters of the display information with one or more display thresholds of the configuration protocol successively
Row is compared, and filters out widget of one or more of display parameters in the range of one or more of display thresholds, including:
The mapping table of display parameters and display threshold is set up according to the configuration protocol;
The different display parameters are compared with corresponding display threshold in the mapping table respectively, if described different
When display parameters are in the range of corresponding display threshold, determine the corresponding widget of the display information be it is described filter out one
Individual or multiple widgets.
7. method according to claim 3, it is characterised in that described according to the widget display information and to pre-set
Configuration protocol, filtered out in described one or more widgets for matching meet the configuration protocol one or more are micro-
Part, including:
According to the configuration protocol, the display information of one or more widgets for matching described in verification successively filters out correspondence
Display information meets the widget of the configuration protocol prescribed form.
8. the method according to claim any one of 3-7, it is characterised in that the display information includes that the color of widget is believed
Breath, heading message and custom feature key information.
9. method according to claim 1, it is characterised in that obtain matching somebody with somebody for one or more widgets in the electronic equipment
Before confidence breath, methods described also includes:
Extension widget Type property field, in the addition interface type matching identification to the widget Type property field.
10. method according to claim 9, it is characterised in that in the addition interface type matching identification to institute
After stating in widget Type property field, methods described also includes:
The interface type matching identification change directive is received, the interface type matching identification numerical value, the interface class is changed
Type matching identification is constant.
11. methods according to claim 1, it is characterised in that described to show the phase according to order set in advance
One or more widgets matched somebody with somebody, including:
First display height parameter of one or more widgets matched described in obtaining;
When the described first display height is more than the second display height threshold for pre-setting, with the described second display height threshold
The display for carrying out one or more widgets for matching as widget height value to be shown is operated, and shows boundary in widget
Set that a display is highly Zone switched on face, the region is used to switch the display of one or more of widgets highly, described
The display height value of switching is the described first display height parameter or the second display height threshold;
When the described first display height is less than or equal to the second display height threshold for pre-setting, with the described first display height
Value shows described one or more widgets for matching.
The device that a kind of 12. widgets show, it is characterised in that including:
Acquisition module, the configuration information for obtaining one or more widgets, the configuration information includes one or more of
The interface type matching identification of widget, the interface type matching identification is used to indicate the display type of the mark correspondence widget
With the match information of the interface of electronic equipment display type;
Determining module, for being identified according to the interface type of one or more of widgets, determines the widget display type
One or more widgets matched with the interface of electronic equipment display type;
Display module, for showing described one or more widgets for matching according to order set in advance.
13. devices according to claim 12, it is characterised in that the determining module is according to one or more of widgets
Interface type mark, determine that the widget display type matches with the interface of electronic equipment display type one or
Multiple widgets, including:
Interface type mark according to one or more of widgets, determines widget display type with the interface of electronic equipment
One or more consistent widgets of type, the interface type identifies the display type for indicating the mark correspondence widget
It is whether consistent with the interface of electronic equipment display type.
14. devices according to claim 12, it is characterised in that described device also includes:
Screening module, for according to the widget display information and the configuration protocol for pre-setting, in for matching
Or filter out one or more widgets for meeting the configuration protocol, meet configuration protocol one or many in multiple widgets
Individual widget is widget to be shown.
15. devices according to claim 14, it is characterised in that the configuration protocol includes one or many pre-set
Individual display threshold, then the screening module is according to the widget display information and the configuration protocol for pre-setting, in the phase
One or more widgets for meeting the configuration protocol are filtered out in one or more widgets matched somebody with somebody, including:
The display information of one or more widgets matched described in obtaining, shows in the display information comprising one or more
Parameter;
The display information of one or more of widgets is entered with one or more display thresholds in the configuration protocol successively
Row compares, and filters out corresponding with one or more of display thresholds widget in display information, the widget for filtering out
It is described one or more widgets for meeting the configuration protocol.
16. devices according to claim 15, it is characterised in that the screening module successively will be one or more of micro-
The display information of part is compared with one or more display thresholds in the configuration protocol, filter out in display information with institute
The corresponding widget of one or more display thresholds is stated, including:
By one or more display parameters of the display information successively with one or more display thresholds of the configuration protocol
Compare, filter out widget of one or more of display parameters in the range of one or more of display thresholds, institute
It is corresponding with one or more of display thresholds widget in the display information to state the widget for filtering out.
17. devices according to claim 16, it is characterised in that if the display information includes multiple display parameters,
The screening module by one or more display parameters of the display information successively with the configuration protocol one or more
Display threshold is compared, and filters out one or more of display parameters in the range of one or more of display thresholds
Widget, including:
The mapping table of display parameters and display threshold is set up according to the configuration protocol;
The different display parameters are compared with corresponding display threshold in the mapping table respectively, if described different
When display parameters are in the range of corresponding display threshold, determine the corresponding widget of the display information be it is described filter out one
Individual or multiple widgets.
18. devices according to claim 14, it is characterised in that the screening module according to the widget display information and
The configuration protocol for pre-setting, filters out meet the configuration protocol one in described one or more widgets for matching
Or multiple widgets, including:
According to the configuration protocol, the display information of one or more widgets for matching described in verification successively filters out correspondence
Display information meets the widget of the configuration protocol prescribed form.
19. device according to claim any one of 14-18, it is characterised in that the display information includes the face of widget
Color information, heading message and custom feature key information.
20. devices according to claim 12, it is characterised in that described device also includes:
Add module, for extending widget Type property field, adds the interface type matching identification to the widget type
In attribute field.
21. devices according to claim 20, it is characterised in that described device also includes:
Receiver module, for receiving the interface type matching identification change directive, changes the interface type matching identification number
Value, the interface type matching identification is constant.
22. a kind of electronic equipment, it is characterised in that including:
At least one or more processor;And,
Memory;Wherein,
The memory storage has can be by the instruction repertorie of at least one or more computing device, the instruction repertorie quilt
It is arranged to carry out:
The configuration information of one or more widgets is obtained, the configuration information includes the interface type of one or more of widgets
Matching identification, the interface type matching identification is used to indicate the display type and the electronic equipment of the mark correspondence widget
The match information of interface display type;
Interface type mark according to one or more of widgets, determines the widget display type and the electronic equipment
One or more widgets of interface display type matching;
Described one or more widgets for matching are shown according to order set in advance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710004129.3A CN106909366A (en) | 2017-01-04 | 2017-01-04 | The method and device that a kind of widget shows |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710004129.3A CN106909366A (en) | 2017-01-04 | 2017-01-04 | The method and device that a kind of widget shows |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106909366A true CN106909366A (en) | 2017-06-30 |
Family
ID=59207055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710004129.3A Pending CN106909366A (en) | 2017-01-04 | 2017-01-04 | The method and device that a kind of widget shows |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909366A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399086A (en) * | 2018-03-12 | 2018-08-14 | 中汇信息技术(上海)有限公司 | A kind of widget management method, server and computer readable storage medium |
CN111857929A (en) * | 2020-07-23 | 2020-10-30 | 杭州海康威视数字技术股份有限公司 | Application program interface display method and device and computer equipment |
CN114860136A (en) * | 2021-01-18 | 2022-08-05 | 华为技术有限公司 | Display method of widget and electronic equipment |
CN115396391A (en) * | 2022-08-23 | 2022-11-25 | 北京字跳网络技术有限公司 | Method, device, equipment and storage medium for presenting session message |
WO2023138260A1 (en) * | 2022-01-19 | 2023-07-27 | 华为技术有限公司 | Widget operation method and related device |
CN116700813A (en) * | 2022-09-30 | 2023-09-05 | 荣耀终端有限公司 | Method for loading widget, electronic device and readable storage medium |
-
2017
- 2017-01-04 CN CN201710004129.3A patent/CN106909366A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399086A (en) * | 2018-03-12 | 2018-08-14 | 中汇信息技术(上海)有限公司 | A kind of widget management method, server and computer readable storage medium |
CN111857929A (en) * | 2020-07-23 | 2020-10-30 | 杭州海康威视数字技术股份有限公司 | Application program interface display method and device and computer equipment |
CN111857929B (en) * | 2020-07-23 | 2023-05-30 | 杭州海康威视数字技术股份有限公司 | Method and device for displaying application program interface and computer equipment |
CN114860136A (en) * | 2021-01-18 | 2022-08-05 | 华为技术有限公司 | Display method of widget and electronic equipment |
WO2023138260A1 (en) * | 2022-01-19 | 2023-07-27 | 华为技术有限公司 | Widget operation method and related device |
CN115396391A (en) * | 2022-08-23 | 2022-11-25 | 北京字跳网络技术有限公司 | Method, device, equipment and storage medium for presenting session message |
CN115396391B (en) * | 2022-08-23 | 2024-05-03 | 北京字跳网络技术有限公司 | Method, apparatus, device and storage medium for session message presentation |
CN116700813A (en) * | 2022-09-30 | 2023-09-05 | 荣耀终端有限公司 | Method for loading widget, electronic device and readable storage medium |
CN116700813B (en) * | 2022-09-30 | 2024-05-24 | 荣耀终端有限公司 | Method for loading widget, electronic device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104685470B (en) | For the device and method from template generation user interface | |
US11743213B2 (en) | User interfaces for messages | |
CN106502638B (en) | For providing the equipment, method and graphic user interface of audiovisual feedback | |
US20220382443A1 (en) | Aggregated content item user interfaces | |
CN205485733U (en) | Electronic equipment | |
CN103218148B (en) | For configuration and the affined device for interacting of user interface, method and graphical user interface | |
EP3352438B1 (en) | User terminal device for recommending response message and method therefor | |
CN106605196B (en) | remote camera user interface | |
CN105144067B (en) | For adjusting the equipment, method and graphic user interface of the appearance of control | |
CN104133589B (en) | Use the portable touchscreen devices of expression character, method and graphic user interface | |
CN106909366A (en) | The method and device that a kind of widget shows | |
AU2010327453B2 (en) | Method and apparatus for providing user interface of portable device | |
US10887193B2 (en) | User interfaces for updating network connection settings of external devices | |
CN107637073A (en) | Videograph and playback | |
CN107430489A (en) | The graphical configuration that shared user can configure | |
CN106233237B (en) | A kind of method and apparatus of processing and the new information of association | |
CN108369574A (en) | Smart machine identifies | |
CN108089727A (en) | For the touch keypad of screen | |
JP2022550732A (en) | User interface for customizing graphical objects | |
US11777881B2 (en) | User interfaces and associated systems and processes for sharing portions of content items | |
CN107710131A (en) | Content-browsing user interface | |
CN107967055A (en) | A kind of man-machine interaction method, terminal and computer-readable medium | |
CN107683470A (en) | Audio frequency control for web browser | |
US20220116399A1 (en) | Media service configuration | |
US20220392455A1 (en) | Methods and user interfaces for voice-based user profile management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170630 |