Monitoring application loading
First Claim
1. A computer-implemented method performed by data processing apparatus, the method comprising:
- instantiating, in a computer, an instance of a native application that generates environment instances for display on a user device within the native application instance;
monitoring, at the computer, requests for content sent from the native application instance executing in the computer to serving entities that are external to the native application instance and the computer;
determining whether each monitored request of the requests has been fulfilled indicating no monitored request is unfulfilled;
in response to determining that each monitored request of the requests has been fulfilled;
determining whether each thread in a set of threads of the native application instance is idle, wherein the determination of whether each thread in the set of threads of the native application instance is idle is done after the determination that each monitored request in the set of requests have been fulfilled;
generating a load signal in response to determining that each thread in the set of threads of the native application instance is idle, the load signal indicating the native application instance is finished loading sufficiently instantiated to be subject to a crawling operation; and
in response to the load signal, crawling content of the native application instance.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for determining when an application is sufficiently instantiated to be subject to a crawling operation. In one aspect, a method includes instantiating an instance of a native application that generates environment instances for display on a user device within the native application instance; monitoring requests for content sent from the native application instance to serving entities that are external to the native application instance; determining whether each monitored request has been fulfilled; in response to determining that the requests are fulfilled: determining whether each thread in a set of threads of the native application instance is idle, generating a load signal in response to determining each thread in the set of thread of the native application instance is idle, the load signal indicating the native application instance is sufficiently instantiated to be subject to a crawling operation.
92 Citations
21 Claims
-
1. A computer-implemented method performed by data processing apparatus, the method comprising:
-
instantiating, in a computer, an instance of a native application that generates environment instances for display on a user device within the native application instance; monitoring, at the computer, requests for content sent from the native application instance executing in the computer to serving entities that are external to the native application instance and the computer; determining whether each monitored request of the requests has been fulfilled indicating no monitored request is unfulfilled; in response to determining that each monitored request of the requests has been fulfilled; determining whether each thread in a set of threads of the native application instance is idle, wherein the determination of whether each thread in the set of threads of the native application instance is idle is done after the determination that each monitored request in the set of requests have been fulfilled; generating a load signal in response to determining that each thread in the set of threads of the native application instance is idle, the load signal indicating the native application instance is finished loading sufficiently instantiated to be subject to a crawling operation; and in response to the load signal, crawling content of the native application instance. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
-
instantiating, in a computer, an instance of a native application that generates environment instances for display on a user device within the native application instance; monitoring, at the computer, requests for content sent from the native application instance executing in the computer to serving entities that are external to the native application instance and the computer; determining whether each monitored request of the requests has been fulfilled indicating no monitored request is unfulfilled; in response to determining that each monitored request of the requests has been fulfilled; determining whether each thread in a set of threads of the native application instance is idle, wherein the determination of whether each thread in the set of threads of the native application instance is idle is done after the determination that each monitored request in the set of requests has been fulfilled; generating a load signal in response to determining that each thread in the set of threads of the native application instance is idle, the load signal indicating the native application instance is finished loading to be subject to a crawling operation; and in response to the load signal, crawling content of the native application instance.
-
-
13. A system, comprising:
-
a data processing apparatus; and software stored in non-transitory computer readable storage medium storing instructions executable by the data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising; instantiating, in a computer, an instance of a native application that generates environment instances for display on a user device within the native application instance; monitoring, at the computer, requests for content sent from the native application instance executing in the computer to serving entities that are external to the native application instance and the computer; determining whether each monitored request of the requests has been fulfilled indicating no monitored request is unfulfilled; in response to determining that each monitored request of the requests has been fulfilled; determining whether each thread in a set of threads of the native application instance is idle, wherein the determination of whether each thread in the set of threads of the native application instance is idle is done after the determination that each monitored request in the set of requests has been fulfilled; generating a load signal in response to determining that each thread in the set of threads of the native application instance is idle, the load signal indicating the native application instance is finished loading to be subject to a crawling operation; and in response to the load signal, crawling content of the native application instance. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21)
-
Specification