Information transmission method and device
One or more implementations of the present specification provide an information transmission method. Target information selected by a user of a first computing device is obtained by the first computing device. A unique identifier is obtained by the first computing device and from a second computing device, subsequent to the second computing device receiving the unique identifier from a server. The unique identifier is associated with the second computing device according to a mapping relationship. The unique identifier and the target information are sent to the server. The server identifies the second computing device associated with the unique identifier from the mapping relationship and forwards the target information to the second computing device.
1. A computer-implemented method comprising:
obtaining, by a data sending computing device, target information that is selected by a user of the data sending computing device, and that is to be transmitted from the data sending computing device to a data receiving computing device;
selecting, by the data sending computing device, a third-party, information transmission server through which the selected target information is to be transmitted to the data receiving computing device and that is to assign a unique identifier to the data receiving computing device;
after the data sending computing device has selected the third-party, information transmission server, providing, for output by the data sending computing device, an instruction on a user interface that instructs the user to input an address of the third-party, information transmission server at the data receiving computing device, such that the data receiving computing device connects to the third-party, information transmission server whose address the user interface of the data sending computing device instructed to input at the data receiving computing device to initiate assignment of a unique identifier to the data receiving computing device;
obtaining, by a scanning tool of the data sending computing device, a code that is displayed on the data receiving computing device;
decoding, by the data sending computing device and from the code, the unique identifier corresponding to the data receiving computing device that (i) the third-party, information transmission server selected by the data sending computing device and with whom the data sending computing device is to transmit the target information has previously associated with the data receiving computing device after the data receiving computing device connected to the third-party, information transmission server, and (ii) the data receiving computing device has encoded in the code; and
transmitting, by the data sending computing device, the unique identifier and the target information to the third-party, information transmission server for further transmission, by the third-party, information transmission server, to the data receiving computing device that is associated with the unique identifier.
2. The computer-implemented method of claim 1 , wherein the target information comprises a link address.
3. The computer-implemented method of claim 1 , wherein obtaining the target information selected by the user of the data sending computing device comprises:
copying the target information; and
pasting the target information to a specific location displayed on the data sending computing device.
4. The computer-implemented method of claim 1 , wherein decoding the unique identifier comprises:
scanning, by the scanning tool of the data sending computing device, a two-dimensional code displayed on the data receiving computing device;
parsing the two-dimensional code to generate a parsed code; and
determining the unique identifier from the parsed code.
5. The computer-implemented method of claim 1 , wherein decoding the unique identifier comprises:
obtaining voiceprint information transmitted by the data receiving computing device in a voiceprint transmission method;
parsing the voiceprint information to generate parsed information; and
determining the unique identifier from the parsed information.
6. The computer-implemented method of claim 1 , wherein the data sending computing device is a handheld device and the data receiving computing device is a personal computer.
7. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
obtaining, by a data sending computing device, target information that is selected by a user of the data sending computing device, and that is to be transmitted from the data sending computing device to a data receiving computing device;
selecting, by the data sending computing device, a third-party, information transmission server through which the selected target information is to be transmitted to the data receiving computing device and that is to assign a unique identifier to the data receiving computing device;
after the data sending computing device has selected the third-party, information transmission server, providing, for output by the data sending computing device, an instruction on a user interface that instructs the user to input an address of the third-party, information transmission server at the data receiving computing device, such that the data receiving computing device connects to the third-party, information transmission server whose address the user interface of the data sending computing device instructed to input at the data receiving computing device to initiate assignment of a unique identifier to the data receiving computing device;
obtaining, by a scanning tool of the data sending computing device, a code that is displayed on the data receiving computing device;
decoding, by the data sending computing device and from the code, the unique identifier corresponding to the data receiving computing device that (i) the third-party, information transmission server selected by the data sending computing device and with whom the data sending computing device is to transmit the target information has previously associated with the data receiving computing device after the data receiving computing device connected to the third-party, information transmission server, and (ii) the data receiving computing device has encoded in the code; and
transmitting, by the data sending computing device, the unique identifier and the target information to the third-party, information transmission server for further transmission, by the third-party, information transmission server, to the data receiving computing device that is associated with the unique identifier.
8. The non-transitory, computer-readable medium of claim 7 , wherein the target information comprises a link address.
9. The non-transitory, computer-readable medium of claim 7 , wherein obtaining the target information selected by the user of the data sending computing device comprises:
copying the target information; and
pasting the target information to a specific location displayed on the data sending computing device.
10. The non-transitory, computer-readable medium of claim 7 , wherein decoding the unique identifier comprises:
scanning, by the scanning tool of the data sending computing device, a two-dimensional code displayed on the data receiving computing device;
parsing the two-dimensional code to generate a parsed code; and
determining the unique identifier from the parsed code.
11. The non-transitory, computer-readable medium of claim 7 , wherein decoding the unique identifier comprises:
obtaining voiceprint information transmitted by the data receiving computing device in a voiceprint transmission method;
parsing the voiceprint information to generate parsed information; and
determining the unique identifier from the parsed information.
12. The non-transitory, computer-readable medium of claim 7 , wherein the data sending computing device is a handheld device and the data receiving computing device is a personal computer.
13. A computer-implemented system, comprising:
one or more computers; and
one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform operations comprising:
obtaining, by a data sending computing device, target information that is selected by a user of the data sending computing device, and that is to be transmitted from the data sending computing device to a data receiving computing device;
selecting, by the data sending computing device, a third-party, information transmission server through which the selected target information is to be transmitted to the data receiving computing device and that is to assign a unique identifier to the data receiving computing device;
after the data sending computing device has selected the third-party, information transmission server, providing, for output by the data sending computing device, an instruction on a user interface that instructs the user to input an address of the third-party, information transmission server at the data receiving computing device, such that the data receiving computing device connects to the third-party, information transmission server whose address the user interface of the data sending computing device instructed to input at the data receiving computing device to initiate assignment of a unique identifier to the data receiving computing device;
obtaining, by a scanning tool of the data sending computing device, a code that is displayed on the data receiving computing device;
decoding, by the data sending computing device and from the code, the unique identifier corresponding to the data receiving computing device that (i) the third-party, information transmission server selected by the data sending computing device and with whom the data sending computing device is to transmit the target information has previously associated with the data receiving computing device after the data receiving computing device connected to the third-party, information transmission server, and (ii) the data receiving computing device has encoded in the code; and
transmitting, by the data sending computing device, the unique identifier and the target information to the third-party, information transmission server for further transmission, by the third-party, information transmission server, to the data receiving computing device that is associated with the unique identifier.
14. The computer-implemented system of claim 13 , wherein the target information comprises a link address.
15. The computer-implemented system of claim 13 , wherein obtaining the target information selected by the user of the data sending computing device comprises:
copying the target information; and
pasting the target information to a specific location displayed on the data sending computing device.
16. The computer-implemented system of claim 13 , wherein decoding the unique identifier comprises:
scanning, by the scanning tool of the data sending computing device, a two-dimensional code displayed on the data receiving computing device;
parsing the two-dimensional code to generate a parsed code; and
determining the unique identifier from the parsed code.
17. The computer-implemented system of claim 13 , wherein decoding the unique identifier comprises:
obtaining voiceprint information transmitted by the data receiving computing device in a voiceprint transmission method;
parsing the voiceprint information to generate parsed information; and
determining the unique identifier from the parsed information.
18. The computer-implemented system of claim 13 , wherein the data sending computing device is a handheld device and the data receiving computing device is a personal computer.