CN105407147B - Method and device for downloading theme pack - Google Patents
Method and device for downloading theme pack Download PDFInfo
- Publication number
- CN105407147B CN105407147B CN201510708871.3A CN201510708871A CN105407147B CN 105407147 B CN105407147 B CN 105407147B CN 201510708871 A CN201510708871 A CN 201510708871A CN 105407147 B CN105407147 B CN 105407147B
- Authority
- CN
- China
- Prior art keywords
- theme
- packet
- apmb package
- terminal
- download address
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000006870 function Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000011017 operating method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method for downloading a theme pack, which comprises the following steps: the first terminal sends an access request to the network platform aiming at the link; the method comprises the steps that a first terminal receives a theme pack file corresponding to a link sent by a network platform according to an access request, the theme pack file is set according to an application to which the theme pack file belongs, and the theme pack file comprises a downloading address of the theme pack and a file format of the theme pack file; the first terminal judges whether the first terminal is provided with the application to which the theme pack file belongs or not according to the file format of the theme pack file; if the theme package downloading address is judged to be yes, the first terminal obtains the downloading address of the theme package from the theme package file and downloads the theme package according to the downloading address of the theme package. The embodiment of the invention also discloses a device for downloading the theme pack. By adopting the method and the device, the theme pack file can be obtained in time according to the link, and the download address is obtained from the theme pack file, so that the theme pack is directly downloaded according to the download address, and the speed of downloading the theme pack is increased.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of method and devices for downloading theme packet.
Background technique
With the development of the individual demand of application, user can make personalized theme by oneself on the interface of application, make to answer
With the display effect for showing personalization in use.In order to increase the popularization of personalized theme, the prior art can be by user
Homemade theme is shared.For example, terminal receives the homemade personalized theme of user, after generating theme packet, according to user's
Selection generates link and shares link to third-party platform, provides downloading theme for other users in third-party platform registration
The channel of packet.However, the link of third-party platform publication often first jumps to belonging to downloading interface or the theme packet of theme packet
Application publicity interface, user need click to enter downloading interface or publicity interface after could obtain theme packet, behaviour
Make process complexity, reduce the speed of downloading theme packet, increases the operating time of downloading theme packet.
Summary of the invention
The present invention provides a kind of method and device for downloading theme packet, can obtain theme APMB package according to link in time, and
Download address is obtained from theme APMB package, to directly download theme packet according to download address, accelerates the speed of downloading theme packet
Degree.
First aspect present invention provides a kind of method for downloading theme packet, including:
First terminal sends access request to the network platform for link;
The first terminal receives the corresponding theme of the link that the network platform is sent according to the access request
APMB package, the theme APMB package include the download address of theme packet and the file format of the theme APMB package, the master
Inscribe file format application settings according to belonging to the theme APMB package of APMB package;
The first terminal judges whether the first terminal is installed according to the file format of the theme APMB package
State application belonging to theme APMB package;
If being judged as YES, the first terminal obtains the download address of the theme packet from the theme APMB package,
The theme packet is downloaded according to the download address of the theme packet.
Optionally, the theme APMB package further includes the download address of application belonging to the theme APMB package, then described
Method further includes:
If being judged as NO, the first terminal obtains application belonging to the theme APMB package from the theme APMB package
Download address;
The download address of first terminal application according to belonging to the theme APMB package of acquisition downloads the theme
Application belonging to APMB package.
Optionally, described to link the posting request for the link sent by the network platform according to second terminal
It is issued, the link sends the theme from the second terminal to the server of application belonging to the theme APMB package
Packet, so that the server of application belonging to the theme APMB package generates and sends to described second eventually according to the theme packet
End.
Optionally, before the theme packet according to the downloading of the download address of the theme packet, the method also includes:
Whether the first terminal output shows the prompt information of the theme packet, is receiving and the prompt information pair
In the case where the displaying instruction answered, is determined according to the displaying instruction received and download the theme packet;
Then after the theme packet according to the downloading of the download address of the theme packet, the method also includes:
The theme packet that downloading obtains is shown by the first terminal.
Optionally, the download address of the theme packet is the download address of the encrypted theme packet, then the basis
The download address of the theme packet downloads the theme packet, including:
The first terminal is retrieved as the downloading of the theme packet to the server of application belonging to the theme APMB package
The key of address encryption;
First terminal download address of the encrypted theme packet according to the key pair of acquisition is decrypted,
The theme packet is downloaded according to the download address of the theme packet after decryption.
Second aspect of the present invention provides a kind of device for downloading theme packet, is applied to first terminal, including:
Sending module, for sending access request to the network platform for link;
Receiving module, for receiving the network platform according to the access request transmission that the sending module is sent
Corresponding theme APMB package is linked, the theme APMB package includes the download address of theme packet and the text of the theme APMB package
Part format, file format application settings according to belonging to the theme APMB package of the theme APMB package;
Judgment module, for judging whether first terminal is equipped with the master according to the file format of the theme APMB package
Inscribe application belonging to APMB package;
Download module, for when the judging result of the judgment module, which is, is, then being obtained from the theme APMB package
The download address of the theme packet downloads the theme packet according to the download address of the theme packet.
Optionally, the theme APMB package further includes the download address of application belonging to the theme APMB package, then described
Download module is also used to:
When the judging result of the judgment module is no, then the theme APMB package institute is obtained from the theme APMB package
The download address of the application of category;
Belonging to the theme APMB package is downloaded according to the download address of application belonging to the theme APMB package of acquisition
Using.
Optionally, described to link the posting request for the link sent by the network platform according to second terminal
It is issued, the link sends the theme from the second terminal to the server of application belonging to the theme APMB package
Packet, so that the server of application belonging to the theme APMB package generates and sends to described second eventually according to the theme packet
End.
Optionally, described device further includes:
Determining module is receiving and the prompt information for exporting the prompt information for whether showing the theme packet
In the case where corresponding displaying instruction, is determined according to the displaying instruction received and download the theme packet;
Display module, the theme packet for obtaining downloading are shown.
Optionally, the download address of the theme packet is the download address of the encrypted theme packet, the then downloading
Module includes:
Acquiring unit, for being retrieved as the downloading of the theme packet to the server of application belonging to the theme APMB package
The key of address encryption;
Download unit, the downloading of the encrypted theme packet described in the key pair for being obtained according to the acquiring unit
Address is decrypted, and downloads the theme packet according to the download address of the theme packet after decryption.
Using the present invention, first terminal judges the according to the file format for the theme APMB package for receiving network platform transmission
Whether one terminal is equipped with application belonging to theme APMB package, obtains theme from theme APMB package in the case where being judged as YES
The download address of packet downloads theme packet further according to the download address of theme packet, makes first terminal when receiving theme APMB package
Theme packet can be directly downloaded, the speed of downloading theme packet is accelerated, the operating procedure of downloading theme packet is reduced, to save downloading
The operating time of theme packet.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field
For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of an embodiment of the method for downloading theme packet of the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of another embodiment of the method for downloading theme packet of the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the device of downloading theme packet of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of the device of another downloading theme packet of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Using the embodiment of the present invention, theme APMB package can be obtained according to link in time, and under obtaining in theme APMB package
Set address accelerates the speed of downloading theme packet to directly download theme packet according to download address.
Description and claims of this specification and term " first ", " second ", " third " and " in above-mentioned attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of an embodiment of the method for downloading theme packet of the embodiment of the present invention.
Wherein, the network platform can be third-party platform, i.e. third-party server, provide the platform of publication for the information sharing of terminal, real
Existing exchange and interdynamic of each terminal in the network platform.The present embodiments relate to first terminal for example can be mobile phone, flat
It is plate computer, laptop, palm PC, mobile internet device (MID, mobile internet device), wearable
Equipment (such as smartwatch (such as iwatch etc.), Intelligent bracelet, pedometer etc.) or other can interactively communicate with the network platform
Terminal device.
As shown in Figure 1, an a kind of embodiment of the method for downloading theme packet of the embodiment of the present invention may include following step
Suddenly.
S100, first terminal send access request to the network platform for link.
In the specific implementation, first terminal sends the access request for link to the network platform, access request is for accessing
The link of network platform publication, wherein link is for obtaining theme APMB package.
S101, it is corresponding that the first terminal receives the link that the network platform is sent according to the access request
Theme APMB package, the theme APMB package include the download address of theme packet and the file format of the theme APMB package, institute
State file format application settings according to belonging to the theme APMB package of theme APMB package.
In the specific implementation, after the network platform receives the access request for link of first terminal transmission, according to connecing
The corresponding theme APMB package of server download link of the access request received application belonging to the theme APMB package, and to first
Terminal sends the theme APMB package after downloading, so that first terminal receives the theme APMB package of network platform downloading.Wherein, main
Inscribing APMB package includes the download address of theme packet and the file format of theme APMB package.File format can be according to theme APMB package
Affiliated application settings, such as format is set as the file of xxx.cmls, the format of xxx.cmls is specific to theme APMB package
Affiliated application only could be opened and be used in the case where application belonging to first terminal is equipped with theme APMB package
The file of xxx.cmls format, otherwise first terminal can not open the file even with xxx.cmls format, can only check this
The text information of format.In addition, also including the download address of theme packet in theme APMB package, judge that first is whole in first terminal
End can open theme APMB package and obtain under theme packet from theme APMB package when being equipped with application belonging to theme APMB package
Set address.
S102, the first terminal judge whether the first terminal is installed according to the file format of the theme APMB package
There is application belonging to the theme APMB package.
In the specific implementation, as theme APMB package file format with belonging to theme APMB package using corresponding,
First terminal can judge whether first terminal is equipped with theme APMB package institute by the file format of the theme APMB package got
The application of category.
S103, if being judged as YES, the first terminal obtains the downloading of the theme packet from the theme APMB package
The theme packet is downloaded according to the download address of the theme packet in address.
In the specific implementation, if first terminal judges first terminal and is equipped with application belonging to theme APMB package, first
The openable theme APMB package of terminal, directly acquires the download address of theme packet, and according under theme packet from theme APMB package
Set address downloads theme packet, and first terminal is made to be able to use the theme packet after downloading.
Using the embodiment of the present invention, first terminal is according to the file format for receiving the theme APMB package that the network platform is sent
Judge whether first terminal is equipped with application belonging to theme APMB package, is obtained from theme APMB package in the case where being judged as YES
The download address for taking theme packet downloads theme packet further according to the download address of theme packet, first terminal is made to receive theme packet
Theme packet can be directly downloaded when file, accelerates the speed of downloading theme packet, the operating procedure of downloading theme packet is reduced, to save
Save the operating time of downloading theme packet.
Referring to Fig. 2, the process that Fig. 2 is a kind of another embodiment of the method for downloading theme packet of the embodiment of the present invention is shown
It is intended to.Wherein, the network platform can be third-party platform, i.e. third-party server, provide the flat of publication for the information sharing of terminal
Platform realizes exchange and interdynamic of each terminal in the network platform.The present embodiments relate to first terminal or second terminal example
It is (such as intelligent such as to can be mobile phone, tablet computer, laptop, palm PC, mobile internet device, wearable device
Wrist-watch (such as iwatch), Intelligent bracelet, pedometer etc.) or other terminal devices that can be interactively communicated with the network platform.
As shown in Fig. 2, a kind of another embodiment of the method for downloading theme packet of the embodiment of the present invention may include following
Step.
S200, first terminal send access request to the network platform for link.
In the specific implementation, first terminal sends the access request for link to the network platform, access request is for accessing
The link of network platform publication.Wherein, the link is directed to the link according to what second terminal was sent by the network platform
Posting request issued, it is described link from the second terminal to the server of application belonging to the theme APMB package send out
The theme packet is sent, so that the server of application belonging to the theme APMB package generates and sends according to the theme packet to institute
State second terminal.
Specifically, second terminal can be according to the theme of the input creation application of user, and referred to according to the sharing that user inputs
It enables for the application theme of creation being packaged and generates theme packet, then theme is wrapped to the server for reaching application.The server of application will
Theme packet is stored to preset storage unit, and according to belonging to the download address of the theme packet of theme packet generation, theme APMB package
The download address of application generate theme APMB package, the last application settings according to belonging to the theme APMB package theme APMB package
File format is xxx.cmls.The server of application is finally generated according to theme APMB package and is linked, and is sent and given birth to second terminal
At link so that posting request is sent to the network platform by second terminal, posting request carries link, to request the network platform
Link is issued.
As a kind of enforceable mode, it may also include the publicity text of application belonging to theme APMB package in theme APMB package
Case.When first terminal can not open theme APMB package, theme APMB package is checked according to text mode, then what is obtained is theme
The download address of application belonging to the publicity official documents and correspondence and theme APMB package of application belonging to APMB package.
S201, it is corresponding that the first terminal receives the link that the network platform is sent according to the access request
Theme APMB package, the theme APMB package include the download address of theme packet and the file format of the theme APMB package, institute
State file format application settings according to belonging to the theme APMB package of theme APMB package.
In the specific implementation, after the network platform receives the access request for link of first terminal transmission, according to connecing
The corresponding theme APMB package of the server download link of the access request received from application, and to first terminal send downloading after
Theme APMB package, so that first terminal receives the theme APMB package of network platform downloading.Wherein, theme APMB package includes theme
The download address of packet and the file format of theme APMB package.In addition, also include the download address of theme packet in theme APMB package,
With can be opened when first terminal judges that first terminal is equipped with application belonging to theme APMB package theme APMB package and from
The download address of theme packet is obtained in theme APMB package.
S202, the first terminal judge whether the first terminal is installed according to the file format of the theme APMB package
There is application belonging to the theme APMB package.
In the specific implementation, as theme APMB package file format with belonging to theme APMB package using corresponding, only
The file of xxx.cmls format could be opened and used in the case where application belonging to first terminal is equipped with theme APMB package,
Otherwise first terminal can not open the file even with xxx.cmls format, therefore first terminal can be by the theme that gets
The file format of APMB package judges whether first terminal is equipped with application belonging to theme APMB package.
As a kind of enforceable mode, first terminal can obtain each at least one mounted application of first terminal
Using corresponding file format, it is compared each using corresponding file format with the file format of theme APMB package.If
In the presence of file format identical with the file format of theme APMB package, then first terminal determines that first terminal is equipped with theme Bao Wen
Application belonging to part, and execute step S203;If not finding file format identical with the file format of theme APMB package,
Then follow the steps S207.
S203, the first terminal obtain the download address of the theme packet from the theme APMB package.
In the specific implementation, when the judging result of step S202, which is, is, since first terminal is equipped with theme APMB package institute
The application of category, therefore first terminal can open theme APMB package by application belonging to theme APMB package, from theme APMB package
Directly acquire the download address of theme packet.
As a kind of enforceable mode, first terminal can also identify this according to the download address of the theme packet got
Download address is for downloading theme packet.
Whether S204, the first terminal output show the prompt information of the theme packet, are receiving and the prompt
In the case where the corresponding displaying instruction of information, is determined according to the displaying instruction received and download the theme packet.
In the specific implementation, can show whether open up before first terminal downloads theme packet according to the download address of theme packet
The prompt information for showing theme packet, in the case where first terminal receives the displaying instruction of user's input, first terminal determines again
Download theme packet.
S205 downloads the theme packet according to the download address of the theme packet.
In the specific implementation, first terminal downloads theme packet according to the download address of theme packet, it is able to use first terminal
Theme packet after downloading.
As a kind of enforceable mode, the download address of the theme packet can be the downloading of the encrypted theme packet
Address, as shown in figure 3, step S205 specifically may include S2051 (not shown) and S2052 (not shown).
S2051, the first terminal are retrieved as the theme packet to the server of application belonging to the theme APMB package
Download address encryption key.
S2052, the download address of the first terminal encrypted theme packet according to the key pair of acquisition into
Row decryption downloads the theme packet according to the download address of the theme packet after decryption.
In the specific implementation, if the download address for the theme packet that first terminal receives is the downloading of encrypted theme packet
Location (for example, the download address of encrypted theme packet can be url=c0f1b6a831c399e2), then first terminal can be answered to this
Server obtains the key of the download address encryption for the packet that is the theme, and passes through the download address of the theme packet after key pair encryption
It is decrypted, further according to the server of the download address access application of the theme packet after decryption, from the default of the server of application
Storage unit in download theme packet.
The theme packet that downloading obtains is shown by S206, the first terminal.
In the specific implementation, directly theme packet is shown, downloading process after first terminal successfully downloads theme packet
It is quick and convenient, reduce the operating time of user.
S207, the first terminal obtain the downloading of application belonging to the theme APMB package from the theme APMB package
Location.
In the specific implementation, if the judging result of step S202 be it is no, first terminal is with can not obtaining the downloading of theme packet
Location can only check the text information of theme APMB package, the downloading of application belonging to theme APMB package is obtained from text information
Location.
As a kind of enforceable mode, first terminal can also obtain application belonging to theme APMB package from text information
Publicity official documents and correspondence.
S208, first terminal application according to belonging to the theme APMB package of acquisition download address downloading described in
Application belonging to theme APMB package.
In the specific implementation, since first terminal cannot be opened in the case where being fitted without application belonging to theme APMB package
And the theme APMB package for the use of format being xxx.cmls, therefore first terminal can application belonging to the theme APMB package by acquisition
Download address downloading theme APMB package belonging to application.It downloads and is installed belonging to theme APMB package using it in first terminal
Afterwards, i.e., openable format is the theme APMB package of xxx.cmls and the download address for obtaining theme packet, according under theme packet
Set address downloads theme packet.
Using the embodiment of the present invention, first terminal is according to the file format for receiving the theme APMB package that the network platform is sent
Judge whether first terminal is equipped with application belonging to theme APMB package, is obtained from theme APMB package in the case where being judged as YES
The download address for taking theme packet downloads theme packet further according to the download address of theme packet, first terminal is made to receive theme packet
Theme packet can be directly downloaded when file, accelerates the speed of downloading theme packet, the operating procedure of downloading theme packet is reduced, to save
Save the operating time of downloading theme packet.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of the device of downloading theme packet of the embodiment of the present invention.The present invention
The device that theme packet is downloaded described in embodiment can be applied to first terminal, and the device of downloading theme packet may be either first terminal
Itself, can also be the device for being integrated in first terminal.The device of downloading theme packet as shown in Figure 3 downloading master as shown in Figure 3
The device of topic packet includes sending module 300, receiving module 301, judgment module 302 and download module 303.
Sending module 300, for sending access request to the network platform for link;
Receiving module 301 is sent for receiving the network platform according to the access request that the sending module 300 is sent
The corresponding theme APMB package of the link, the theme APMB package include theme packet download address and the theme Bao Wen
The file format of part, file format application settings according to belonging to the theme APMB package of the theme APMB package;
Judgment module 302, for judging whether first terminal is installed according to the file format of the theme APMB package
State application belonging to theme APMB package;
Download module 303, for when the judging result of the judgment module 302 be when, then from the theme APMB package
The middle download address for obtaining the theme packet downloads the theme packet according to the download address of the theme packet.
In the specific implementation, first terminal sends the access request for link to the network platform, access request is for accessing
The link of network platform publication, wherein link is for obtaining theme APMB package.
In the specific implementation, after the network platform receives the access request for link of first terminal transmission, according to connecing
The corresponding theme APMB package of server download link of the access request received application belonging to the theme APMB package, and to first
Terminal sends the theme APMB package after downloading, so that first terminal receives the theme APMB package of network platform downloading.Wherein, main
Inscribing APMB package includes the download address of theme packet and the file format of theme APMB package.File format can be according to theme APMB package
Affiliated application settings, such as format is set as the file of xxx.cmls, the format of xxx.cmls is specific to theme APMB package
Affiliated application only could be opened and be used in the case where application belonging to first terminal is equipped with theme APMB package
The file of xxx.cmls format, otherwise first terminal can not open the file even with xxx.cmls format, can only check this
The text information of format.In addition, also including the download address of theme packet in theme APMB package, judge that first is whole in first terminal
End can open theme APMB package and obtain under theme packet from theme APMB package when being equipped with application belonging to theme APMB package
Set address.
In the specific implementation, as theme APMB package file format with belonging to theme APMB package using corresponding,
First terminal can judge whether first terminal is equipped with theme APMB package institute by the file format of the theme APMB package got
The application of category.
In the specific implementation, if first terminal judges first terminal and is equipped with application belonging to theme APMB package, first
The openable theme APMB package of terminal, directly acquires the download address of theme packet, and according under theme packet from theme APMB package
Set address downloads theme packet, and first terminal is made to be able to use the theme packet after downloading.
As a kind of enforceable mode, the theme APMB package further includes under application belonging to the theme APMB package
Set address, then the download module 303, is also used to:
When the judging result of the judgment module 302 is no, then the theme Bao Wen is obtained from the theme APMB package
The download address of application belonging to part;
Belonging to the theme APMB package is downloaded according to the download address of application belonging to the theme APMB package of acquisition
Using.
As a kind of enforceable mode, it is described link by the network platform according to second terminal sends be directed to described in
The posting request of link is issued, and the link is from the second terminal to the service of application belonging to the theme APMB package
Device sends the theme packet, so that the server of application belonging to the theme APMB package generates and sends according to the theme packet
To the second terminal.
As a kind of enforceable mode, as shown in figure 4, described device further includes determining module 304 and display module
305。
Determining module 304 is believed receiving with the prompt for exporting the prompt information for whether showing the theme packet
In the case where ceasing corresponding displaying instruction, is determined according to the displaying instruction received and download the theme packet;
Display module 305, the theme packet for obtaining downloading are shown.
As a kind of enforceable mode, as shown in figure 4, the download address of the theme packet is the encrypted theme
The download address of packet, then the download module 303 includes acquiring unit 3031 and download unit 3032.
Acquiring unit 3031, for being retrieved as the theme packet to the server of application belonging to the theme APMB package
The key of download address encryption;
Download unit 3032, the encrypted theme described in the key pair for being obtained according to the acquiring unit 3031
The download address of packet is decrypted, and downloads the theme packet according to the download address of the theme packet after decryption.
In the specific implementation, the detailed step of the present embodiment can be found in implementation example figure 2, the present embodiment is then repeated no more.
Using the embodiment of the present invention, first is judged according to the file format for the theme APMB package for receiving network platform transmission
Whether terminal is equipped with application belonging to theme APMB package, obtains theme packet from theme APMB package in the case where being judged as YES
Download address, further according to theme packet download address download theme packet, can be directly downloaded when receiving theme APMB package
Theme packet accelerates the speed of downloading theme packet, reduces the operating procedure of downloading theme packet, to save the operation of downloading theme packet
Time.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of method for downloading theme packet, which is characterized in that including:
First terminal sends access request to the network platform for link, and the access request carries the link, the link
For obtaining theme APMB package;
The first terminal receives the corresponding theme Bao Wen of the link that the network platform is sent according to the access request
Part, the theme APMB package include the download address of theme packet and the file format of the theme APMB package, the theme packet
The file format of file application settings according to belonging to the theme APMB package;
The first terminal judges whether the first terminal is equipped with the master according to the file format of the theme APMB package
Inscribe application belonging to APMB package;
If being judged as YES, the first terminal obtains the download address of the theme packet from the theme APMB package, according to
The download address of the theme packet downloads the theme packet.
2. the method according to claim 1, wherein the theme APMB package further includes the theme APMB package institute
The download address of the application of category, then the method also includes:
If being judged as NO, the first terminal obtains under application belonging to the theme APMB package from the theme APMB package
Set address;
The download address of first terminal application according to belonging to the theme APMB package of acquisition downloads the theme Bao Wen
Application belonging to part.
3. the method according to claim 1, wherein the link is sent out by the network platform according to second terminal
The posting request for the link sent is issued, and the link is from the second terminal to belonging to the theme APMB package
The server of application send the theme packet so that the server of application belonging to the theme APMB package is according to the theme
Packet generates and sends to the second terminal.
4. according to the method described in claim 3, it is characterized in that, described according to the downloading of the download address of the theme packet
Before theme packet, the method also includes:
Whether the first terminal output shows the prompt information of the theme packet, corresponding with the prompt information receiving
In the case where showing instruction, is determined according to the displaying instruction received and download the theme packet;
Then after the theme packet according to the downloading of the download address of the theme packet, the method also includes:
The theme packet that downloading obtains is shown by the first terminal.
5. according to the method described in claim 4, it is characterized in that, the download address of the theme packet is the encrypted master
Inscribe the download address of packet, then it is described that the theme packet is downloaded according to the download address of the theme packet, including:
The first terminal is retrieved as the download address of the theme packet to the server of application belonging to the theme APMB package
The key of encryption;
First terminal download address of the encrypted theme packet according to the key pair of acquisition is decrypted, according to
The download address of the theme packet after decryption downloads the theme packet.
6. a kind of device for downloading theme packet, is applied to first terminal, which is characterized in that including:
Sending module, for sending access request to the network platform for link, the access request carries the link, described
Link is for obtaining theme APMB package;
Receiving module, the link sent for receiving the network platform according to the access request that the sending module is sent
Corresponding theme APMB package, the theme APMB package include the download address of theme packet and the tray of the theme APMB package
Formula, file format application settings according to belonging to the theme APMB package of the theme APMB package;
Judgment module, for judging whether first terminal is equipped with the theme packet according to the file format of the theme APMB package
Application belonging to file;
Download module, described in when the judging result of the judgment module, which is, is, then being obtained from the theme APMB package
The download address of theme packet downloads the theme packet according to the download address of the theme packet.
7. device according to claim 6, which is characterized in that the theme APMB package further includes the theme APMB package institute
The download address of the application of category, then the download module, is also used to:
When the judging result of the judgment module is no, then obtained belonging to the theme APMB package from the theme APMB package
The download address of application;
According to the download address of application belonging to the theme APMB package of acquisition download the theme APMB package belonging to application.
8. device according to claim 6, which is characterized in that the link is sent out by the network platform according to second terminal
The posting request for the link sent is issued, and the link is from the second terminal to belonging to the theme APMB package
The server of application send the theme packet so that the server of application belonging to the theme APMB package is according to the theme
Packet generates and sends to the second terminal.
9. device according to claim 8, which is characterized in that described device further includes:
Determining module, it is corresponding with the prompt information receiving for exporting the prompt information for whether showing the theme packet
Displaying instruction in the case where, determined according to the displaying instruction received and download the theme packet;
Display module, the theme packet for obtaining downloading are shown.
10. device according to claim 9, which is characterized in that the download address of the theme packet is encrypted described
The download address of theme packet, then the download module include:
Acquiring unit, for being retrieved as the download address of the theme packet to the server of application belonging to the theme APMB package
The key of encryption;
Download unit, the download address of the encrypted theme packet described in the key pair for being obtained according to the acquiring unit
It is decrypted, the theme packet is downloaded according to the download address of the theme packet after decryption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510708871.3A CN105407147B (en) | 2015-10-27 | 2015-10-27 | Method and device for downloading theme pack |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510708871.3A CN105407147B (en) | 2015-10-27 | 2015-10-27 | Method and device for downloading theme pack |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105407147A CN105407147A (en) | 2016-03-16 |
CN105407147B true CN105407147B (en) | 2018-11-20 |
Family
ID=55472393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510708871.3A Expired - Fee Related CN105407147B (en) | 2015-10-27 | 2015-10-27 | Method and device for downloading theme pack |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105407147B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792009A (en) * | 2016-11-30 | 2017-05-31 | 深圳前海弘稼科技有限公司 | A kind of plant image transmission method and device based on cultivation box |
CN107391179A (en) * | 2017-06-28 | 2017-11-24 | 北京金山安全软件有限公司 | Method and device for publishing theme data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651943A (en) * | 2009-08-31 | 2010-02-17 | 酷派软件技术(深圳)有限公司 | Method and system for downloading service terminal, mobile terminal and terminal theme |
CN103634392A (en) * | 2013-11-26 | 2014-03-12 | 北京奇虎科技有限公司 | Method, system, terminal equipment and servers for offline file transmission |
CN104320432A (en) * | 2014-09-28 | 2015-01-28 | 百度在线网络技术(北京)有限公司 | Software installing method and device, server and system |
CN104468523A (en) * | 2014-11-07 | 2015-03-25 | 小米科技有限责任公司 | UI theme obtaining method, terminal and router |
-
2015
- 2015-10-27 CN CN201510708871.3A patent/CN105407147B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651943A (en) * | 2009-08-31 | 2010-02-17 | 酷派软件技术(深圳)有限公司 | Method and system for downloading service terminal, mobile terminal and terminal theme |
CN103634392A (en) * | 2013-11-26 | 2014-03-12 | 北京奇虎科技有限公司 | Method, system, terminal equipment and servers for offline file transmission |
CN104320432A (en) * | 2014-09-28 | 2015-01-28 | 百度在线网络技术(北京)有限公司 | Software installing method and device, server and system |
CN104468523A (en) * | 2014-11-07 | 2015-03-25 | 小米科技有限责任公司 | UI theme obtaining method, terminal and router |
Also Published As
Publication number | Publication date |
---|---|
CN105407147A (en) | 2016-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105338079B (en) | Method and device for downloading theme pack | |
CN107786328A (en) | A kind of method, service node device and computer-readable medium for generating key | |
CN107086984A (en) | A kind of method, terminal and server for obtaining and generating identifying code | |
CN104395882A (en) | Creation and context-aware presentation of customized emoticon item sets | |
CN107592636A (en) | A kind of method of processing information, terminal and server | |
CN106911687A (en) | A kind of page makeup control method and device | |
CN108183972A (en) | Document handling method and terminal | |
CN108400868A (en) | Storage method, device and the mobile terminal of seed key | |
WO2007008050A1 (en) | System, apparatus and method for providing a flashcon in a instant messenger of a mobile device | |
CN109521956A (en) | A kind of cloud storage method, apparatus, equipment and storage medium based on block chain | |
CN110431590A (en) | The system and method that content participates in | |
CN102047239A (en) | Defining, distributing and presenting device experiences | |
CN105407147B (en) | Method and device for downloading theme pack | |
CN108733666A (en) | Server info method for pushing, end message sending method and device, system | |
CN103841154A (en) | Network media information publishing method, system and client | |
CN104394169A (en) | Method and server for anonymously sending private messages by both parties | |
CN106203141A (en) | The data processing method of a kind of application and device | |
CN108549586A (en) | Information processing method and device | |
CN103078782A (en) | Friend note recommendation note implementation method and system | |
CN101187917A (en) | Method and system for using each part of selective annotation ciphered file | |
CN110046000A (en) | Small routine operation method and device | |
CN107436802A (en) | For the control method of application program, system, medium and computing device | |
CN109684116B (en) | Data sharing method, device, equipment and medium | |
CN115118520B (en) | Data processing method, device and server | |
CN110474991A (en) | Data push method, data-pushing device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181120 |