CN103294330B - A kind of on open platform desktop, add locally applied method and system - Google Patents

A kind of on open platform desktop, add locally applied method and system Download PDF

Info

Publication number
CN103294330B
CN103294330B CN201210047329.4A CN201210047329A CN103294330B CN 103294330 B CN103294330 B CN 103294330B CN 201210047329 A CN201210047329 A CN 201210047329A CN 103294330 B CN103294330 B CN 103294330B
Authority
CN
China
Prior art keywords
locally applied
icon
painting canvas
open platform
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210047329.4A
Other languages
Chinese (zh)
Other versions
CN103294330A (en
Inventor
张晏兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210047329.4A priority Critical patent/CN103294330B/en
Publication of CN103294330A publication Critical patent/CN103294330A/en
Application granted granted Critical
Publication of CN103294330B publication Critical patent/CN103294330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Embodiment of the present invention proposes a kind of adds locally applied method and system on open platform desktop.Method includes: obtain the locally applied path being intended to add;This locally applied icon and title is obtained according to this locally applied path;Open platform desktop generates painting canvas, the icon that this is locally applied is plotted on this painting canvas, and around this painting canvas, shows this locally applied title.After application embodiment of the present invention, it is possible to place locally applied on open platform desktop, it is also possible to being directly operated locally applied on open platform desktop, thus facilitating the operation of user, enhancing Consumer's Experience.

Description

A kind of on open platform desktop, add locally applied method and system
Technical field
Embodiment of the present invention relates to user interface management technical field, adds locally applied method and system more particularly, to a kind of on open platform desktop.
Background technology
Along with developing rapidly of computer technology and network technology, the effect that the Internet (Internet) plays in daily life, study and work is also increasing.Opening is the inexorable trend of internet development, and the open platform based on instant messaging is also applied more and more extensive.Growing along with the Internet, user is to internet product and demand for services diversification day by day and quality.Meet user's diversification, personalized demand, open idea of development and the Integrated service effectively integrated, determine Internet enterprises representability in internet, applications service.
Open platform can access network (Web) application developed in a large number by third party by application market (AppStore).Web application uses based on Web page, completes the application of certain function.Relative to common Web page, Web applies higher conditioning function, such as includes mailbox, trivial games, schedule etc..
At present, after open platform downloads to a large amount of Web application, typically via Web application management desktop, these Web application is carried out unified management.
But, in the prior art, the existing application of this ground of user terminal can not be added in open platform desktop, thus can not on open platform desktop, unified management is locally applied and Web application, this just uses to user and brings very big inconvenience, and reduces user's experience.
Summary of the invention
Embodiment of the present invention proposition is a kind of adds locally applied method on open platform desktop, to strengthen Consumer's Experience.
Embodiment of the present invention also proposes a kind of to add locally applied system on open platform desktop, to strengthen Consumer's Experience.
The concrete scheme of embodiment of the present invention is as follows:
A kind of adding locally applied method on open platform desktop, the method includes:
Obtain the locally applied path being intended to add;
This locally applied icon and title is obtained according to this locally applied path;
Described open platform generates painting canvas, and the icon that this is locally applied is plotted on this painting canvas, and around this painting canvas, show this locally applied title.
A kind of adding locally applied system on open platform desktop, this system includes:
Locally applied path acquiring unit, for obtaining the locally applied path being intended to add;
Icon and name acquiring unit, for obtaining this locally applied icon and title according to this locally applied path;
Painting canvas drawing unit, for generating painting canvas on described open platform desktop, and is plotted in the icon that this is locally applied on this painting canvas, and shows this locally applied title around this painting canvas.
Can be seen that from technique scheme, in embodiments of the present invention, first the locally applied path being intended to add is obtained, and obtain this locally applied icon and title according to this locally applied path, then on open platform desktop, generate painting canvas, and be plotted on this painting canvas by the icon that this is locally applied, and around this painting canvas, show this locally applied title.As can be seen here, after application embodiment of the present invention, it is possible to placing locally applied on open platform desktop, thus facilitating the operation of user, enhancing Consumer's Experience.
And, user adds to locally applied after on open platform desktop, it is also possible to being directly operated locally applied on open platform desktop, thus further increasing user operation convenience, further enhancing Consumer's Experience.
Accompanying drawing explanation
Fig. 1 adds locally applied method flow diagram according to embodiment of the present invention on open platform desktop;
Fig. 2 is the locally applied icon schematic diagram according to embodiment of the present invention;
Fig. 3 is that the locally applied icon according to embodiment of the present invention draws flow chart;
Fig. 4 adds locally applied system construction drawing according to embodiment of the present invention on open platform desktop.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail.
Web application is provided the information such as Apply Names and application icon (LOGO) by third party, therefore can directly Web application be added on open platform desktop.But, on open platform desktop, locally applied demand is added for user, firstly the need of obtaining locally applied path, obtain locally applied icon and title further according to this locally applied path, then icon and the title of acquisition are added on open platform desktop.
Fig. 1 adds locally applied method flow diagram according to embodiment of the present invention on open platform desktop.
As it is shown in figure 1, the method includes:
Step 101: obtain the locally applied path being intended to add.
Here, when hope by certain or some locally applied add on open platform desktop time, first obtain this or these be intended to add locally applied path.Due to locally applied this ground being mounted in user terminal, therefore when determine be intended to add locally applied time, it is possible to determine easily this or these be intended to the locally applied path added.
Step 102: obtain this locally applied icon and title according to this locally applied path.
Here, it is preferable that utilize application programming interface (API) to obtain this locally applied icon and title.
More specifically, it is as follows to arrange data structure for application:
Wherein: id is used for uniquely identifying application;Type is used for identifying the type of application, including Web application (App) and locally applied (Native) two kinds;What icon48Path represented is the icon of the 48x48 pixel of Web application;What filepath represented is locally applied path;What name represented is the title of application.
If type mark is locally applied, then filepath is exactly effective, now can obtain locally applied information according to filepath, including locally applied icon and title.Wherein, it is preferable that WindowsAPI order can be utilized to obtain locally applied icon.
It is said that in general, the application program in form (Windows) system, there is the icon (HICON mark) of 32x32 pixel.But some different operating system, it is also possible to there is the icon (HICON mark) of 48x48 pixel.For operating system versions such as Windows2000, WindowsXPsp1, WindowsXPsp2, do not support the icon of 48x48 pixel, and the operating system versions such as WindowsXP, Vista, Win7 can support the icon of 48x48 pixel.
Preferably, it is possible to by the API of Windows operating system: GetVersionEx order obtains the information of current operation system.
Such as:
OSVERSIONINFOExovi;
GetVersionEx ((OSVERSIONINFO*) &ovi);
Information according to the current operation system obtained, make following judgement: if operating system version is Windows2000, WindowsXPsp1, WindowsXPsp2, then mean that operating system does not support the icon (namely only supporting the icon of 32x32 pixel) of 48x48 pixel;If operating system version is windowsXP, Vista or Win7 system, then mean that operating system supports the icon of 48x48 pixel.When operating system version supports the icon of 32 × 32 pixels, directly obtain the icon of 32 × 32 pixels according to this locally applied path, in order to follow-up use.
Step 103: generate painting canvas on open platform desktop, and the icon that this is locally applied is plotted on this painting canvas, and show this locally applied title around this painting canvas.
Here, when operating system version supports the icon of 48 × 48 pixels, the painting canvas of 48 × 48 pixels can first be generated on open platform desktop;Then judge whether this locally applied icon obtained is 48 × 48 pixels, if it is, be directly plotted on this painting canvas by the icon that this is locally applied;If it is not, then first add default background color base map on the painting canvas of this 48 × 48 pixel, then locally applied icon is plotted on this painting canvas between two parties.
Here, when operating system version supports the icon of 32 × 32 pixels, the painting canvas of 32 × 32 pixels can first be generated on open platform desktop;Then directly the icon of 32 × 32 pixels is plotted on this painting canvas.
In order to distinguish locally applied icon and Web application icon, thus improving the impression of user, the method may further include: after this locally applied icon is plotted on this painting canvas, draws for being designated locally applied icon further on this painting canvas.
Preferably, this is used for being designated locally applied icon is 12 × 12 pixels, and is positioned at the lower right corner of this painting canvas.
The above-mentioned pixel size enumerated is not particularly limited, and the icon sizes that open platform desktop is formed can freely set, and similarly, being designated locally applied icon sizes can also carry out free setting according to the size of icon on open platform desktop.As long as the method deferring to the present invention, carry out drafting according to the painting canvas of default size and show.
In one embodiment, it is preferred to this locally applied title can be shown in the bottom of this painting canvas.
Although enumerating out some concrete pixel values of locally applied icon and the display position of locally applied title above, it will be appreciated by those of skill in the art that this enumerating is only illustrative, the protection domain being not intended to limit the present invention.
In one embodiment, when user triggers on open platform desktop this locally applied icon, it is possible to start this according to this locally applied path locally applied.
More specifically, when user click this locally applied after, it is possible to according to application type distinguish be click on locally applied or Web application.If locally applied, it is possible to the filepath according to application, directly invoke WindowsAPI and start locally applied.
Such as: start locally applied can be such that
ShellExecuteA (NULL, " open ", filepath, NULL, NULL, SW_SHOWNORMAL);
Based on above-mentioned introduction, user can place locally applied on open platform desktop, thus user friendly operation.And, user adds to after on open platform desktop locally applied, it is possible to be directly operated locally applied on open platform desktop.
In the middle of being embodied as, open platform desktop can include multiple form of implementation, QQ+, G+ desktop of such as company of Tengxun, 360 desktops, Yahoo desktop etc., or the open platform desktop of other any kind, and embodiment of the present invention is to this and indefinite.
Fig. 2 is the locally applied icon schematic diagram according to embodiment of the present invention.
As in figure 2 it is shown, locally applied icon is adding on open platform desktop, and there is one in the lower right corner of locally applied icon for being designated locally applied small icon (i.e. S icon in Fig. 2).
Based on above-mentioned flow process, support 48 × 48 pixels for operating system below, locally applied icon is drawn and is described in detail.
Fig. 3 is that the locally applied icon according to embodiment of the present invention draws flow chart.As it is shown on figure 3, the method includes:
Step 301: generate the painting canvas of 48 × 48 pixels on open platform desktop.
Step 302: judge whether this locally applied icon obtained is 48 × 48 pixels, if it is, perform step 303;If it is not, then perform step 304.
Step 303: directly the icon that this is locally applied is plotted on this painting canvas, and perform step 305.
Step 304: first add default background color base map on the painting canvas of 48 × 48 pixels, then locally applied icon is plotted on this painting canvas between two parties.
Step 305: draw for being designated locally applied icon on this painting canvas.
Based on above-mentioned labor, embodiment of the present invention also proposed a kind of adds locally applied system on open platform desktop.
Fig. 4 adds locally applied system construction drawing according to embodiment of the present invention on open platform desktop.
As shown in Figure 4, this system includes:
Locally applied path acquiring unit 401, for obtaining the locally applied path being intended to add;
Icon and name acquiring unit 402, for obtaining this locally applied icon and title according to this locally applied path;
Painting canvas drawing unit 403, for generating painting canvas on open platform desktop, and is plotted in the icon that this is locally applied on this painting canvas, and shows this locally applied title around this painting canvas.
In one embodiment, locally applied path acquiring unit 402, it is used for utilizing application programming interface api command, obtains this locally applied icon and title according to this locally applied path.
In one embodiment, this painting canvas drawing unit 403, for generating the painting canvas presetting size of (being preferably 48 × 48 pixels) on open platform desktop;And judge whether this locally applied icon obtained is this default size pixel, if it is, directly the icon that this is locally applied is plotted on this painting canvas;If it is not, then first add default background color base map on the painting canvas of this default size pixel, then described locally applied icon is plotted on this painting canvas between two parties.
Preferably, this painting canvas drawing unit 403, after being further used for being plotted on this painting canvas by the icon that this is locally applied, this painting canvas is drawn for being designated locally applied icon.
Preferably, this system farther includes application start unit 404, when user triggers on described open platform desktop this locally applied icon, starts this according to this locally applied path locally applied.
In sum, in embodiments of the present invention, first the locally applied path being intended to add is obtained, and obtain this locally applied icon and title according to this locally applied path, then on open platform desktop, generate painting canvas again, and be plotted on this painting canvas by the icon that this is locally applied, and around this painting canvas, show this locally applied title.
As can be seen here, after application embodiment of the present invention, it is possible to place locally applied on open platform desktop, thus user friendly operation, enhance Consumer's Experience.
And, user adds to locally applied after on open platform desktop, it is also possible to being directly operated locally applied on open platform desktop, thus further increasing user operation convenience, further enhancing Consumer's Experience.
The above, be only presently preferred embodiments of the present invention, is not intended to limit protection scope of the present invention.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (7)

1. one kind is added locally applied method on open platform desktop, it is characterised in that the method includes:
Obtain the locally applied path being intended to add;
This locally applied icon and title is obtained according to this locally applied path;
Described open platform desktop generates painting canvas, the icon that this is locally applied is plotted on this painting canvas, and around this painting canvas, shows this locally applied title;The method also includes: the data structure arranged for application includes: type, is used for identifying the type of application;Filepath, is used for representing locally applied path;
What the type according to application distinguished click is locally applied or Web application, if locally applied, directly invoke application programming interface according to the filepath of application and starts locally applied;The method also includes:
Obtain the information of current operation system;
When the icon of size pixel is preset in the information decision system version support according to current operation system, described open platform desktop generates the painting canvas presetting size pixel;Judge whether this locally applied icon obtained is described default size pixel, if it is, be directly plotted on this painting canvas by the icon that this is locally applied;If it is not, then first add default background color base map on the painting canvas of described default size pixel, then described locally applied icon is plotted on this painting canvas between two parties.
2. method according to claim 1, it is characterised in that described obtain this locally applied icon according to this locally applied path and title includes:
Utilize application programming interface API, obtain this locally applied icon and title according to this locally applied path.
3. method according to claim 1, it is characterised in that the method farther includes:
After the icon that this is locally applied is plotted on this painting canvas, this painting canvas is drawn for being designated locally applied icon.
4. method according to claim 3, it is characterised in that described default size pixel is 48 × 48 pixels, described is 12 × 12 pixels for being designated locally applied icon, and is positioned at the lower right corner of this painting canvas.
5. the method according to any one of claim 1-4, it is characterised in that the method farther includes,
When user triggers on described open platform desktop this locally applied icon, start this according to this locally applied path locally applied.
6. one kind is added locally applied system on open platform desktop, it is characterised in that this system includes:
Locally applied path acquiring unit, for obtaining the locally applied path being intended to add;
Icon and name acquiring unit, for obtaining this locally applied icon and title according to this locally applied path;
Painting canvas drawing unit, for generating painting canvas on described open platform desktop, and is plotted in the icon that this is locally applied on this painting canvas, and shows this locally applied title around this painting canvas;
Wherein: the data structure arranged for application includes: type, it is used for identifying the type of application;Filepath, is used for representing locally applied path;
Application start unit, is locally applied or Web application for what distinguish click according to the type of application, if locally applied, directly invoke application programming interface according to the filepath of application and start locally applied;
This painting canvas drawing unit, for obtaining the information of current operation system;When the icon of size pixel is preset in the information decision system version support according to current operation system, described open platform desktop generates the painting canvas presetting size pixel;Judge whether this locally applied icon obtained is described default size pixel, if it is, be directly plotted on this painting canvas by the icon that this is locally applied;If it is not, then first add default background color base map on the painting canvas of described default size pixel, then described locally applied icon is plotted on this painting canvas between two parties.
7. system according to claim 6, it is characterised in that
This painting canvas drawing unit, after being further used for being plotted on this painting canvas by the icon that this is locally applied, draws for being designated locally applied icon on this painting canvas.
CN201210047329.4A 2012-02-28 2012-02-28 A kind of on open platform desktop, add locally applied method and system Active CN103294330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210047329.4A CN103294330B (en) 2012-02-28 2012-02-28 A kind of on open platform desktop, add locally applied method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210047329.4A CN103294330B (en) 2012-02-28 2012-02-28 A kind of on open platform desktop, add locally applied method and system

Publications (2)

Publication Number Publication Date
CN103294330A CN103294330A (en) 2013-09-11
CN103294330B true CN103294330B (en) 2016-06-29

Family

ID=49095319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210047329.4A Active CN103294330B (en) 2012-02-28 2012-02-28 A kind of on open platform desktop, add locally applied method and system

Country Status (1)

Country Link
CN (1) CN103294330B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104793966A (en) * 2014-01-21 2015-07-22 中国科学院声学研究所 Display and loading method and system of Android local application
CN105120092B (en) * 2015-08-27 2016-10-26 努比亚技术有限公司 A kind of mobile terminal and desktop icons display device thereof and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431569A (en) * 2008-12-17 2009-05-13 三星电子(中国)研发中心 Method for implementing self-customizing network service oriented mobile phone desktop surroundings
CN102136049A (en) * 2011-04-01 2011-07-27 奇智软件(北京)有限公司 Terminal application safety management method and system
CN102148831A (en) * 2011-04-01 2011-08-10 奇智软件(北京)有限公司 Method and system for safely controlling terminal application
CN102164179A (en) * 2011-04-01 2011-08-24 奇智软件(北京)有限公司 Method and system for arranging terminal application based on network
CN102193800A (en) * 2011-04-25 2011-09-21 奇智软件(北京)有限公司 Dynamic management method and system for terminal application entry identifiers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431569A (en) * 2008-12-17 2009-05-13 三星电子(中国)研发中心 Method for implementing self-customizing network service oriented mobile phone desktop surroundings
CN102136049A (en) * 2011-04-01 2011-07-27 奇智软件(北京)有限公司 Terminal application safety management method and system
CN102148831A (en) * 2011-04-01 2011-08-10 奇智软件(北京)有限公司 Method and system for safely controlling terminal application
CN102164179A (en) * 2011-04-01 2011-08-24 奇智软件(北京)有限公司 Method and system for arranging terminal application based on network
CN102193800A (en) * 2011-04-25 2011-09-21 奇智软件(北京)有限公司 Dynamic management method and system for terminal application entry identifiers

Also Published As

Publication number Publication date
CN103294330A (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN110069257B (en) Interface processing method and device and terminal
CN106843904B (en) Interface dynamic layout method and system
EP3304338B1 (en) System and method for the generation of an adaptive user interface in a website building system
CN102789382B (en) For the system and method that list generates and runs
US8209355B2 (en) Automatic user interface generation for entity interaction
US20180067905A1 (en) System and method for dynamic linking between graphic documents and comment data bases
CN103051652B (en) A kind of mobile terminal cloud computing distribution platform
CN105677818B (en) Drawing practice and system based on running fix and electronic map
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
CN108268260A (en) It is a kind of quick micro- using assemble method based on integrated support technology
CN101354789A (en) Method and device for implementing image face mask specific effect
CN103793156A (en) Control method of application programs in mobile terminal system
CN103294330B (en) A kind of on open platform desktop, add locally applied method and system
CN108089796A (en) The display methods and device of shortcut bar
CN102214107A (en) Method and device for changing Flash skin and color in client program
CN104834715A (en) Website generating method and system based on components and container
CN105653273A (en) Personalized customizing method for client function under B/S architecture
CN102446097B (en) Method for changing user interface skins
CN104461615B (en) A kind of processing method and electronic equipment of skin resource
CN105488054B (en) A kind of method and device of browsing pictures
US9518347B2 (en) Method, system, apparatus, and program for instantly estimating the number of stitches for an embroidered design
CN103092596B (en) Rudimentary interface development realizes method and the device of interface inversion automatically
CN113240776B (en) Method, device and storage medium for changing picture color based on canvas
US11868703B2 (en) System and method for dynamic linking between graphic documents and comment data bases
CN105306996B (en) A kind of wallpaper sharing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant