The present disclosure relates to Internet technology, particularly to a method, and device for pushing promotion contents to different platforms or devices and computer storage medium.
Most of existing processes for pushing promotion contents can only be used in a few specific platforms, which cannot be compatible with some other platforms or devices. For example, the promotion content pushing platform of Apple Inc only supports iOS operating system platform, while the promotion content pushing platform of Google Inc supports Android and iOS operating system platform.
In addition, the existing processes for pushing the promotion contents cannot achieve a precise delivery according to functions of clients. For example, by using the existing processes, the service provider cannot push promotion contents according to information about whether a client has opened a specific function or not.
In view of the above, a method and device for publishing promotion content and computer storage medium are provided in the present disclosure. The method and device have a better compatibility and by which accurate deliveries of the promotion contents can be achieved.
The technical scheme of the present disclosure will be discussed in detail below.
According to an embodiment of the present disclosure, a method for publishing promotion contents includes:
setting up, by a server, publishing parameters for a promotion content, the publishing parameters comprising types of platforms and types of devices suitable for the promotion content;
receiving, by the server, a login request from a client, the login request containing type of platform and type of device of the client;
selecting, by the server, a promotion content suitable for the client according to the publishing parameters of the promotion content, the type of the platform and the type of the device of the client;
issuing, by the server, a description file of the promotion content selected to the client;
receiving, by the server, a resource request from the client; and
issuing, by the server, at least one resource file of the promotion content selected to the client.
Another example of the present disclosure also provides a device for publishing promotion content, including:
a setting module, configured to set up publishing parameters for a promotion content, the publishing parameters comprising types of platforms and types of devices suitable for the promotion content;
a selecting module, configured to select a promotion content suitable for a client according to the publishing parameters of the promotion content after receiving a login request from the client, the login request containing type of platform and type of device of the client; and
an issue module, configure to issue a description file of the promotion content to the client, and issue at least one resource file of the promotion content suitable for the client according to a resource request from the client.
Yet another example of the present disclosure also provides a computer storage medium, which stores computer programs performing the method for publishing promotion contents according to an example of the present disclosure.
Another example of the present disclosure also provides a computing device for publishing promotion contents, which includes:
one or more processors;
a memory; and
one or more programs stored in the memory and to be executed by the one or more processors, the one or more programs comprise instructions to to direct the one or more processors to perform acts of:
setting up publishing parameters for a promotion content, the publishing parameters comprising types of platforms and types of devices suitable for the promotion content;
receiving a login request from a client, the login request containing type of platform and type of device of the client;
selecting a promotion content suitable for the client according to the publishing parameters of the promotion content, the type of the platform and the type of the device of the client;
issuing a description file of the promotion content selected to the client;
receiving a resource request from the client; and
issuing at least one resource file of the promotion content selected to the client.
According to the example of the present disclosure, the server issues an information description file to the client. The client then downloads promotion content suitable for its own operation system platform and device according to the information description file. Thus the method can be used in different platforms and devices including iOS, Android, WinCE, S60v3 and etc. The server disclosed in the present disclosure can identify the platform of the client, the type of the device and the function opened on the client, thus an accurate delivery of promotion content to specific type of client can be achieved.
To make the objective, technical solutions and advantages of the present invention clearer, examples of the present invention would be described in further detail with reference to the drawings.
In step 101, publishing parameters of a promotion content are configured in a server, and resource files of the promotion content are deployed.
According to the example of the present disclosure, the publishing parameters of the promotion content are configured based on types of platforms and types of devices of clients suitable for the promotion content.
The promotion content includes at least one of the following: texts, images, animations, videos and contents in other multi-media formats.
The publishing parameters are used to indicate the types of the platforms and devices suitable for the promotion content, published time information (such as a valid starting and ending time, display duration and etc.), background information (such as a Uniform Resource Locator (URL) of a background image, etc.), a target URL, display policy information (such as whether to allow a user to close and etc.). The publishing parameters may be stored in a publishing parameter list in a database. According to an example of the present disclosure, fields of the publishing parameter list are listed in Table 1:
In step 102, the client sends a login request to the server, wherein the request including the type of the platform and the type of the device of the client.
Further, the login request may further include the version of the platform (such as, iOS 4.3.3, iOS 5 and etc.) of the client. In different versions of operating systems, different system functions can be provided. Therefore, the server can further refine the condition of selecting promotion contents for the clients according to the version of the platform besides the type of the platform and the type of the device of the client. Thus a more accurate delivery of promotion content can be achieved.
In step 103, the server selects a promotion content suitable for the client according to the publishing parameters configured and the type of the platform and device of the client contained in the login request.
The server may select the promotion content suitable for the client based on the following conditions:
1) whether current time is within the duration between the valid starting time and valid ending time of the promotion content, the result can be obtained based on the valid starting time of the promotion content and the valid ending time of the promotion content in the publishing parameters;
2) whether the type of the platform and the type of the device matches the publishing parameters of the promotion content; the result can be obtained by comparing the type of the platform and the type of the device of the client contained in the login request and the types of compatible platforms and the types of compatible devices of the promotion content in the publishing parameters.
In one example of the present disclosure, the selecting conditions can be further refined to achieve a more accurate delivery. In this example, the login request from the client further includes the version of the platform of the client. And the server determines whether the promotion content is suitable for the client based on “version” configured in the publishing parameters, which refers to the range of the versions of compatible platforms.
In another example of the present disclosure, the selecting conditions can be further refined to achieve a more accurate delivery. In this example, the server may track the state of a specific function on each client. When clients open/close the specific function, the server would record the state of the specific function on the clients. And after receiving a login request from a client, the server may make a decision on whether to issue a promotion content based on the state of the specific function on the client.
In step 104, the server issues to the client a description file of the promotion content selected for the client.
According to an example of the present disclosure, one description file is configured for one promotion content. And the server would issue a same description file to all platforms the server supports (dataflow is small because no background image is attached). The description file includes content information corresponding to each type of platform and device, configuration information of the publishing parameters. The content information may include title, introduction and etc. the configuration information of the publishing parameters may include source information of the background image (URL of the background image), a target URL, publishing time information (such as a valid starting/ending time, a display duration time and etc), display policy information (such as whether to allow the user to close and etc.) and etc. With respect to a same promotion content, the client may only analyze the description information of its own platform and display according to the result of the analyzing.
In step 105, after receiving the description file, the client may analyze the description file; obtain the content information corresponding to its own platform and the configuration information of the publishing parameters.
In the publishing parameter list, the field “platform” is used to indicate the platforms the promotion content can be issued to or the compatible platforms. If the field “platform” includes only one platform, the promotion content can be issued only to this platform. The server may issue the promotion content to the user corresponding to the type of the platform of the user based on the type of the platform contained in the login request. While if the field “platform” includes a plurality of types of platforms, the server may configure different background images, different target URLs to different platforms. And the server may issue a same description file to all the platforms supported. The description file describes configuration information corresponding to each platform. With respect a same promotion content, the client may only analyze the description information of its own platform and display according to the result of the analyzing.
According to an example of the present disclosure, the description file may be in a format of Extensible Markup Language (XML).
In step 106, the client sends a resource request to the server according to the configuration information corresponding to the type of the platform and the type of the device in the description file, and obtains at least one resource file of the promotion content designated from the server. The resource file refers to a file which the promotion content relies on, such as a background image and etc.
According to examples described above, different platforms and different devices use different background images. The client obtains a background image suitable for its own device from the server according to the type attribute of background images. For example, the background image of an iPhone 4 is a high definition (HD) image (image type=“hd”), while the background image of an iPhone 3 or iPod is a standard definition image (image type=“sd”).
In step 107, the server issues at least one corresponding resource file of the promotion content according to the request of the client.
In step 108, the client displays the promotion content according to configurations in the description file.
In step 109, after the client closes the promotion content or after the promotion content becomes invalid, the client reports statistic data corresponding to the promotion content to the server which would help the server to evaluate the publication of the promotion content.
A setting module 201, configured to set up publishing parameters for a promotion content. For different types of platforms and devices of the clients, different publication parameters can be set up for a same promotion content.
A selecting module 202, configured to select a promotion content suitable for the platform and the device of the client according to the publishing parameters of the promotion content after receiving a login request from a client.
Preferably, the login request of the client may include: type of the platform of the client, type of the device of the client and version of the platform of the client. The selecting module 202 may select the promotion content suitable for the client according to the type of the platform, the type of the device and the version of the platform of the client.
An issue module 203, configured to issue a description file of the promotion content selected to the client, and issue at least one resource file of the promotion content suitable for the platform and device of the client according to a resource request of the client; wherein the description file contains content information corresponding to each type of platform and device and configuration information corresponding to the publishing parameters.
Preferably, the device may further include a function judging module 204, configured to judge whether the client has opened a specific function or some specific functions according to a user identity (ID) contained in the login request of the client.
The selecting module 202 selects the promotion content suitable for the client according to the type of the platform, the type of the device and a judging result from the function judging module 204.
Preferably, the description file issued by the issue module 203 contains content information corresponding to each type of platform and device and configuration information corresponding to the publishing parameters. The configuration information corresponding to the publishing parameters contains resource information of a background image, a target URL, published time information and display policy information.
After receiving the description file, the client obtains the content information and configuration information from the description file according to the type of its own platform and device.
If modules in the above examples are implemented by software and in the form of a product which can be sold or used independently, the modules can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present disclosure or the part contributing to the prior art may be embodied in the form of a software product. The software product may be stored in a storage medium, which includes a plurality of instructions making a computing device (such as a personal computer, a server, or a network equipment) to perform all or part of various examples of the method of the present disclosure. The storage medium may be any kind of non-transitory medium capable of storing program code, which may include any of a U disk, a mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), a disk or an optical disk. Thus, examples of the present disclosure are not limited to any specific combination of hardware and software.
Yet another example of the present disclosure also provides a computer storage medium, which stores computer programs being executed to perform the method for publishing promotion content according to an example of the present disclosure.
Still another example of the present disclosure provides a computing device for publishing promotion contents, which includes: one or more processors; a memory; and one or more programs stored in the memory and to be executed by the one or more processors, the one or more programs comprise instructions to direct the one or more processors to perform acts of:
setting up publishing parameters for a promotion content, the publishing parameters comprising types of platforms and types of devices suitable for the promotion content;
receiving a login request from a client, the login request containing type of platform and type of device of the client;
selecting a promotion content suitable for the client according to the publishing parameters of the promotion content, the type of the platform and the type of the device of the client;
issuing a description file of the promotion content selected to the client;
receiving a resource request from the client; and
issuing at least one resource file of the promotion content selected to the client.
The above are only preferred examples of the present disclosure without any intention to limit the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2011 1 0447849 | Dec 2011 | CN | national |
This patent application is a continuation of an International application No. PCT/CN2012/086568 filed on Dec. 13, 2012, which claims priority of a Chinese Patent Application No. 201110447849.X filed on Dec. 28, 2011, entitled “Method and Device for Publishing Promotion Contents”, whose applicant is Tencent Technology (Shenzhen) Co., Ltd. The full text of each application is incorporated by reference in its entirety in the present application.
Number | Name | Date | Kind |
---|---|---|---|
8505054 | Kirley | Aug 2013 | B1 |
9307042 | Wu | Apr 2016 | B2 |
20060224761 | Howarth | Oct 2006 | A1 |
20110138064 | Rieger | Jun 2011 | A1 |
20120062712 | Kesseler | Mar 2012 | A1 |
Number | Date | Country |
---|---|---|
101119223 | Feb 2008 | CN |
101119517 | Feb 2008 | CN |
101895872 | Nov 2010 | CN |
102185917 | Sep 2011 | CN |
1659487 | May 2006 | EP |
Entry |
---|
International Search Report for PCT/CN2012/086568 mailed on Mar. 21, 2013, 2 pages. |
Office Action issued in Chinese Patent Application No. 201110447849.X, on Dec. 12, 2014. |
Number | Date | Country | |
---|---|---|---|
20140330892 A1 | Nov 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2012/086568 | Dec 2012 | US |
Child | 14315207 | US |