Hybrid client-server data delivery approach
Through the mediation SDK, multiple content requests are batched on the client device and processed on the mediation server, which solves the problem of client device computing resource consumption and delay, and optimizes the efficiency of content provision, especially in mobile network environments.
Patent Information
- Application Number
- CN202110178776.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2016-03-17
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2036-03-17
AI Technical Summary
There are computational resource consumption and latency issues when handling multiple content requests on client devices, especially in mobile network environments where the opening of multiple network connections and request delivery results in significant latency.
Batch multiple content requests into a single batch request through the mediation SDK, and process and respond on the mediation server, reducing the computing resource consumption and the number of network connections on the client device, and utilizing server-to-server network connections to optimize latency.
It effectively reduces the computing resource consumption and delay on the client device, improves the efficiency of content provision, and significantly improves the processing and response time of multiple requests, especially in mobile network environments.
Smart Images

Figure CN112989239B
Abstract
Description
[0001] Description of the case
[0002] This application is a divisional application of Chinese invention patent application No. 201680016359.5, filed on March 17, 2016.
[0003] Cross-references to related patent applications
[0004] This application claims the benefit of and priority to PCT / US2016 / 022871, filed on March 17, 2016, the entire contents of which are incorporated herein by reference. Technical Field
[0005] The present invention relates to a method for hybrid client-server data provision. Background Art
[0006] A publisher may request content from multiple third-party content providers. This may be problematic in terms of computing resources on the client device running the application, such as memory to open multiple network connections to transmit the multiple requests. It may also create issues in terms of latency, particularly when the network is a mobile network such as a 3G or 4G network. There may be significant delay or lag between making the multiple requests and receiving a response from the client device. Summary of the invention
[0007] Embodiments described herein relate to mediation of requests to provide data. The methods described in this application can, among other things, help improve the problems presented by multiple content requests by having the mediation SDK batch multiple requests as one batch request on the client device, and transmit only a single batch request to the mediation server to obtain content from at least one of the third-party content providers.
[0008] One embodiment relates to a method for hybrid client-server data provision. In this embodiment, the method includes requesting, by an application executed by a client device, from a plurality of content provider software development kits (SDKs) integrated with the application, content items displayed by the client device. The method further includes processing the request for the content item by a plurality of request adapters of the content provider SDK for potential submission to a plurality of content provider servers, thereby generating a plurality of processed requests. The method further includes receiving a plurality of processed requests from the plurality of content provider SDKs by an interceptor module of a mediation SDK integrated with the application. The method further includes batching the plurality of processed requests into batch requests by an integrator module of the mediation SDK, the batch requests including content provider priority information. The method further includes transmitting, by the mediation SDK, the batch requests based on the content provider priority information for mediation of the batch requests to the plurality of content provider servers. The method further includes receiving, by the mediation SDK, at least one content item displayed by the client device from the mediation server.
[0009] In some of these embodiments, processing the request for potential submission to a plurality of content provider servers includes including appropriate header information for a content provider server among the plurality of content provider servers.
[0010] In some of these embodiments, the content provider priority information includes a priority ranking of content provider servers.
[0011] In some of these embodiments, the content provider priority information is provided by the application to the mediation SDK.
[0012] In some of these embodiments, a single content item is selected by an analysis engine of the mediation SDK for display by the client device from among the at least one content item based on the content provider priority information.
[0013] In some of these embodiments, the at least one content item received from the mediation server for display is the only content item received from the mediation server for display, and based on the content provider priority information available to the mediation server, the at least one content item for display is the highest priority content item for display.
[0014] In some of these embodiments, the batch request also includes timing information regarding a maximum acceptable time for a response from the mediation server.
[0015] In some of these embodiments, the mediation of the batch processing requests is based at least in part on the timing information.
[0016] In some of these embodiments, the interceptor module intercepts the processed request.
[0017] In some of these embodiments, the interceptor module intercepting the processed request includes the content provider SDK using a callback interface of the mediation SDK.
[0018] In some of these embodiments, the interceptor module intercepting the processed request includes preventing the content provider SDK from calling the content provider server.
[0019] One embodiment relates to a method for hybrid client-server data provision. In this embodiment, the method includes receiving, by a mediation server, from a mediation software development kit (SDK), batch requests for content items for display by a client device, the batch requests having been generated by an integrator module of the mediation SDK based on multiple processed requests for content items processed by multiple content provider SDKs on the client device. The method further includes processing the batch requests by a deconstruction engine of the mediation server to generate multiple content provider-specific requests. The multiple content provider-specific requests are transmitted to multiple content provider servers by the mediation server. The method further includes receiving, by the mediation server, from the content provider server at least one content item responsive to at least one of the content provider-specific requests, and storing the content item in a content storage of an analysis module of the mediation server. The method further includes transmitting the selected content item to the mediation SDK by the mediation server.
[0020] In some of these embodiments, transmitting the selected content item occurs after a predetermined timeout period.
[0021] In some of these embodiments, the batch request also includes timing information.
[0022] In some of these embodiments, the transmitting the selected content item occurs after a timeout period established by the analysis module based on the timing information.
[0023] In some of these embodiments, selecting at least one stored content item for transfer comprises selecting a plurality of stored content items for transfer.
[0024] In some of these embodiments, the batch request further includes content provider priority information, and the selecting of the at least one stored content item for transfer is based on the content provider priority information.
[0025] In some of these embodiments, the method further includes intercepting, by an interceptor module of the mediation SDK, the plurality of processed requests.
[0026] In some of these embodiments, the intercepting by the interceptor module includes using a callback interface of the mediation SDK by a content provider SDK.
[0027] In some of these embodiments, the intercepting by the interceptor module includes blocking calls by the content provider SDK to the content provider server. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the disclosure will become apparent from the description, drawings, and claims.
[0029] Figure 1 is an overview describing a general architecture used in embodiments of methods that may be used for hybrid client-server data provision;
[0030] Figure 2 is a detailed view of components used in an embodiment of a method for hybrid client-server data provision;
[0031] Figure 3 is a detailed view of some of the interactions between those components in an embodiment of a method for hybrid client-server data provision;
[0032] Figure 4 is a detailed view of some of the interactions between those components in another embodiment of a method for hybrid client-server data provision;
[0033] Figure 5 is a flow chart describing the decision-making process of the analysis module of the mediation server.
[0034] It will be appreciated that for purposes of illustration, some or all of the drawings are schematic. The drawings are provided for the purpose of illustrating one or more embodiments, with the explicit understanding that they will not be used to limit the scope or meaning of the claims. DETAILED DESCRIPTION
[0035] The following is a more detailed description of various concepts related to methods of hybrid client-server content provision and implementations of methods of hybrid client-server content provision. The various concepts introduced above and discussed in more detail below can be implemented in any of a number of ways, as the concepts described are not limited to any particular implementation. Examples of specific implementations and applications are provided primarily for illustrative purposes.
[0036] A computing device (for example, a client device) can view resources such as web pages, documents, applications, etc. In some embodiments, a computing device can access resources via the Internet by communicating with a server (such as a web server) corresponding to the resource. Resources can be provided by a single server, or can be provided by multiple servers. For example, in some embodiments, resources can be available from multiple servers, and a computing device can request resources from two or more of the servers, wherein the resources are provided to the computing device by, for example, a first server in multiple servers in response to a request for the resource. In addition or alternatively, the resource may include different content that can be provided by different servers. For example, first-party content of a resource can be provided from a first server, and additional third-party content of the resource can be provided by multiple additional servers, so that the first-party content of the resource can be provided from the first server, and the third-party content of the resource can be provided by one or more of the additional servers based on predetermined criteria. Providing content from multiple servers in this way allows, for example, based on predetermined criteria (such as providing content to a computing device the fastest) to select a server for providing content.
[0037] The provision of content from multiple servers can be additionally used to provide content to a computing device (for example, a client device) that views or executes data through an application such as a mobile application. Similar to viewing resources such as the above-mentioned web page, content associated with the application can be available from multiple servers, and the content can be requested by a computing device from multiple servers, wherein the content associated with the application is provided by one of the servers based on predetermined criteria, or first-party content can be provided by a first-party content provider, and additional third-party provided content can be requested from multiple third-party content providers, wherein the third-party provided content is provided by the third-party content provider based on predetermined criteria. In one embodiment, in response to the use of the application, the resource server and / or the client device can communicate with a data processing system such as a content item selection system to request content items to be presented using the user interface of the application and / or other means. The content item selection system can select third-party content items and provide data to achieve the effect of presenting the content items on the display of the client device using the application.
[0038] In some cases, a device identifier may be associated with a client device. The device identifier may be a random number associated with a client device to identify the device during subsequent requests for resources and / or content items. In some cases, the device identifier may be configured to store and / or cause the client device to transmit information related to the client device to a content item selection system and / or a resource server (for example, values of sensor data, web browser type, operating system, historical resource requests, historical content item requests, etc.).
[0039] In cases where the systems discussed herein collect personal information about a user or can make use of personal information, the user may be provided with an opportunity to control whether a program or feature collects information about the user (for example, information about the user's social network, social actions or activities, profession, user preferences, or the user's current location), or to control whether and / or how content is received from a content server. In addition, certain data may be processed in one or more ways prior to storage or use so that personally identifiable information is removed. For example, the user's identity may be processed so that personally identifiable information cannot be determined for the user, or where location information (such as city, zip code, or state level) is obtained, the user's geographic location may be summarized so that the user's specific location cannot be determined. Thus, the user may control how information about the user is collected by the content server and how that information is used.
[0040] As previously described, a computing device (e.g., a client device) may also be used to view or execute an application such as a mobile application. An application may include first-party content that is the subject of the application from a first-party content provider, and may also include additional third-party provided content. In one embodiment, in response to use of an application, a resource server and / or a client device may communicate with a data processing system such as a content item selection system to request content items presented by a user interface of the application and / or otherwise.
[0041] The request may be a request to multiple third-party content providers, the purpose of which is to enable at least one or more third-party content providers to provide at least one or more content items, and at least one or more content provision items can be presented to the user on the user interface of the application. These requests may need to be processed before being dispatched on the third-party content provider. For example, the request may be an HTTP GET request, and the request may require, for example, appropriate IP headers, appropriate settings of query parameters, or other requirements before it can be dispatched to the third-party content provider. An SDK integrated with the application can be used to handle such processing. The SDK may, but need not, be provided by the third-party content provider for use by application developers.
[0042] In some cases, as described above, an application may request content from multiple third-party content providers in order to obtain the content from one of the third-party content providers that meets predetermined criteria, such as the third-party content provider that can provide the content fastest.
[0043] It should be understood that a large number of requests may need to be issued by an application, for example, requesting content from multiple servers. This may be problematic in terms of computing resources on the client device running the application, for example, memory for opening multiple network connections to transmit multiple requests. It may also cause problems in terms of latency, especially when the network is a mobile network, such as a 3G or 4G network. There may be a significant delay or lag between issuing multiple requests and receiving responses from the client device. The method described in the present application can, among other things, help improve at least this problem by having the mediation SDK batch multiple requests into one batch request on the client device, and then only a single batch request is transmitted to the mediation server to instantiate content provision to the client device. In this way, content can be provided to the client device from one of the multiple content sources so that the content can be received more efficiently while avoiding problems associated with computing resources on the client device and the latency discussed above.
[0044] Figure 1 is an overview describing the general architecture of a system 100 that may be used in an embodiment of a method for hybrid client-server content delivery. The client device 102 may include one or more devices, such as a computer, a laptop, a desktop computer, a smart phone, a tablet, a personal digital assistant, a set-top box for a television, a smart TV, or a server device configured to communicate with other devices via, for example, a network 108. The client device may include one or more content provider SDKs, such as content provider SDK 1 and content provider SDK n, and a mediation SDK, as described in more detail below.
[0045] In one embodiment, system 100 includes network 108 and network 110, which may include a local area network (LAN), a wide area network (WAN), a wireless link, an intranet, the Internet, or a combination thereof. System 100 also includes a mediation server 104 and a content provider server 106, which will be described in more detail below.
[0046] Figure 2 Some components, devices, and networks used in system 100 that may be used in embodiments of a method for hybrid client-server data provision are shown.
[0047] System 100 may include client device 102. Client device 102 may include one or more devices, such as a computer, a laptop computer, a desktop computer, a smart phone, a tablet computer, a personal digital assistant, a set-top box for a television, a smart TV, or a server device configured to communicate with other devices via, for example, a network 108. The device may be any form of portable electronic device including a data processor and a memory. Memory 202 may store machine instructions that, when executed by a processor, cause the processor to perform one or more operations herein. The memory may also store data so that one or more resources, content items, etc. are presented on a computing device. The processor may include a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., or a combination thereof. The memory may include, but is not limited to, electronic, optical, magnetic, or any other storage or transmission device capable of providing program instructions to the processor. The memory may include a floppy disk, a compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a magnetic disk, a memory chip, a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical medium, or any other suitable memory from which a processor can read instructions. The instructions may include code from any suitable computer programming language, such as, but not limited to, ActionScript, C, C++, C#, HTML, Java, JavaScript, Perl, Python, Visual Basic, and XML.
[0048] The client device 102 can execute a software application 206 (for example, a web browser or other application) to retrieve content from other computing devices via the network 108. In some cases, the application running on the client device 102 can be, for example, a game, a media player, etc. In one embodiment, the client device 102 can execute a web browser application that provides a browser window on the display of the client device. The web browser application that provides the browser window can operate by receiving input such as a uniform resource locator (URL) of a website from an input device (for example, a pointing device, a keyboard, a touch screen, or another form of input device). In response, the one or more processors 200 of the client device executing instructions from the web browser application can request data from another device connected to the network 108 referred to by the URL address (for example, the mediation server 104). The other device can then provide web page data and / or other data to the client device 102, which causes the display 204 of the client device 102 to display visual indicia.
[0049] Application 206 can start a request for content items from multiple content providers such as content providers. This can include requests 1, 2, ..., n for content items provided by content providers 1, 2, ..., n. As mentioned above, the request may need to be processed to be dispatched to the content provider. In one embodiment, the request is sent to each of multiple content provider SDKs (such as, content provider SDK 1, content provider SDK 2, ..., until content provider SDK n), and each of the content provider SDKs can be integrated with the application. SDK can include a set of software development tools, such as libraries, APIs and / or hardware platforms. Content provider SDK 1 is associated with content provider 1, so that at least a request for content items can be processed so that the request can be dispatched to content provider 1. Similarly, content provider SDK n is associated with content provider n so that at least a request for content items can be processed so that the request can be dispatched to content provider n. This processing can be handled by the adapter of the content provider SDK, for example, adapter 1 of content provider SDK 1. For example, the adapter can ensure that the request has an appropriate header for submission to a specific content provider.
[0050] In one embodiment, after processing the request as described above, the content provider SDK does not transmit the processed request to the content provider. On the contrary, after processing the request as described above, the processed request is intercepted by the mediation SDK 216 via the interceptor module 222. In one embodiment, the interceptor module 222 can be integrated with the content provider SDK so that it provides a well-defined callback interface, and the alternative content provider SDK starts the contact with its corresponding content provider server, and the processed request is passed to the interceptor module, for example, for final batch processing. In an embodiment, interception can be implemented additionally or alternatively at a lower network level so that the HTTP call to the content provider server from the content provider SDK is blocked. For example, packet detection filtering may be used to block them. The mediation SDK 216 may include a set of software development tools, such as libraries, APIs and / or hardware platforms. In an embodiment, the mediation SDK 216 includes a memory 218, which includes a content provider priority information storage 220. In one embodiment, the mediation SDK 216 also includes an integrator module 224. The mediation may be integrated with the application 206 and / or any or all of the content provider SDKs 1 to n.
[0051] The content provider priority information storage may, for example, store content provider priority information such as priority sorting, or other information for determining the effectiveness of different content providers in providing content. For example, data may indicate the average connection speed or latency of each content provider, or data may indicate the quality of the content provided, such as the compression rate of the content provided from each content provider.
[0052] In one embodiment, the interceptor module 222 can be integrated via, for example, code in the application and code in each content provider SDK 1 to n, so that the content provider SDK transmits the processed request to the interceptor module 222 as described above. In one embodiment, the integrator module 224 then processes any and all processed requests and generates a single batch request. The batch request includes some or all information required for the mediation server 104 (including the processor 226) to reconstruct the processed requests processed by the content provider SDK 1 to n. It also includes the content provider priority information stored in the content provider priority information storage 220.
[0053] In one embodiment, the batch request is sent to the mediation server 104 via the network interface of the mediation SDK 216 over the network 108. The network 108 may include a local area network (LAN), a wide area network (WAN), a wireless link, an intranet, the Internet, or a combination thereof. Due to the fact that only a single request is transmitted over the network 108, latency issues often seen when trying to mediate multiple requests for content are greatly improved because there is less load on the network interface of the mediation SDK 216 and less load on the network 108.
[0054] In one embodiment, the batch request is received by a network interface of the mediation server 104. The mediation server 104 may include a computing device such as a server that is configured to host resources such as web pages or other resources (for example, articles, review threads, music, videos, graphics, search results, information feeds, etc.). The mediation server 104 may be a computer server (for example, a file transfer protocol (FTP) server, a file sharing server, a web server, etc.) or a combination of servers (for example, a data center, a cloud computing platform, etc.). The mediation server 104 may provide resource data or other content (for example, text documents, PDF files, and other forms of electronic documents) to the client device 102.
[0055] In one embodiment, the batch request is processed by the deconstruction engine 230 of the mediation server 104 stored in the memory 228 of the mediation server. The deconstruction engine is preconfigured to be able to deconstruct the batch request generated by the mediation SDK 216 into a plurality of processed requests corresponding to the processed requests processed by the content provider SDKs 1 to n. Each of the plurality of processed requests is suitable for submission to the content provider, as described above.
[0056] In one embodiment, the mediation server also has an analysis module 232 stored in the memory 228. The analysis module has a content storage 234, a counter 236, and a content provider priority information storage 238, which will be discussed below.
[0057] The mediation server may transmit the processed request to a specific content provider server through the network 110 by a network interface (the network 110 may include a local area network (LAN), a wide area network (WAN), a wireless link, an intranet, the Internet, or a combination thereof). For example, a processed request corresponding to a request processed by content provider SDK 1 may be transmitted to content provider server 1 including processor 240 and memory 242. A processed request corresponding to a request processed by content provider SDK 2 may be transmitted to content provider server 2, and so on, until a processed request corresponding to a request processed by content provider SDK n may be transmitted to content provider server n including processor 244 and memory 246. In this way, a request corresponding to an initial request made by application 206 on client device 102 may be appropriately processed and dispatched to the appropriate content provider server.
[0058] Content provider servers, such as Figure 2The content provider server 106 shown may respond to a request such as the above request and transmit a content item to the mediation server 104 via the network 110. The content item may then be stored in the content storage 234. In one embodiment, the analysis module 232 of the mediation server 104 processes the received content item. The analysis module has stored data that allows it to determine how many responses are expected. The data may be provided by, for example, the deconstruction engine after processing a batch request. Since the mediation server receives content items from the content provider, the items may be transmitted to the mediation SDK 216 when the content is received, so that the content may be provided to the client device, wherein the time between requesting the content and providing the content to the client device is minimized. Alternatively, as described above, the content may be stored in the content storage 234, and a counter 236 may be incremented for each content item stored. If the mediation server receives, for example, a notification from the content provider that the content item cannot or is unwilling to be provided, the counter 236 may also be incremented. In some embodiments, the analysis module 232 may use the counter 236 to determine, for example, when all expected responses have been considered. The analysis module 232 can then transmit or cause the mediation server 104 to transmit or cause any component or module of the mediation server to transmit the stored content items to the mediation SDK 216 via the network 108. Alternatively or additionally, the stored content items can be transmitted to the client device 102, or any component or module of the client device 102. Once transmitted to the client device, the mediation SDK 216 or the application 206 or the client device or any component or module of the client device, a combination thereof or otherwise, the content items to be displayed can be determined. This determination can be based on content provider priority information. For example, a content item provided by a content provider determined to be the highest quality content can be selected.
[0059] Instead of transmitting all stored content items, the analysis module 232 can determine which single content item should be displayed and transmit only that content item to, for example, the mediation SDK. The determination can be based on the content provider priority information stored in the content provider priority information storage 238. For example, the quality of the provided content can be determined based on the priority information, for example, based on historical data on quality provided by the content provider, and if the quality does not meet the predetermined criteria, the analysis module can wait for additional data within a predetermined time. If the predetermined time is exceeded, the analysis module can transmit the content with the highest quality that has been received.
[0060] In one embodiment, once the analysis module 232 stores the highest overall priority content item in the content storage 234, it dynamically selects and transmits the highest overall priority content item without waiting for all transmitted requests to be considered in the above manner. This can be achieved by having the analysis module determine the highest overall priority content provider based on the content provider priority information. The content item received from the content provider stored in the content storage 234 is marked as the highest overall priority content item by the analysis module 232. In one embodiment, once the content item is so marked, it is immediately transmitted to, for example, the mediation SDK 216, which can then display the content item. This allows the analysis module 232 to shorten the overall process of providing the highest priority content item because it is not necessary to wait for the reception and storage of content items with a lower priority than the highest overall priority content item.
[0061] In another embodiment, the analysis module 232 uses a timeout period to set the maximum amount of time that a content item from a content provider can be received. The timeout period can be based on, for example, timing information related to the maximum acceptable time for a response from the mediation server 104. The batch request transmitted by the mediation SDK 216 can include the timing information. For example, when the analysis module 232 transmits a first processed request to a content provider n corresponding to a processed request processed by the content provider SDK n, the analysis module 232 can start a timer. The timer is continuously compared with the timeout period determined by the analysis module 232 based on the timing information. Alternatively, the timeout period can correspond to a predetermined value stored on the mediation server. The timeout period can be any amount of time, but preferably does not exceed one second.
[0062] In one embodiment, once the timer has counted an amount of time exceeding the fixed timeout period, the analysis module 232 transmits the stored content items to the mediation SDK 216 via the network 108. The analysis module may also transmit a single content item that is determined to be the highest priority content item among the content items stored in the content store 234 in the manner described above.
[0063] Figure 3Some interactions between components of system 100 in an embodiment of a method for hybrid client-server data provision are shown. In the figure, arrows generally represent requests for content items in processed, unprocessed, batched, or other states. In one embodiment, two requests originate from application 206, one to content provider SDK 1 and the other to content provider SDK n. Adapter 1 and adapter n each process the requests they receive respectively and output processed requests in the correct format for submission to the content provider server, for example, the processed request processed by adapter 1 has appropriate header information for submission to content provider 1, and the processed request processed by adapter n has appropriate header information for submission to content provider n.
[0064] In one embodiment, an interceptor module 222 integrated with an application or content provider SDK or both receives the two processed requests. An integrator module 224 batches these requests together into a single batch request, which includes content provider priority information, and transmits the single batch request (represented by a single arrow) to the mediation server 104 via the network 108. The mediation server 104 then mediates the batch request to the two content providers based on the content provider priority information. The mediation server 104 then transmits the single highest priority content item back to the mediation SDK 216 via the network 108, and the mediation SDK 216 can display or cause the display of the single highest priority content item.
[0065] Figure 4 Some other interactions between components of the system 100 in an embodiment of a method for hybrid client-server data provision are shown. In one embodiment, the mediation server 104 receives a single batch request, indicated by a single arrow, from the mediation SDK 216 via the network 108. The batch request is processed by the deconstruction engine 230 of the analysis module 232, which stores the content priority information in the content provider priority information storage 238, and transmits two requests, depicted by two arrows, via the network 110, one request corresponding to the processed request processed by the content provider SDK 1 to the content provider server 1, and one request corresponding to the processed request processed by the content provider SDK n to the content provider server n. The content provider server returns two content items stored in the content storage 234. The analysis module 232 of the mediation server then selects and transmits two content items from the content storage 234 to the mediation SDK 216 via the network 108. The mediation SDK 216 may display or cause to be displayed a single highest priority content item based on the content provider priority information.
[0066] Figure 5A flow chart describing the delivery decision processing of the analysis module 232 is shown. In one embodiment, the analysis module 232 has a predetermined timeout period. The mediation server 104 requests content items from multiple content provider servers at 400. At 402, the mediation server waits for a timeout (based on a predetermined timeout period) or a new response, i.e., a content item provided by a content provider server or a failure notification. If a timeout occurs, then at 416 the analysis module 232 determines whether there are any stored content items in the content storage 234. If not, then at 418 the mediation server 104 transmits a failure response to the mediation SDK 216 via the network 108. For example, the mediation server 104 can transmit a predetermined failure signal to the mediation SDK 216 to trigger mediation to initiate a failure of the process of obtaining content items, for example, displaying a predetermined content item stored on the client device 102.
[0067] If at 416, the analysis module 232 determines that there is at least one stored content item in the content storage 234, then at 420, the analysis module 232 determines and selects the highest priority content item among any stored content items based on the content provider priority information. At 422, the selected content is then transmitted by the mediation server 104 to the mediation SDK 216 via the network 108.
[0068] Returning to 402, if a new response from a content provider is received by the mediation server 104, i.e., a new content item or a failure notification provided by the content provider server, the analysis module 232 determines whether the response is a content item or a failure response. If the response is a failure response, the counter 236 is incremented at 410, and at 412, the analysis module 232 determines whether all expected responses are considered based on the number of expected response information provided by the deconstruction engine 230. If not, return to 402 to wait. If all expected responses are considered, we proceed to 420 and proceed as described above.
[0069] Returning to 404, if the new response is determined by the analysis module 232 to be a content item, then the content item is stored in the content store 234 at step 406. At 408, the analysis module 232 determines whether it is a highest overall priority content item, i.e., whether it corresponds to the highest priority content provider determined by the analysis module 232 from the content provider priority information stored in the content provider priority information store 238. If it is a highest overall priority content item, then the analysis module 232 selects the content item at 414, and the selected content item is transmitted by the mediation server 104 to the mediation SDK 216 via the network 108 at 422. If at 408, the analysis module 232 determines that the content item is not a highest overall priority content item, then proceed to 410 and continue as described above.
[0070] As described above, when a large number of content requests are transmitted through an application that requests content from multiple servers, many problems may arise. For example, there may be problems with computing resources on the client device running the application, for example, the memory used to open multiple network connections to transmit multiple requests. For the client device running the application to perform mediation of multiple requests and respond to these requests, it can also be computing resource intensive. For example, it can be computing resource intensive for the party that performs analysis to determine which response to the content request is best for controlling the selection of the provided content, for example, the developer of the application. This may be particularly difficult if the developer makes the application based on multiple factors (such as, for example, the quality of the content, the bid amount provided by the third-party content provider to fill the opportunity of the flash, or the connection delay with the third-party content provider) to make the choice. Applications that attempt to transmit multiple requests over the network may also have problems in terms of latency, especially when the network is a mobile network, such as a 3G or 4G network. There may be a significant delay or lag between issuing multiple requests and receiving the response of the client device executing the application. The hybrid client-server data delivery methods discussed in this application can, among other things, help to ameliorate these problems, for example, by enabling the server to cope with the computationally resource-intensive mediation of multiple content requests, or by leveraging server-to-server network connections to improve latency issues, or by using any other advantages provided by these methods.
[0071] As an example, one embodiment of these methods may involve a news application executed on a client device attempting to display a news item. The news application may make multiple requests to a news content provider to display the news item. For example, the request may be transmitted to various news content providers, such as CNN, NBC News, and FOX News. These requests may be issued by a content provider SDK on a client device, which is integrated with an application that processes requests for transmission to a content provider server. For example, a CNN News SDK integrated with a news application may process requests intended to be submitted to a CNN News server providing news content items, and an NBC News SDK integrated with a news application may process requests intended to be submitted to an NBC News server providing news content items, etc. The processed request may then be intercepted by a mediation SDK integrated with an application and batch processing. The mediation SDK may then transmit the batch processing request to a mediation server. The batch processing request may include content provider priority information. For example, a batch processing request may include a "quality" rating of a news provider, which rates the news provider server based on the frequency with which a user has clicked on the content provided in the past. The batch request may alternatively or additionally include "compression" information based on the historical compression efficiency of the news provider server in the content it is providing. The mediation SDK may use this content provider priority information in the mediation of multiple content requests.
[0072] In one embodiment, batching requests provides a significant advantage over an application making multiple content requests to a news provider server in that only a single network connection needs to be opened, thereby preserving computing resources on the client device. In addition, mediation of multiple requests and responses to these requests can be completed on the mediation server, further preserving computing resources on the client device. The mediation server can also utilize a server-to-server network connection to communicate with the content provider, which can generally provide advantages in terms of latency and response speed over a client device-to-server network connection, particularly when connected over a mobile network such as 3G or 4G.
[0073] Another embodiment of these methods may involve filling a flash opportunity with third-party content requested by an application. A flash opportunity may be an opportunity to display certain content on a device. In some embodiments, a third party may pay to have its content fill a flash opportunity. In such an embodiment, the auction process may be implemented by the application directly (for example, by the application) or indirectly (for example, by a program executed on an operating system executing the application, or a server communicating with the application, or in any other appropriate manner). In such an auction, bids may be solicited from multiple third-party content providers, and a bid may be selected based on the auctioneer's criteria. Such criteria may be based on, for example, the expected latency of the connection to the content provider, the expected quality of the content provided, the actual bid amount, the predicted click-through rate (pCTR), the predicted conversion rate (pCVR), or any other factors that the auctioneer may wish to consider.
[0074] In some cases, the application may request content from multiple third-party content providers to fill the flash opportunity as part of the process of establishing a mediation waterfall. The mediation waterfall is a way of organizing requests for content items that can help publishers or anyone with a flash opportunity maximize the amount of money earned from selling the opportunity to content providers. Different content providers may be willing to pay different amounts for flash opportunities. In the mediation waterfall, multiple requests are issued to content providers. The auctioneer who initiates the mediation waterfall can give priority to content providers that are estimated to be the highest paying content providers in the group of content providers that sent the request. If the higher content provider does not agree to provide content items in exchange for the requested price, other requests are also sent to other content providers, with the goal of accepting content items provided by those content providers. Typically, but not always, a content provider that is estimated to be the second highest paying content provider is given priority, and if no agreement is reached with the content provider, a content provider that is estimated to be the third highest paying content provider is given priority, and so on.
[0075] In embodiments where an application makes multiple content requests in order to establish a mediation waterfall, batching the requests provides a significant advantage over an application making multiple content requests to a content provider in that only a single network connection needs to be opened, thereby preserving computing resources on the client device. Additionally, mediation of multiple requests and responses to those requests can be accomplished on the mediation server, including causing the mediation server to perform an auction, further preserving computing resources on the client device. The mediation server can also utilize a server-to-server network connection to communicate with the content provider, which can generally provide advantages in terms of latency and response speed of the client device-to-server network connection, particularly when connected over a mobile network such as 3G or 4G.
[0076] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of the claimed protection, but rather as descriptions of features specific to a particular implementation. Certain features described in this specification in the context of discrete implementations may also be implemented in combination in a single implementation. Conversely, the various features described in the context of a single implementation may also be implemented in multiple implementations separately or in any suitable sub-combination. Moreover, although the features may be described above as acting in certain combinations, and even initially claimed to be so protected, one or more features of the claimed combination may be excluded from the combination in some cases, and the claimed combination may be directed to sub-combinations or variations of sub-combinations.
[0077] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring that such operations be performed in the particular order shown or in a sequential order, or that all of the operations shown be performed to achieve the desired results. In some cases, multitasking and parallel processing can be advantageous. Moreover, the separation of various system components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated in a single software product or packaged into multiple software products embodied on tangible media. References to "or" can be interpreted as inclusive, so that any term described using "or" can indicate any of a single, more than one, and all of the described terms.
[0078] Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions described in the claims can be performed in a different order and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing can be advantageous.
[0079] The claims should not be limited to the described order or elements unless otherwise stated. It should be understood that various changes in form and details may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims. All embodiments that fall within the spirit and scope of the appended claims and their equivalents are claimed.
Claims
1. A method for hybrid client-server data provision, comprising: providing, by an application executed by a client device, a request for a content item to a plurality of content provider software development kits (SDKs) integrated with the application for display by the client device, the plurality of content provider SDKs corresponding to a plurality of content provider servers, respectively; processing, by a plurality of request adapters of the content provider SDK, the request for the content item for potential submission to the plurality of content provider servers, thereby generating a plurality of processed requests; receiving, by an interceptor module of a mediation SDK integrated with the application, the plurality of processed requests from the plurality of content provider SDKs; batching, by an integrator module of the mediation SDK, the plurality of processed requests into a batch request, the batch request including a priority value of each content provider server of the plurality of content provider servers; transmitting, by the mediation SDK, the batch request to a mediation server for mediation of the batch request to the plurality of content provider servers, so that the mediation server selects at least one content item received from at least one content provider server among the plurality of content provider servers based on a priority value of each content provider server among the plurality of content provider servers; receiving, by the mediation SDK, the at least one content item from the mediation server for display by the client device; as well as The at least one content item is presented by the application on a display of the client device.
2. The method according to claim 1, wherein: Processing the request for potential submission to the plurality of content provider servers further includes including appropriate header information for a content provider server among the plurality of content provider servers.
3. The method according to claim 1, wherein: The priority value of each content provider server of the plurality of content provider servers comprises a priority ranking of the plurality of content provider servers.
4. The method according to claim 1, wherein: The priority value of each of the plurality of content provider servers is provided by the application to the mediation SDK.
5. The method of claim 4, further comprising selecting, by the analysis engine of the mediation SDK, a single content item from the at least one content item for display by the client device based on a priority value of each of the plurality of content provider servers.
6. The method according to claim 1, wherein: The at least one content item received from the mediation server for display is the only content item received from the mediation server for display, and based on the priority value of each of the multiple content provider servers available to the mediation server, the at least one content item for display is the highest priority content item for display.
7. The method according to claim 1, wherein: The batch request further includes timing information regarding a maximum acceptable time for a response from the mediation server.
8. The method according to claim 7, wherein: The mediation of the batch processing requests is based at least in part on the timing information.
9. The method according to claim 1, wherein: The interceptor module intercepts the plurality of processed requests.
10. The method according to claim 9, wherein: The interceptor module intercepts the plurality of processed requests including the plurality of content provider SDKs using a callback interface of the mediation SDK.
11. The method according to claim 9, wherein: The interceptor module intercepting the plurality of processed requests includes preventing the plurality of content provider SDKs from calling the plurality of content provider servers.
12. A method for hybrid client-server data provision, comprising: receiving, by a mediation server from a mediation software development kit (SDK), a batch request for content items for display by a client device, the batch request having been generated by an aggregator module of the mediation SDK based on a plurality of processed requests for the content items processed by a plurality of content provider SDKs on the client device, the batch request including a priority value for each of a plurality of content provider servers identified in the batch request; processing the batch request by a deconstruction engine of the mediation server to generate a plurality of content provider-specific requests; transmitting, by the mediation server, the plurality of content provider-specific requests to the plurality of content provider servers; receiving, by the mediation server, from at least one of the content provider servers at least one content item responsive to at least one of the plurality of content provider specific requests, and storing the content item in a content store of an analysis module of the mediation server; selecting, by the analysis module of the mediation server, at least one stored content item for delivery based on a priority value of each of the plurality of content provider servers; as well as The at least one stored content item selected by the analysis module is transmitted by the mediation server to the mediation SDK.
13. The method according to claim 12, wherein: Transmitting the at least one stored content item occurs after a predetermined timeout period.
14. The method according to claim 12, wherein: The batch processing request further includes timing information.
15. The method according to claim 14, wherein: Transmitting the at least one stored content item occurs after a timeout period established by the analysis module based on the timing information.
16. The method according to claim 12, wherein: Selecting the at least one stored content item for transfer includes selecting a plurality of stored content items for transfer.
17. The method according to claim 12, wherein: The at least one stored content item selected for delivery is based on a priority value of each of the plurality of content provider servers.
18. The method according to claim 12, further comprising: The plurality of processed requests are intercepted by an interceptor module of the mediation SDK.
19. The method according to claim 18, wherein: The interception of the interceptor module includes using the callback interface of the mediation SDK by the multiple content provider SDKs.
20. The method according to claim 18, wherein: The interception of the interceptor module includes preventing the multiple content provider SDKs from calling the multiple content provider servers.
