CN101894155A - Classification method, system and terminal of widget - Google Patents

Classification method, system and terminal of widget Download PDF

Info

Publication number
CN101894155A
CN101894155A CN2010102262797A CN201010226279A CN101894155A CN 101894155 A CN101894155 A CN 101894155A CN 2010102262797 A CN2010102262797 A CN 2010102262797A CN 201010226279 A CN201010226279 A CN 201010226279A CN 101894155 A CN101894155 A CN 101894155A
Authority
CN
China
Prior art keywords
widget
type
terminal
type identification
described widget
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
Application number
CN2010102262797A
Other languages
Chinese (zh)
Inventor
陈细双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2010102262797A priority Critical patent/CN101894155A/en
Priority to PCT/CN2010/077796 priority patent/WO2012003674A1/en
Publication of CN101894155A publication Critical patent/CN101894155A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses classification method, system and terminal of widget. The classification method of the widget comprises the following steps that the terminal receives the widgets, wherein each widget comprises a type mark of the widget; the terminal analyzes the widgets to obtain the type marks; the terminal determines the types of the widgets according to the type marks; and the terminal classifies the widgets according to the types of the widgets. Through the invention, the widgets can be efficiently classified.

Description

The sorting technique of widget and system, terminal
Technical field
The present invention relates to the communications field, in particular to the sorting technique of a kind of widget and system, terminal.
Background technology
Widget is that a kind of small tool based on internet web technology is used.Normally in order to realize certain function, for the user shows various personalized Useful Informations.A common Widget can popularize the very wide javascript of face with easy left-hand seat, HTML, and web common technologies such as CSS and XML are realized.The widget standard of main flow has w3c, access, opera, yahoo etc. at present.But along with getting more and more that widget uses, thousands of developers make various colourful widget application on the internet, and the inventor finds how effectively the widget of Classification Management kind various kinds becomes difficult point.
Summary of the invention
Fundamental purpose of the present invention is to provide the sorting technique of a kind of widget and system, terminal, to solve the above-mentioned problem of effectively widget being classified of being difficult at least.
According to an aspect of the present invention, provide the sorting technique of a kind of widget, having comprised: terminal receives widget, wherein, comprises the type identification of widget among the widget; Terminal parses widget obtains type identification; Terminal is determined the type of widget according to type identification; Terminal is classified to widget according to the type of widget.
According to a further aspect in the invention, provide a kind of terminal, having comprised: receiver module, be used to receive widget, wherein, comprise the type identification of described widget among the described widget; Parsing module is used to resolve described widget, obtains described type identification; Determination module is used for determining according to described type identification the type of described widget; Sort module is used for according to the type of described widget described widget being classified.
According to a further aspect in the invention, provide the categorizing system of a kind of widget, having comprised: server, send widget, wherein, comprise the type identification of described widget among the described widget; Terminal receives described widget, and described widget is resolved, and obtains described type identification, determines the type of described widget according to described type identification, and according to the type of described widget described widget is classified.
By the present invention, adopt terminal to receive widget, wherein, comprise the type identification of widget among the widget; Terminal parses widget obtains type identification; Terminal is determined the type of widget according to type identification; Terminal is classified to widget according to the type of widget, has solved to be difficult to the problem of effectively widget being classified, and then has reached the effect of effectively widget being classified.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the synoptic diagram according to the categorizing system of the widget of the embodiment of the invention;
Fig. 2 is the process flow diagram according to the sorting technique of the widget of the embodiment of the invention;
Fig. 3 is the process flow diagram according to the preferred embodiment of the sorting technique of widget of the present invention;
Fig. 4 is the synoptic diagram according to the sorter of the widget of the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the synoptic diagram according to the categorizing system of the widget of the embodiment of the invention.
As shown in Figure 1, the categorizing system of this widget can comprise server 102 and terminal 104.
Wherein, server 102 sends widget, wherein, comprises the type identification of widget among the widget; Terminal 104 receives widget, and widget is resolved, and obtains type identification, determines the type of widget according to type identification, and according to the type of widget widget is classified.
Wherein, above-mentioned server 102 also is used for adding at the configuration file of widget the type identification of widget.
Server 102 adds widget in the configuration file of widget type identification can also comprise: server 102 obtains the widget compressed package files; 102 pairs of widget compressed package files of server are resolved, and extract the configuration file in the widget compressed package files; Server 102 adds the type identification of widget in configuration file; File after configuration file after the type identification of 102 pairs of interpolations of server widget is packed and will be packed sends to terminal.
In the widget of the invention described above embodiment categorizing system,, pass to terminal then by adding the type that extended field type sign (type identification) identifies widget in the configuration document file in the widget compressed package files.And terminal is resolved configuration document file by widget harbour or other supervisory routines, determine the type of widget by the type field, classifying by type at last shows or deposits, and can reach the purpose of widget being carried out Classification Management.Wherein, configurationdocument is description document or the configuration file of widget, can describe with the xml file.
Fig. 2 is the process flow diagram according to the sorting technique of the widget of the embodiment of the invention.As shown in Figure 2, this method may further comprise the steps:
Step S202, terminal receives widget, wherein, comprises the type identification of widget among the widget.
Wherein, the type identification of widget can be arranged in the configuration file of widget, and before terminal received widget, this method can also comprise: server 102 added the type identification of widget in the configuration file of widget.
The type identification that adds widget in the configuration file of widget comprises: server 102 obtains the widget compressed package files; 102 pairs of widget compressed package files of server are resolved, and extract the configuration file in the widget compressed package files; Server 102 adds the type identification of widget in configuration file; File after configuration file after the type identification of 102 pairs of interpolations of server widget is packed and will be packed sends to terminal.
Step S204, terminal parses widget obtains type identification.For example, terminal can be resolved the configuration file of widget to obtain the type sign.
Step S206, terminal is determined the type of widget according to type identification.
Step S208, terminal is classified to widget according to the type of widget.
Preferably, the type identification of widget comprises the subtype sign of widget, terminal determines that according to type identification the type of widget comprises: terminal is determined the subtype of widget according to the subtype sign, after terminal was classified to widget according to the type of widget, method also comprises: terminal was classified to widget according to the subtype of widget.
Preferably, after terminal was classified to widget according to the type of widget, said method can also comprise: terminal is according to sorted type, deposits respectively or shows widget.
Leave in the database according to the information record of sorted type in terminal widget, the information record of described widget comprises widget type, widget title, said method can also comprise: terminal is inquired about widget by list of types in database, wherein, list of types is the dissimilar tabulation of widget.The user can find the clear and definite widget of target type to use by the list of types specified type.
Technical scheme of the present invention can comprise two ingredients: the first, making the widget stage, and by the configuration file field of expansion widget, packing distribution then.The second, terminal receives widget, resolves this compressed package, thereby and according to different widget type attribute Classification Management widget.
The terminal here comprises any device that can resolve and carry out the little application of widget.
In above-mentioned first, the developer can select a widget compressed package, extract configuration document file, as based in the W3C standard compressed package, called after config.xml configuration file is generally arranged, add the type label according to collocation method, can add the type that is fit to current widget.Repack the widget compressed package that adds new label then, issue.
In above-mentioned second portion, terminal receives widget, and resolves this compressed package config.xml, and according to type identification (for example, the type label), determines this widget classification.
Now with the method for the invention in the widget exploitation and composition stage, and the terminal Classification Management stage be embodied as example, technological means of the present invention and implementation method are described in detail:
The present invention at first needs to disclose a kind of method of supporting Classification Management widget of making, and discloses the method for terminal widget Classification Management then.
In first, can in configuration document, increase label type, sign widget belongs to any type, and enumerating of type can be according to the needs of detailed programs.Get following wherein one group of label and add configuration document.
<type?name=″Information″/>
<type?name=″Entertaining″/>
<type?name=″Communication″/>
<type?name=″Utilities″/>
In this example, type has 4 types, is respectively:
Information, this widget are the information class
Entertaining, this widget are the amusement multimedia class
Communication, this widget are the social class of communication
Utilities, this widget are the utility class
At first, the type label can be put in the middle of the daughter element of description feature of configuration file, also can be used as relatively independent element.Such as based on the W3C standard, then the type label can be the daughter element of widget label, also can be the daughter element of other elements.As the point of addition in the W3C standard:
<widget?xmlns=″http://www.w3.org/ns/widgets″xml:lang=″en″/>
<type?name=″Information″/>
</widget>
Secondly, the type label should not be confined to above 4 types of exemplifying.Widget developer can suitably increase according to the configuration needs of concrete widget attribute type or delete.As be increased to 5 types:
<type?name=″Information″/>
<type?name=″Entertaining″/>
<type?name=″Communication″/>
<type?name=″Utilities″/>
<type?name=″Others″/>
For a concrete widget, it just selects wherein one type to get final product.
At last, type can also expand daughter element, shows type detailed more in big classification range, and this belongs to subtype.Following is the sorting technique of subtype:
<type?name=″Information″>
<subtype?name=“Weather”/>
<subtype?name=“News”/>
<subtype?name=“Stock”/>
<subtype?name=“Map”/>
<subtype?name=“Search”/>
</type>
<type?name=″Entertaining″>
<subtype?name=“Game”/>
<subtype?name=“Tour”/>
<subtype?name=“Picture”/>
<subtype?name=“Audio”/>
<subtype?name=“Video”/>
</type>
<type?name=″Communication/>
<subtype?name=“Email”/>
<subtype?name=“SMS”/>
<subtype?name=“MMS”/>
<Subtype?name=“IM”/>
<subtype?name=“SNS”/>
</type>
<type?name=″Utilities″/>
<subtype?name=“Clock”/>
<subtype?name=“Calendar”/>
<subtype?name=“To?Do?L?ist”/>
<subtype?name=“Notepad”/>
<subtype?name=“BookMark”/>
</type>
SubType is not limited to the above project that exemplifies, can also be according to detailed programs configuration expansion.If subType segments the widget type not enough, also should carry out similar refinement to subType again.But should only there be subType and do not have the situation of Type.
Abovely can carry out class discrimination to most widget in the production phase, concentrate with specialist tools after perhaps making and add label.If widget does not add the type label, then other types are classified in unification as, do not have the function of classification.
In the above-described embodiments, by the expanded configuration file field, resolve the application type of this configuration file, terminal belonged to different types according to widget before carrying out widget, respectively the widget of same type is managed together, thereby make the terminal demonstration of can classifying, inquiry.Promote user experience.
At second portion, terminal receives widget, and resolves this compressed package config.xml, and according to type identification (for example, the type label), determines this widget classification.
Fig. 3 is the process flow diagram according to the preferred embodiment of the sorting technique of widget of the present invention.This method may further comprise the steps:
Step S301 starts terminal Classification Management program, obtains Type type list and SubType type list that widget is installed.
Step S302, judging whether needs new widget compressed package is installed, if supervisory routine need be installed new widget compressed package, then changes step S303 over to, otherwise step S304.
Step S303, decompress(ion) widget compressed package.Resolve Type label and subtype label respectively, form a widget record that comprises the type field and SubType field and add in the database.If Type and SubType field exist, then store name attribute separately, otherwise storage NULL.If the name attribute is new class name, do not exist in the type list, then add new type name in type list separately.
A type MyType is selected in step S304, the user demonstration of classifying from type list, wherein, and the type that MyType need select or search for the user.
Step S305 meets the record of key word MyType by data base querying the type field or SubType field.
Step S306 takes out all widget that meet record in the display box of the program of being presented at.
Step S307 judges whether to continue query display another one type, if the user continues query display another one type, then changes step S304 over to, otherwise execution in step S308.
Step S308, classification process finishes.
Fig. 4 is the synoptic diagram according to the sorter of the widget of the embodiment of the invention.
The sorter of this widget can be terminal, comprising: receiver module 402, parsing module 404, determination module 406, sort module 408.
Wherein, receiver module 402 is used to receive widget, wherein, comprises the type identification of widget among the widget; Parsing module 404 is used to resolve widget, obtains type identification; Determination module 406 is used for determining according to type identification the type of widget; Sort module 408 is used for according to the type of widget widget being classified.
As can be seen from the above description, the present invention can make the classification of terminal realization to widget, comprises that classification is preserved, shown or inquiry to widget, and then can promote user experience.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the sorting technique of a widget is characterized in that, comprising:
Terminal receives widget, wherein, comprises the type identification of described widget among the described widget;
The described widget of described terminal parses obtains described type identification;
Described terminal is determined the type of described widget according to described type identification;
Described terminal is classified to described widget according to the type of described widget.
2. method according to claim 1 is characterized in that, comprises the type identification of described widget in the configuration file of described widget, and wherein, the described widget of described terminal parses comprises:
The configuration file of the described widget of described terminal parses.
3. method according to claim 2 is characterized in that, before terminal received widget, described method also comprised:
Server adds the type identification of described widget in the configuration file of described widget.
4. method according to claim 3 is characterized in that, the type identification that adds described widget in the configuration file of described widget comprises:
Described server obtains the widget compressed package files;
Described server is resolved described widget compressed package files, extracts the described configuration file in the described widget compressed package files;
Described server adds the type identification of described widget in described configuration file;
File after described server is packed and will be packed the configuration file after the type identification that adds described widget sends to described terminal.
5. method according to claim 1 is characterized in that, the type identification of described widget comprises the subtype sign of described widget, and after described terminal was classified to described widget according to the type of described widget, described method also comprised:
Described terminal is classified to described widget according to the subtype of described widget.
6. according to each described method in the claim 1 to 5, it is characterized in that after described terminal was classified to described widget according to the type of described widget, described method also comprised:
Described terminal is according to sorted type, deposits respectively or shows described widget.
7. method according to claim 6, it is characterized in that described terminal leaves in the database, wherein according to the information record of sorted type with described widget, the information record of described widget comprises the type of described widget and the title of described widget, and described method also comprises:
Described terminal is inquired about described widget by list of types in described database, and wherein, described list of types is the dissimilar tabulation of described widget.
8. a terminal is characterized in that, comprising:
Receiver module is used to receive widget, wherein, comprises the type identification of described widget among the described widget;
Parsing module is used to resolve described widget, obtains described type identification;
Determination module is used for determining according to described type identification the type of described widget;
Sort module is used for according to the type of described widget described widget being classified.
9. the categorizing system of a widget is characterized in that, comprising:
Server sends widget, wherein, comprises the type identification of described widget among the described widget;
Terminal receives described widget, and described widget is resolved, and obtains described type identification, determines the type of described widget according to described type identification, and according to the type of described widget described widget is classified.
10. system according to claim 9 is characterized in that, described server also is used for adding at the configuration file of described widget the type identification of described widget.
CN2010102262797A 2010-07-06 2010-07-06 Classification method, system and terminal of widget Pending CN101894155A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010102262797A CN101894155A (en) 2010-07-06 2010-07-06 Classification method, system and terminal of widget
PCT/CN2010/077796 WO2012003674A1 (en) 2010-07-06 2010-10-15 Widget classifying method, system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102262797A CN101894155A (en) 2010-07-06 2010-07-06 Classification method, system and terminal of widget

Publications (1)

Publication Number Publication Date
CN101894155A true CN101894155A (en) 2010-11-24

Family

ID=43103347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102262797A Pending CN101894155A (en) 2010-07-06 2010-07-06 Classification method, system and terminal of widget

Country Status (2)

Country Link
CN (1) CN101894155A (en)
WO (1) WO2012003674A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694670A (en) * 2011-03-23 2012-09-26 中兴通讯股份有限公司 Three-network integration widget management platform, realizing method thereof and system thereof
CN106959878A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 Widget management method and mobile terminal
CN112269520A (en) * 2020-10-27 2021-01-26 广州视源电子科技股份有限公司 Element display control method and device, interactive panel and storage medium
WO2022121445A1 (en) * 2020-12-07 2022-06-16 荣耀终端有限公司 Widget adding method, apparatus, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529524A (en) * 2003-09-26 2004-09-15 Short-message classifying method for mobile communication
US20080307385A1 (en) * 2007-06-11 2008-12-11 Sap Ag Enhanced Widget Composition Platform
CN101533410A (en) * 2009-04-13 2009-09-16 浙江大学 Widget content buffering method facing mobile terminal
CN101593100A (en) * 2008-05-30 2009-12-02 爱思开电讯投资(中国)有限公司 The method of running mini application program, the device of carrying out this method and machine readable media
CN101763255A (en) * 2008-12-23 2010-06-30 中国移动通信集团公司 Format conversion method and device of special interface tool

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072067A (en) * 2006-05-11 2007-11-14 北京握奇数据系统有限公司 Device and method for realizing short-message classified sending, receiving and displaying
CN1333336C (en) * 2006-06-23 2007-08-22 清华大学 Method for unified management of component library supporting heterogeneous component
CN101562802A (en) * 2009-05-07 2009-10-21 浙江大学 Realization method for mobile Widget release platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529524A (en) * 2003-09-26 2004-09-15 Short-message classifying method for mobile communication
US20080307385A1 (en) * 2007-06-11 2008-12-11 Sap Ag Enhanced Widget Composition Platform
CN101593100A (en) * 2008-05-30 2009-12-02 爱思开电讯投资(中国)有限公司 The method of running mini application program, the device of carrying out this method and machine readable media
CN101763255A (en) * 2008-12-23 2010-06-30 中国移动通信集团公司 Format conversion method and device of special interface tool
CN101533410A (en) * 2009-04-13 2009-09-16 浙江大学 Widget content buffering method facing mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694670A (en) * 2011-03-23 2012-09-26 中兴通讯股份有限公司 Three-network integration widget management platform, realizing method thereof and system thereof
CN102694670B (en) * 2011-03-23 2015-01-28 中兴通讯股份有限公司 Three-network integration widget management platform, realizing method thereof and system thereof
CN106959878A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 Widget management method and mobile terminal
CN106959878B (en) * 2017-03-31 2020-03-31 努比亚技术有限公司 Widget management method and mobile terminal
CN112269520A (en) * 2020-10-27 2021-01-26 广州视源电子科技股份有限公司 Element display control method and device, interactive panel and storage medium
CN112269520B (en) * 2020-10-27 2022-04-12 广州视源电子科技股份有限公司 Element display control method and device, interactive panel and storage medium
WO2022121445A1 (en) * 2020-12-07 2022-06-16 荣耀终端有限公司 Widget adding method, apparatus, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2012003674A1 (en) 2012-01-12

Similar Documents

Publication Publication Date Title
CN100589099C (en) Configurable information identification system and method
CN102279894B (en) Method for searching, integrating and providing comment information based on semantics and searching system
CN102541937B (en) Webpage information detection method and system
US8868609B2 (en) Tagging method and apparatus based on structured data set
KR100930455B1 (en) Method and system for generating search collection by query
US20090089279A1 (en) Method and Apparatus for Detecting Spam User Created Content
US8489626B2 (en) Method and apparatus for recommending a short message recipient
JP2009099124A (en) Method and system for data construction
US10394939B2 (en) Resolving outdated items within curated content
CN104063383A (en) Information recommendation method and device
CN103136360A (en) Internet behavior markup engine and behavior markup method corresponding to same
CN102483748A (en) Query parsing for map search
CN105339933A (en) News results through query expansion
CN103235827B (en) A kind of method of scientific and technical information automatic classification screening
CN104731958A (en) User-demand-oriented cloud manufacturing service recommendation method
CN104866511A (en) Method and equipment for adding multi-media files
Takemura et al. Tweet classification based on their lifetime duration
CN103824104A (en) Two-dimensional code fabrication system and application method thereof
CN104077415A (en) Searching method and device
CN101950312A (en) Method for analyzing webpage content of internet
CN104063401A (en) Webpage style address merging method and device
CN111797315A (en) Message pushing method, device, server and medium
CN101894155A (en) Classification method, system and terminal of widget
WO2015084757A1 (en) Systems and methods for processing data stored in a database
Kinsella et al. Improving categorisation in social media using hyperlinks to structured data sources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101124