Distributed communication between devices
Techniques are described herein for effectuating a transaction by an intermediary. An example method can include receiving, from a second user device, a first request for a target item, the second us ner device being associated with the target item. A second request for first information associated with the target item can be transmitted to a third device based at least in part on the first request. The first information associated with the target item can be received from the third device, the first information including a first parameter describing the target item. The first parameter can be compared with a threshold parameter. A third request can be transmitted to the third device associated with the target item, a third request for the target item. A confirmation of the third request can be received.
1 . A method, comprising:
receiving, by background process of a first user device and from a second user device, a first request to initiate a transaction for a target item in accordance with a threshold item parameter, the second user device being associated with the target item;
transmitting, by the background process and to a third device, a second request for first information associated with the target item based at least in part on the first request to initiate the transaction;
receiving, by the background process and from the third device, the first information associated with the target item, the first information including a first parameter describing the target item;
comparing, by the background process, the first parameter with the threshold item parameter;
transmitting, by the background process and to the third device associated with the target item, a third request for initiating the transaction for the target item based at least in part on comparing the first parameter with the threshold item parameter; and
receiving, by the background process and from the third device, a confirmation of the third request.
2 . The method of claim 1 , wherein the third device is a source device, and wherein the method further comprises:
retrieving second information describing a second item, wherein the second item has a same item type as the target item, wherein the second information comprises a second parameter describing the second item, and wherein the second information is stored in a memory of the first user device;
comparing the first parameter with the second parameter; and
transmitting the third request based at least in part on the comparison.
3 . The method of claim 2 , wherein the method further comprises:
comparing the first parameter and a user parameter to determine whether the first parameter is compliant with the user parameter;
comparing the second parameter and the user parameter to determine whether the second parameter is complaint with the threshold item parameter; and
comparing the first parameter with the second parameter based at least in part on the each of the first parameter and the second parameter being compliant with the threshold item parameter.
4 . The method of claim 1 , wherein the method further comprises:
determining an authorization level of the background process to transmit the third request to the third device;
presenting, via a user interface (UI), the target item to a user and a prompt requesting whether the user authorizes the third request, based at least in part on the authorization level;
receiving, via the user interface (UI), an input indicating whether the user authorizes the third request; and
transmitting the third request based at least in part on the input.
5 . The method of claim 1 , wherein the method further comprises determining whether to send the third request based on the comparison.
6 . The method of claim 1 , wherein the third device is a server device associated with the background process, and wherein the server device is configured to receive the first information from a source device, and wherein the server device is further configured to determine whether the first parameter included in the first information is compliant with a user-based parameter.
7 . The method of claim 3 , wherein the comparison of the first parameter and the user parameter is performed by a machine-learning model.
8 . A first user device, comprising:
a processor; and
a computer-readable medium including instructions that, when executed by the processor, cause the processor to perform operations comprising:
receiving, by background process of the first user device and from a second user device, a first request to initiate a transaction for a target item in accordance with a threshold item parameter, the second user device being associated with the target item;
transmitting, by the background process and to a third device, a second request for first information associated with the target item based at least in part on the first request to initiate the transaction;
receiving, by the background process and from the third device, the first information associated with the target item, the first information including a first parameter describing the target item;
comparing, by the background process, the first parameter with the threshold item parameter;
transmitting, by the background process and to the third device associated with the target item, a third request for initiating the transaction for the target item based at least in part on comparing the first parameter with the threshold item parameter; and
receiving, by the background process and from the third device, a confirmation of the third request.
9 . The first user device of claim 8 , wherein the third device is a source device, and wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising:
retrieving second information describing a second item, wherein the second item has a same item type as the target item, wherein the second information comprises a second parameter describing the second item, and wherein the second information is stored in a memory of the first user device;
comparing the first parameter with the second parameter; and
transmitting the third request based at least in part on the comparison.
10 . The first user device of claim 9 , wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising:
comparing the first parameter and a user parameter to determine whether the first parameter is compliant with the user parameter;
comparing the second parameter and the user parameter to determine whether the second parameter is complaint with the threshold item parameter; and
comparing the first parameter with the second parameter based at least in part on the each of the first parameter and the second parameter being compliant with the threshold item parameter.
11 . The first user device of claim 8 , wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising:
determining an authorization level of the background process to transmit the third request to the third device;
presenting, via a user interface (UI), the target item to a user and a prompt requesting whether the user authorizes the third request, based at least in part on the authorization level;
receiving, via the user interface (UI), an input indicating whether the user authorizes the third request; and
transmitting the third request based at least in part on the input.
12 . The first user device of claim 8 , wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising determining whether to send the third request based on the comparison.
13 . The first user device of claim 8 , wherein the third device is a server device associated with the background process, and wherein the server device is configured to receive the first information from a source device, and wherein the server device is further configured to determine whether the first parameter included in the first information is compliant with a user-based parameter.
14 . The first user device of claim 10 , wherein the comparison of the first parameter and the user parameter is performed by a machine-learning model.
15 . A non-transitory computer-readable medium including stored thereon a sequence of instructions that, when executed by a processor of a first user device, causes the processor to perform operations comprising:
receiving, by background process of the first user device and from a second user device, a first request to initiate a transaction for a target item in accordance with a threshold item parameter, the second user device being associated with the target item;
transmitting, by the background process and to a third device, a second request for first information associated with the target item based at least in part on the first request to initiate the transaction;
receiving, by the background process and from the third device, the first information associated with the target item, the first information including a first parameter describing the target item;
comparing, by the background process, the first parameter with the threshold item parameter;
transmitting, by the background process and to the third device associated with the target item, a third request for initiating the transaction for the target item based at least in part on comparing the first parameter with the threshold item parameter; and
receiving, by the background process and from the third device, a confirmation of the third request.
16 . The non-transitory computer-readable medium of claim 15 , wherein the third device is a source device, and wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising:
retrieving second information describing a second item, wherein the second item has a same item type as the target item, wherein the second information comprises a second parameter describing the second item, and wherein the second information is stored in a memory of the first user device;
comparing the first parameter with the second parameter; and
transmitting the third request based at least in part on the comparison.
17 . The non-transitory computer-readable medium of claim 16 , wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising:
comparing the first parameter and a user parameter to determine whether the first parameter is compliant with the user parameter;
comparing the second parameter and the user parameter to determine whether the second parameter is complaint with the threshold item parameter; and
comparing the first parameter with the second parameter based at least in part on the each of the first parameter and the second parameter being compliant with the threshold item parameter.
18 . The non-transitory computer-readable medium of claim 15 , wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising:
determining an authorization level of the background process to transmit the third request to the third device;
presenting, via a user interface (UI), the target item to a user and a prompt requesting whether the user authorizes the third request, based at least in part on the authorization level;
receiving, via the user interface (UI), an input indicating whether the user authorizes the third request; and
transmitting the third request based at least in part on the input.
19 . The non-transitory computer-readable medium of claim 15 , wherein the instructions that, when executed by the processor, further cause the processor to perform operations comprising determining whether to send the third request based on the comparison.
20 . The non-transitory computer-readable medium of claim 15 , wherein the third device is a server device associated with the background process, and wherein the server device is configured to receive the first information from a source device, and wherein the server device is further configured to determine whether first parameter included in the first information is compliant with a user-based parameter.