Rendering Debugger

The SDK-based testing of rendering code against DCDS specifications addresses non-compliant rendering issues, ensuring efficient and compliant digital component presentation by identifying and correcting errors before application release.

JP7595681B2Active Publication Date: 2024-12-06GOOGLE LLC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022565892
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-04-28
Publication Date
2024-12-06
Estimated Expiration
2040-04-28

AI Technical Summary

Technical Problem

Existing systems lack the ability to ensure that application rendering code correctly implements digital components according to Digital Component Distribution System (DCDS) specifications before release, leading to inefficiencies and resource waste due to non-compliant rendering errors.

Method used

A system and method that uses a software development kit (SDK) to test rendering code by comparing signals from rendered digital components against compliance requirements, generating overlays for non-compliant issues, and allowing developers to revise the code before release.

Benefits of technology

Ensures compliant rendering of digital components, reducing resource waste and improving application efficiency by identifying and correcting rendering errors prior to user access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007595681000001
    Figure 0007595681000001
  • Figure 0007595681000002
    Figure 0007595681000002
  • Figure 0007595681000003
    Figure 0007595681000003
Patent Text Reader

Abstract

A method, system, and apparatus, including a computer program encoded on a computer storage medium, for debugging an application are provided. In some aspects, the method includes detecting rendering of a digital component by an application running on a device. A first signal indicating visual attributes of content assets of the test digital component and a second signal indicating hierarchical associations between the content assets when rendered are obtained. A verification process is invoked that compares the first signal and the second signal with a set of requirements. A determination is made that one or more requirements are not satisfied by the first signal or the second signal. In response to the determination that the one or more requirements are not satisfied, a non-compliant overlay is provided within the application indicating the failure of the digital component to comply with the one or more requirements.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This disclosure relates to data processing and debugging applications. [Background technology]

[0002] The Internet facilitates the exchange of information between users across the globe. This exchange of information enables the delivery of content to various users. In some situations, content from multiple different providers may be integrated into a single electronic document to create a composite document. For example, portions of the content to be included in an electronic document may be selected (or specified) by the publisher of the electronic document. Digital components (e.g., various portions of content) may be provided by third parties (e.g., entities other than the publisher of the electronic document) and integrated into the electronic document along with portions of the content selected by the publisher. Summary of the Invention [Means for solving the problem]

[0003] In general, one inventive aspect of the subject matter described herein may be embodied in a system that includes: detecting, by the device, the rendering of a digital component by an application running on the device; obtaining from the application a set of signals specifying rendering attributes of the digital component, including at least a first signal indicating visual attributes of content assets included in the test digital component and a second signal indicating a hierarchical association between the content assets when rendered; invoking, by the device, a validation process that compares the first and second signals with a set of requirements that specify attributes of a correctly rendered compliant digital component; determining that one or more requirements are not met by the first or second signals; and providing, by the device, in response to determining that the one or more requirements are not met, a non-compliant overlay that provides an alert within the application indicating that the digital component fails to comply with the one or more requirements. Other embodiments of this aspect include corresponding methods, apparatus, and computer programs encoded on a computer storage device and configured to perform the actions of the method. These and other embodiments may each optionally include one or more of the following features.

[0004] The method may include receiving, by a server, a registration message identifying the device as a test device for the application; receiving a request from the device for content to provide to the application; selecting, by the server, a test object including content assets needed to render the digital component based on the device being identified as a test device; and providing, by the server, the test object to the device in response to the request for content based on the device being identified as a test device.

[0005] The method may include receiving, by a server, a request for content to provide to the application; determining, by the server, that the request for the content includes an identifier corresponding to a test environment; in response to determining that the request for the content includes an identifier corresponding to the test environment, selecting, by the server, a test object including content assets needed to render the digital component; and providing, by the server, the test object to the device in response to the content request.

[0006] Invoking, by the device, a validation process that compares the first and second signals to a set of requirements may include requesting execution of the validation process by a script instantiated upon launch of the application.

[0007] The method may include detecting an interaction with the overlay and, in response to detecting the interaction with the overlay, providing additional details regarding how the digital component fails to comply with one or more requirements.

[0008] The method may include retrieving, by the device, the document from a specified location and populating the document with information indicating that the digital component fails to comply with one or more requirements.

[0009] Obtaining a set of signals specifying rendering attributes of the digital component may include obtaining a set of signals indicative of a set of content assets included within the digital component, and determining that one or more requirements are not met comprises (i) determining that a required asset is not included in the software development kit or is not properly registered, (ii) determining that a particular view including the content asset is smaller than a specified size, or (iii) determining that one or more of the content assets are positioned outside a boundary of a particular view.

[0010] Certain embodiments of the subject matter described herein may be implemented to achieve one or more of the following advantages. For example, the techniques described herein enable identification of errors in an application's rendering code prior to the release of the application to a user, thereby reducing wasted system resources. More particularly, for applications responsible for properly constructing and presenting digital components from a set of content assets provided by a third party, conventional systems do not provide a way for application developers to ensure that the application's rendering code is correctly implemented before releasing the application to a user. Thus, application developers only know of errors in their rendering code historically after the rendering code has incorrectly rendered (or failed to render) the digital component to a user. This creates a situation where application developers must track down errors, correct the rendering code, and then provide an updated version of the application for download by the user. However, due to the control that users have over application updates, application developers may not be able to ensure that users update to the new version of the application, resulting in continued rendering errors. As described in more detail below, one such rendering error is an error that results in a portion of content obscuring other content that would otherwise be visible to the user. In this situation, rendering errors lead to less efficient and effective applications because only a portion of the content that could otherwise be visually perceived by the user can be perceived. These rendering errors also lead to inefficiencies related to the use of computing resources (e.g., memory, processing power, network bandwidth, etc.).For example, when memory, processing resources, and network bandwidth are utilized to select and transmit content assets to an application that ultimately renders a digital component that occludes, omits, or otherwise distorts the content assets in a manner that prevents a user from perceiving the information provided by one or more of the content assets, these computing resources are not available to deliver the content assets to other applications that will properly render the content assets in the digital component. As the number of users of an application increases, the amount of wasted resources increases. As the number of application users can rapidly reach millions of users, the aggregate impact (e.g., wasted system resources) caused by these inefficiencies rapidly grows. As described in detail below, the techniques presented throughout this specification reduce the described inefficiencies and result in improved allocation and utilization of computing resources by ensuring proper operation of the application's rendering code prior to their delivery to users.

[0011] The details of one or more embodiments of the subject matter described herein are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a block diagram of an exemplary environment in which content is distributed. [Figure 2A] FIG. 1 is a block diagram illustrating testing rendering code that produces a compliant digital component. [Figure 2B] FIG. 1 is a block diagram illustrating testing rendering code that produces a non-compliant digital component. [Diagram 3] 1 is a flowchart of an example process for testing rendering code. [Figure 4] 1 is a flowchart of an example process for providing test objects to an application running on a client device. [Diagram 5] FIG. 1 is a block diagram of an exemplary computing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Like reference numbers and designations in the various drawings indicate like elements.

[0014] This specification discloses methods, systems, and devices that can be used to facilitate debugging of applications (e.g., native mobile applications). As described in more detail below, rendering code that collects and presents pieces of content as digital components within an application environment can be tested, and the results of the testing can be provided to application developers before the application is released to users. For example, the rendering code that is tested can be developed to comply with the specifications of a digital component distribution system ("DCDS") that provides pieces of content for rendering by the application.

[0015] More specifically, the application's rendering code may specify the layout between various pieces of content (hereafter referred to as content assets) received from the DCDS, may retrieve content assets from a software development kit ("SDK"), and may bind a hierarchy of views to the content assets. Thus, unlike a situation in which completed digital components are provided to a web page or application for presentation "as is," the application's rendering code is responsible for composing content assets in a manner that conforms to the DCDS specifications, which are generally also enforced by the DCDS; as a result, application developers may need to implement rendering code that composes content assets into digital components that conform to the DCDS specifications.

[0016] Prior to delivery of a completed application to a user, application developers generally have no way to ensure that the rendering code they implemented actually produces a digital component that complies with the DCDS specifications. Additionally, application developers generally cannot "force" users to update their applications to new versions, thereby leaving the application developers to rely on users to voluntarily update to the new version of the application to fix problems that may exist in the rendering code. Furthermore, the inability of application developers to test rendering code before releasing the application to users also prevents application developers from testing updated versions of the rendering code without releasing the updated version of the application to users, meaning that updates to the rendering code included in the updated version of the application may still not fix identified problems and may introduce further problems that prevent the digital components rendered by the application from complying with the DCDS specifications. Thus, it may be difficult for application developers to implement rendering code that allows third-party content to be presented as native (e.g., first-party) content within their applications.

[0017] As described in detail throughout this specification, an SDK (or other component) used to provide content assets to an application may be configured to include logic to detect problems with the application's rendering code before the application is released to users. In some implementations, the SDK may pass test objects (e.g., including a set of content assets) to the application and collect rendering signals (referred to as a set of signals) from the application that correspond to a resulting digital component rendered by the application using the test objects. These rendering signals generally provide information about the structure and visual attributes of the resulting digital component. These rendering signals may be compared to a set of compliance requirements (also referred to as a set of requirements) to determine whether the resulting digital component created by the rendering code complies with the DCDS specifications. When the resulting digital component fails to pass a compliance check, an overlay may be presented in the application that specifies the non-compliant status of the resulting digital component and / or information about the problem that led to the non-compliant status. This information may then be used by the application developer to revise the rendering code, and any revisions to the rendering code may continue to be tested to ensure that the rendering code produces a compliant digital component before the application is made available to users.

[0018] The phrase "digital component" as used throughout this specification refers to a discrete unit of digital content or information (e.g., a video clip, an audio clip, a multimedia clip, an image, text, or another unit of content). A digital component can be stored electronically in a physical memory device as a single file or in a collection of files, and can take the form of a video file, an audio file, a multimedia file, an image file, or a text file, and can include advertising information; thus, an advertisement is a type of digital component. Generally, a digital component is defined (or provided) by a single provider or source (e.g., an advertiser, publisher, or other content provider). As described in more detail below, an application can render a digital component as a native element within the application by compositing multiple different content assets using rendering code that is part of the application. For example, the rendering code can bind the content assets to various views, and the association between those views defines how the application presents the content assets together with the digital component within the application.

[0019] Although this specification refers to the SDK performing various operations, it should be understood that the operations described herein may be performed by various components of the device running the application.

[0020] 1 is a block diagram of an exemplary environment 100 in which content is delivered to client devices. The exemplary environment 100 includes a network 102, such as a local area network (LAN), a wide area network (WAN), the Internet, or a combination thereof. The network 102 connects client devices 106, digital component servers 108, and a digital component delivery system 110 (also referred to as a delivery system). The exemplary environment 100 may include many different client devices 106 and digital component servers 108.

[0021] A client device 106 is an electronic device capable of requesting and receiving resources over the network 102. Exemplary client devices 106 include personal computers, mobile communication devices, and other devices capable of sending and receiving data over the network 102. A client device 106 typically includes a user application, such as a web browser, to facilitate sending and receiving data over the network 102, although native applications executed by the client device 106 can also facilitate sending and receiving data over the network 102.

[0022] An electronic document is data that presents a set of content at a client device 106. Examples of electronic documents include web pages, word processing documents, portable document format (PDF) documents, images, videos, search result pages, and feed sources. Native applications (e.g., "apps"), such as applications installed on a mobile device, tablet device, or desktop computing device, are also examples of electronic documents. Electronic documents may be provided to a client device 106 by electronic document servers 104 ("Electronic Doc Servers"). For example, electronic document servers 104 may include servers that host publisher websites. In this example, a client device 106 may initiate a request for a given publisher web page, and the electronic server 104 that hosts the given publisher web page may respond to the request by sending machine-executable instructions that initiate the presentation of the given web page at the client device 106.

[0023] In another example, the electronic document server 104 may include an app server from which the client device 106 can download native applications. In this example, the client device 106 may download files needed to install the app at the client device 106 and then execute the downloaded native application locally at the client device 106.

[0024] An electronic document can include a variety of content. For example, an electronic document can include static content (e.g., text or other specified content) that is within the electronic document itself and / or does not change over time. An electronic document can also include dynamic content that can change over time and / or per request. For example, a publisher of a given electronic document can maintain data sources that are used to populate portions of the electronic document. In this example, a given electronic document can include tags or scripts that cause the client device 106 to request content from the data sources when the given electronic document is processed (e.g., rendered or executed) by the client device 106. The client device 106 integrates the content retrieved from the data sources into the given electronic document to create a composite electronic document that includes the content retrieved from the data sources.

[0025] In some situations, a given electronic document may include a digital component tag or digital component script that references the digital component delivery system 110. In these situations, the digital component tag or digital component script is executed by the client device 106 when the given electronic document is processed by the client device 106. Execution of the digital component tag or digital component script configures the client device 106 to generate a request 112 for the digital component (referred to as a “component request”) that is sent over the network 102 to the digital component delivery system 110. For example, the digital component tag or digital component script may enable the client device 106 to generate a packetized data request that includes header and payload data. The component request 112 may include event data that specifies characteristics such as the name (or network location) of the server from which the digital component is being requested, the name (or network location) of the requesting device (e.g., the client device 106), and / or information that the digital component delivery system 110 can use to select one or more digital components to be provided in response to the request. A component request 112 is sent by the client device 106 to a server of the digital component distribution system 110 over a network 102 (eg, a telecommunications network).

[0026] The component request 112 may include event data that specifies the electronic document being requested and other event features, such as characteristics of the location of the electronic document in which the digital component may be presented. For example, event data specifying a reference (e.g., a URL) to the electronic document (e.g., a web page) in which the digital component is to be presented, available locations of the electronic document available for presenting the digital component, the size of the available locations, and / or media types eligible for presentation in the locations may be provided to the digital component delivery system 110. Similarly, event data specifying keywords associated with the electronic document ("document keywords") or entities referenced by the electronic document (e.g., people, places, or things) may also be included in the component request 112 (e.g., as payload data) and provided to the digital component delivery system 110 to facilitate identification of digital components eligible for presentation with the electronic document. The event data may also include data specifying a search query submitted from the client device 106 to obtain a search result page and / or search results and / or textual, audible, or other visual content included in the search results.

[0027] The component request 112 may also include event data relating to other information, such as information provided by a user of a client device, geographic information indicating the state or region from which the component request was submitted, or other information that provides context for the environment in which the digital component is displayed (e.g., the time of the component request, the day of the week of the component request, the type of device on which the digital component is displayed, such as a mobile device or tablet device). The component request 112 may be transmitted, for example, over a packet-based network, and the component request 112 itself may be formatted as packetized data having a header and payload data. The header may specify a destination for the packet, and the payload data may include any of the information described above.

[0028] A delivery system 110 including one or more digital component delivery servers (e.g., a combination of computing hardware and software) selects a digital component to be presented with a given electronic document in response to receiving a component request 112 and / or using information contained therein. In some implementations, the digital component is selected in less than a second to avoid errors that may be caused by delayed selection of the digital component. For example, a delay in providing the digital component in response to a component request 112 may result in an electronic document load error at the client device 106 or may leave portions of the electronic document unpopulated even after other portions of the electronic document are presented at the client device 106. Also, the greater the delay in providing the digital component to the client device 106, the greater the likelihood that the electronic document will no longer be presented at the client device 106 when the digital component is delivered to the client device 106, thereby adversely affecting the user's experience with the electronic document. Furthermore, a delay in providing the digital component may result in failed delivery of the digital component if, for example, the electronic document is no longer presented at the client device 106 when the digital component is provided.

[0029] In some implementations, the distribution system 110 is implemented in a distributed computing system that includes, for example, a server and a set of computing devices 114 that are interconnected and identify and distribute digital components in response to requests 112. The set of computing devices 114 work together to distribute millions of available digital components (DC 1~x), which are eligible to be presented in the electronic document. The millions of available digital components may be indexed, for example, in the digital component database 116. Each digital component index entry may reference a corresponding digital component and / or may include delivery parameters (DP1-DP x For example, the distribution parameters may contribute to the transmission of a digital component by requiring that the component request include at least one criterion that matches (e.g., either exactly or at some pre-specified level of similarity) one of the distribution parameters of the digital component.

[0030] In some implementations, the distribution parameters for a particular digital component may include distribution keywords that must be matched (e.g., by electronic document, document keywords, or terms specified in the component request 112) for the digital component to be eligible for submission. The distribution parameters may also require that the component request 112 include information specifying a particular geographic region (e.g., a country or state) for the digital component to be eligible for submission and / or information specifying that the component request 112 originated at a particular type of client device (e.g., a mobile device or a tablet device).

[0031] The identification of eligible digital components can be segmented into a number of tasks 117a-117c that are then allocated among the computing devices in the set of computing devices 114. For example, different computing devices in the set 114 can each analyze a different portion of the digital component database 116 to identify various digital components having delivery parameters that match the information included in the component request 112. In some implementations, each given computing device in the set 114 can analyze a different data dimension (or set of dimensions) and pass (e.g., transmit) the results of the analysis (Res1-Res3) 118a-118c back to the digital component delivery system 110. For example, the results 118a-118c provided by each of the computing devices in the set 114 can identify a subset of digital components eligible for delivery in response to a component request and / or a subset of digital components having some delivery parameters. Identifying the subset of digital components may include, for example, comparing the event data to delivery parameters and identifying the subset of digital components having delivery parameters that match at least some characteristics of the event data.

[0032] The digital component delivery system 110 aggregates the results 118a-118c received from the set of computing devices 114 and uses information related to the aggregated results to select one or more digital components to be provided in response to the request 112. For example, the digital component delivery system 110 can select a set of winning digital components (one or more digital components) based on the outcome of one or more component evaluation processes. The digital component delivery system 110 can in turn generate and transmit response data 120 (e.g., digital data representing the response) over the network 102 that enables the client device 106 to aggregate the set of winning digital components into a given electronic document, such that the set of winning digital components and the content of the electronic document are presented together on the display of the client device 106.

[0033] In some implementations, the client device 106 executes instructions included in the response data 120, which configure and enable the client device 106 to retrieve a set of winning digital components from one or more digital component servers. For example, the instructions in the response data 120 may include a network location (e.g., a uniform resource locator (URL)) and a script that causes the client device 106 to send a server request (SR) 121 to the digital component server 108 to retrieve the given winning digital components from the digital component server 108. In response to the request, the digital component server 108 identifies the given winning digital components specified in the server request 121 (e.g., in a database that stores a plurality of digital components) and transmits digital component data (DC data) 122 to the client device 106 that presents the given winning digital components in an electronic document at the client device 106.

[0034] Conventional systems may provide pre-configured digital components for presentation on a client device 106. For example, the digital component data 122 may include a digital component that includes a pre-configured arrangement of content assets that define how the digital component is to be presented on the client device 106. In this example, neither the client device 106 nor the application running on the client device is able to rearrange the location of the various content assets presented within the digital component or modify the look and feel of the various elements of the digital component. Rather, when a pre-configured digital component is provided for presentation within an application running on the client device 106, the application simply presents the pre-configured digital component as received.

[0035] The use of pre-configured digital components for presentation within a native application (or other electronic document) limits the ability of application developers (or developers of other electronic documents) to customize the presentation of the digital components to complement the visual appearance of the application and even to tailor content assets based on the display characteristics of the client device 106. This can lead to presentation of digital components that are disjointed, confused, illegible, or otherwise not capable of being adequately perceived by the user. This can lead to technical inefficiencies, as significant network resources are used to select and deliver digital components that cannot convey the information they are intended to convey. This leads to wasted network bandwidth by transmitting these illegible digital components over the network 102, wasted memory by storing the digital components in the digital component database 116 and by storing the delivered digital components at the client device, and wasted limited display space at the client device through the presentation of illegible digital components where otherwise useful information may be presented.

[0036] In some situations, a native application (or other electronic document) may be configured to accept an uncollected set of content assets and render those content assets as a derived digital component. In these situations, the application is provided with the flexibility to arrange and format the content assets based on the environment in which the derived digital component is presented, such that the resulting digital component is more readable and less disruptive to the user experience. Additionally, the application's ability to render digital components can help eliminate technical inefficiencies that may be encountered when pre-configured digital components are delivered to an application.

[0037] Giving applications the ability to composite content assets into a derived digital component can provide advantages over traditional pre-configured digital components, but it can also lead to other problems. For example, if an application developer does not correctly implement the rendering code responsible for rendering the derived digital component, the derived digital component may have problems similar to those described above with reference to the pre-configured digital components, which may also lead to the same technical inefficiencies described above. Additionally, if the rendering code is not correctly implemented, the digital components may not be presented together, further leading to wasted network bandwidth, processing resources, and memory resources.

[0038] Exacerbating the potential problems described above is the fact that some systems do not provide any way for application developers to test their rendering code before the application is released to users. Rather, application developers are required to implement rendering code that they believe will generate a resulting digital component that complies with the specifications of the DCDS 110, deliver the application to the user, and wait for feedback from the DCDS 110 if their rendering code is not producing a compliant digital component (i.e., a resulting digital component that complies with the specifications of the DCDS). This too may result in illegible or otherwise defective digital components, which may lead to technical problems similar to those described above (e.g., wasted network bandwidth, wasted memory, and wasted display space). This too may lead to additional wasted network bandwidth if the user is required to download a new version of the application to correct an error in the rendering code.

[0039] As described in more detail below, the SDK of the client device may be modified to facilitate testing of the rendering code of the digital component and the application rendering prior to delivery of the application to a user. For example, when an application uses a test object including a set of content assets to render a test digital component, also referred to as a digital component, the SDK may collect a set of signals that specify the rendering attributes of the test digital component (e.g., a digital component generated using the set of content assets in the test object). The SDK may then invoke a validation process that compares the set of signals to a set of compliance requirements (e.g., specified by the DCDS) to determine whether the compliance requirements are met. If the compliance requirements are not met, an overlay may be generated and presented within the application that informs the application developer of any issues with the rendering of the test digital component so that the application developer can revise the rendering code. This testing may continue until the rendering code produces a test digital component that meets all of the compliance requirements. The application developer may then deliver their application with confidence that the digital component rendered by the rendering code complies with the compliance requirements, avoiding the technical issues discussed above.

[0040] 2A is a block diagram illustrating testing rendering code that generates a compliant digital component. In FIG. 2A, a client device 106 initiates a test request 202 that is sent to the DCDS 110. The test request is a request to receive content to be presented (i.e., displayed) in an application running on the client device 106. The test request may be triggered, for example, when an application developer interacts with the application (e.g., launches the application) and manipulates the application into a state in which the application provides (or otherwise makes available) a slot in which the digital component may be presented. For example, when a single pixel of a slot reserved for the digital component is present in the display of the client device 106, a script may be triggered that generates and sends a request for content to be presented in the slot.

[0041] In some circumstances, the test request includes a unique identifier corresponding to a test digital component. The test digital component may be a digital component that is reserved for delivery to an application to test the application's rendering code. For example, the test digital component may include a known set of content assets that can be reliably evaluated by the client device's SDK during testing. The unique identifier may be a designated set of alphanumeric characters that uniquely identifies the test digital component, such that an application developer can configure a script that is triggered by the provision of a slot reserved for the digital component to request the test digital component using the unique identifier.

[0042] In some implementations, rather than or in addition to using the unique identifier of the test digital component, an application developer can pre-register or otherwise identify the client device 106 as a test device. For example, the application developer can interact with a user interface of the DCDS 110 and can register the client device 106 as a test device by providing a device identifier for the client device. Later, when the DCDS 110 receives a test request 202 from the client device 106, the DCDS 110 can identify the client device 106 as a test device (e.g., based on the device identifier being included in the test request 202).

[0043] The DCDS 110 receives test requests 202 from the client devices 106 and, in response to the test requests 202, selects test objects 204 to provide to the client devices 106. The test objects include a set of content assets required to render a test digital component. For example, the set of content assets may include one or more images, one or more videos, text content, interactive user interface elements, or other content assets. Each of the content assets may be identified by an asset code that identifies the type of content contained within the content asset and / or other information useful for rendering the content asset or compositing the content asset into the test digital component.

[0044] The client device 106 retrieves the test object 204 from the DCDS 110 (e.g., over a network) and renders the test digital component 206 using rendering code 208 of an application running on the client device 106. As shown in FIG. 2A , the test digital component 206 is constructed using content assets, including two images 210, text 212, a source information element 214 that identifies the source of the test digital component, and an interactive element 216 (e.g., a “learn more” button) that initiates a request for more information about the test digital component in response to user interaction with the interactive element 216. Of course, the test digital component (or any digital component) can include additional, fewer, or different content assets than those described herein.

[0045] The test digital component 206 is provided (e.g., presented or otherwise made available) in an interface 218 of an application running on a client device 106 with the application's native content 220. When the rendering code 208 renders the test digital component 206 in the interface 218, the debugger 222 detects the provision of the test digital component and invokes a validation process, which evaluates the compliance of the test digital component. In some situations, the validation process is triggered only when the test digital component is actually presented in the display. In other situations, other events may trigger the validation process (e.g., developer interaction with a button that invokes the validation process). It should be noted that although the debugger 222 is shown as a separate component relative to the rendering code 208, these two components may be implemented within the same code base.

[0046] As described in more detail below, compliance of a test digital component may be evaluated based on whether a set of signals specifying rendering attributes (e.g., structural attributes and / or presentation attributes) of the test digital component satisfy a set of compliance requirements that specify attributes of a compliant digital component that is correctly rendered. The set of compliance requirements may be specified by DCDS 110 and / or another system or entity responsible for ensuring compliance of digital components with a set of specifications.

[0047] In some implementations, the debugger 222 may be implemented in an SDK installed on the client device 106. For example, the debugger 222 may be included in an SDK provided by the DCDS 110 or another system that provides digital components to the client device 106. In these implementations, the application under test (e.g., the application running the rendering code 208) may provide a signal to the SDK indicating that a test digital component is being rendered in the interface 218. In response to this indication, the SDK may collect (or otherwise obtain) a set of signals that characterize the presentation and / or structure of the test digital component as rendered by the rendering code 208. The set of signals may specify, for example, a hierarchical association of different views used to present different content assets (e.g., binding between content assets and parent and child views), the location of different content assets within the test digital component 206, the size of the display being used to display the interface 218, the relative presentation location of the test digital component 206 within the interface 218 and / or display, the presentation size / resolution of the test digital component 206, the location of content assets within the test digital component 206, and / or status information related to interactive features utilized by the test digital component 206 (e.g., execute click events, touch events, touch listeners).

[0048] The verification process compares a set of signals to a set of compliance requirements to determine whether the test digital component 206 rendered using the rendering code 208 satisfies the compliance requirements. In this example, it is assumed that the test digital component 206 presented in FIG. 2A satisfies all of the compliance requirements, such that the test digital component 206 is deemed to be a compliant digital component.

[0049] In some implementations, the SDK can invoke the validation process by performing the operations of the validation process. In some implementations, the validation process is invoked by the SDK through a call to a script that has been downloaded to the client device 106. Having the validation process implemented in a script separate from the SDK provides the ability to modify the validation process without having to update the SDK. For example, when an application is launched, a script can be downloaded or launched for use by the SDK such that any updates to the validation process can be implemented by downloading an updated version of the script. In these implementations, the SDK can request that the script execute the validation process and pass a set of signals obtained from the application to the script. Once the script completes the validation process (e.g., comparing the set of signals obtained from the application to a set of compliance requirements), the script can pass the results of the validation process back to the SDK, which can then generate an overlay reporting the results of the validation process. In some situations, the SDK requests a shell document for the overlay from a server (e.g., DCDS 110), populates the shell document with the results of the validation process, and provides the populated shell document as an overlay in the interface 218.

[0050] For example, if the debugger 222 determines that the test digital component 206 is a compliant digital component, the debugger can generate an overlay 224 that is provided in the interface 218 and that informs the application developer that no compliance issues were detected. With this information, the application developer can proceed to release their application, knowing that the rendering code 208 will generate a compliant digital component when the application is used by various users who download the application.

[0051] Figure 2B is a block diagram illustrating testing rendering code that produces a non-compliant digital component. In Figure 2B, the client device 106 again initiates a test request 202 sent to the DCDS 110, and a test object 204 is provided to the client device 106 in a manner similar to that described above with reference to Figure 2A. The debugger 222 again collects a set of signals from the application for the test digital component 206 and invokes the validation process.

[0052] In FIG. 2B , the set of signals characterizing the test digital component 206 reveals that the image 210 overlaps and is partially occluded by the source information element 214. In this example, assume that the set of signals identifying these rendering attributes of the test digital component 206 when rendered by the rendering code 208 fails to satisfy a set of compliance requirements. In response to a determination that one or more of the compliance requirements are not satisfied, the debugger 222 (e.g., SDK) can generate and provide a non-compliance overlay 250 that is presented in the interface 218 of the application. The non-compliance overlay 250 includes data that informs the application developer that the debugger has identified a compliance issue with the test digital component 206 rendered by the rendering code 208. The non-compliance overlay 250 includes interactive elements (e.g., a “See Issues” link) that provide additional information about the issue identified by the debugger 222 in response to the application developer's interaction with the interactive element. Thus, the application developer may be provided with information regarding the problem identified by the debugger 222 and / or information specifying how the application developer can fix the problem by modifying the rendering code 208.

[0053] Examples of information that may be provided to an application developer in response to an interaction with an interactive element of a non-compliant overlay 250 include information indicating that the layout of content assets within the test digital component 206 may cause a user to accidentally click (or tap) on the test digital component. The information may also inform the application developer when the resolution of the test digital component is too low, such that the DCDS 110 will not deliver the digital component to the application if the application is delivered to a user without modifying the rendering code 208. The information may also inform the application developer when there is a missing content asset. For example, in FIG. 2B, the test digital component 206 is missing an interactive element 216 that was included in the test object 204 and presented in the compliant digital component presented in FIG. 2A. The information may also inform the application developer that the test digital component 206 is being rendered in a manner that makes a particular content asset clickable when compliance requirements prohibit that particular content asset from being clickable. All of this information allows an application developer to modify the rendering code 208 to render the content asset in the form of a compliant digital component, as shown in FIG. 2A.

[0054] 3 is a flowchart of an example process 300 for testing compliance of rendering code. Process 300 may be performed by one or more computing devices. For example, the operations of process 300 may be performed by a client device and / or an SDK running on a client device. The operations of process 300 may also be implemented as instructions stored on a non-transitory computer-readable medium, which, when executed by one or more servers (or other computing devices), cause the one or more servers to perform the operations of process 300.

[0055] A request for content to be provided to and / or presented in the application is sent to the server (302). In some implementations, the request for content is a request for test objects that can be used to test the operation of rendering code implemented in the native application. The test objects include content assets required to render test digital components, also referred to simply as digital components. For example, the test objects can include one or more of images, text, video, audio, or interactive elements. Each of the content assets can include information identifying the asset type of each content asset and / or other information that can be used to compose the content assets into a compliant digital component.

[0056] In some implementations, the request for content includes a unique identifier that indicates that the request is for the test object. For example, as described above, the test object may be identified by the unique identifier such that a request for content including the unique identifier constitutes a request for the test object. In these circumstances, the request is received by a server (e.g., of the DCDS 110) and determines that the request is for content for presentation in the application. The server also determines that the request for content includes an identifier corresponding to a test environment. For example, the server may determine that the request includes a unique identifier corresponding to a test object. In response to determining that the request for content includes a unique identifier corresponding to the test environment, the server selects a test object that includes content assets needed to render the digital component and provides the test object to the client device in response to the content request.

[0057] In some implementations, the request for content includes information that can be used to identify the client device submitting the request as a test device for the application developer. For example, as described above, the application developer can pre-register their device as a test device with the content delivery system (e.g., DCDS 110 of FIG. 1). When the client device generates a request for content, the request includes a device identifier of the client device and / or a registration code provided in response to the registration of the client device as a test device, such that the request can be identified as a request for a test object from a registered test device. In these circumstances, the server receiving the request can determine that the request includes an identifier corresponding to a test environment. For example, the server can identify a device identifier for the client device and can determine that the device identifier is included in a list of registered test devices. Additionally or alternatively, the server can identify in the request a registration code that was generated and provided to the application developer when the client device was registered as a test device. In either case, the server can select a test object that includes a content asset required to render the digital component based on the device being identified as a test device. The server then provides the test objects to the client device in response to requests for content based on the client device being identified as a test device.

[0058] A test object including a plurality of content assets is received 304. In some implementations, the test object is received by a client device being used to test the application. The test object may be passed to the application, for example, by an SDK installed on the client device and in communication with the application.

[0059] The rendering, provision, and / or presentation of the test digital component by an application executing on the client device is detected by the client device (306). In some implementations, the rendering, provision, and / or presentation of the digital component is detected by a software development kit executing on the client device. The provision or presentation of the digital component may be detected by the SDK, for example, based on presentation data generated by the application and passed by the application to the SDK when the digital component rendered using the test object is displayed. For example, when any digital component is provided or otherwise presented in the display of the application, the application may generate data specifying that the digital component is being generated and / or presented. This data may similarly be generated when the test digital component is presented and may be used to inform the SDK of the presence of the test digital component.

[0060] A set of signals specifying rendering attributes of the test digital component is obtained from the application (308). In some implementations, the set of signals includes at least a first signal indicating visual attributes of a content asset to be presented by the digital component rendered using the content assets of the test object. The first set of signals may specify, for example, the content asset being presented in the digital component, the location of the content asset within the test digital component, the size of the content asset when presented in the digital component, and / or other data that provides information about how the content asset is visually presented in the digital component.

[0061] The set of signals can also include a second signal indicating a hierarchical association between the content assets. For example, the set of signals can specify the user interface views to which the content assets are bound and the hierarchical relationships between the different user interface views. More specifically, the set of signals can specify, for each content asset, the user interface views to which the content assets are bound and the hierarchical relationships between the different user interface views generated by the rendering code to generate the test digital component.

[0062] User interface views (or simply views) are building blocks for user interface components. A view occupies a rectangular area on the screen and is used to create UI components. Views are arranged in a hierarchical tree structure that specifies the view's dependency on other views. Some settings on parent views are inherited by their child views (e.g., lower level views in the hierarchical tree structure). Thus, the hierarchical association between content assets can be used in combination with the first signal to determine whether the content assets are being rendered correctly by the rendering code.

[0063] A validation process is invoked (310). In some implementations, the validation process compares a set of signals obtained from the application to a set of compliance requirements. Note that compliance requirements are also referred to as requirements. The set of compliance requirements specifies attributes of a compliant digital component. In some situations, the set of compliance requirements may specify, for example, a particular type of view (or other user interface element) that is required to be used to display a particular type of content asset, the content assets that are required to be presented within the digital component, a minimum size and / or resolution of the digital component and / or particular type of content asset, constraints on interactive elements (e.g., particular types of content assets that cannot be interactive, or particular interactive elements that must be enabled), the location of the content asset within a specified view, and / or a required hierarchical level of a view for a specified content asset.

[0064] The validation process is invoked by an SDK running on a device, such as, for example, a mobile device or tablet device. In some situations, invoking the validation process can include the SDK performing an operation of the validation process (e.g., comparing a set of signals with a set of compliance requirements). In some situations, invoking the validation process can include the SDK requesting execution of the validation process by a script not included as part of the SDK. The script can be installed on the same device as the SDK and instantiated at application launch or when the device is powered on. Alternatively, the script can be installed on a separate device (e.g., other than the device running the SDK). In either case, the SDK can pass a set of signals to the script that specify rendering attributes of the test digital component along with a request for a set of signals to be evaluated with respect to the set of compliance requirements.

[0065] A determination is made (312) whether the set of signals satisfies the set of compliance requirements. The determination may be made, for example, by either the SDK or a script that is separate from (i.e., not part of) the SDK. A potential advantage of having a separate script perform the evaluation process used to determine whether the set of compliance requirements is met is that the script may be updated without requiring the entire SDK to be updated. This provides more flexibility in updating and / or modifying the evaluation process used to evaluate an application (e.g., based on newly identified aspects that need to be checked, such as policy changes and / or newly discovered error types). By way of example, the following description assumes that a script performs the evaluation process, although the following description is also applicable to implementations in which the validation process is performed by the SDK.

[0066] The determination may be made through a validation process that compares a set of signals to a set of compliance requirements. For example, the script may identify a particular compliance requirement and determine whether the set of signals satisfies the particular compliance requirement. In a specific example, the compliance requirement may specify that a particular content asset must be present and successfully registered with the SDK in a specified manner. In this example, the script may determine whether the set of signals includes data that specifies that the particular content asset will be present in the test digital component when rendered by the rendering code. When the data specifies that the particular content asset will be present in the test digital component, the script may determine that this aspect of the compliance requirement is satisfied. When the set of signals lacks data that specifies that the particular content asset will be present in the test digital component, the script may determine that this aspect of the compliance requirement is not satisfied.

[0067] Continuing with this example, the script may further determine whether the set of signals includes data indicating that the particular content asset was successfully (or properly) registered with the SDK. When the data specifies that the particular content asset was successfully (or properly) registered with the SDK, the script may determine that this aspect of the compliance requirement is satisfied. When the set of signals lacks data specifying that the particular content asset was successfully (or properly) registered with the SDK, the script may determine that this aspect of the compliance requirement is not satisfied. The script may continue to evaluate the set of signals to determine whether each requirement in the set of compliance requirements is satisfied (e.g., satisfied by) the set of signals that specify rendering attributes of the test digital component.

[0068] The script continues by outputting the evaluation results. In some implementations, the evaluation results indicate whether the test digital component, when rendered by the application's rendering code, complies with the set of compliance requirements. When the evaluation results indicate that the test digital component meets the set of compliance requirements, the rendering code is classified as compliant rendering code. When the evaluation results indicate that the test digital component fails to meet the set of compliance requirements, the rendering code is classified as non-compliant rendering code.

[0069] In some implementations, each separate requirement in the set of compliance requirements must be satisfied for the set of compliance requirements to be satisfied, which is referred to as strict compliance. For example, assume that a set of compliance requirements specifies five separate requirements for a compliant digital component. In this example, for the set of compliance requirements to be satisfied and for the rendering code to be considered compliant, strict compliance requires that the set of signals include data indicating that the test digital component includes the five separate requirements specified by the set of compliance requirements. Thus, if the script determines that one or more compliance requirements are not satisfied by the set of signals (e.g., the first signal and the second signal), the set of compliance requirements is considered not satisfied.

[0070] In some implementations, only partial compliance is required to satisfy a set of compliance requirements and then classify the rendering code compliance. For example, assume that only three of five requirements must be satisfied to satisfy a compliance requirement. In this example, the set of compliance requirements may be satisfied when a set of signals includes data indicating that the test digital component satisfies at least three of five separate requirements in the set of compliance requirements.

[0071] In some implementations, the set of compliance requirements can include mandatory requirements and optional aspects. Mandatory requirements can be, for example, requirements relating to the structure of the rendered test digital component and / or content that is required to be presented in the test digital component. Optional aspects can be, for example, requirements that indicate a more pleasing presentation of the test digital component, but are not required for the test digital component to be considered properly rendered. In this situation, the set of compliance requirements can be considered satisfied when mandatory requirements are satisfied (e.g., satisfied) by the set of signals, even if optional aspects are not satisfied by the set of signals.

[0072] In some circumstances, a determination that one or more compliance requirements are not met may include determining that a required asset is not included in the software development kit or is not properly registered, that a particular view presenting the content asset is smaller than a specified size, or that one or more of the content assets are presented outside the boundaries of a particular view. As described above, this determination may be made based on a set of assets presented in a test digital component and a set of test signals indicative of corresponding rendering attributes (e.g., location, size, and other visual attributes) of the content assets.

[0073] Once the set of compliance requirements are determined to be satisfied by the set of signals, a compliance overlay is generated and presented in the application (314). In some implementations, the compliance overlay indicates that the test digital component when rendered by the rendering code is a compliant digital component, such that the rendering code is deemed compliant. For example, as shown in FIG. 2A, the compliance overlay may indicate that no issues were detected by a debugger (e.g., a script). Additionally or alternatively, the compliance overlay may detail that the rendering code is compliant.

[0074] If it is determined that the set of compliance requirements are not met by the set of signals, a non-compliant overlay is generated and presented within the application (316). For example, in response to determining that one or more compliance requirements are not met, the SDK may provide a non-compliant overlay. The non-compliant overlay may present a warning within the application indicating that the test digital component has failed to comply with one or more compliance requirements and, as a result, the rendering code is deemed non-compliant. For example, as shown in FIG. 2B, the non-compliant overlay may indicate that a problem has been detected by a debugger (e.g., a script). Additionally or alternatively, the compliance overlay may provide further details that the rendering code is not compliant.

[0075] In some implementations, the non-compliant overlay is generated using a document that is populated with information about the compliance requirements that are not met by the set of signals. For example, when the SDK obtains information (e.g., from a script) that indicates that a set of compliance requirements were not met, the SDK can retrieve a form document from a specified location (e.g., a specified network location). The SDK can then populate the document with information that indicates that the test digital component fails to comply with one or more of the compliance requirements.

[0076] In some implementations, the non-compliant overlay can include an interactive element, such as a link, button, or another interactive user interface element that causes the presentation of a page that presents more details about the detected issue along with the rendered test digital component.

[0077] An interaction with the non-compliant overlay is detected 318. In some implementations, an interaction with the non-compliant overlay is detected by detecting a tap or click on an interactive element contained within the non-compliant overlay.

[0078] In response to detecting an interaction with a non-compliant overlay, additional details are presented to the user in the application. In some implementations, the additional details can specify how the digital component fails to comply with one or more compliance requirements. For example, the details presented in response to an interaction with an interactive element of a non-compliant overlay can indicate whether a layout of content assets may lead to accidental clicks on a digital component rendered by the rendering code of the application. The details can also indicate whether a resolution of a test digital component rendered by the rendering code is too low. The details can also indicate any required content assets (e.g., the source of the digital component) that are not being presented in the digital component rendered by the rendering code. The details can also indicate information identifying any content assets that are interactive but should not be. The details can also indicate when any specified view is too small. Any or all of the details enumerated above can be included in and / or excluded from the information presented following an interaction with a non-compliant overlay.

[0079] 4 is a flowchart of an example process 400 for providing test objects to an application running on a client device. The operations of process 400 may be performed by one or more computing devices. In some implementations, the operations of process 400 may be implemented as instructions stored on a non-transitory computer-readable medium. Execution of the instructions may cause one or more computing devices to perform the operations of process 400.

[0080] A registration message is received that identifies the client device as a test device (402). As described above, the message that identifies the client device as a test device may include a unique device identifier that identifies the device. The device may be registered as a test device using the unique device identifier.

[0081] A request for content is received (404). The request for content may be a request for content for presentation in an application under test. In some implementations, the request includes a device identifier of the client device and / or a registration code provided in response to registration of the client device as a test device, such that the request may be identified as a request for a test object from a registered test device. In these circumstances, a server receiving the request may determine that the request includes an identifier corresponding to the test environment. For example, the server may identify a device identifier for the client device and may determine that the device identifier is included in a list of registered test devices. Additionally or alternatively, the server may identify in the request a registration code that was generated and provided to the application developer when the client device was registered as a test device.

[0082] In some implementations, the request for content includes a unique identifier that indicates that the request is for the test object. For example, as described above, a test object may be identified by a unique identifier, such that a request for content that includes the unique identifier constitutes a request for a test object. In these circumstances, the request is received by a server (e.g., of DCDS 110) and determines that the request is for content for presentation in an application. The server also determines that the request for content includes an identifier that corresponds to a test environment. For example, the server may determine that the request includes a unique identifier that corresponds to a test object. In response to determining that the request for content includes a unique identifier that corresponds to the test environment, the server selects a test object that includes content assets needed to render the test digital component and provides the test object to the client device in response to the content request.

[0083] In response to the request, a test object containing the content assets is selected 406. As described above, the selected test object may contain the content assets required for the rendering code to render the test digital component.

[0084] In response to the request, a test object is provided to the device (408). The test object is provided to the device in an unrendered form, i.e., the separate content assets have not been rendered and are arranged in the form of a test digital component. Rather, the separate content assets are included within the test object and provided to the device for rendering by rendering code of a native application executing on the device.

[0085] 5 is a block diagram of an exemplary computer system 500 that may be used to perform the operations described above. The system 500 includes a processor 510, a memory 520, a storage device 530, and an input / output device 540. Each of the components 510, 520, 530, and 540 may be interconnected using, for example, a system bus 550. The processor 510 is capable of processing instructions for execution within the system 500. In one implementation, the processor 510 is a single-threaded processor. In another implementation, the processor 510 is a multi-threaded processor. The processor 510 is capable of processing instructions stored in the memory 520 or on the storage device 530.

[0086] The memory 520 stores information within the system 500. In one implementation, the memory 520 is a computer-readable medium. In one implementation, the memory 520 is a volatile memory unit. In another implementation, the memory 520 is a non-volatile memory unit.

[0087] The storage device 530 can provide mass storage for the system 500. In one implementation, the storage device 530 is a computer-readable medium. In various different implementations, the storage device 530 can include, for example, a hard disk device, an optical disk device, a storage device shared over a network by multiple computing devices (e.g., a cloud storage device), or some other mass storage device.

[0088] The input / output device 540 performs input / output operations for the system 500. In one implementation, the input / output device 540 may include one or more of a network interface device, e.g., an Ethernet card, a serial communication device, e.g., an RS-232 port, and / or a wireless interface device, e.g., an 802.11 card. In another implementation, the input / output device may include a driver device configured to receive input data and send output data to the peripheral device 560, e.g., a keyboard, a printer, and a display device. However, other implementations, such as a mobile computing device, a mobile communication device, a set-top box, a television client device, etc., may also be used.

[0089] Although an exemplary processing system is illustrated in FIG. 5, implementations of the subject matter and functional operations described herein may be implemented in other types of digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in a combination of one or more of these.

[0090] An electronic document can represent a file, but need not be: a document can be stored in a portion of a file that holds other documents, in a single file dedicated to that document, or in multiple cooperating files.

[0091] The subject matter and embodiments of the operations described herein may be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in a combination of one or more of them. The subject matter described herein may be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on a computer storage medium for execution by or to control the operation of a data processing device. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to a suitable receiver device for execution by the data processing device. The computer storage medium may be or be included in a computer readable storage device, a computer readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Moreover, the computer storage medium is not a propagating signal, and the computer storage medium may be a source or destination of computer program instructions encoded in an artificially generated propagating signal. A computer storage medium may also be, or be contained within, one or more separate physical components or media (eg, multiple CDs, disks, or other storage devices).

[0092] The operations described herein may be implemented as operations performed by a data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.

[0093] The term "data processing apparatus" encompasses all kinds of apparatus, devices, and machines for processing data, including, by way of example, a programmable processor, a computer, a system on a chip, or a combination of the above. The apparatus may include special-purpose logic circuitry, such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program in question, such as code that constitutes a processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or one or more combinations thereof. The apparatus and execution environment may implement a variety of different computing model infrastructures, such as web services, distributed computing infrastructures, and grid computing infrastructures.

[0094] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted, declarative or procedural, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may correspond to a file in a file system, but need not. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple cooperating files (e.g., files that store one or more modules, subprograms, or portions of code). A computer program can be deployed to run on one computer or on multiple computers located at one site or distributed across multiple sites and interconnected by a communication network.

[0095] The processes and logic flows described herein may be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows may also be performed by, and apparatus may also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

[0096] Processors suitable for executing computer programs include, by way of example, both general-purpose and special-purpose microprocessors, and any one or more processors of any kind of digital computer. In general, a processor receives instructions and data from a read-only memory or a random-access memory, or both. The essential elements of a computer are a processor for performing actions according to the instructions, and one or more memory devices for storing instructions and data. In general, a computer also includes one or more mass storage devices, e.g., magnetic disks, magneto-optical disks, or optical disks, for storing data, or is operatively coupled to receive data from or transfer data to them, or both. However, a computer need not have such devices. Moreover, a computer may be incorporated into another device, e.g., a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device (e.g., a universal serial bus (USB) flash drive), to name just a few examples. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, by way of example, semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices, magnetic disks, e.g., internal hard disks or removable disks, magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0097] To interact with a user, embodiments of the subject matter described herein may be implemented on a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user, as well as a keyboard and a pointing device, e.g., a mouse or trackball, by which the user can provide input to the computer. Other types of devices may also be used to interact with the user. For example, feedback provided to the user may be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback, and input from the user may be received in any form, including acoustic input, speech input, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from devices used by the user, e.g., by sending web pages to a web browser on the user's client device in response to requests received from the web browser.

[0098] Embodiments of the subject matter described herein may be implemented in a computing system that includes back-end components, e.g., as a data server, or includes middleware components, e.g., an application server, or includes front-end components, e.g., a client computer having a graphical user interface or web browser through which a user can interact with an implementation of the subject matter described herein, or includes any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication, e.g., a communications network. Examples of communications networks include local area networks ("LANs") and wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad-hoc peer-to-peer networks).

[0099] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of clients and servers arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. In some embodiments, a server sends data (e.g., HTML pages) to client devices (e.g., for the purpose of displaying the data to and receiving user input from users interacting with the client devices). Data generated at the client devices (e.g., results of user interaction) may be received at the server from the client devices.

[0100] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or what may be claimed, but rather as descriptions of features specific to certain embodiments of a particular invention. Some features described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as working in some combinations and may even be initially claimed as such, one or more features from a claimed combination may, in some cases, be deleted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.

[0101] Similarly, although operations are shown in the figures in a particular order, this should not be understood as requiring that such operations be performed in the particular order or sequence shown, or that all of the illustrated operations be performed, to achieve desirable results. In some situations, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the program components and systems described may generally be integrated together in a single software product or packaged in multiple software products.

[0102] Above, specific embodiments of the present subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown or sequential order to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous. [Explanation of symbols]

[0103] 100 Environment 102 Network 104 Electronic Document Server 106 client devices 108 Digital Component Server 110 Digital Component Distribution System 112 Component Requests 114 Set of computing devices 116 Digital Component Database 117 Tasks 118 results 120 Response data 121 Server Request 122 Digital Component Data 202 Test Request 204 Test Object 206 Test Digital Components 208 Rendering Code 210 images 212 Text 214 Source Information Element 216 Interactive Elements 218 Interface 220 Native Content 222 Debugger 224 Overlay 250 Non-Compliant Overlays 500 Systems 510 Processor 520 Memory 530 Storage Devices 540 Input / Output Devices 550 System Bus 560 Peripheral Devices

Claims

1. A method comprising: sending, by a device, a request to a server for content for presentation in an application; receiving, by the device, a test object comprising a plurality of content assets; detecting, by the device, the rendering of a digital component by the application running on the device; obtaining, by the device, from the application, a set of signals specifying rendering attributes of the digital component, the set including at least a first signal indicating visual attributes of the content assets included in a test digital component and a second signal indicating hierarchical associations between the content assets when rendered; invoking, by the device, a validation process that compares the first signal and the second signal to a set of requirements that specify attributes of a correctly rendered compliant digital component; determining by the device that one or more requirements are not met by the first signal or the second signal; in response to determining that the one or more requirements are not met, the device provides a non-compliant overlay within the application that provides an alert indicating that the digital component does not meet the one or more requirements. A method for providing the above.

2. receiving, by the server, a registration message identifying the device as a test device for the application; receiving, by the server, a request from the device for content to provide to the application; based on the device being identified as a test device, the server selecting the test object including the content assets required to render the digital component; providing the test object to the device in response to the request for content based on the device being identified as a test device by the server; The method of claim 1 , further comprising:

3. receiving, by the server, a request for content to provide to the application; determining, by the server, that the request for content includes an identifier corresponding to a test environment; in response to determining that the request for content includes the identifier corresponding to the test environment, the server selecting a test object including the content assets required to render the digital component; providing the test object to the device by the server in response to the content request; The method of claim 1 , further comprising:

4. 2. The method of claim 1, wherein the step of the device invoking a verification process that compares the first signal and the second signal to a set of requirements comprises requesting execution of the verification process by a script instantiated upon launch of the application.

5. detecting, by the device, an interaction with the non-compliant overlay; in response to detecting an interaction with the non-compliant overlay, the device providing additional details regarding how the digital component does not meet the one or more requirements. The method of claim 1 , further comprising:

6. retrieving, by the device, a document from a specified location; populating, by the device, the document with information indicating that the digital component does not meet the one or more requirements; The method of claim 1 , further comprising:

7. obtaining a set of signals specifying rendering attributes of the digital component comprises obtaining a set of signals indicative of a set of content assets included in the digital component; determining that the one or more requirements are not met comprises: (i) determining that a required asset is not included in a software development kit or is not properly registered; (ii) determining that a particular view containing the content asset is smaller than a specified size; or (iii) determining that one or more of the content assets are located outside a boundary of the particular view. The method of claim 1.

8. 1. A system comprising: one or more processors; one or more memory devices, The one or more memory devices store instructions that, when executed by the one or more processors, cause the one or more processors to perform operations, the operations including: sending a request to a server for content for presentation in the application; Receiving a test object including a plurality of content assets; Detecting a rendering of a digital component by the application running on the device; obtaining from the application a set of signals specifying rendering attributes of the digital component, the set including at least a first signal indicating visual attributes of the content assets included in a test digital component and a second signal indicating hierarchical associations between the content assets when rendered; invoking a validation process that compares the first signal and the second signal to a set of requirements that specify attributes of a correctly rendered compliant digital component; determining that one or more requirements are not met by the first signal or the second signal; and in response to determining that the one or more requirements are not met, providing a non-compliant overlay within the application that provides an alert indicating that the digital component does not meet the one or more requirements. system.

9. further comprising the server including one or more computing devices; receiving a registration message identifying the device as a test device for the application; receiving a request from the device for content to provide to the application; selecting the test object including the content assets required to render the digital component based on the device being identified as a test device; and providing the test object to the device in response to the request for content based on the device being identified as a test device. The system of claim 8.

10. further comprising the server including one or more computing devices; receiving a request for content to provide to the application; determining that the request for content includes an identifier corresponding to a test environment; in response to determining that the request for content includes the identifier corresponding to the test environment, selecting a test object that includes the content assets required to render the digital component; providing the test object in response to the content request. The system of claim 8.

11. 9. The system of claim 8, wherein invoking a verification process that compares the first signal and the second signal to a set of requirements comprises requesting execution of the verification process by a script instantiated at launch of the application.

12. said operation of said one or more processors comprising: detecting an interaction with the non-compliant overlay; and in response to detecting an interaction with the non-compliant overlay, providing additional details regarding how the digital component does not meet the one or more requirements. The system of claim 8.

13. said operation of said one or more processors comprising: Retrieving the document from the specified location; and populating the document with information indicating that the digital component does not meet the one or more requirements. The system of claim 8.

14. obtaining a set of signals specifying rendering attributes of the digital component comprises obtaining a set of signals indicative of a set of content assets included in the digital component; determining that the one or more requirements are not met comprises (i) determining that a required asset is not included in a software development kit or is not properly registered; (ii) determining that a particular view containing the content asset is smaller than a specified size; or (iii) determining that one or more of the content assets are located outside a boundary of the particular view. The system of claim 8.

15. 1. A computer-readable storage medium encoded with a computer program, the computer program comprising instructions that, when executed by a device, cause the device to: sending a request to a server for content for presentation in the application; Receiving a test object including a plurality of content assets; Detecting a rendering of a digital component by the application running on the device; obtaining from the application a set of signals specifying rendering attributes of the digital component, the set including at least a first signal indicating visual attributes of the content assets included in a test digital component and a second signal indicating hierarchical associations between the content assets when rendered; invoking a validation process that compares the first signal and the second signal to a set of requirements that specify attributes of a correctly rendered compliant digital component; determining that one or more requirements are not met by the first signal or the second signal; in response to determining that the one or more requirements are not met, providing a non-compliant overlay within the application that provides an alert indicating that the digital component does not meet the one or more requirements. A computer-readable storage medium.

16. The method of claim 15, wherein the instructions, when executed by the server, cause the server to: receiving a registration message identifying the device as a test device for the application; receiving a request for content to provide to the application; selecting the test object including the content assets required to render the digital component based on the device being identified as a test device; providing the test object to the device in response to the request for content based on the device being identified as a test device.

16. The computer-readable storage medium of claim 15.

17. The method of claim 15, wherein the instructions, when executed by the server, cause the server to: receiving a request for content to provide to the application; determining that the request for content includes an identifier corresponding to a test environment; in response to determining that the request for content includes the identifier corresponding to the test environment, selecting a test object that includes the content assets required to render the digital component; providing the test object in response to the content request.

16. The computer-readable storage medium of claim 15.

18. 16. The computer-readable storage medium of claim 15, wherein invoking a validation process that compares the first signal and the second signal to a set of requirements comprises requesting execution of the validation process by a script instantiated at launch of the application.

19. said operation of said device comprising: detecting an interaction with the non-compliant overlay; and in response to detecting an interaction with the non-compliant overlay, providing additional details regarding how the digital component does not meet the one or more requirements.

16. The computer-readable storage medium of claim 15.

20. said operation of said device comprising: Retrieving the document from the specified location; and populating the document with information indicating that the digital component does not meet the one or more requirements.

16. The computer-readable storage medium of claim 15.

21. obtaining a set of signals specifying rendering attributes of the digital component comprises obtaining a set of signals indicative of a set of content assets included in the digital component; determining that the one or more requirements are not met comprises (i) determining that a required asset is not included in a software development kit or is not properly registered; (ii) determining that a particular view containing the content asset is smaller than a specified size; or (iii) determining that one or more of the content assets are located outside a boundary of the particular view.

16. The computer-readable storage medium of claim 15.

Citation Information

Patent Citations

  • Screen difference pass / fail determination device, screen difference pass / fail determination method, and program

    JP2017138715A

  • Information processing apparatus, processing method in the same, and program

    JP2017215810A

  • Detecting conformance to rules for graphical output data from applications

    JP2017517802A

  • Testing conversion and rendering of digital content

    US9164874B1

  • Page rendering feedback

    US9218267B1