WO2019114417A1 - 一种信息传输方法和装置 - Google Patents

一种信息传输方法和装置 Download PDF

Info

Publication number
WO2019114417A1
WO2019114417A1 PCT/CN2018/111467 CN2018111467W WO2019114417A1 WO 2019114417 A1 WO2019114417 A1 WO 2019114417A1 CN 2018111467 W CN2018111467 W CN 2018111467W WO 2019114417 A1 WO2019114417 A1 WO 2019114417A1
Authority
WO
WIPO (PCT)
Prior art keywords
unique identifier
information
target information
server
displayed
Prior art date
Application number
PCT/CN2018/111467
Other languages
English (en)
French (fr)
Inventor
杨帆
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to KR1020207004206A priority Critical patent/KR102363559B1/ko
Priority to JP2020505355A priority patent/JP6968261B2/ja
Priority to SG11202001194RA priority patent/SG11202001194RA/en
Publication of WO2019114417A1 publication Critical patent/WO2019114417A1/zh
Priority to US16/810,462 priority patent/US11711434B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Definitions

  • the present disclosure relates to the field of network technologies, and in particular, to an information transmission method and apparatus.
  • the transmission method that can be adopted includes, for example, directly inputting the URL link directly on the computer side, or simultaneously logging in a client tool (for example, a chat tool or a file transfer assistant) on both the handheld device side and the computer side, through the client tool. Send the URL link of the handheld device to the computer.
  • a client tool for example, a chat tool or a file transfer assistant
  • the present disclosure provides an information transmission method and apparatus for transmitting information between two devices in a more convenient manner.
  • the first aspect provides an information transmission method, where the method is used to send target information in a local device to a peer device, where the method includes:
  • a second aspect provides an information transmission method, where the method is used to forward target information in a first device to a second device, where the method includes:
  • the first device And receiving, by the first device, the unique identifier and the target information that are sent by the first device, where the target information is information that is to be displayed by the first device, and the target information is displayed by the user on the first device.
  • Select OK in the message
  • a third aspect provides an information transmission apparatus, where the apparatus is configured to transmit target information by a local device to a peer device, where the apparatus includes:
  • An information acquiring module configured to acquire target information determined by the user to be displayed by the local device, where the target information is to be transmitted to the peer device for display;
  • An identifier obtaining module configured to acquire a unique identifier that is transmitted by the peer device, where the unique identifier is sent by the server to the peer device, and the server stores a correspondence between the unique identifier and the peer device;
  • an information sending module configured to send the unique identifier and the target information to the server, so that the server forwards the target information to the peer device corresponding to the unique identifier.
  • a fourth aspect provides an information transmission apparatus, configured to send target information of a first device to a second device, where the device includes:
  • connection establishing module configured to establish a connection with the second device according to the connection request sent by the second device
  • An identifier allocation module configured to send a unique identifier corresponding to the current connection to the second device, and store a correspondence between the unique identifier and the second device;
  • the information receiving module is configured to receive the unique identifier and the target information that are sent by the first device, where the target information is information that is to be displayed by the first device to be displayed by the second device, and the target information is used by the user Selecting a determination in the information displayed by the first device;
  • an information sending module configured to find the corresponding second device according to the unique identifier and the corresponding relationship, and send the target information to the second device.
  • an information transmission device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, the processor implementing the instructions to:
  • an information transmission device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, the processor implementing the instructions to:
  • the first device And receiving, by the first device, the unique identifier and the target information that are sent by the first device, where the target information is information that is to be displayed by the first device, and the target information is displayed by the user on the first device.
  • Select OK in the message
  • the information transmission method and apparatus of one or more embodiments of the present specification are implemented by a server as an information transmission relay party between two devices, and one of the devices establishes a connection with the server, and another device can display the local end.
  • the information is passed to the server, and the unique identifier corresponding to the connection is provided, so that the server can know which device the information is sent to.
  • This method does not need to install a certain client software on the device in advance, and does not depend on other customers. End software, which makes information transfer between two devices easier.
  • FIG. 1 is a system architecture of information transmission provided by one or more embodiments of the present specification
  • FIG. 2 is a flowchart of an information transmission method provided by one or more embodiments of the present specification
  • FIG. 3 is a flowchart of an information transmission method provided by one or more embodiments of the present specification.
  • FIG. 4 is a schematic diagram of a reverse scan code prompt provided by one or more embodiments of the present specification.
  • FIG. 5 is a schematic diagram of a scan code tool startup according to one or more embodiments of the present disclosure
  • FIG. 6 is a schematic diagram showing a two-dimensional code display provided by one or more embodiments of the present specification.
  • FIG. 7 is a schematic diagram of obtaining a link address according to one or more embodiments of the present disclosure.
  • FIG. 8 is a schematic diagram of opening a link address provided by one or more embodiments of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an information transmission apparatus according to one or more embodiments of the present disclosure.
  • FIG. 10 is a structural diagram of an information transmission apparatus provided by one or more embodiments of the present specification.
  • One or more embodiments of the present specification provide a method of information transmission that can transfer information between two devices. Moreover, if the two devices are the first device and the second device, the information transmitted between the two devices is that the first device acquires an identifier transmitted by the second device in a certain manner, and then Automatically triggering the second device to initiate display of certain information on the first device. For example, the first device may obtain the identifier in a two-dimensional code displayed by the second device by scanning the code, and automatically trigger the second device to start displaying a webpage link address on the first device.
  • FIG. 1 illustrates a system architecture for information transmission.
  • the system may include: an information transmission server 11, a first device 12, and a second device 13.
  • the first device 12 and the second device 13 do not limit the device form.
  • the first device 12 may be a handheld device, and the second device 13 may be a PC.
  • the first device 12 wants to transmit some local information to the second device 13, for example, the partial link address in the browsing webpage on the first device 12 may be transmitted to the second device 13 to be in the second device 13. Open the link address.
  • a session connection can be established between the second device 13 and the information transmission server 11, and the first device 12 can transmit the information to be transmitted to the information transmission server 11, by the information transmission service.
  • the terminal 11 acts as a relay party and transmits information to the second device 13 through the established session.
  • the information transmission server 11 may also be forwarded as information transmission between groups of devices.
  • the third device 14 shown in FIG. 1 may also establish a session connection with the information transmission server 11 and receive the information transmission service. The information forwarded by terminal 11.
  • "unique identification" can be used. That is, the information transmission server 11 can establish a unique corresponding unique identifier for each session connection.
  • the session connection between the second device 13 and the information transmission server 11 corresponds to a unique identifier
  • the third device 14 and the information transmission server The session connection between 11 corresponds to another unique identifier.
  • the information transmission server 11 can store the correspondence between different unique identifiers and session connections, and according to the corresponding relationship, it is known which device the peer device corresponding to a unique identifier is. For example, the unique identifier A corresponds to the second device, and the unique identifier B corresponds to the third device. At the same time, when transmitting the information to be transmitted to the information transmission server 11, the first device 12 also carries the unique identifier, so that the information transmission server 11 knows which device the information is to be sent to.
  • the above-mentioned unique identifier may also have the following characteristics: corresponding to one information transmission process, it may also be said that the unique identifier is an identifier corresponding to one information transmission, and the information transmission means that the first device sends a certain information to the second device.
  • An example of a uniquely identified application is as follows:
  • the server may generate a unique identification ID corresponding to the current connection, and may set a valid duration for the ID. T. As shown in the following list 1:
  • Table 1 uniquely identified association information
  • Case 1 In the time period of the effective duration T, the first device has not transmitted information to the second device, and the server can clear the unique identifier ID.
  • Case 2 During the effective duration T, the first device 12 transmits a link address to the second device 13 and has not reached the effective duration T after the transmission. At this point, the server still wants to clear the unique ID, because the information transfer process has been successfully performed.
  • the server may assign another unique identifier ID, and the first device 12 also acquires the other ID for another One information transmission.
  • FIG. 2 illustrates an information transmission method that utilizes the system architecture shown in FIG. 1 to implement information transmission between the first device and the second device.
  • the method may include:
  • step 200 the second device establishes a session connection with the information transmission server according to the server address.
  • the second device may send a connection request to the information transmission server according to the server address.
  • the information transmission server can establish a session connection with the second device according to the connection request.
  • step 202 the second device receives the unique identifier corresponding to the session connection allocated by the information transmission server.
  • the information transmission server may allocate a unique identifier uniquely corresponding to the current session connection, and send the unique identifier to the second device.
  • the information transmission server stores a correspondence between the unique identifier and the second device.
  • the storage relationship between the unique identifier and the session connection established in step 200 may be stored. However, the storage of the corresponding relationship is ultimately to identify the second device corresponding to the current session according to the unique identifier, so as to be unique according to the subsequent step. The identification knows which device to transmit the information of the first device to.
  • step 206 the second device transmits the unique identifier to the first device in a preset information transmission manner.
  • the second device transmits the unique identifier to the first device, and can transmit using multiple information transmission methods.
  • the second device may carry the unique identifier in the two-dimensional code, display the two-dimensional code, and the first device scans the two-dimensional code to obtain the unique identifier.
  • the second device may also send the unique identifier to the first device by means of voiceprint delivery.
  • step 208 the first device sends the target information to be transmitted and the unique identifier to the information transmission server.
  • the first device may send the target information to be transmitted, such as a picture, a text, or a link address, to the information transmission server together with the unique identifier.
  • the manner in which the target information of the local device is obtained may be selected by the user in the information displayed by the local device.
  • the user can browse the webpage or chat on the mobile phone.
  • the user can copy the content and paste it into the specified
  • the location (the designated location may be a certain functional area in the mobile phone corresponding to the information transmission method of the example), for example, the designated location may be an input box in the mobile phone APP.
  • the mobile phone detects that the user clicks on the above link address (such a click is equivalent to a selection operation, other manners of selection operations may also be used, such as Right-click to send to the peer), and automatically obtain the link address corresponding to the click operation as the target information to be transmitted.
  • the user may be prompted to confirm whether the address is to be sent to the peer device.
  • step 210 the information transmission server transmits the target information to the second device corresponding to the unique identifier.
  • the information transmission server may obtain the device corresponding to the unique identifier as the second device according to the corresponding relationship stored in step 204, and transmit the target information sent by the first device to the second device.
  • the link address sent by the first device can be sent to the second device.
  • the unique identifier may have a valid duration, and the information transmission server may determine that the unique identifier is valid before sending the information to the second device, or before the second device receives the link address.
  • the second device displays the target information.
  • the second device can open a webpage or a picture corresponding to the link address in the browser of the local end.
  • the information transmission method of the present example is used as an information transmission relay party between two devices by the information transmission server, and one of the devices establishes a session connection with the information transmission server, and the other device attaches the information when transmitting the information.
  • the unique identifier of the session connection enables the information transmission server to know which device the information is sent to. In this way, since the information is transmitted between the device and the information transmission server to establish an instant session, it is not necessary to install a certain client software on the device in advance, and does not depend on other client software, thereby causing The transmission of information is easier.
  • the client software used for the same specific information transmission is not installed on the first device and the second device, and the service can be provided as long as the second device can establish a session connection with the server and the first device can obtain the unique identifier.
  • the terminal is easier to use.
  • the information transmission method of one or more embodiments of the present specification is described by taking a specific application scenario as an example as follows.
  • the two devices in the scenario may be a mobile phone and a personal computer (PC). If the user encounters a link address and wants to open the view on the PC when browsing the webpage on his mobile phone, then the user needs to The link address is transmitted from the mobile terminal to the PC. At this time, the information transmission method of the present disclosure can be used to transfer the link address from the mobile phone to the PC.
  • the transmission mode of the unique identifier between the mobile phone and the PC may be in a scan code manner, and the PC end displays a two-dimensional code including a unique identifier, and the mobile phone scans the two-dimensional code through the scan code tool.
  • the transmission process may be that the mobile phone scans the two-dimensional code on the PC, and automatically triggers the PC to open a link address on the mobile phone, that is, quickly open the mobile phone on the PC end by scanning the code.
  • this method can be called "reverse QR code scanning function".
  • FIG. 3 exemplifies the flow executed in the above scenario.
  • the flow illustrates a method of linking open, and the method may include the following steps. It should be noted that the specific implementation is not limited to the following sequence of steps:
  • step 300 the mobile terminal obtains a link address that needs to be opened on the PC.
  • the user may open a link address when browsing the page on his mobile phone, or the user receives a link address transmitted by another person in the chat tool on his mobile phone, and assumes that the link address needs to be opened on the PC side.
  • Browse and operate you need to transfer the link address to the PC to open.
  • the user may click on the link address mentioned above, trigger the mobile phone to obtain the link address, or the user right-click to open the link address on the PC side.
  • Both exemplary methods are equivalent.
  • the mobile phone detects a transmission instruction sent by the user to the predetermined format information, and the predetermined format information may be, for example, the above-mentioned link address, and the transmission indication transmits the information to the PC end.
  • the mobile terminal may use the obtained predetermined format information as the local information to be transmitted.
  • the predetermined format information is not limited to the link address, and may be other information such as text information, pictures, and the like. Other information can be obtained in a variety of ways, such as pre-set or right-click trigger.
  • step 302 the mobile terminal prompts the user whether to enter the reverse scan code function and opens on the PC side.
  • the mobile terminal can prompt the user whether to perform reverse scan. As in the example of FIG. 4, the user can be prompted whether to open the link address on the PC side.
  • step 304 the process may continue to step 304; otherwise, the link address may be opened directly on the mobile phone for viewing.
  • step 304 the mobile terminal evokes the scan code tool and prompts the server address opened on the PC side.
  • the mobile phone terminal can evoke the scan code tool, which is equivalent to an information acquisition tool, and can be used in the subsequent step to obtain a unique identifier by scanning the QR code of the PC end.
  • the mobile phone has started the scan code tool, and can also prompt the server end to connect to the server address of the information transmission server.
  • the server address can be a fixed short URL, which can use short link technology to generate a fixed, short URL that is convenient for the user to directly input.
  • the fixed short URL can be t.cn/ma. The user may be prompted to input the fixed short URL on the PC side, so that the PC end connects to the information transmission server according to the website address.
  • the mobile phone terminal can also provide the function of editing and modifying the fixed short URL.
  • the user may be prompted to determine whether the link address automatically obtained by the mobile terminal in step 300 is correct. If not, the user may edit and modify to ensure the correctness of the address of the information transmission server.
  • the server address is displayed as an example in FIG. 5.
  • the mobile terminal may not prompt, and the address is directly input by the PC. .cn/ma.
  • the server address can be stored on the PC side or made into a browser plug-in or the like.
  • the reverse scanning function can be processed without the above step 302, but the user can directly enter the scanning code page after opening the mobile phone. The acquisition of the link address can be copied and pasted by the user to the scan code page or directly input.
  • the mobile terminal After evoking the scan code tool, the mobile terminal waits to scan the two-dimensional code displayed on the PC side in the subsequent step.
  • the PC opens the server address in the browser and requests to connect to the server.
  • the user can input t.cn/ma on the PC side to request to establish a session connection with the information transmission server.
  • step 308 the server assigns a unique identifier to the PC.
  • the information transmission server may establish a session connection with the PC according to the connection request sent by the PC in step 306, and generate a unique identifier corresponding to the session connection.
  • the user has opened a fixed short URL in the browser of the PC, and the PC page interacts with the information transmission server to generate a short-term unique identifier id, that is, a unique identifier as the communication id of the current interaction.
  • the server in this step can send the unique identifier to the PC.
  • step 310 the server stores a correspondence between the unique identifier and the session connection.
  • the server can know which PC device corresponding to the unique identifier is.
  • the server may also store multiple sets of corresponding relationships at the same time. Each set of correspondences includes a unique identifier and a corresponding PC device. In this case, the server may establish a session connection with multiple PCs at the same time. It is also responsible for forwarding information to these PCs separately.
  • step 312 the PC generates a two-dimensional code based on the unique identifier and displays the two-dimensional code.
  • the PC end can generate a two-dimensional code, and the two-dimensional code carries a unique identifier. Moreover, the PC displays the two-dimensional code. Referring to the example in FIG. 6, the PC displays the two-dimensional code, and can prompt the mobile terminal to scan using the corresponding scan code function.
  • step 314 the mobile phone scans the two-dimensional code to obtain a unique identifier.
  • the mobile phone end scans the two-dimensional code displayed by the PC end in step 312 through the scan code tool evoked in step 304, and parses the two-dimensional code to obtain a unique identifier carried in the two-dimensional code.
  • the manner in which the unique identifier is transmitted between the mobile terminal and the PC is not limited to the scanning mode in this example, and may be, for example, a voiceprint transmission method.
  • the PC end can carry the unique identifier in the voiceprint information and transmit it to the mobile phone end, and the mobile phone end parses the voiceprint information to obtain a unique identifier.
  • step 316 the mobile phone combines the unique identifier and the link address and sends it to the server.
  • the mobile terminal can send the link address obtained in step 300 to the information transmission server together with the unique identifier obtained in step 314.
  • the scanning function of the mobile phone can be turned off and rolled back to the page that the user previously operated.
  • step 318 the server sends the link address to the PC within the validity time of the unique identification.
  • the server can determine whether the unique identifier is expired. If the unique identifier has expired, you can make an error and no longer pass it to the PC. If the unique identifier is still in the valid time, the PC end device corresponding to the unique identifier may be found according to the corresponding relationship stored in step 310, and the link address is sent to the PC end.
  • the process of the server sending the link address to the PC may be actively acquired by the PC.
  • the PC-side browser can continuously poll the requesting server after generating the QR code, and try to obtain the link address transmitted by the mobile phone.
  • the PC can also determine whether the unique identifier expires, and if it expires, stop acquiring the peer information sent by the information transmission server, that is, stop polling to obtain the link address; if the unique identifier is within the valid time, the request can be obtained by polling.
  • the above link address Once obtained, the PC-side browser can automatically perform the parsing operation, and the obtained link URL is prompted to the user, and the user can choose to cancel or immediately open, as shown in the example of FIG.
  • step 320 the PC automatically opens the link address in the browser. As shown in Figure 8, the PC can open the received link address b.xin.xin/*****.
  • the application device is not limited to the mobile phone and the PC, only one of the devices needs to have the two-dimensional code display function, and the other device has the camera scan code function, and the solution can be applied.
  • the solution realizes a scheme of scanning a PC to display a QR code by using a mobile phone, and transmitting a link address URL in the mobile phone to the PC, thereby triggering the PC to automatically open the URL in the mobile phone, and the solution uses a scheme.
  • the interaction method approved by the public only needs to open a fixed short URL on the PC side, and scan the code through the handheld device to systematically solve the problem of quickly opening the link address in the mobile phone on the PC side, without depending on the specific
  • the account login software greatly reduces the cost of using this operation, and the link is quick and easy to open.
  • the device can be located at the device end that sends the information.
  • the apparatus may include: an information acquisition module 91, an identifier acquisition module 92, and an information transmission module 93.
  • the information obtaining module 91 is configured to acquire target information determined by the user to be displayed by the local device, where the target information is to be transmitted to the peer device for display;
  • the identifier obtaining module 92 is configured to obtain a unique identifier that is transmitted by the peer device, where the unique identifier is sent by the server to the peer device, and the server stores the corresponding relationship between the unique identifier and the peer device.
  • the information sending module 93 is configured to send the unique identifier and the target information to the server, so that the server forwards the target information to the peer device corresponding to the unique identifier.
  • the identifier obtaining module 91 is configured to scan a two-dimensional code displayed on the peer device by using a scan code tool, and parse the two-dimensional code to obtain the unique identifier carried in the two-dimensional code. .
  • the target information includes: a link address, or text information.
  • the apparatus can be configured to transmit the transmission information of the first device to the second device; for example, the device can be located at an information transmission server responsible for the relay information.
  • the apparatus may include: a connection establishing module 1001, an identity assigning module 1002, an information receiving module 1003, and an information transmitting module 1004.
  • connection establishing module 1001 configured to establish a connection with the second device according to the connection request sent by the second device
  • the identifier distribution module 1002 is configured to send a unique identifier corresponding to the current connection to the second device, and store a correspondence between the unique identifier and the second device;
  • the information receiving module 1003 is configured to receive the unique identifier and the target information that are sent by the first device, where the target information is information that is to be displayed by the first device to be displayed by the second device, and the target information is The user selects a determination in the information displayed by the first device;
  • the information sending module 1004 is configured to find the corresponding second device according to the unique identifier and the corresponding relationship, and send the target information to the second device.
  • each step may be implemented in the form of software, hardware or a combination thereof, for example, a person skilled in the art may implement it in the form of software code, and may be a computer executable computer capable of implementing the logic function corresponding to the step. instruction.
  • the executable instructions can be stored in a memory and executed by a processor in the device.
  • one or more embodiments of the present specification simultaneously provide an information transmission device, which may include a processor, a memory, and computer instructions stored on the memory and operable on the processor, The processor executes the instructions to implement the following steps:
  • one or more embodiments of the present specification simultaneously provide an information transmission device, which may include a processor, a memory, and computer instructions stored on the memory and operable on the processor, The processor executes the instructions to implement the following steps:
  • the first device And receiving, by the first device, the unique identifier and the target information that are sent by the first device, where the target information is information that is to be displayed by the first device, and the target information is displayed by the user on the first device.
  • Select OK in the message
  • the apparatus or module illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • one or more embodiments of the present specification can be provided as a method, system, or computer program product.
  • one or more embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • one or more embodiments of the present specification can employ a computer program embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein. The form of the product.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • One or more embodiments of the present specification can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本说明书实施例提供一种信息传输方法和装置,其中的方法包括:获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储所述唯一标识和对端设备的对应关系;将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。

Description

一种信息传输方法和装置 技术领域
本公开涉及网络技术领域,特别涉及一种信息传输方法和装置。
背景技术
在日常的生活和工作中,经常遇到需要在两个设备之间传输信息的情况,例如,可以传输一个网址,或者传输一张图片或者一段文字。以手持设备和个人电脑之间的信息传输为例,用户有时需要在电脑端打开手机中接收到的一个网址链接。那么可以采取的传输方式例如包括,要么直接在电脑端输入该网址链接,要么在手持设备端和电脑端都同时登录一个客户端工具(如,聊天工具或者文件传输助手),通过该客户端工具将手持设备的网址链接发送至电脑端。
发明内容
有鉴于此,本公开提供一种信息传输方法和装置,以更为简便的方式在两个设备之间传输信息。
具体地,本说明书一个或多个实施例是通过如下技术方案实现的:
第一方面,提供一种信息传输方法,所述方法用于将本端设备中的目标信息发送至对端设备,所述方法包括:
获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储所述唯一标识和对端设备的对应关系;
将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
第二方面,提供一种信息传输方法,所述方法用于将第一设备中的目标信息转发至第二设备,所述方法包括:
根据第二设备发送的连接请求,与所述第二设备建立连接;
向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
根据所述唯一标识和对应关系,找到对应的所述第二设备;
将所述目标信息发送给所述第二设备。
第三方面,提供一种信息传输装置,所述装置用于由本端设备向对端设备传输目标信息,所述装置包括:
信息获取模块,用于获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
标识获取模块,用于获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储唯一标识和对端设备的对应关系;
信息发送模块,用于将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
第四方面,提供一种信息传输装置,所述装置用于将第一设备的目标信息发送至第二设备;所述装置包括:
连接建立模块,用于根据第二设备发送的连接请求,与第二设备建立连接;
标识分配模块,用于向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
信息接收模块,用于接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
信息发送模块,用于根据所述唯一标识和对应关系,找到对应的所述第二设备,并将所述目标信息发送给所述第二设备。
第五方面,提供一种信息传输设备,所述设备包括存储器、处理器,以及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行指令时实现以下步骤:
获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储所述唯一标识和对端设备的对应关系;
将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
第六方面,提供一种信息传输设备,所述设备包括存储器、处理器,以及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行指令时实现以下步骤:
根据第二设备发送的连接请求,与所述第二设备建立连接;
向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
根据所述唯一标识和对应关系,找到对应的所述第二设备;
将所述目标信息发送给所述第二设备。
本说明书一个或多个实施例的信息传输方法和装置,通过由服务器来作为两个设备之间的信息传输中转方,并且,其中一个设备与该服务器建立连接,另一个设备可以将本端显示的信息传给服务器,并附带上该连接对应的唯一标识,就能够使得服务器知晓信息是发送给哪个设备,这种方式不需要预先在设备上安装某个客户端软件,不会依赖其他的客户端软件,从而使得两个设备之间的信息传输更为简便。
附图说明
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书一个或多个实施例中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书一个或多个实施例提供的一种信息传输的系统架构;
图2为本说明书一个或多个实施例提供的一种信息传输方法的流程图;
图3为本说明书一个或多个实施例提供的一种信息传输方法的流程图;
图4为本说明书一个或多个实施例提供的一种反向扫码提示示意图;
图5为本说明书一个或多个实施例提供的一种扫码工具启动示意图;
图6为本说明书一个或多个实施例提供的一种二维码显示示意图;
图7为本说明书一个或多个实施例提供的一种链接地址获取示意图;
图8为本说明书一个或多个实施例提供的一种链接地址打开示意图;
图9为本说明书一个或多个实施例提供的一种信息传输装置的结构示意图;
图10为本说明书一个或多个实施例提供的一种信息传输装置的结构图。
具体实施方式
为了使本技术领域的人员更好地理解本说明书一个或多个实施例中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是一部分实施例,而不是全部的实施例。基于本说明书一个或多个实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。
本说明书一个或多个实施例,提供了一种信息传输的方法,该方法可以在两个设备之间传输信息。并且,假设所述的两个设备是第一设备和第二设备,那么这两个设备之间传输信息的特点是,第一设备以某一种方式获取第二设备传输的一个标识,就可以自动触发第二设备启动显示第一设备上的某种信息。例如,第一设备可以通过扫码的方式获取第二设备显示的一个二维码中的标识,并自动触发第二设备启动显示第一设备上的一个网页链接地址。
图1示例了一个信息传输的系统架构,如图1所示,该系统中可以包括:信息传输服务端11、第一设备12和第二设备13。其中,第一设备12和第二设备13不限制设备形式,例如,第一设备12可以是手持设备,第二设备13可以是PC。当第一设备12要将本地的一些信息传输至第二设备13时,例如,可以是将第一设备12上浏览网页中的部分链接地址传输至第二设备13,以在第二设备13中打开该链接地址。那么,如图1所示,可以在第二设备13和信息传输服务端11之间建立会话连接,并且,第一设备12 可以将待传输的信息发送至信息传输服务端11,由信息传输服务端11作为一个中转方,将信息通过上述建立的会话发送至第二设备13。
此外,信息传输服务端11也有可能是作为多组设备之间的信息传输中转发,例如,图1所示的第三设备14也可以与信息传输服务端11建立会话连接,并接收信息传输服务端11转发的信息。那么,当第一设备12特定将信息发送至第二设备13时,为了准确的进行信息接收端的区分,可以使用“唯一标识”。即信息传输服务端11可以为每一个会话连接建立唯一对应的唯一标识,例如,第二设备13与信息传输服务端11之间的会话连接对应一个唯一标识,第三设备14与信息传输服务端11之间的会话连接对应另一个唯一标识。信息传输服务端11可以存储不同的唯一标识与会话连接的对应关系,并据此对应关系知道某一个唯一标识对应的对端设备是哪个设备。例如,唯一标识A对应第二设备,唯一标识B对应第三设备。同时,第一设备12在向信息传输服务端11发送待传输的信息时,也要携带该唯一标识,以使得信息传输服务端11得知该信息是要发送给哪个设备的。
此外,上述的唯一标识还可以具有如下特点:对应一次信息传输过程,也可以说该唯一标识是对应着一次信息传输的标识,所述的信息传输即第一设备发送某个信息给第二设备。如下举例说明唯一标识的应用:
仍以第一设备和第二设备为例,假设第二设备请求连接服务器(即信息传输服务端),服务器可以生成对应本次连接的一个唯一标识ID,并且可以为该ID设定一个有效时长T。如下列表1所示:
表1唯一标识的关联信息
唯一标识 对应的第二设备 标识的有效时长
ID 第二设备13 T
接着可能会发生如下几种情况:
情况一:在有效时长T的时间内,第一设备一直没有向第二设备传输信息,则服务器可以清除该唯一标识ID。
情况二:在有效时长T的时间内,第一设备12传输了一个链接地址给第二设备13,且传输后仍未到有效时长T。此时服务器仍然要清除该唯一标识ID,因为已经成功的执行了一次信息传输过程。
如果第一设备12在传输上述的链接地址后,想要再传输另一个链接地址给第二设备13,则服务器可以分配另一个唯一标识ID,第一设备12也要获取该另一个ID进行另一次信息传输。
在图1所示系统架构的基础上,图2示例了一种信息传输方法,该方法利用了图1所示的系统架构实现了第一设备和第二设备之间的信息传输。如图2所示,该方法可以包括:
在步骤200中,第二设备根据服务端地址与信息传输服务端建立会话连接。
本步骤中,第二设备可以根据服务端地址,向信息传输服务端发送连接请求。信息传输服务端可以根据该连接请求,与第二设备建立会话连接。
在步骤202中,第二设备接收所述信息传输服务端分配的与所述会话连接对应的唯一标识。
本例子中,信息传输服务端可以分配与本次会话连接唯一对应的唯一标识,并将该唯一标识发送至第二设备。
在步骤204中,信息传输服务端存储所述唯一标识与第二设备的对应关系。也可以是存储唯一标识与步骤200所建立的会话连接的对应关系,不过,对应关系的存储最终都是为了能够根据唯一标识识别到本次会话对应的第二设备,以在后续步骤中根据唯一标识知晓将第一设备的信息传输至哪个设备。
在步骤206中,第二设备以预设的信息传输方式,将所述唯一标识传输至所述第一设备。
本例子中,第二设备将唯一标识传输至第一设备,可以采用多种信息传输方式来传输。例如,第二设备可以将唯一标识携带在二维码中,显示该二维码,第一设备扫描该二维码获取到唯一标识。又例如,第二设备还可以通过声纹传递的方式将唯一标识发送至第一设备。
在步骤208中,第一设备将待传输的目标信息和所述唯一标识发送至所述信息传输服务端。
本步骤中,第一设备可以将本端待传输的目标信息,例如图片、文字或者链接地址等,与上述的唯一标识一起发送至信息传输服务端。
本例子中,本端设备的目标信息的获取方式,可以是由用户在本端设备显示的信息 中选择确定的目标信息。
比如,以本端设备是手机为例,用户可以在手机上浏览网页或者聊天,当接收到聊天朋友发送的一个链接地址或者看到一个感兴趣的文字段时,可以复制这些内容并粘贴到指定的位置(该指定位置可以是本例子的信息传输方法对应的手机中的某个功能区域),例如该指定位置可以是手机APP中的某个输入框。
或者,还可以是当手机(也可以是手机中的APP执行)检测到用户点击了上述的链接地址时(这种点击相当于一种选择操作,也可以采用其他方式的选择操作,比如选中后右键选择发送至对端),自动获取该点击操作对应的链接地址,作为待传输的目标信息。当然,为了避免误操作,也可以在自动获取点击的链接地址后,提示用户确认是否要将该地址发送至对端设备。
在步骤210中,信息传输服务端将所述目标信息发送至与所述唯一标识对应的所述第二设备。
本步骤中,信息传输服务端可以根据步骤204中存储的对应关系,获取到唯一标识对应的设备是第二设备,并将第一设备发送的目标信息传输至第二设备。例如,可以将第一设备发送的链接地址发送至第二设备。当然,唯一标识可以有一个有效时长,信息传输服务端在向第二设备发送信息之前,或者第二设备在接收链接地址之前,都可以先确定唯一标识是有效的。
在步骤212中,第二设备显示所述目标信息。例如,第二设备可以在本端的浏览器打开链接地址对应的网页或者图片。
本例子的信息传输方法,通过由信息传输服务端来作为两个设备之间的信息传输中转方,并且,其中一个设备与该信息传输服务端建立会话连接,另一个设备在传输信息时附带上该会话连接的唯一标识,就能够使得信息传输服务端知晓信息是发送给哪个设备。这种方式由于设备与信息传输服务端之间建立即时会话的形式来传输信息,不需要预先在设备上安装某个客户端软件,不会依赖其他的客户端软件,从而使得两个设备之间的信息传输更为简便。比如,第一设备和第二设备上不安装同一个特定的信息传输使用的客户端软件,只要第二设备能够与服务端建立会话连接,且第一设备能够获取到唯一标识,就可以将服务端作为信息传输中转方,使用更为简便。
如下以一个具体的应用场景为例,来描述本说明书一个或多个实施例的信息传输方法。例如,该场景中的两个设备可以是手机和个人电脑PC(personal computer),假设 用户在自己的手机上浏览网页时,遇到一个链接地址想要在PC端打开查看,那么就需要将该链接地址由手机端传输至PC端。此时可以使用本公开的信息传输方法,将链接地址由手机传输至PC。并且,在本场景的例子中,手机和PC之间的唯一标识的传输方式可以采用扫码方式,由PC端显示一个包含唯一标识的二维码,手机通过扫码工具扫描该二维码获取到唯一标识。由此,由用户操作的角度来看,该传输过程就可以是,手机扫描PC上的二维码,自动触发PC端打开了手机上的一个链接地址,即通过扫码在PC端快速打开手机中的链接,该方式可以称为“反向二维码扫描功能”。
图3示例了上述场景中执行的流程,如图3所示,该流程示例了一种链接打开的方法,该方法可以包括如下步骤。需要说明的是,具体实施中并不局限于下面的步骤顺序:
在步骤300中,手机端获取到需要在PC打开的链接地址。
例如,用户可以是在自己的手机上浏览页面时要打开一个链接地址,或者用户在自己手机上的聊天工具中接收到了他人传输的一个链接地址,而假设该链接地址需要在PC端才能正常打开浏览和操作,此时就需要将该链接地址传输至PC端打开。在该示例场景中,可以是用户点击了上述的链接地址,触发手机获取到所述链接地址,或者也可以是用户右键选择在PC端打开该链接地址,这两种示例性的方式都相当于手机检测到了用户发出的一个对预定格式信息的传输指示,所述的预定格式信息例如可以是上述的链接地址,而所述的传输指示即将该信息传输至PC端。
此外,手机端在获取到传输指示后,可以将获取到的预定格式信息作为待传输的本端信息。而且,预定格式信息不局限于链接地址,还可以是其他信息,例如,文本信息、图片等格式的信息。其他信息的获取方式同样可以采用预先设定、或者右键触发等多种方式。
在步骤302中,手机端提示用户是否要进入反向扫码功能,在PC端打开。
例如,在获取到链接地址后,手机端可以提示用户是否要进行反向扫码。如图4的示例,可以提示用户是否要在PC端打开该链接地址。
如果用户点击了确定,则可以继续执行步骤304;否则,可以直接在手机端打开该链接地址进行查看。
在步骤304中,手机端唤起扫码工具,并提示在PC端打开的服务端地址。
本步骤中,手机端可以唤起扫码工具,该扫码工具相当于一个信息获取工具,可以用于后续步骤中通过扫描PC端的二维码获取唯一标识。
如图5的示例,手机端已经启动了扫码工具,并且,还可以提示由PC端连接信息传输服务端的服务端地址。该服务端地址可以是一个固定短网址,该短网址可以使用短链接技术生成一个固定的、短小的,方便用户直接输入的URL。例如,该固定短网址可以是t.cn/ma。可以提示用户在PC端输入该固定短网址,以使得PC端根据该网址连接信息传输服务端。
此外,如图5的示意,手机端在启动扫码工具时,还可以提供对上述的固定短网址进行编辑修改的功能。可以提示用户确定手机端在步骤300中自动获取到的链接地址是否正确,如果不正确,用户可以进行编辑修改,以保证信息传输服务端的地址正确性。
在本例子中,是以图5中提示显示服务端地址为例,在其他的例子中,在已经熟知服务端地址的情况下,手机端也可以不提示,而由PC端直接输入该地址t.cn/ma。并且,为了操作更加方便,可以将该服务端地址在PC端进行收藏或者制作成浏览器插件等。此外,对于本步骤中的手机端唤起扫码工具,也可以不经过上面步骤302的提示反向扫码功能等处理,而是可以由用户打开手机后直接进入扫码页面,这种情况下,链接地址的获取可以由用户复制粘贴到扫码页面或者直接输入。
在唤起扫码工具后,手机端就等待扫描后续步骤中PC端显示的二维码。
在步骤306中,PC在浏览器中打开服务端地址,请求连接服务端。例如,用户可以在PC端输入t.cn/ma,请求与信息传输服务端建立会话连接。
在步骤308中,服务端分配唯一标识给PC。
本步骤中,信息传输服务端可以根据步骤306中PC端发送的连接请求,与PC端建立会话连接,并生成与该会话连接对应的唯一标识。此时用户已经在PC端的浏览器中打开了固定短网址,该PC页面会与信息传输服务端交互生成一个短时唯一的标识id即唯一标识作为本次交互的通信id。
如图3所示,本步骤中的服务端可以将唯一标识发送至PC端。
在步骤310中,服务端存储唯一标识和会话连接的对应关系。
本步骤中,通过存储对应关系,服务端可以知道唯一标识对应的PC端设备是哪个。服务端也可能会同时存储有多组对应关系,每一组对应关系包括一个唯一标识和对应的一个PC端设备,这种情况下可以是该服务端同时与多个PC端建立了会话连接,并负责向这些PC端分别转发信息。
在步骤312中,PC根据唯一标识生成二维码,并显示该二维码。
本步骤中,PC端可以生成二维码,该二维码中携带有唯一标识。并且,PC端显示该二维码,可以参见图6的示例,PC端显示二维码,并可以提示手机端使用相应的扫码功能进行扫描。
在步骤314中,手机扫描二维码,获取到唯一标识。
本步骤中,手机端可以通过在步骤304中唤起的扫码工具,扫描PC端在步骤312中显示的二维码,并解析所述二维码,获取携带在二维码中的唯一标识。
在其他的例子中,手机端和PC端之间传输唯一标识的方式,不局限于本例子中的扫码方式,例如可以是声纹传输方式。在声纹传输中,PC端可以将唯一标识携带在声纹信息中传输至手机端,手机端解析声纹信息,获得唯一标识。
在步骤316中,手机将唯一标识和链接地址拼接组合,发送至服务端。
本步骤中,手机端可以将步骤300中获取到的链接地址与步骤314中获取到的唯一标识一起发送到信息传输服务端。传递成功后,手机端的扫码功能可以关闭,回退到用户之前操作的页面。
在步骤318中,服务端在唯一标识的有效时间内,将链接地址发送至PC。
例如,服务端在收到手机端传输的唯一标识和链接地址后,可以判断唯一标识是否过期。如果唯一标识已经过期,则可以进行错误提示,不再向PC端传递。如果唯一标识仍然在有效时间内,则可以根据步骤310中存储的对应关系,找到与唯一标识对应的PC端设备,并将链接地址发送至该PC端。
此外,本步骤中,服务端将链接地址发送至PC的过程,可以是由PC端主动获取。例如,PC端浏览器可以在生成二维码后不断轮询请求服务端,尝试获取手机端传递的链接地址。并且,PC端也可以判断唯一标识是否过期,如果过期则停止获取信息传输服务端发送的对端信息,即停止轮询获取链接地址;如果唯一标识在有效时间内,则可以轮询请求获取到上述链接地址。一旦获取到,则PC端浏览器可以自动进行解析操作,将得到的链接URL提示给用户,用户可选择取消或立即打开,如图7的示例,示出了PC端获取到链接地址并提示用户的示意界面。如果PC端确定链接地址合法(若PC端确定链接地址不合法,则可以进行错误提示,不再打开),并且用户确定打开,则浏览器自动跳转至链接地址对应的目标页面,PC端流程结束。相应的,信息传输服务端的流程也结束,可以将本次流程中使用的唯一标识进行清理,以备下次请求到来。
在步骤320中,PC自动在浏览器打开该链接地址。如图8所示,PC端可以打开接收到的链接地址b.xin.xin/*****。
本例子的链接打开的方法,应用的设备不局限于手机和PC,只需要其中之一设备具备二维码显示功能,另一种设备具备摄像头扫码功能,即可适用该方案。并且,该方案实现了一种通过手机扫描PC显示的二维码,将手机中的链接地址URL反向传输到PC中,从而触发PC自动打开手机中的URL的方案,该方案使用了一种被大众所认可的交互手段,只需在PC端打开一个固定的短网址,通过手持设备扫码即可,系统性地解决了在PC端快速打开手机中的链接地址这一问题,不依赖特定的账号登录软件,大大降低了这一操作的使用成本,并且链接打开快速简便。
为了实现上述的信息传输方法,本说明书一个或多个实施例提供一种信息传输装置。例如,该装置可以位于发送信息的设备端。如图9所示,该装置可以包括:信息获取模块91、标识获取模块92和信息发送模块93。
信息获取模块91,用于获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
标识获取模块92,用于获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储唯一标识和对端设备的对应关系;
信息发送模块93,用于将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
在一个例子中,标识获取模块91,具体用于通过扫码工具扫描所述对端设备上显示的二维码,并解析二维码,获取携带在所述二维码中的所述唯一标识。
在一个例子中,所述目标信息,包括:链接地址,或者文本信息。
为了实现上述的信息传输方法,本说明书一个或多个实施例提供一种信息传输装置。该装置可以用于将第一设备的传输信息发送至第二设备;例如,该装置可以位于负责中转信息的信息传输服务端。如图10所示,该装置可以包括:连接建立模块1001、标识分配模块1002、信息接收模块1003和信息发送模块1004。
连接建立模块1001,用于根据第二设备发送的连接请求,与第二设备建立连接;
标识分配模块1002,用于向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
信息接收模块1003,用于接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
信息发送模块1004,用于根据所述唯一标识和对应关系,找到对应的所述第二设备,并将所述目标信息发送给所述第二设备。
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本说明书一个或多个实施例时可以把各模块的功能在同一个或多个软件和/或硬件中实现。
上述方法实施例所示流程中的各个步骤,其执行顺序不限制于流程图中的顺序。此外,各个步骤的描述,可以实现为软件、硬件或者其结合的形式,例如,本领域技术人员可以将其实现为软件代码的形式,可以为能够实现所述步骤对应的逻辑功能的计算机可执行指令。当其以软件的方式实现时,所述的可执行指令可以存储在存储器中,并被设备中的处理器执行。
例如,对应于上述方法,本说明书一个或多个实施例同时提供一种信息传输设备,该设备可以包括处理器、存储器、以及存储在存储器上并可在处理器上运行的计算机指令,所述处理器通过执行所述指令,用于实现如下步骤:
获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储所述唯一标识和对端设备的对应关系;
将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
例如,对应于上述方法,本说明书一个或多个实施例同时提供一种信息传输设备,该设备可以包括处理器、存储器、以及存储在存储器上并可在处理器上运行的计算机指令,所述处理器通过执行所述指令,用于实现如下步骤:
根据第二设备发送的连接请求,与所述第二设备建立连接;
向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
根据所述唯一标识和对应关系,找到对应的所述第二设备;
将所述目标信息发送给所述第二设备。
上述实施例阐明的装置或模块,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上 下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于服务端设备实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
以上所述仅为本说明书一个或多个实施例的较佳实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开保护的范围之内。

Claims (13)

  1. 一种信息传输方法,所述方法用于将本端设备中的目标信息发送至对端设备,所述方法包括:
    获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
    获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储所述唯一标识和对端设备的对应关系;
    将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
  2. 根据权利要求1所述的方法,所述目标信息,包括:链接地址。
  3. 根据权利要求1所述的方法,所述获取用户由本端设备显示的信息中选择确定的目标信息,包括:
    所述目标信息由用户在本端设备显示的信息中以复制粘贴方式确定;
    或者,在检测到用户对本端设备显示的信息中的目标信息的选择操作时,获取所述选择操作对应的所述目标信息。
  4. 根据权利要求1所述的方法,所述获取对端设备传输的唯一标识,包括:
    通过扫码工具,扫描所述对端设备上显示的二维码;
    解析所述二维码,获取所述二维码中包含的所述唯一标识。
  5. 根据权利要求1所述的方法,所述获取对端设备传输的唯一标识,包括:
    通过声纹传输方式获取所述对端设备传输的声纹信息;
    解析所述声纹信息,获取携带在所述声纹信息中的所述唯一标识。
  6. 根据权利要求1所述的方法,所述本端设备是手持设备,所述对端设备是电脑。
  7. 一种信息传输方法,所述方法用于将第一设备中的目标信息转发至第二设备,所述方法包括:
    根据第二设备发送的连接请求,与所述第二设备建立连接;
    向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
    接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
    根据所述唯一标识和对应关系,找到对应的所述第二设备;
    将所述目标信息发送给所述第二设备。
  8. 根据权利要求7所述的方法,所述目标信息是链接地址。
  9. 一种信息传输装置,所述装置用于由本端设备向对端设备传输目标信息,所述装置包括:
    信息获取模块,用于获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
    标识获取模块,用于获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储唯一标识和对端设备的对应关系;
    信息发送模块,用于将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
  10. 根据权利要求9所述的装置,所述目标信息,包括:链接地址。
  11. 一种信息传输装置,所述装置用于将第一设备的目标信息发送至第二设备;所述装置包括:
    连接建立模块,用于根据第二设备发送的连接请求,与第二设备建立连接;
    标识分配模块,用于向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
    信息接收模块,用于接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
    信息发送模块,用于根据所述唯一标识和对应关系,找到对应的所述第二设备,并将所述目标信息发送给所述第二设备。
  12. 一种信息传输设备,所述设备包括存储器、处理器,以及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行指令时实现以下步骤:
    获取用户由本端设备显示的信息中选择确定的目标信息,所述目标信息待传输至对端设备进行显示;
    获取所述对端设备传输的唯一标识,所述唯一标识由服务器发送至对端设备,且所述服务器存储所述唯一标识和对端设备的对应关系;
    将所述唯一标识和目标信息发送至服务器,以使得所述服务器将目标信息转发至唯一标识对应的所述对端设备。
  13. 一种信息传输设备,所述设备包括存储器、处理器,以及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行指令时实现以下步骤:
    根据第二设备发送的连接请求,与所述第二设备建立连接;
    向所述第二设备发送与本次连接对应的唯一标识,并存储所述唯一标识与所述第二设备的对应关系;
    接收第一设备发送的所述唯一标识和目标信息,所述目标信息是所述第一设备获取的待在所述第二设备显示的信息,且所述目标信息由用户在第一设备显示的信息中选择确定;
    根据所述唯一标识和对应关系,找到对应的所述第二设备;
    将所述目标信息发送给所述第二设备。
PCT/CN2018/111467 2017-12-12 2018-10-23 一种信息传输方法和装置 WO2019114417A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020207004206A KR102363559B1 (ko) 2017-12-12 2018-10-23 정보 송신 방법 및 디바이스
JP2020505355A JP6968261B2 (ja) 2017-12-12 2018-10-23 コンピュータに実装される方法、情報送信方法、データ送信コンピューティングデバイス、情報送信サーバ、非一過性の、コンピュータ読み取り可能な媒体及びコンピュータに実装されるシステム
SG11202001194RA SG11202001194RA (en) 2017-12-12 2018-10-23 Information transmission method and device
US16/810,462 US11711434B2 (en) 2017-12-12 2020-03-05 Information transmission method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711318171.9 2017-12-12
CN201711318171.9A CN107911483A (zh) 2017-12-12 2017-12-12 一种信息传输方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/810,462 Continuation US11711434B2 (en) 2017-12-12 2020-03-05 Information transmission method and device

Publications (1)

Publication Number Publication Date
WO2019114417A1 true WO2019114417A1 (zh) 2019-06-20

Family

ID=61865552

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/111467 WO2019114417A1 (zh) 2017-12-12 2018-10-23 一种信息传输方法和装置

Country Status (7)

Country Link
US (1) US11711434B2 (zh)
JP (1) JP6968261B2 (zh)
KR (1) KR102363559B1 (zh)
CN (1) CN107911483A (zh)
SG (1) SG11202001194RA (zh)
TW (1) TWI685228B (zh)
WO (1) WO2019114417A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875932A (zh) * 2018-08-29 2020-03-10 阿里巴巴集团控股有限公司 文件上传方法、装置和系统
CN112231648A (zh) * 2019-07-15 2021-01-15 百度在线网络技术(北京)有限公司 一种信息传输方法、装置、电子设备及存储介质
KR102374389B1 (ko) * 2020-09-01 2022-03-15 임선태 직접적인 개인정보 교환없이 메시지를 송수신하는 메시지 서비스 제공 방법 및 시스템
CN112492050A (zh) * 2020-12-16 2021-03-12 赵全 一种终端间数据传输的方法及系统
US11531730B2 (en) 2020-12-29 2022-12-20 Microsoft Technology Licensing, Llc Manipulation of a persistent display of shared content
US11539828B2 (en) * 2020-12-29 2022-12-27 Microsoft Technology Licensing, Llc User interface process flow for posting content on a display device
US20220210133A1 (en) * 2020-12-29 2022-06-30 Microsoft Technology Licensing, Llc Interim connections for providing secure communication of content between devices
CN114598532B (zh) * 2022-03-11 2023-07-28 北京百度网讯科技有限公司 连接建立方法、装置、电子设备和存储介质
CN114448930A (zh) * 2022-03-15 2022-05-06 平安科技(深圳)有限公司 短地址生成方法、装置、电子设备及计算机可读存储介质
KR102507499B1 (ko) * 2022-05-17 2023-03-07 세종대학교산학협력단 양방향 채널을 이용하는 에어갭 환경에서의 공격 방법

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005109820A1 (en) * 2004-05-12 2005-11-17 Nokia Corporation Selecting and transmitting files to terminal
CN102811261A (zh) * 2012-08-27 2012-12-05 腾讯科技(深圳)有限公司 信息传输方法、装置、系统、终端及服务器
CN102857579A (zh) * 2012-09-27 2013-01-02 腾讯科技(深圳)有限公司 一种信息处理方法、装置、终端及服务器
CN105187560A (zh) * 2015-09-29 2015-12-23 北京奇艺世纪科技有限公司 一种基于云服务器的数据推送方法和装置

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397822C (zh) 2004-11-29 2008-06-25 华为技术有限公司 一种广告信息传送方法
KR100968190B1 (ko) 2005-07-27 2010-07-07 인터내셔널 비지네스 머신즈 코포레이션 인가된 수신자에 대한 파일의 안전한 전달을 위한 시스템및 방법
US8346310B2 (en) * 2010-02-05 2013-01-01 Ford Global Technologies, Llc Method and apparatus for communication between a vehicle based computing system and a remote application
EP2692125B1 (en) * 2011-03-31 2019-06-26 Sony Mobile Communications AB System and method for establishing a communication session
KR101579603B1 (ko) * 2012-06-27 2016-01-04 네이버 주식회사 이미지 인증키를 이용한 tv와 스마트폰의 연동 시스템, 방법 및 컴퓨터 판독 가능한 기록 매체
US20140333508A1 (en) * 2012-08-31 2014-11-13 Game Concourse Inc. System and method for communicating and interacting with a display screen using a remote device
CN102868696B (zh) * 2012-09-18 2015-10-07 广州市动景计算机科技有限公司 多设备间通讯和信息同步方法及系统
CN103841140B (zh) * 2012-11-22 2019-05-28 北京百度网讯科技有限公司 一种终端间信息互传的方法、系统和装置
CN103220266B (zh) 2013-02-01 2016-04-06 北京邮电大学 基于网络编码的无源光网络中进行数据加密的方法
US10769625B2 (en) * 2013-12-20 2020-09-08 Cellco Partnership Dynamic generation of quick response (QR) codes for secure communication from/to a mobile device
US20180322536A1 (en) * 2014-01-14 2018-11-08 Google Inc. Resource utilization based cross device transmissions
US9954679B2 (en) 2014-03-05 2018-04-24 Qualcomm Incorporated Using end-user federated login to detect a breach in a key exchange encrypted channel
US20180356961A1 (en) * 2014-06-09 2018-12-13 Google Inc. Low-friction, instant, private, personalized video sharing widget
US10069872B2 (en) * 2014-07-18 2018-09-04 Verizon Patent And Licensing Inc. Architecture to establish serverless WebRTC connections
CN104125277A (zh) * 2014-07-21 2014-10-29 广州金山网络科技有限公司 文件传输方法、系统及装置
KR101623742B1 (ko) * 2015-01-23 2016-05-25 주식회사 악어스캔 파일 연관 메시지 공유 방법 및 메시지 공유 시스템
CN106034063A (zh) * 2015-03-13 2016-10-19 阿里巴巴集团控股有限公司 一种在通信软件中通过语音启动业务的方法及相应装置
US20160277339A1 (en) * 2015-03-16 2016-09-22 Boogoo Intellectual Property LLC Electronic Communication System
CN104967622B (zh) * 2015-06-30 2017-04-05 百度在线网络技术(北京)有限公司 基于声纹的通讯方法、装置和系统
CN108293144B (zh) * 2015-11-27 2021-04-30 索尼公司 信息处理装置、信息处理方法、接收装置和接收方法
CN107295035B (zh) * 2016-03-31 2021-05-14 腾讯科技(深圳)有限公司 分享移动终端内容的方法和装置
CN107172068A (zh) 2017-06-14 2017-09-15 珠海市魅族科技有限公司 信息发送控制方法、服务器、系统、装置及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005109820A1 (en) * 2004-05-12 2005-11-17 Nokia Corporation Selecting and transmitting files to terminal
CN102811261A (zh) * 2012-08-27 2012-12-05 腾讯科技(深圳)有限公司 信息传输方法、装置、系统、终端及服务器
CN102857579A (zh) * 2012-09-27 2013-01-02 腾讯科技(深圳)有限公司 一种信息处理方法、装置、终端及服务器
CN105187560A (zh) * 2015-09-29 2015-12-23 北京奇艺世纪科技有限公司 一种基于云服务器的数据推送方法和装置

Also Published As

Publication number Publication date
TW201929498A (zh) 2019-07-16
KR102363559B1 (ko) 2022-02-16
JP2020532784A (ja) 2020-11-12
JP6968261B2 (ja) 2021-11-17
KR20200021545A (ko) 2020-02-28
US20200213403A1 (en) 2020-07-02
CN107911483A (zh) 2018-04-13
SG11202001194RA (en) 2020-03-30
US11711434B2 (en) 2023-07-25
TWI685228B (zh) 2020-02-11

Similar Documents

Publication Publication Date Title
WO2019114417A1 (zh) 一种信息传输方法和装置
KR102237912B1 (ko) 서비스 기능을 구현하는 방법 및 디바이스
US9749143B2 (en) Web real-time communication call transferring method and apparatus
JP2020047290A (ja) ヒト生物学的特徴データとアカウントとの間の情報相互作用及び関連付けのための方法及びデバイス
US10009303B2 (en) Message push method and apparatus
US20160247123A1 (en) Converting Scheduling Information into Different Conferencing Domains
US20170288942A1 (en) Portal for Provisioning Autonomous Software Agents
JP2018511846A (ja) グループチャット内でプライベートチャットを提供するための方法及びシステム
CN109246220B (zh) 一种消息推送系统及方法
US10630807B2 (en) Method and system for loading application- specific interfaces in a social networking application
US9253129B2 (en) Instant messaging with browser collaboration
JP6817649B2 (ja) コミュニケーション支援装置、方法、及びコンピュータプログラム
US20180209807A1 (en) Moving track sharing method and apparatus, and storage medium
US10117071B2 (en) Communication method
WO2018103412A1 (zh) 一种群聊方法及系统、服务器、移动终端
TWI621078B (zh) Business object verification method and device
CN105959188B (zh) 一种控制用户终端上线的方法和装置
CN109474646B (zh) 通信连接方法、装置、系统及存储介质
US11237854B2 (en) Providing a virtual desktop within a computing environment
CN104639973B (zh) 一种信息推送方法及装置
WO2023155685A1 (zh) 通信方法、系统、装置、存储介质以及处理器
EP3661195A1 (en) Information processing device, information processing system, electronic whiteboard device and control method
KR101231203B1 (ko) 통신기기와 정보기기 간 데이터 통신 시스템 및 통신 방법
CN112637038B (zh) 一种即时通讯应用与邮箱的关联方法及装置
CN117768713A (zh) 投屏连接控制方法、设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18888103

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020505355

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20207004206

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18888103

Country of ref document: EP

Kind code of ref document: A1