# US 2024/0004781 A1 · Network status simulation for remote device infrastructure

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004781 A1
- Document ID: US20240004781A1
- Status: Published application
- Kind: A1
- Application number: 17/855,653
- Filed: 2022-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: BrowserStack Limited
- Applicants: BrowserStack Limited
- Inventors: James Barboza; Krishna Suravarapu; Kunal Chowdhary
- Web page: https://patentgrep.com/patent/US20240004781A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F 8/53: Decompilation; Disassembly
- G06F 8/61: Installation
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A software development infrastructure can enable user developers to select remote hardware devices at a remote datacenter to develop and test software programs, such as web or mobile applications. The developer can remotely install an application on a selected remote device and observe a mirrored display of the remote device on a browser local to the developer. The software development infrastructure can enable the developer to test offline mode workflows of the application by blocking network traffic to and from the application but allowing network transmission to and from a streaming application installed on the remote device.

## Claims

### Claim 1

A method comprising:
establishing a network communication link between a browser, installed on a local machine at a first location and a host, coupled to a remote device at a second location through a virtual network interface layer, wherein the host is configured to provide network communication to the remote device via the virtual network interface layer;
installing a streaming application on the remote device, wherein the streaming application is configured to stream, via the network communication link, a display of the remote device to the browser;
receiving a request from the browser to enable offline mode on the remote device;
executing a network filtering command, on the virtual network interface layer resident on the host, instructing the virtual network interface layer to block or reduce transmission speed of network traffic to and from a user application installed on the remote device, while allowing network traffic to and from the streaming application, wherein the user application comprises requests to a network status application programming interface (API) provided by an operating system of the remote device:
decompiling the user application:
detecting calls in the user application for input from the network status application programing interface (API) of the operating system of the host:
generating modified calls, by replacing the detected calls in the user application to the network status APIs of the operating system of the host, with calls for input from a replacement network status API:
recompiling the user application with the modified calls; and
installing the user application with the modified calls on the remote device,
wherein the replacement network status API is configured to signal a blocked or reduced transmission speed status to the user application.

### Claim 2 (depends on 1)

The method of claim 1, wherein the virtual network interface layer and the network filtering command are provided by an operating system of the host.

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The method of claim 1, wherein the network status API comprises an operating system reachability API.

### Claim 5 (depends on 1)

The method of claim 1, wherein reducing transmission speed is based on simulating network speeds.

### Claim 6 (depends on 1)

The method of claim 1, wherein the host comprises a server configured to receive a request for offline mode from the browser and the server is configured to signal the host to execute the network filtering command.

### Claim 7

A non-transitory computer storage that stores executable program instructions that, when executed by one or more computing devices, configure the one or more computing devices to perform operations comprising:
establishing a network communication link between a browser, installed on a local machine at a first location and a host, coupled to a remote device at a second location through a virtual network interface layer, wherein the host is configured to provide network communication to the remote device via the virtual network interface layer;
installing a streaming application on the remote device, wherein the streaming application is configured to stream, via the network communication link, a display of the remote device to the browser;
receiving a request from the browser to enable offline mode on the remote device;
executing a network filtering command, on the virtual network interface layer resident on the host, instructing the virtual network interface layer to block or reduce transmission speed of network traffic to and from a user application installed on the remote device, while allowing network traffic to and from the streaming application, wherein the user application comprises requests to a network status application programming interface (API) provided by an operating system of the remote device;
decompiling the user application;
detecting calls in the user application for input from the network status application programing interface (API) of the operating system of the host;
generating modified calls, by replacing the detected calls in the user application to the network status APIs of the operating system of the host, with calls for input from a replacement network status API;
recompiling the user application with the modified calls; and
installing the user application with the modified calls on the remote device,
wherein the replacement network status API is configured to signal a blocked or reduced transmission speed status to the user application.

### Claim 8 (depends on 7)

The non-transitory computer storage of claim 7, wherein the virtual network interface layer and the network filtering command are provided by an operating system of the host.

### Claim 9

(canceled)

### Claim 10 (depends on 7)

The non-transitory computer storage of claim 7, wherein the network status API comprises an operating system reachability API.

### Claim 11 (depends on 7)

The non-transitory computer storage of claim 7, wherein reducing transmission speed is based on simulating network speeds.

### Claim 12 (depends on 7)

The non-transitory computer storage of claim 7, wherein the host comprises a server configured to receive a request for offline mode from the browser and the server is configured to signal the host to execute the network filtering command.

### Claim 13

A system comprising a processor, the processor configured to perform operations comprising:
establishing a network communication link between a browser, installed on a local machine at a first location and a host, coupled to a remote device at a second location through a virtual network interface layer;
installing a streaming application on the remote device, wherein the streaming application is configured to stream, via the network communication link, a display of the remote device to the browser;
receiving a request from the browser to enable offline mode on the remote device;
executing a network filtering command, on the virtual network interface layer resident on the host, instructing the virtual network interface layer to block or reduce transmission speed of network traffic to and from a user application installed on the remote device, while allowing network traffic to and from the streaming application, wherein the user application comprises requests to a network status application programming interface (API) provided by an operating system of the remote device;
decompiling the user application;
detecting calls in the user application for input from the network status application programing interface (API) of the operating system of the host;
generating modified calls, by replacing the detected calls in the user application to the network status APIs of the operating system of the host, with calls for input from a replacement network status API;
recompiling the user application with the modified calls; and
installing the user application with the modified calls on the remote device,
wherein the replacement network status API is configured to signal a blocked or reduced transmission speed status to the user application.

### Claim 14 (depends on 13)

The system of claim 13, wherein the virtual network interface layer and the network filtering command are provided by an operating system of the host.

### Claim 15

(canceled)

### Claim 16 (depends on 13)

The system of claim 13, wherein the network status API comprises an operating system reachability API.

### Claim 17 (depends on 13)

The system of claim 13, wherein reducing transmission speed is based on simulating network speeds.

### Claim 18 (depends on 13)

The system of claim 13, wherein the host comprises a server configured to receive a request for offline mode from the browser and the server is configured to signal the host to execute the network filtering command.

### Claim 19 (depends on 1)

The method of claim 1, wherein a plurality of remote devices are coupled to the host via universal serial bus (USB) connections, wherein each USB connection of a remote device to the host is mapped to a virtual network interface (VNI) resident on the host, wherein the plurality of the VNIs are coupled to an Ethernet interface.

### Claim 20 (depends on 7)

The non-transitory computer storage of claim 7, wherein a plurality of remote devices are coupled to the host via universal serial bus (USB) connections, wherein each USB connection of a remote device to the host is mapped to a virtual network interface (VNI) resident on the host, wherein the plurality of the VNIs are coupled to an Ethernet interface.
