CN102541601B - Method and device for beautifying installation interface of software installation package - Google Patents

Method and device for beautifying installation interface of software installation package Download PDF

Info

Publication number
CN102541601B
CN102541601B CN201110448042.8A CN201110448042A CN102541601B CN 102541601 B CN102541601 B CN 102541601B CN 201110448042 A CN201110448042 A CN 201110448042A CN 102541601 B CN102541601 B CN 102541601B
Authority
CN
China
Prior art keywords
interface
beautifying
beautified
resource
allocation list
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
CN201110448042.8A
Other languages
Chinese (zh)
Other versions
CN102541601A (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.)
Wanxing Polytron Technologies Inc
Original Assignee
SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY 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 SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY Co Ltd filed Critical SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110448042.8A priority Critical patent/CN102541601B/en
Publication of CN102541601A publication Critical patent/CN102541601A/en
Application granted granted Critical
Publication of CN102541601B publication Critical patent/CN102541601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention is applicable to the field of data processing, and provides a method and a device for beautifying installation interfaces of a software installation package. The method includes steps: running a software installation package containing a beautifying package, and releasing data in the beautifying package to a new temporary file, wherein the data include a window handle of an interface to be beautified, a configuration table corresponding to the interface to be beautified and resources for beautifying the interface; calling initialization function of the beautifying package to acquire data required in the interface beautifying process; and setting the resources for beautifying the interface to the interface to be beautified according to the incidence relation recorded by the configuration table. Automatic configuration of the beautified interface is realized by running the software installation package, and decompressing the beautifying package to obtain the window handle of the interface to be beautified, the configuration table corresponding to the interface to be beautified and the resources for beautifying the interface in the beautifying package; and setting the resources for beautifying the interface to the interface to be beautified according to the incidence relation recorded by the configuration table.

Description

A kind of method and apparatus of beautifying installation interface of software installation package
Technical field
The invention belongs to data processing field, relate in particular to a kind of method and apparatus of beautifying installation interface of software installation package.
Background technology
When software is installed in decompression, there is an installation interface in capital, such as the interface of designated mounting address, whether generate the interface etc. of shortcut at desktop, prior art on these installation interfaces without any decoration, it is one of bare blank, this not only can give the bad experience of client, and if will on installation interface, install advertisement, also can bring a good income for company.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method of beautifying installation interface of software installation package, is intended to solve in existing installation interface dullness, the problem that customer experience is not good.
The embodiment of the present invention is achieved in that a kind of method of beautifying installation interface of software installation package, and described method comprises the steps:
Running package is containing beautifying the software installation kit of bag, and described data of beautifying in bag are discharged in the temporary folder of new establishment, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface;
Described in calling, beautify the initialization function of bag, obtain the data that need use in interface process beautifying;
To be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record.
Another object of the embodiment of the present invention is to provide a kind of device of beautifying installation interface of software installation package, and described device comprises:
Software installation kit running unit,, and is discharged into described data of beautifying in bag in the temporary folder of new establishment containing beautifying the software installation kit of bag for running package, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface;
Beautify data capture unit, for according to the software installation kit of described software installation kit running unit operation, obtain the data of beautifying of beautifying in bag;
Installation interface beautifies unit, will be set to interface to be beautified for the resource of beautifying interface for the incidence relation that beautifies the allocation list record that data capture unit obtains described in basis.
The embodiment of the present invention, will be integrated into software installation kit for the bag that beautifies beautifying, in the time of the described software installation kit of operation, decompress(ion) beautifies bag, obtain and beautify in bag: the window handle at interface to be beautified, the allocation list that interface to be beautified is corresponding, for beautifying the resource at interface; To be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record, the object that has realized automatic configuration and beautify interface.
Brief description of the drawings
Fig. 1 is the realization flow figure of the beautifying installation interface of software installation package method that provides of this embodiment of the present invention;
Fig. 2 is the specific implementation process flow diagram of step S103 shown in Fig. 1 of providing of the embodiment of the present invention;
Fig. 3 is the concrete structure figure of the beautifying installation interface of software installation package device that provides of the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the present invention, will be integrated into software installation kit for the bag that beautifies beautifying, in the time of the described software installation kit of operation, decompress(ion) beautifies bag, obtain and beautify in bag: the window handle at interface to be beautified, the allocation list that interface to be beautified is corresponding, for beautifying the resource at interface; To be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record, the object that has realized automatic configuration and beautify interface.
Embodiment mono-:
Fig. 1 shows the realization flow figure of the beautifying installation interface of software installation package method that the embodiment of the present invention provides, and details are as follows:
In step S101, running package is containing beautifying the software installation kit of bag, and described data of beautifying in bag are discharged in the temporary folder of new establishment, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface.
In embodiments of the present invention, computer running package is containing the software installation kit that beautifies bag, and described data of beautifying in bag are discharged in the temporary folder of new establishment, this beautifies bag for the installation interface of software installation kit installation process is beautified, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface.
In step S102, described in calling, beautify the initialization function of bag, obtain the data that need use in interface process beautifying.
In embodiments of the present invention, the installation interface of software installation kit may comprise multiple different interfaces, and the initialization function that beautifies bag by calling can obtain the window handle at interface to be beautified, and this interface to be beautified is set to main interface and beautifies.
Described obtaining needs the step of the data that use to be specially beautifying in interface process: decompress(ion) beautifies bag, obtains the initialization function that beautifies bag; Obtain window handle and the allocation list at interface to be beautified according to described initialization function; Obtain the resource for beautifying interface according to the window handle at interface described to be beautified and allocation list.Described allocation list is for recording the positional information at interface to be beautified and the related information beautifying between the resource at interface, and described allocation list uses what resource (picture, music, where pictures, which section music) to beautify for being recorded in which piece position (upper and lower, left and right) at interface to be beautified.
Illustrate:
Suppose that interface to be beautified is divided into: Si Ge region, upper and lower, left and right, the resource that can be used for beautifying comprises: picture A, picture B, music A, music B, the related information recording in allocation list is: upper-picture A, under-picture B, a left side-music A, the right side-music B.
In step S103, will be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record.
In embodiments of the present invention, computer will be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record, and its specific implementation flow process refers to Fig. 2 and the description to Fig. 2.
The embodiment of the present invention, will be integrated into software installation kit for the bag that beautifies beautifying, in the time of the described software installation kit of operation, decompress(ion) beautifies bag, obtain and beautify in bag: the window handle at interface to be beautified, the allocation list that interface to be beautified is corresponding, for beautifying the resource at interface; To be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record, the object that has realized automatic configuration and beautify interface.
Embodiment bis-:
The specific implementation process flow diagram that is illustrated in figure 2 step S103 shown in Fig. 1 that the embodiment of the present invention provides, details are as follows:
In step S201, create one with described in the size at interface the to be beautified translucent lamination identical with region to be beautified.
In embodiments of the present invention, according to the size at interface to be beautified and area information to be beautified, create one with described in the size at interface the to be beautified translucent lamination window identical with region to be beautified.
In step S202, use the corresponding resource of beautifying to beautify the region to be beautified of described translucent lamination, the resource of beautifying of described correspondence is obtained for the resource of beautifying interface from described according to the allocation list in temporary folder.
In embodiments of the present invention, computer according to allocation list obtain interface to be beautified corresponding beautify resource, and beautifying on the region to be beautified that resource is set to translucent lamination window correspondence, call the corresponding resource such as picture, music according to allocation list, and according to allocation list, the resource such as picture, music of calling is set to corresponding region to be beautified.
In step S203, will be added on interface to be beautified through the translucent lamination beautifying.
In embodiments of the present invention, because translucent lamination is to create according to the size at interface to be beautified and area information to be beautified, the translucent lamination therefore this process being beautified is added to can realize on interface to be beautified and treats the perfection that beautifies interface and beautify.
The embodiment of the present invention, create one with the identical translucent lamination in region to be beautified at interface to be beautified size, interface to be beautified, the resource that needs the are beautified described translucent lamination that is added to, finally, by the interface to be beautified that is added to through the translucent lamination beautifying, realize the object of beautifying software installation interface.
Embodiment tri-:
The concrete structure figure that is illustrated in figure 3 the beautifying installation interface of software installation package device that the embodiment of the present invention provides, only illustrates the part relevant to the embodiment of the present invention for convenience of explanation, comprising:
Software installation kit running unit 11,, and is discharged into described data of beautifying in bag in the temporary folder of new establishment containing beautifying the software installation kit of bag for running package, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface.
Beautify data capture unit 12, for the software installation kit moving according to described software installation kit running unit 11, obtain the data of beautifying of beautifying in bag.
Installation interface beautifies unit 13, will be set to interface to be beautified for the resource of beautifying interface for the incidence relation that beautifies the allocation list record that data capture unit 12 obtains described in basis.
Wherein, described in, beautifying data capture unit 12 specifically comprises:
Initialization function acquiring unit 121, beautifies bag for decompress(ion), obtains the initialization function beautifying in bag.
Window handle acquiring unit 122, obtains the window handle at interface to be beautified for the initialization function obtaining according to described initialization function acquiring unit 121.
Allocation list acquiring unit 123, obtains allocation list for the initialization function obtaining according to described initialization function acquiring unit 121.
Beautify resource acquisition unit 124, the allocation list obtaining for the window handle that obtains according to described window handle acquiring unit 122 and described allocation list acquiring unit 123 obtains the resource of beautifying interface.
Wherein said installation interface beautifies unit 13 and specifically comprises:
Translucent lamination creating unit 131, for creating a translucent lamination identical with region to be beautified with the size at interface to be beautified.
Translucent lamination beautifies unit 132, for using the corresponding region to be beautified of beautifying the translucent lamination that resource creates described translucent lamination creating unit 131 to beautify, the resource of beautifying of described correspondence is obtained for the resource of beautifying interface from described according to the allocation list in temporary folder.
Translucent lamination superpositing unit 133, for beautifying described translucent lamination at the translucent lamination beautifying unit 132 interface to be beautified that is added to.
The embodiment of the present invention, will be integrated into software installation kit for the bag that beautifies beautifying, in the time of the described software installation kit of operation, decompress(ion) beautifies bag, obtain and beautify in bag: the window handle at interface to be beautified, the allocation list that interface to be beautified is corresponding, for beautifying the resource at interface; To be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record, the object that has realized automatic configuration and beautify interface.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (2)

1. a method for beautifying installation interface of software installation package, is characterized in that, described method comprises the steps:
Running package is containing beautifying the software installation kit of bag, and described data of beautifying in bag are discharged in the temporary folder of new establishment, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface;
Described in calling, beautify the initialization function of bag, obtain the data that need use in interface process beautifying;
To be set to interface to be beautified for the resource of beautifying interface according to the incidence relation of described allocation list record;
Described obtaining needs the step of the data that use to be specially beautifying in interface process:
Decompress(ion) beautifies bag, obtains the initialization function that beautifies bag;
Obtain window handle and the allocation list at interface to be beautified according to described initialization function;
Obtain the resource for beautifying interface according to the window handle at interface described to be beautified and allocation list;
Described allocation list is for recording the positional information at interface to be beautified and beautifying the related information between the resource at interface;
The described incidence relation according to allocation list record is specially the step that is set to interface to be beautified for the resource of beautifying interface:
Create one with described in the size at interface the to be beautified translucent lamination identical with region to be beautified;
Use the corresponding resource of beautifying to beautify the region to be beautified of described translucent lamination;
To be added on interface to be beautified through the translucent lamination beautifying;
The resource of beautifying of described correspondence is obtained for the resource of beautifying interface from described according to the allocation list in temporary folder.
2. a device for beautifying installation interface of software installation package, is characterized in that, described device comprises:
Software installation kit running unit,, and is discharged into described data of beautifying in bag in the temporary folder of new establishment containing beautifying the software installation kit of bag for running package, and described data comprise: the allocation list that interface to be beautified is corresponding and for beautifying the resource at interface;
Beautify data capture unit, for according to the software installation kit of described software installation kit running unit operation, obtain the data of beautifying of beautifying in bag;
Installation interface beautifies unit, will be set to interface to be beautified for the resource of beautifying interface for the incidence relation that beautifies the allocation list record that data capture unit obtains described in basis;
The described data capture unit that beautifies specifically comprises:
Initialization function acquiring unit, beautifies bag for decompress(ion), obtains the initialization function beautifying in bag;
Window handle acquiring unit, obtains the window handle at interface to be beautified for the initialization function obtaining according to described initialization function acquiring unit;
Allocation list acquiring unit, obtains allocation list for the initialization function obtaining according to described initialization function acquiring unit;
Beautify resource acquisition unit, the allocation list obtaining for the window handle that obtains according to described window handle acquiring unit and described allocation list acquiring unit obtains the resource of beautifying interface;
Described allocation list is for recording the positional information at interface to be beautified and beautifying the related information between the resource at interface;
Described installation interface beautifies unit and specifically comprises:
Translucent lamination creating unit, for creating a translucent lamination identical with region to be beautified with the size at interface to be beautified;
Translucent lamination beautifies unit, for using the corresponding region to be beautified of beautifying the translucent lamination of resource to described translucent lamination creating unit establishment to beautify;
Translucent lamination superpositing unit, for beautifying described translucent lamination at the translucent lamination the beautifying unit interface to be beautified that is added to;
The resource of beautifying of described correspondence is obtained for the resource of beautifying interface from described according to the allocation list in temporary folder.
CN201110448042.8A 2011-12-28 2011-12-28 Method and device for beautifying installation interface of software installation package Active CN102541601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110448042.8A CN102541601B (en) 2011-12-28 2011-12-28 Method and device for beautifying installation interface of software installation package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110448042.8A CN102541601B (en) 2011-12-28 2011-12-28 Method and device for beautifying installation interface of software installation package

Publications (2)

Publication Number Publication Date
CN102541601A CN102541601A (en) 2012-07-04
CN102541601B true CN102541601B (en) 2014-09-24

Family

ID=46348569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110448042.8A Active CN102541601B (en) 2011-12-28 2011-12-28 Method and device for beautifying installation interface of software installation package

Country Status (1)

Country Link
CN (1) CN102541601B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853567A (en) * 2012-12-03 2014-06-11 中兴通讯股份有限公司 Method and device for installing terminal software
CN105446719B (en) * 2014-08-22 2018-09-14 北京畅游天下网络技术有限公司 Program installation/discharging method that window is called plug-in unit and called based on window

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7802246B1 (en) * 2004-06-21 2010-09-21 Microsoft Corporation Systems and methods that facilitate software installation customization
CN102156999A (en) * 2010-02-11 2011-08-17 腾讯科技(深圳)有限公司 Generation method and device thereof for user interface
CN102289374A (en) * 2011-08-31 2011-12-21 中兴通讯股份有限公司 Method and device for constructing cross-platform software running environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7802246B1 (en) * 2004-06-21 2010-09-21 Microsoft Corporation Systems and methods that facilitate software installation customization
CN102156999A (en) * 2010-02-11 2011-08-17 腾讯科技(深圳)有限公司 Generation method and device thereof for user interface
CN102289374A (en) * 2011-08-31 2011-12-21 中兴通讯股份有限公司 Method and device for constructing cross-platform software running environment

Also Published As

Publication number Publication date
CN102541601A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
US11029992B2 (en) Nondisruptive updates in a networked computing environment
US20190147185A1 (en) Privacy protection in captured image for distribution
US20130055254A1 (en) Methods and apparatuses for providing a virtual machine with dynamic assignment of a physical hardware resource
CN106537346B (en) Dynamic update flow for real-time provisioning
CN105453017A (en) Method and apparatus for providing graphic user interface
CN103530160A (en) Page loading method and device
CN104731500A (en) Information processing method and electronic equipment
CN106533719A (en) Method and system for realizing cluster deployment
CN104199723A (en) Camera mapping method based on virtual equipment
US9003107B2 (en) Method for adjusting storage space of partition of embedded multimedia card and terminal
CN103838375A (en) Terminal input method and terminal
CN103761168A (en) Method for mounting backup virtual machine based on nfs volume
CN102541601B (en) Method and device for beautifying installation interface of software installation package
CN103870121A (en) Information processing method and electronic equipment
CN104866620B (en) The implementation method of background formula focus chart, apparatus and system
US20140289722A1 (en) Parallel program installation and configuration
CN106462911A (en) Method for providing cloud streaming service, device and system for same, and computer-readable recording medium having, recorded thereon, cloud streaming script code for same
US20160292015A1 (en) Processor frequency scaling based upon load tracking of dependent tasks
CN111078152A (en) Cloud hard disk creation method and device based on cloud platform
CN103279264A (en) Electronic device and input operation management method thereof
CN105389495A (en) Method for externally resetting password of windows virtual machine
CN105511825B (en) The method and device of show layers
CN102521129A (en) Testing method and testing device for owner-drawing window
CN111797070A (en) Ticket data processing method and device
CN104268205A (en) Method and device for obtaining information of installed applications in IOS 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
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Applicant after: Shenzhen Wondershare Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant before: Shenzhen Wondershare Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN WONDERSHARE SOFTWARE CO., LTD. TO: SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 850000 Tibet autonomous region, Lhasa City, New District, west of the East Ring Road, 1-4 road to the north, south of 1-3 Road, Liu Dong building, east of the 8 unit 6, floor 2, No.

Patentee after: Wanxing Polytron Technologies Inc

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Patentee before: Shenzhen Wondershare Information Technology Co., Ltd.

CP03 Change of name, title or address