WO2015135233A1 - 一种数据通信的方法、装置和系统 - Google Patents

一种数据通信的方法、装置和系统 Download PDF

Info

Publication number
WO2015135233A1
WO2015135233A1 PCT/CN2014/075093 CN2014075093W WO2015135233A1 WO 2015135233 A1 WO2015135233 A1 WO 2015135233A1 CN 2014075093 W CN2014075093 W CN 2014075093W WO 2015135233 A1 WO2015135233 A1 WO 2015135233A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
communication
sensing
communication channel
information
Prior art date
Application number
PCT/CN2014/075093
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 华为技术有限公司
Publication of WO2015135233A1 publication Critical patent/WO2015135233A1/zh

Links

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/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, apparatus and system for data communication.
  • Bluetooth or NFC Near Field Communication
  • NFC Near Field Communication
  • the present invention provides a method, apparatus and system for data communication that enables remote file sharing between a plurality of mobile terminals.
  • a data communication method including:
  • the sensing information includes identifier information of the first terminal or the second terminal, and the first terminal and the second terminal are respectively established according to the sensing information.
  • the first communication channel and the second communication channel between the terminals include: Sending a connection request message to the first terminal according to the identifier information of the first terminal; receiving a connection response message sent by the first terminal, and establishing the communication channel according to the connection response message; or
  • connection request message sending a connection request message to the second terminal according to the identifier information of the second terminal; receiving a connection response message sent by the second terminal, and establishing the communication channel according to the connection response message.
  • the transmitting, by the first communications channel and the second communications channel, the first terminal and the second The interaction data between terminals includes:
  • the data communication message is sent to the second terminal in accordance with the data request message.
  • the data communication message includes shared file information.
  • a second aspect of the present invention provides a data communication method, including:
  • the determining that the preset sensing condition is met includes:
  • a third aspect of the present invention provides a communication server, including:
  • a transceiver unit configured to receive, when the sensing device acquires the trigger information, the sensing information sent by the sensing device;
  • a processing unit configured to separately establish, according to the sensing information received by the transceiver unit a first communication channel and a second communication channel corresponding to the first terminal and the second terminal; the transceiver unit is further configured to transmit, by using the first communication channel and the second communication channel, the first terminal and the The interaction data between the second terminals is described.
  • the sensing information includes the identifier information of the first terminal or the second terminal
  • the transceiver unit is specifically configured to: according to the identifier of the first terminal Sending a connection request message to the first terminal, and receiving a connection response message sent by the first terminal
  • the processing unit is specifically configured to: establish the first communication channel according to the connection response message
  • the transceiver unit is configured to send a connection request message to the second terminal according to the identifier information of the second terminal, and receive a connection response message sent by the second terminal;
  • the connection response message establishes the second communication channel.
  • the transceiver unit is specifically configured to:
  • the data communication message is sent to the second terminal in accordance with the data request message.
  • the data communication message includes shared file information.
  • a fourth aspect of the present invention provides an inductive device, including:
  • an obtaining unit configured to: when the determining that the preset sensing condition is met, acquiring the triggering information; the sending unit, configured to send the sensing information to the communication server according to the triggering information acquired by the acquiring unit, so that the communication server is configured according to the sensing information
  • a communication channel is established with a terminal corresponding to the sensing device, and data transmission is performed through the communication channel.
  • the sensing device further includes a sensing unit, where the sensing unit is used to establish a sensing area;
  • the trigger information is acquired when the sensing unit senses a triggering operation of the terminal through the sensing area.
  • a fifth aspect of the present invention provides a data communication system, including: a communication server and at least one sensing device, wherein the at least one sensing device is respectively connected to the communication server, wherein
  • the communication server includes the communication server described in any one of the foregoing third aspect to the second possible implementation manner;
  • the sensing device comprises the sensing device described in the fourth aspect or the first possible implementation.
  • the sensing device acquires trigger information, and sends sensing information to the communication server according to the trigger information, and the communication server establishes a relationship with the terminal corresponding to the sensing device according to the sensing information.
  • a communication channel after the communication server establishes a communication channel with the first terminal and the second terminal, respectively, the communication server transmits the first terminal by using a communication channel with the first terminal and the second terminal Data exchanged between the second terminals.
  • the data transmission between the first terminal and the second terminal is reversed by the communication server, thereby increasing the distance of data transmission between the first terminal and the second terminal.
  • FIG. 3 is a schematic flowchart of another method for data communication according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of another method for data communication according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a sensing device according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of another communication server according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a data communication system according to an embodiment of the present invention.
  • the present invention provides a data communication method, and the execution body of the method is a communication server. As shown in FIG. 1, the method includes:
  • the communication server receives the sensing information sent by the sensing device.
  • the sensing device is pre-configured with a sensing area, and the sensing device can sense a triggering operation by using different sensing mechanisms according to different sensing regions.
  • the sensing region can be an infrared region or an infrared boundary.
  • the device can sense the triggering operation by the infrared sensing mechanism, that is, when the triggering object enters the infrared ray area or contacts the infrared ray boundary, the sensing device acquires the trigger information, and if the sensing device has the NFC communication function, when the same device has the NFC When the terminal of the communication function appears within the effective range of the NFC communication of the sensing device, the sensing device acquires the trigger information.
  • the trigger information is used to trigger the sensing device to send the sensing information to the communication server.
  • the communication server establishes a first communication channel and a second communication channel corresponding to the first terminal and the second terminal respectively according to the sensing information.
  • the sensing information includes the identifier information of the first terminal or the second terminal
  • the communications server sends a connection request message to the first terminal according to the identifier information of the first terminal, and receives the first terminal sending
  • the connection response message the first communication channel is established according to the connection response message; or the communication server sends a connection request message to the second terminal according to the identification information of the second terminal, and receives the connection response message sent by the second terminal. And establishing the second communication channel according to the connection response message.
  • the first terminal and the second terminal may correspond to the same sensing device, and may also correspond to different sensing devices.
  • the communication server can receive the sensing information triggered by the first terminal and the sensing information triggered by the second terminal by using the same sensing device, or obtain the first information by using different sensing devices.
  • the sensing information triggered by the terminal and the sensing information triggered by the second terminal can be received by the same sensing device, or obtain the first information by using different sensing devices.
  • the communication server transmits the interaction data between the first terminal and the second terminal through the first communication channel and the second communication channel.
  • the communication server acquires a data communication message sent by the first terminal by using the first communication channel, acquires a data request message sent by the second terminal by using the second communication channel, and uses the data request message according to the data request message.
  • a communication message is sent to the second terminal.
  • the data communication message includes the shared file information
  • the first terminal may prompt the user whether to share the file through the prompt window, and the file data to be shared according to the operation of the user.
  • the information is sent to the communication server through the first communication channel, and the communication server saves the shared file information in a storage unit in the communication server, and when the communication server receives the second terminal, sends the second terminal through the second communication channel.
  • the shared file information is sent to the second terminal.
  • the data communication message sent by the first terminal to the communication server may further include the identifier information of the second terminal, and the communication server sends the second terminal to the second terminal according to the identifier information of the second terminal.
  • a notification message after receiving the notification message, the second terminal sends the data request message to the communication server through the second communication channel according to the user instruction, and the communication server cancels the data communication according to the data request.
  • a message is sent to the second terminal.
  • the first terminal may perform data communication with one terminal, or may perform data communication with multiple terminals, that is, the present invention does not limit the number of terminals for performing data communication, and
  • the sensing device can correspond to a plurality of terminals, and the present invention does not limit whether the corresponding relationship between the sensing device and the terminal is a corresponding relationship.
  • the communication system shown in FIG. 2 is an application scenario of the present invention.
  • the system includes: a first terminal, a first sensing device, a communication server, a second sensing device, a second terminal, and a third terminal, and a connection relationship.
  • the dotted line frame indicates the sensing area of the sensing device, when the terminal enters the sensing area, triggering the corresponding sensing device to send sensing information to the communication server, so that the communication server establishes the relationship according to the sensing information. Communication channel between terminals.
  • the communication server can perform data communication with the second terminal and the third terminal respectively, that is, the first terminal and the second terminal and the third terminal establish connection and data communication through the communication server. .
  • the sensing device includes an infrared emitter and a receiver, and in the application scene of the video meal, the sensing device establishes an infrared boundary in front of the dining table, that is, the infrared emitter receives the infrared light.
  • the infrared light is emitted by the user, when the user touches the infrared light line, the wine glass blocks the path of the infrared light, and when the receiver receives the infrared light, the sensing device acquires the trigger information, and sends the trigger information to the communication server according to the trigger information.
  • Sensing information when the communication server receives the sensing information sent by the user holding the wine cup trigger sensing device at the other end, the communication server sends a voice command to the audio devices (ie, the terminal) of both parties, so that the audio devices of both parties according to the voice command Make a clinking sound.
  • the audio devices ie, the terminal
  • the sensing device acquires the triggering information, and sends the sensing information to the communication server according to the triggering information, and the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information, and then After the communication server establishes a communication channel with the first terminal and the second terminal, the communication server transmits the first terminal and the second terminal by using a communication channel with the first terminal and the second terminal. Interacting data.
  • the data transmission between the first terminal and the second terminal is increased by the distance between the first terminal and the second terminal due to the relaying through the communication server.
  • the embodiment of the present invention provides a data communication method, and the execution body of the method is a sensing device, as shown in FIG. 3, including:
  • the S 3 0 sensing device acquires trigger information when it is determined that the preset sensing condition is met.
  • the sensing device acquires a trigger message when sensing a trigger operation existing in the terminal according to the preset sensing region.
  • the sensing device is pre-configured with a sensing area, and the triggering operation can be sensed by different sensing mechanisms.
  • the sensing area includes a certain distance range based on the sensing device, and the sensing device acquires the trigger information when the triggering operation is sensed (for example, the terminal enters the sensing area), and the triggering information is used to trigger the triggering information.
  • the sensing device sends sensing information to the communication server, that is, when the terminal enters the sensing device to a certain distance When in the enclosure, the sensing device can be triggered to send the sensing information to the communication server.
  • the sensing device uses different sensing mechanisms to obtain different ranges of sensing regions.
  • the sensing device includes an NF C communication unit, and the sensing area of the sensing device is an area in which the NFC is effectively communicated, and the terminal corresponding to the sensing device also has an NF C communication unit.
  • the sensing device acquires a trigger message when it is determined that the terminal is within the NF C communication range of both parties.
  • the sensing device establishes an infrared region or an infrared boundary, and the sensing device acquires the trigger message when it is determined that a trigger object enters the infrared region or contacts the infrared boundary.
  • the sensing device sends the sensing information to the communication server according to the triggering information, so that the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information, and performs data transmission through the communication channel.
  • the sensing information includes identification information of the terminal corresponding to the sensing device, and the communication server sends a connection request message to the terminal according to the identification information of the terminal, where the connection request message is used to establish the terminal and the communication server.
  • the communication server After the communication channel is received, the communication server establishes the communication channel according to the connection response message after receiving the connection response message sent by the terminal. Then, after the communication server establishes a communication channel with the two terminals, the communication channel transmits data exchanged between the two terminals.
  • the sensing device determines that the sensing condition is met, the sensing device acquires the triggering information, and sends the sensing information to the communication server according to the triggering information, and the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information, and then After the communication server establishes a communication channel with the first terminal and the second terminal, the communication server transmits the first terminal and the second terminal by using a communication channel with the first terminal and the second terminal. Interacting data. In this way, the data transmission between the first terminal and the second terminal is reversed by the communication server, thereby increasing the distance of data transmission between the first terminal and the second terminal.
  • FIG. Another method for data communication provided by the embodiment of the present invention is described in detail by using a specific embodiment, as shown in FIG. , including: S 4 01.
  • the sensing device senses a triggering operation according to a preset sensing area.
  • the sensing device acquires trigger information.
  • the sensing device is pre-configured with a sensing area, and the triggering operation can be sensed by different sensing mechanisms.
  • the sensing device includes an NFC communication unit, and the sensing area of the sensing device is an area where NFC is effectively communicated, and the terminal corresponding to the sensing device also has an NFC communication unit, and the sensing device is The sensing device acquires a trigger message when it is determined that the terminal is within the NFC communication range of both parties.
  • the sensing device establishes an infrared region or an infrared boundary, and the sensing device acquires the trigger message when it is determined that a trigger object enters the infrared region or contacts the infrared boundary.
  • the sensing device sends the sensing information to the communication server according to the trigger information.
  • the communication server sends a connection request message to the first terminal corresponding to the sensing device according to the sensing information.
  • the sensing information includes the identifier information of the first terminal
  • the communications server sends a connection request message to the first terminal according to the identifier information of the first terminal, where the connection request message is used to establish the first A first communication channel between the terminal and the communication server.
  • the communication server receives the connection response message sent by the first terminal, and establishes a first communication channel with the first terminal according to the connection response message.
  • the communication server After establishing the second communication channel with the second terminal, the communication server receives the first data communication message sent by the first communication channel.
  • the communication server establishes a first communication channel with the first terminal, and for the second terminal, the communication server can establish and the second by the same step.
  • the second communication channel between the terminals that is, when the first terminal and the second terminal respectively enter the sensing range of the sensing device, the sensing information sent by the communication server through the sensing device is respectively established with the first terminal.
  • the first terminal and the second terminal may correspond to the same sensing device, or may correspond to different sensing devices.
  • the communication server establishes a first communication communication with the first terminal respectively. After the second communication channel between the channel and the second terminal, the data exchanged between the first terminal and the second terminal is transmitted through the first communication channel and the second communication channel.
  • the communication server receives the data request message sent by the second terminal, and sends the data communication message to the second terminal according to the data request message.
  • the data communication message includes the shared file information
  • the first terminal may prompt the user whether to share the file through the prompt window, and the file data to be shared according to the operation of the user.
  • the information is sent to the communication server through the first communication channel, and the communication server saves the shared file information in a storage unit in the communication server, and when the communication server receives the second terminal, sends the second terminal through the second communication channel.
  • the shared file information is sent to the second terminal.
  • the data communication message sent by the first terminal to the communication server may further include the identifier information of the second terminal, and the communication server sends the second terminal to the second terminal according to the identifier information of the second terminal.
  • a notification message after receiving the notification message, the second terminal sends the data request message to the communication server through the second communication channel according to the user instruction, and the communication server cancels the data communication according to the data request.
  • a message is sent to the second terminal.
  • the first terminal may perform data communication with one terminal, or may perform data communication with multiple terminals, that is, the present invention does not limit the number of terminals for performing data communication, and
  • the sensing device can correspond to a plurality of terminals, and the present invention does not limit whether the corresponding relationship between the sensing device and the terminal is a corresponding relationship.
  • the data transmission between the first terminal and the second terminal is transferred by the communication server, thereby increasing the distance of data transmission between the first terminal and the second terminal.
  • An embodiment of the present invention provides a communication server 50, as shown in FIG. 5, the communication Server 5 0 includes:
  • the transceiver unit 5 1 is configured to receive the sensing information sent by the sensing device when the sensing device acquires the trigger information.
  • the processing unit 5 2 is configured to establish, according to the sensing information received by the transceiver unit 51, a first communication channel and a second communication channel corresponding to the first terminal and the second terminal, respectively.
  • the transceiver unit 5 1 is further configured to transmit interaction data between the first terminal and the second terminal by using the first communication channel and the second communication channel.
  • the sensing device is pre-configured with a sensing area, and the sensing device can sense a triggering operation by using different sensing mechanisms according to different sensing regions.
  • the sensing region can be an infrared region or an infrared boundary.
  • the device can sense the triggering operation by the infrared sensing mechanism, that is, when the triggering object enters the infrared region or contacts the infrared boundary, the sensing device acquires the trigger information, and if the sensing device has the NF C communication function, the same has When the terminal of the NF C communication function appears within the effective range of the NFC communication of the sensing device, the sensing device acquires the trigger information.
  • the trigger information is used to trigger the sensing device to send the sensing information to the communication server.
  • the sensing information includes the identifier information of the first terminal or the second terminal, where the transceiver unit 51 is specifically configured to send a connection request message to the first terminal according to the identifier information of the first terminal, and Receiving the connection response message sent by the first terminal; the processing unit 52 is specifically configured to establish the first communication channel according to the connection response message.
  • the transceiver unit 51 is specifically configured to: send a connection request message to the second terminal according to the identifier information of the second terminal, and receive a connection response message sent by the second terminal; the processing unit 52 is specifically configured to: The second communication channel is established according to the connection response message.
  • the first terminal and the second terminal may correspond to the same sensing device, and may also correspond to different sensing devices.
  • the communication server can receive the sensing information triggered by the first terminal and the sensing information triggered by the second terminal by using the same sensing device, or obtain the sensing information triggered by the first terminal by using different sensing devices. Sensing information triggered by the second terminal. Transmitting, by the communication server, the first communication channel and the second communication channel between the first communication channel and the second terminal, respectively, through the first communication channel and the second communication channel Data exchanged between the first terminal and the second terminal.
  • the transceiver unit 51 is configured to acquire, by using the first communication channel, a data communication message sent by the first terminal, and after acquiring the data request message sent by the second terminal by using the second communication channel, And sending the data communication message to the second terminal according to the data request message.
  • the data communication message includes the shared file information
  • the first terminal may prompt the user whether to share the file through the prompt window, and the file data to be shared according to the operation of the user.
  • the information is sent to the communication server through the first communication channel, and the communication server saves the shared file information in a storage unit in the communication server, and when the communication server receives the second terminal, sends the second terminal through the second communication channel.
  • the shared file information is sent to the second terminal.
  • the data communication message sent by the first terminal to the communication server may further include the identifier information of the second terminal, and the communication server sends the second terminal to the second terminal according to the identifier information of the second terminal.
  • a notification message after receiving the notification message, the second terminal sends the data request message to the communication server through the second communication channel according to the user instruction, and the communication server cancels the data communication according to the data request.
  • a message is sent to the second terminal.
  • the first terminal may perform data communication with one terminal, or may perform data communication with multiple terminals, that is, the present invention does not limit the number of terminals for performing data communication, and
  • the sensing device can correspond to a plurality of terminals, and the present invention does not limit whether the corresponding relationship between the sensing device and the terminal is a corresponding relationship.
  • the sensing device includes an infrared emitter and a receiver, and in the application scene of the video meal, the sensing device establishes an infrared boundary in front of the dining table, that is, the infrared emitter receives the infrared light.
  • the infrared light is emitted by the user, when the user touches the infrared light line, the wine glass blocks the path of the infrared light, and when the receiver receives the infrared light, the sensing device acquires the trigger information, and sends the trigger information to the communication server according to the trigger information.
  • Sensing information when the communication server receives the sensing information sent by the user holding the wine cup trigger sensing device at the other end, the communication server sends a voice command to the audio devices (ie, the terminal) of both parties, so that the audio devices of both parties according to the voice command Make a clinking sound.
  • the communication server obtains the trigger information, and sends the sensing information to the communication server according to the trigger information, the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information, and then After the communication server establishes a communication channel with the first terminal and the second terminal, the communication server transmits the first terminal and the second through a communication channel with the first terminal and the second terminal. Data that interacts between terminals. In this way, the data transmission between the first terminal and the second terminal is reversed by the communication server, thereby increasing the distance of data transmission between the first terminal and the second terminal.
  • the embodiment of the invention provides a sensing device 60. As shown in FIG. 6, the sensing device 60 includes:
  • the obtaining unit 6 1 is configured to acquire trigger information when it is determined that the preset sensing condition is met.
  • the sending unit 62 is configured to send, according to the trigger information acquired by the acquiring unit 61, the sensing information to the communication server, so that the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information, and passes the communication The channel performs data transmission.
  • the sensing device 60 further includes a sensing unit 630 for establishing a sensing area.
  • the acquiring unit 6 1 is specifically configured to sense the presence of the terminal through the sensing area. When the trigger operation is triggered, the trigger information is obtained.
  • the sensing device is pre-configured with a sensing area, and the triggering operation can be sensed by different sensing mechanisms.
  • the sensing area includes a certain distance range based on the sensing device, and the sensing device acquires the trigger information when the triggering operation is sensed (for example, the terminal enters the sensing area), and the triggering information is used to trigger the triggering information.
  • the sensing device sends sensing information to the communication server, that is, when the terminal enters the sensing device to a certain distance When in the enclosure, the sensing device can be triggered to send the sensing information to the communication server.
  • the sensing device uses different sensing mechanisms to obtain different ranges of sensing regions.
  • the sensing device includes an NF C communication unit, and the sensing area of the sensing device is an area in which the NFC is effectively communicated, and the terminal corresponding to the sensing device also has an NF C communication unit.
  • the sensing device acquires a trigger message when it is determined that the terminal is within the NF C communication range of both parties.
  • the sensing device establishes an infrared region or an infrared boundary, and the sensing device acquires the trigger message when it is determined that a trigger object enters the infrared region or contacts the infrared boundary.
  • the sensing information includes identification information of the terminal corresponding to the sensing device, and the communication server sends a connection request message to the terminal according to the identification information of the terminal, where the connection request message is used to establish the terminal and the communication server.
  • the communication server After the communication channel is received, the communication server establishes a communication channel according to the connection response message after receiving the connection response message sent by the terminal. Then, after the communication server establishes a communication channel with the two terminals, the communication channel transmits data exchanged between the two terminals.
  • the sensing device determines that the sensing condition is met, the sensing device acquires trigger information, and sends sensing information to the communication server according to the trigger information, and the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information.
  • the communication server transmits the first terminal and the second by using a communication channel with the first terminal and the second terminal. Data that interacts between terminals. In this way, the data transmission between the first terminal and the second terminal is reversed by the communication server, thereby increasing the distance of data transmission between the first terminal and the second terminal.
  • the communication server 70 includes:
  • processor 71 a processor 71, a communication interface 72, a memory 73, and a communication bus 74; wherein the processor 71, the communication interface 72, and the memory 73 are completed by the communication bus 74 Communication with each other.
  • the processor 71 may be a multi-core CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • the memory 73 is for storing program code, and the program code includes computer operation instructions and a network flow diagram.
  • the memory 73 may include a high speed RAM memory and may also include a non-volatile memory, such as at least one disk memory.
  • the communication interface 72 is configured to implement connection communication between the devices.
  • the processor 71 is configured to execute program code in the memory 73 to:
  • the sensing device Receiving, by the sensing device, the sensing information sent by the sensing device, and establishing a first communication channel and a second communication channel corresponding to the first terminal and the second terminal according to the sensing information, and adopting the first The communication channel and the second communication channel transmit interaction data between the first terminal and the second terminal.
  • the sensing information includes the identifier information of the first terminal or the second terminal, where the operation specifically includes: sending a connection request message to the first terminal according to the identifier information of the first terminal.
  • the operation specifically includes: sending a connection request message to the second terminal according to the identifier information of the second terminal.
  • the operation specifically includes: acquiring, by using the first communication channel, a data communication message sent by the first terminal; acquiring, by using the second communication channel, a data request message sent by the second terminal, and according to the data request message Send the data communication message To the second terminal.
  • the data communication message includes shared file information.
  • the inductive device 80 includes:
  • processor 81 a processor 81, a communication interface 82, a memory 83, and a communication bus 84; wherein the processor 81, the communication interface 82, and the memory 83 are completed by the communication bus 84 Communication with each other.
  • the processor 81 may be a multi-core CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • ASIC Application Specific Integrated Circuit
  • the memory 83 is for storing program code, and the program code includes computer operation instructions and a network flow diagram.
  • Memory 83 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the communication interface 82 is configured to implement connection communication between the devices.
  • the processor 81 is configured to execute program code in the memory 83 to:
  • the trigger information is obtained, and the sensing information is sent to the communication server according to the trigger information, so that the communication server establishes a communication channel with the terminal corresponding to the sensing device according to the sensing information, and passes the The communication channel performs data transmission.
  • the operation specifically includes: acquiring the trigger information when determining that a trigger operation is detected by the terminal according to the preset sensing area.
  • a data communication system 90 is provided. As shown in FIG. 9, the data communication system 90 includes: at least one sensing device 91 and a communication server 92.
  • the at least one sensing device 9 1 includes the sensing device 60 shown in FIG. 6 or the sensing device 80 shown in FIG. 8.
  • the specific description may refer to the corresponding description in the embodiment shown in FIG. 3 or FIG. , will not repeat them here.
  • the communication server 92 includes the sensing device 50 shown in FIG. 5 or the sensing device 70 shown in FIG. 7.
  • the specific description may refer to the corresponding description in the embodiment shown in FIG. 5 or FIG. Narration.
  • the sensing device acquires trigger information when determining that the sensing condition is satisfied, and sends sensing information to the communication server according to the trigger information, and the communication server establishes communication with the corresponding terminal of the sensing device according to the sensing information.
  • a channel after the communication server establishes a communication channel with the first terminal and the second terminal, respectively, the communication server transmits the first terminal and the communication channel through the communication channel between the first terminal and the second terminal Data exchanged between the second terminals.
  • the data transmission between the first terminal and the second terminal is reversed by the data communication system, thereby increasing the distance of data transmission between the first terminal and the second terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供一种数据通信的方法、装置和系统,涉及通信领域,能够实现多个移动终端之间远距离的文件共享。该方法包括:通信服务器在感应装置获取到触发信息时,接收该感应装置发送的感应信息,并根据该感应信息分别建立与第一终端、第二终端对应的第一通信通道、第二通信通道,并通过该第一通信通道与该第二通信通道传输该第一终端与该第二终端之间的交互数据。本发明实施例用于数据通信。

Description

一种数据通信的方法、 装置和系统 本申请要求于 2014 年 3 月 14 日提交中国专利局、 申请号为 201410094084. X, 发明名称为 "一种数据通信的方法、 装置和系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信领域, 尤其涉及一种数据通信的方法、 装置和 系统。
背景技术 随着终端技术的发展, 移动终端的功能越来越丰富, 人们使用 移动终端进行共享文件的传输也越来越频繁。
现有技术中, 两个移动终端之间主要采用蓝牙或者 NFC ( Near Field Communication, 近场通信) 技术进行文件的共享, 但是蓝 牙和 NFC的通信范围 艮近, 通常蓝牙的通信范围在 10米以内, 而 NFC的通信范围则更近, 这样, 当需要进行文件共享的两个移动终 端相处的距离较远时,共享文件可能无法进行,降低了用户的体验。 发明内容
本发明提供一种数据通信的方法、 装置和系统, 能够实现多个 移动终端之间远距离的文件共享。
为达到上述目的, 本发明的实施例采用如下技术方案: 第一方面, 提供一种数据通信的方法, 包括:
在感应装置获取到触发信息时,接收所述感应装置发送的感应 信息;
根据所述感应信息分别建立与第一终端、第二终端对应的第一 通信通道、 第二通信通道;
通过所述第一通信通道与所述第二通信通道传输所述第一终 端与所述第二终端之间的交互数据。
在第一方面的第一种可能的实现方式中,所述感应信息包括所 述第一终端或所述第二终端的标识信息;所述根据所述感应信息分 别建立与第一终端、 第二终端之间的第一通信通道、 第二通信通道 包括: 根据所述第一终端的标识信息向所述第一终端发送连接请求 消息; 接收所述第一终端发送的连接响应消息, 并根据所述连接响 应消息建立所述通信通道; 或者,
根据所述第二终端的标识信息向所述第二终端发送连接请求 消息; 接收所述第二终端发送的连接响应消息, 并根据所述连接响 应消息建立所述通信通道。
结合第一方面或者第一种可能的实现方式,在第二种可能的实 现方式中,所述通过所述第一通信通道与所述第二通信通道传输所 述第一终端与所述第二终端之间的交互数据包括:
通过所述第一通信通道获取所述第一终端发送的数据通信消 息;
通过所述第二通信通道获取所述第二终端发送的数据请求消 息;
根据所述数据请求消息将所述数据通信消息发送至所述第二 终端。
结合第一方面至第二种可能的实现方式中的任意一种可能的 实现方式, 在第三种可能的实现方式中, 所述数据通信消息包括共 享文件信息。 本发明第二方面提供一种数据通信的方法, 包括:
在确定满足预设感应条件时, 获取触发信息;
根据所述触发信息向通信服务器发送感应信息,以便所述通信 服务器根据所述感应信息建立与对应所述感应装置的终端之间的 通信通道, 并通过所述通信通道进行数据传输。
在第二方面的第一种可能的实现方式中,所述在确定满足预设 感应条件包括:
根据预设的感应区域感应到终端存在的触发操作。 本发明第三方面提供一种通信服务器, 包括:
收发单元, 用于在感应装置获取到触发信息时, 接收所述感应 装置发送的感应信息;
处理单元,用于根据所述收发单元接收到的感应信息分别建立 与第一终端、 第二终端对应的第一通信通道、 第二通信通道; 所述收发单元还用于,通过所述第一通信通道与所述第二通信 通道传输所述第一终端与所述第二终端之间的交互数据。
在第三方面的第一种可能的实现方式中,所述感应信息包括所 述第一终端或所述第二终端的标识信息; 所述收发单元具体用于, 根据所述第一终端的标识信息向所述第一终端发送连接请求消息, 接收所述第一终端发送的连接响应消息; 所述处理单元具体用于, 根据所述连接响应消息建立所述第一通信通道; 或者,
所述收发单元具体用于,根据所述第二终端的标识信息向所述 第二终端发送连接请求消息,接收所述第二终端发送的连接响应消 息; 所述处理单元具体用于, 根据所述连接响应消息建立所述第二 通信通道。
结合第三方面或第一种可能的实现方式,在第二种可能的实现 方式中, 所述收发单元具体用于,
通过所述第一通信通道获取所述第一终端发送的数据通信消 息;
通过所述第二通信通道获取所述第二终端发送的数据请求消 息;
根据所述数据请求消息将所述数据通信消息发送至所述第二 终端。
结合第三方面至第二种可能的实现方式中的任意一项可能的 实现方式, 在第三种可能的实现方式中, 所述数据通信消息包括共 享文件信息。 本发明第四方面提供一种感应装置, 包括:
获取单元, 用于在确定满足预设感应条件时, 获取触发信息; 发送单元,用于根据所述获取单元获取到的触发信息向通信服 务器发送感应信息,以便所述通信服务器根据所述感应信息建立与 对应所述感应装置的终端之间的通信通道,并通过所述通信通道进 行数据传输。
在第四方面的第一种可能的实现方式中,所述感应装置还包括 感应单元, 所述感应单元用于建立感应区域; 所述获取单元具体用 于,在所述感应单元通过所述感应区域感应到终端存在的触发操作 时, 获取所述触发信息。 本发明第五方面提供一种数据通信系统, 其特征在于, 包括: 通信服务器和至少一个感应装置,所述至少一个感应装置分别与所 述通信服务器相连, 其中,
所述通信服务器包括上述第三方面至第二种可能的实现方式 中的任一实现方式所述的通信服务器;
所述感应装置包括上述第四方面或者第一种可能的实现方式 所述的感应装置。
采用上述方案, 在确定满足预设感应条件时, 感应装置获取触 发信息, 并根据所述触发信息向通信服务器发送感应信息, 由通信 服务器根据该感应信息建立与对应该感应装置的终端之间的通信 通道,则当该通信服务器分别建立与第一终端和第二终端之间的通 信通道后,该通信服务器通过与该第一终端和该第二终端之间的通 信通道传输该第一终端与该第二终端之间交互的数据。 这样, 该第 一终端与该第二终端之间的数据传输由于通过该通信服务器进行 中转, 因此增加了该第一终端与该第二终端之间数据传输的距离。 附图说明 图 1为本发明实施例提供的一种数据通信的方法的流程示意图; 图 2 为本发明实施例提供的一种数据通信方法的应用场景的示意 图;
图 3为本发明实施例提供的另一种数据通信的方法的流程示意图; 图 4为本发明实施例提供的另一种数据通信的方法的流程示意图; 图 5为本发明实施例提供的一种通信服务器的结构示意图; 图 6为本发明实施例提供的一种感应装置的结构示意图; 图 7为本发明实施例提供的另一种通信服务器的结构示意图; 图 8为本发明实施例提供的另一种感应装置的结构示意图; 图 9为本发明实施例提供的一种数据通信系统的结构示意图。 具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有做出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。
本发明提供一种数据通信的方法,该方法的执行主体是通信服 务器, 如图 1所示, 包括:
5 1 0 1、 通信服务器在感应装置获取到触发信息时, 接收该感应 装置发送的感应信息。
需要说明的是, 该感应装置预设有感应区域, 该感应装置根据 不同的感应区域可以通过不同的感应机制感应到触发操作, 例如 , 该感应区域可以是红外线区域或者是红外线界线,则该感应装置可 以通过红外感应机制感应到触发操作,即当触发物体进入该红外线 区域或者接触到该红外线界线时,该感应装置获取触发信息,又如, 该感应装置具有 NFC通信功能,则当同样具有 NFC通信功能的终端 出现在该感应装置的 NFC通信的有效范围内时,该感应装置获取触 发信息。
其中,该触发信息用于触发该感应装置向该通信服务器发送感 应信息。
5 1 0 2、 该通信服务器根据该感应信息分别建立与第一终端、 第 二终端对应的第一通信通道、 第二通信通道。
可选地, 该感应信息包括该第一终端或该第二终端的标识信 息,则该通信服务器根据该第一终端的标识信息向该第一终端发送 连接请求消息, 并接收该第一终端发送的连接响应消息, 根据该连 接响应消息建立该第一通信通道; 或者, 该通信服务器根据该第二 终端的标识信息向该第二终端发送连接请求消息,接收该第二终端 发送的连接响应消息, 根据该连接响应消息建立该第二通信通道。
需要说明的是,该第一终端与该第二终端可以对应同一个感应 装置, 也可以对应不同的感应装置。 也就是说, 该通信服务器可以 通过同一个感应装置接收到该第一终端触发的感应信息和该第二 终端触发的感应信息,也可以通过不同的感应装置分别获取该第一 终端触发的感应信息和该第二终端触发的感应信息。
S 1 0 3、该通信服务器通过该第一通信通道与该第二通信通道传 输该第一终端与该第二终端之间的交互数据。
可选地,该通信服务器通过该第一通信通道获取该第一终端发 送的数据通信消息,通过该第二通信通道获取该第二终端发送的数 据请求消息,并根据该数据请求消息将该数据通信消息发送至该第 二终端。
可选地, 该数据通信消息包括共享文件信息, 则在该第一通信 通道建立成功后,该第一终端可以通过提示窗口提示用户是否需要 共享文件,并根据用户的操作将需要共享的文件数据信息通过该第 一通信通道发送至该通信服务器,则该通信服务器将该共享文件信 息保存在该通信服务器中的存储单元内, 当该通信服务器接收到该 第二终端通过该第二通信通道发送的数据请求消息时,将该共享文 件信息发送至该第二终端。
另外,该第一终端发送至该通信服务器的数据通信消息还可以 包括该第二终端的标识信息,则该通信服务器根据该第二终端的标 识信息通过该第二通信通道向该第二终端发送通知消息,该第二终 端在接收到该通知消息后,才艮据用户指示通过该第二通信通道向该 通信服务器发送该数据请求消息,该通信服务器根据该数据请求消 , ¾将该数据通信消息发送至该第二终端。
在本发明的实现方式中,该第一终端可以与一个终端进行数据 通信, 也可以与多个终端进行数据通信, 也就是说, 本发明对进行 数据通信的终端个数不作限定, 另外, 一个感应装置可以对应多个 终端,本发明对感应装置与终端之间是否是——对应的关系不作限 定。
示例地, 图 2所示的通信系统为本发明的一种应用场景, 该系 统包括: 第一终端、 第一感应装置、 通信服务器、 第二感应装置、 第二终端和第三终端, 连接关系如图 2所示, 其中, 虚线框表示感 应装置的感应区域, 则当终端进入该感应区域时, 触发对应的感应 装置向该通信服务器发送感应信息,以便该通信服务器根据该感应 信息建立与该终端之间的通信通道。则当该通信服务器分别建立与 该第一终端、 第二终端和第三终端之间的通信通道后, 该第一终端 通过该通信服务器可以分别与该第二终端和该第三终端进行数据 通信, 也就是说, 该第一终端与该第二终端和该第三终端通过该通 信服务器进行连接的建立以及数据的通信。
在本发明一种可能的实现方式中,该感应装置包括红外线发射 器和接收器, 则在视频会餐的应用场景中, 该感应装置在餐桌前方 建立有红外线界线, 即红外线发射器向红外线接收器发射出红外 线, 则当用户持酒杯接触该红外线界线时, 酒杯遮挡住红外线的路 径, 则该接收器在接收不到红外线时, 该感应装置获取触发信息, 并根据该触发信息向通信服务器发送感应信息,在该通信服务器在 接收到另一端的用户持酒杯触发感应装置发送的感应信息时,该通 信服务器向双方的音响设备( 即终端)发送声音指令, 以便双方的 音响设备根据该声音指令发出碰杯的声音。
采用上述方法, 在确定满足感应条件时, 感应装置获取触发信 息, 并根据所述触发信息向通信服务器发送感应信息, 由通信服务 器根据该感应信息建立与该感应装置对应终端的通信通道,则当该 通信服务器分别建立与第一终端和第二终端之间的通信通道后,该 通信服务器通过与该第一终端和该第二终端之间的通信通道传输 该第一终端与该第二终端之间交互的数据。 这样, 该第一终端与该 第二终端之间的数据传输由于通过该通信服务器进行中转, 因此增 加了该第一终端与该第二终端之间数据传输的距离。 本发明实施例提供一种数据通信的方法,该方法的执行主体为 感应装置, 如图 3所示, 包括:
S 3 0 感应装置在确定满足预设感应条件时, 获取触发信息。 可选地,该感应装置在根据预设的感应区域感应到终端存在的 触发操作时, 获取触发消息。
具体地, 该感应装置预设有感应区域, 可以通过不同的感应机 制感应到触发操作。
其中, 所述感应区域包括基于该感应装置一定的距离范围, 则 该感应装置在感应到触发操作(如终端进入到所述感应区域内 )时, 获取该触发信息,该触发信息用于触发该感应装置向该通信服务器 发送感应信息, 也就是说, 当终端进入到该感应装置一定的距离范 围内时, 即可触发该感应装置向该通信服务器发送该感应信息。 另 外,该感应装置采用不同的感应机制可以得到不同的感应区域的范 围。
在本发明一种可能的实现方式中,该感应装置包括 NF C通信单 元, 则该感应装置的感应区域即为 N F C有效通信的区域, 对应该感 应装置的终端同样具有 NF C通信单元,则该感应装置在确定与该终 端处在双方的 NF C通信范围内时, 该感应装置获取触发消息。
在本发明另一种可能的实现方式中,该感应装置建立有红外线 区域或者红外线界线,则该感应装置在确定有触发物体进入该红外 线区域或者接触该红外线界线时, 获取该触发消息。
S 3 0 2、 该感应装置根据该触发信息向通信服务器发送感应信 息,以便该通信服务器根据该感应信息建立与对应该感应装置的终 端之间的通信通道, 并通过该通信通道进行数据传输。
具体地, 该感应信息包括对应该感应装置的终端的标识信息, 则该通信服务器根据该终端的标识信息向该终端发送连接请求消 息, 其中, 该连接请求消息用于建立该终端与该通信服务器之间的 通信通道, 则该通信服务器在接收到该终端发送的连接响应消息 后, 根据该连接响应消息建立与该通信通道。 则该通信服务器在分 别建立与两个终端之间的通信通道后,根据该通信通道传输两个终 端之间交互的数据。
采用上述方法, 感应装置在确定满足感应条件时, 获取触发信 息, 并根据所述触发信息向通信服务器发送感应信息, 由通信服务 器根据该感应信息建立与该感应装置对应终端的通信通道,则当该 通信服务器分别建立与第一终端和第二终端之间的通信通道后,该 通信服务器通过与该第一终端和该第二终端之间的通信通道传输 该第一终端与该第二终端之间交互的数据。 这样, 该第一终端与该 第二终端之间的数据传输由于通过该通信服务器进行中转, 因此增 加了该第一终端与该第二终端之间数据传输的距离。 为了使本领域技术人员能够更清楚地理解本发明实施例提供 的技术方案, 下面通过具体的实施例, 对本发明实施例提供的另一 种数据通信的方法进行详细的说明, 如图 4所示, 包括: S 4 01、 感应装置根据预设的感应区域感应到触发操作。
S 4 02、 该感应装置获取触发信息。
具体地, 该感应装置预设有感应区域, 可以通过不同的感应机 制感应到触发操作。
在本发明一种可能的实现方式中,该感应装置包括 NFC通信单 元, 则该感应装置的感应区域即为 NFC有效通信的区域, 对应该感 应装置的终端同样具有 NFC通信单元,则该感应装置在确定与该终 端处在双方的 NFC通信范围内时, 该感应装置获取触发消息。
在本发明另一种可能的实现方式中,该感应装置建立有红外线 区域或者红外线界线,则该感应装置在确定有触发物体进入该红外 线区域或者接触该红外线界线时, 获取该触发消息。
S 4 0 3、 该感应装置根据该触发信息向通信服务器发送感应信 息。
S 4 04、该通信服务器根据该感应信息向对应该感应装置的第一 终端发送连接请求消息。
可选地, 该感应信息包括该第一终端的标识信息, 则该通信服 务器根据该第一终端的标识信息向该第一终端发送连接请求消息, 其中,该连接请求消息用于建立该第一终端与该通信服务器之间的 第一通信通道。
S 4 05、 该通信服务器接收该第一终端发送的连接响应消息, 并 根据该连接响应消息建立与该第一终端之间的第一通信通道。
S 4 06、 该通信服务器在建立与第二终端的第二通信通道后, 接 收该第一通过所述第一通信通道发送的数据通信消息。
需要说明的是, 通过上述步骤 S 4 01至步骤 S 4 05 , 该通信服务 器建立与该第一终端的第一通信通道, 对于第二终端, 该通信服务 器可以通过相同的步骤建立与该第二终端之间的第二通信通道, 即 该第一终端与该第二终端不分先后分别进入感应装置的感应范围 内时,该通信服务器通过该感应装置发送的感应信息分别建立与该 第一终端、 第二终端对应的第一通信通道、 第二通信通道。 其中, 该第一终端与该第二终端可以对应同一个感应装置,也可以对应不 同的感应装置。
则该通信服务器在分别建立与该第一终端之间的第一通信通 道、 与该第二终端之间的第二通信通道后, 通过该第一通信通道和 该第二通信通道传输该第一终端与该第二终端之间交互的数据。
S 4 07、 该通信服务器接收该第二终端发送的数据请求消息, 并 根据所述数据请求消息将所述数据通信消息发送至该第二终端。
可选地, 该数据通信消息包括共享文件信息, 则在该第一通信 通道建立成功后,该第一终端可以通过提示窗口提示用户是否需要 共享文件,并根据用户的操作将需要共享的文件数据信息通过该第 一通信通道发送至该通信服务器,则该通信服务器将该共享文件信 息保存在该通信服务器中的存储单元内, 当该通信服务器接收到该 第二终端通过该第二通信通道发送的数据请求消息时,将该共享文 件信息发送至该第二终端。
另外,该第一终端发送至该通信服务器的数据通信消息还可以 包括该第二终端的标识信息,则该通信服务器根据该第二终端的标 识信息通过该第二通信通道向该第二终端发送通知消息,该第二终 端在接收到该通知消息后,才艮据用户指示通过该第二通信通道向该 通信服务器发送该数据请求消息,该通信服务器根据该数据请求消 , ¾将该数据通信消息发送至该第二终端。
在本发明的实现方式中,该第一终端可以与一个终端进行数据 通信, 也可以与多个终端进行数据通信, 也就是说, 本发明对进行 数据通信的终端个数不作限定, 另外, 一个感应装置可以对应多个 终端,本发明对感应装置与终端之间是否是——对应的关系不作限 定。
这样,该第一终端与该第二终端之间的数据传输由于通过该通 信服务器进行中转, 因此增加了该第一终端与该第二终端之间数据 传输的距离。
另外, 对于上述方法实施例, 为了简单描述, 故将其都表述为 一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受 所描述的动作顺序的限制, 其次, 本领域技术人员也应该知悉, 说 明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并 不一定是本发明所必须的。 本发明实施例提供一种通信服务器 5 0 , 如图 5 所示, 该通信 服务器 5 0 包括:
收发单元 5 1 , 用于在感应装置获取到触发信息时, 接收该感 应装置发送的感应信息。
处理单元 5 2 , 用于根据该收发单元 5 1接收到的感应信息分别 建立与第一终端、 第二终端对应的第一通信通道、 第二通信通道。
该收发单元 5 1 还用于, 通过该第一通信通道与该第二通信通 道传输该第一终端与该第二终端之间的交互数据。
需要说明的是, 该感应装置预设有感应区域, 该感应装置根据 不同的感应区域可以通过不同的感应机制感应到触发操作, 例如, 该感应区域可以是红外线区域或者是红外线界线,则该感应装置可 以通过红外感应机制感应到触发操作,即当触发物体进入该红外线 区域或者接触到该红外线界线时,该感应装置获取触发信息,又如, 该感应装置具有 NF C通信功能,则当同样具有 NF C通信功能的终端 出现在该感应装置的 N F C通信的有效范围内时,该感应装置获取触 发信息。
另外,该触发信息用于触发该感应装置向该通信服务器发送感 应信息。
可选地, 该感应信息包括该第一终端或该第二终端的标识信 息, 则该收发单元 5 1 具体用于, 根据该第一终端的标识信息向该 第一终端发送连接请求消息,并接收该第一终端发送的连接响应消 息; 该处理单元 5 2 具体用于, 根据该连接响应消息建立该第一通 信通道。 或者, 该收发单元 5 1 具体用于, 根据该第二终端的标识 信息向该第二终端发送连接请求消息,并接收该第二终端发送的连 接响应消息; 该处理单元 5 2 具体用于, 根据该连接响应消息建立 该第二通信通道。
需要说明的是,该第一终端与该第二终端可以对应同一个感应 装置, 也可以对应不同的感应装置。 也就是说, 该通信服务器可以 通过同一个感应装置接收到该第一终端触发的感应信息和该第二 终端触发的感应信息,也可以通过不同的感应装置分别获取该第一 终端触发的感应信息和该第二终端触发的感应信息。则该通信服务 器在分别建立与该第一终端之间的第一通信通道、与该第二终端之 间的第二通信通道后,通过该第一通信通道和该第二通信通道传输 该第一终端与该第二终端之间交互的数据。
可选地, 该收发单元 5 1 具体用于, 通过该第一通信通道获取 该第一终端发送的数据通信消息,并在通过该第二通信通道获取该 第二终端发送的数据请求消息后,并根据该数据请求消息将该数据 通信消息发送至该第二终端。
可选地, 该数据通信消息包括共享文件信息, 则在该第一通信 通道建立成功后,该第一终端可以通过提示窗口提示用户是否需要 共享文件,并根据用户的操作将需要共享的文件数据信息通过该第 一通信通道发送至该通信服务器,则该通信服务器将该共享文件信 息保存在该通信服务器中的存储单元内, 当该通信服务器接收到该 第二终端通过该第二通信通道发送的数据请求消息时,将该共享文 件信息发送至该第二终端。
另外,该第一终端发送至该通信服务器的数据通信消息还可以 包括该第二终端的标识信息,则该通信服务器根据该第二终端的标 识信息通过该第二通信通道向该第二终端发送通知消息,该第二终 端在接收到该通知消息后,才艮据用户指示通过该第二通信通道向该 通信服务器发送该数据请求消息,该通信服务器根据该数据请求消 , ¾将该数据通信消息发送至该第二终端。
在本发明的实现方式中,该第一终端可以与一个终端进行数据 通信, 也可以与多个终端进行数据通信, 也就是说, 本发明对进行 数据通信的终端个数不作限定, 另外, 一个感应装置可以对应多个 终端,本发明对感应装置与终端之间是否是——对应的关系不作限 定。
在本发明一种可能的实现方式中,该感应装置包括红外线发射 器和接收器, 则在视频会餐的应用场景中, 该感应装置在餐桌前方 建立有红外线界线, 即红外线发射器向红外线接收器发射出红外 线, 则当用户持酒杯接触该红外线界线时, 酒杯遮挡住红外线的路 径, 则该接收器在接收不到红外线时, 该感应装置获取触发信息, 并根据该触发信息向通信服务器发送感应信息,在该通信服务器在 接收到另一端的用户持酒杯触发感应装置发送的感应信息时,该通 信服务器向双方的音响设备( 即终端)发送声音指令, 以便双方的 音响设备根据该声音指令发出碰杯的声音。 采用上述通信服务器, 在感应装置获取到触发信息, 并根据所 述触发信息向该通信服务器发送感应信息后, 由该通信服务器根据 该感应信息建立与该感应装置对应终端的通信通道,则当该通信月良 务器分别建立与第一终端和第二终端之间的通信通道后,该通信服 务器通过与该第一终端和该第二终端之间的通信通道传输该第一 终端与该第二终端之间交互的数据。 这样, 该第一终端与该第二终 端之间的数据传输由于通过该通信服务器进行中转, 因此增加了该 第一终端与该第二终端之间数据传输的距离。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简 洁, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以 根据需要而将上述功能分配由不同的功能模块完成,即将装置的内 部结构划分成不同的功能模块,以完成以上描述的全部或者部分功 能。 上述描述的单元的具体工作过程, 可以参考前述方法实施例中 的对应过程, 在此不再赘述。 本发明实施例提供一种感应装置 6 0 , 如图 6 所示, 该感应装 置 6 0 包括:
获取单元 6 1 , 用于在确定满足预设感应条件时, 获取触发信 息。
发送单元 62 , 用于根据该获取单元 6 1获取到的触发信息向通 信服务器发送感应信息,以便该通信服务器根据该感应信息建立与 对应该感应装置的终端之间的通信通道,并通过该通信通道进行数 据传输。
可选地, 该感应装置 6 0 还包括感应单元 6 3 , 该感应单元 6 3 用于建立感应区域; 该获取单元 6 1 具体用于, 在该感应单元 6 3 通过该感应区域感应到终端存在的触发操作时, 获取该触发信息。
具体地, 该感应装置预设有感应区域, 可以通过不同的感应机 制感应到触发操作。
其中, 所述感应区域包括基于该感应装置一定的距离范围, 则 该感应装置在感应到触发操作(如终端进入到所述感应区域内 )时, 获取该触发信息,该触发信息用于触发该感应装置向该通信服务器 发送感应信息, 也就是说, 当终端进入到该感应装置一定的距离范 围内时, 即可触发该感应装置向该通信服务器发送该感应信息。 另 外,该感应装置采用不同的感应机制可以得到不同的感应区域的范 围。
在本发明一种可能的实现方式中,该感应装置包括 NF C通信单 元, 则该感应装置的感应区域即为 N F C有效通信的区域, 对应该感 应装置的终端同样具有 NF C通信单元,则该感应装置在确定与该终 端处在双方的 NF C通信范围内时, 该感应装置获取触发消息。
在本发明另一种可能的实现方式中,该感应装置建立有红外线 区域或者红外线界线,则该感应装置在确定有触发物体进入该红外 线区域或者接触该红外线界线时, 获取该触发消息。
进一步地, 该感应信息包括对应该感应装置的终端的标识信 息,则该通信服务器根据该终端的标识信息向该终端发送连接请求 消息, 其中, 该连接请求消息用于建立该终端与该通信服务器之间 的通信通道,则该通信服务器在接收到该终端发送的连接响应消息 后, 根据该连接响应消息建立与该通信通道。 则该通信服务器在分 别建立与两个终端之间的通信通道后,根据该通信通道传输两个终 端之间交互的数据。
采用上述感应装置, 该感应装置在确定满足感应条件时, 获取 触发信息, 并根据所述触发信息向通信服务器发送感应信息, 由通 信服务器根据该感应信息建立与该感应装置对应终端的通信通道, 则当该通信服务器分别建立与第一终端和第二终端之间的通信通 道后,该通信服务器通过与该第一终端和该第二终端之间的通信通 道传输该第一终端与该第二终端之间交互的数据。 这样, 该第一终 端与该第二终端之间的数据传输由于通过该通信服务器进行中转, 因此增加了该第一终端与该第二终端之间数据传输的距离。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简 洁, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以 根据需要而将上述功能分配由不同的功能模块完成,即将装置的内 部结构划分成不同的功能模块,以完成以上描述的全部或者部分功 能。 上述描述的单元的具体工作过程, 可以参考前述方法实施例中 的对应过程, 在此不再赘述。 本发明实施例提供另一种通信服务器 70, 如图 7 所示, 该通 信服务器 70 包括:
处 理 器 ( processor ) 71 、 通信接 口 ( Communications Interface ) 72、 存储器 ( memory ) 73和通信总线 74; 其中, 所述 处理器 71、 所述通信接口 72 和所述存储器 73通过所述通信总线 74完成相互间的通信。
处理器 71 可能是一个多核中央处理器 CPU, 或者是特定集成 电路 ASIC ( Application Specific Integrated Circuit ), 或者 是被配置成实施本发明实施例的一个或多个集成电路。
存储器 73用于存放程序代码, 所述程序代码包括计算机操作 指令和网络流图。 存储器 73可能包含高速 RAM存储器, 也可能还 包括非易失性存储器 ( non-volat i le memory ), 例如至少一个磁盘 存储器。
所述通信接口 72, 用于实现这些装置之间的连接通信。
所述处理器 71用于执行所述存储器 73 中的程序代码,以实现 以下操作:
在感应装置获取到触发信息时,接收该感应装置发送的感应信 息, 并根据该感应信息分别建立与第一终端、 第二终端对应的第一 通信通道、 第二通信通道, 并通过该第一通信通道与该第二通信通 道传输该第一终端与该第二终端之间的交互数据。
可选地, 该感应信息包括该第一终端或该第二终端的标识信 息, 则所述操作具体包括, 根据该第一终端的标识信息向该第一终 端发送连接请求消息。
接收该第一终端发送的连接响应消息,并根据该连接响应消息 建立该第一通信通道。
或者, 所述操作具体包括, 根据该第二终端的标识信息向该第 二终端发送连接请求消息。
接收该第二终端发送的连接响应消息,并根据该连接响应消息 建立该第二通信通道。
可选地, 所述操作具体包括, 通过该第一通信通道获取该第一 终端发送的数据通信消息;通过该第二通信通道获取该第二终端发 送的数据请求消息,并根据该数据请求消息将该数据通信消息发送 至该第二终端。
可选地, 该数据通信消息包括共享文件信息。
所属本领域的技术人员可以清楚地了解到,为描述的方便和简 洁, 上述描述的通信服务器的具体工作过程和描述, 可以参考前述 方法实施例中的对应过程, 在此不再赘述。 本发明实施例提供另一种感应装置 80, 如图 8 所示, 该感应 装置 80 包括:
处 理 器 ( processor ) 81 、 通信接 口 ( Communications Interface ) 82、 存储器 ( memory ) 83和通信总线 84; 其中, 所述 处理器 81、 所述通信接口 82 和所述存储器 83通过所述通信总线 84完成相互间的通信。
处理器 81 可能是一个多核中央处理器 CPU, 或者是特定集成 电路 ASIC ( Application Specific Integrated Circuit ), 或者 是被配置成实施本发明实施例的一个或多个集成电路。
存储器 83用于存放程序代码, 所述程序代码包括计算机操作 指令和网络流图。 存储器 83可能包含高速 RAM存储器, 也可能还 包括非易失性存储器 ( non-volat i le memory ), 例如至少一个磁盘 存储器。
所述通信接口 82, 用于实现这些装置之间的连接通信。
所述处理器 81用于执行所述存储器 83 中的程序代码,以实现 以下操作:
在确定满足预设感应条件时, 获取触发信息, 并根据该触发信 息向通信服务器发送感应信息,以便该通信服务器根据该感应信息 建立与对应该感应装置的终端之间的通信通道,并通过该通信通道 进行数据传输。
可选地, 所述操作具体包括, 在确定根据预设的感应区域感应 到终端存在的触发操作时, 获取该触发信息。
所属本领域的技术人员可以清楚地了解到,为描述的方便和简 洁, 上述描述的感应装置的具体工作过程和描述, 可以参考前述方 法实施例中的对应过程, 在此不再赘述。 本发明实施例一种数据通信系统 9 0 , 如图 9 所示, 该数据通 信系统 9 0 包括: 至少一个感应装置 9 1和通信服务器 92。
其中, 该至少一个感应装置 9 1 包括上图 6所示的感应装置 6 0 或图 8所示的感应装置 8 0.其具体的描述可以参照图 3或图 4所示 实施例中的对应描述, 此处不再赘述。
该通信服务器 92包括上图 5所示的感应装置 5 0或图 7所示的 感应装置 7 0.其具体的描述可以参照图 5或图 7所示实施例中的对 应描述, 此处不再赘述。
这样, 采用上述数据通信系统, 感应装置在确定满足感应条件 时, 获取触发信息, 并根据所述触发信息向通信服务器发送感应信 息, 由通信服务器根据该感应信息建立与该感应装置对应终端的通 信通道,则当该通信服务器分别建立与第一终端和第二终端之间的 通信通道后,该通信服务器通过与该第一终端和该第二终端之间的 通信通道传输该第一终端与该第二终端之间交互的数据。 这样, 该 第一终端与该第二终端之间的数据传输由于通过该数据通信系统 进行中转, 因此增加了该第一终端与该第二终端之间数据传输的距 离。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范 围之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权 利 要 求 书
1、 一种数据通信的方法, 其特征在于, 包括:
在感应装置获取到触发信息时, 接收所述感应装置发送的感应 信息;
根据所述感应信息分别建立与第一终端、 第二终端对应的第一 通信通道、 第二通信通道;
通过所述第一通信通道与所述第二通信通道传输所述第一终端 与所述第二终端之间的交互数据。
2、 根据权利要求 1所述的方法, 其特征在于, 所述感应信息包 括所述第一终端或所述第二终端的标识信息; 所述根据所述感应信 息分别建立与第一终端、 第二终端之间的第一通信通道、 第二通信 通道包括:
根据所述第一终端的标识信息向所述第一终端发送连接请求消 息; 接收所述第一终端发送的连接响应消息, 并根据所述连接响应 消息建立所述第一通信通道; 或者,
根据所述第二终端的标识信息向所述第二终端发送连接请求消 息; 接收所述第二终端发送的连接响应消息, 并根据所述连接响应 消息建立所述第二通信通道。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述通过所 述第一通信通道与所述第二通信通道传输所述第一终端与所述第二 终端之间的交互数据包括:
通过所述第一通信通道获取所述第一终端发送的数据通信消 息;
通过所述第二通信通道获取所述第二终端发送的数据请求消 息;
根据所述数据请求消息将所述数据通信消息发送至所述第二终 端。
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述 数据通信消息包括共享文件信息。
5、 一种数据通信的方法, 其特征在于, 包括:
在确定满足预设感应条件时, 获取触发信息; 根据所述触发信息向通信服务器发送感应信息, 以便所述通信 服务器根据所述感应信息建立与对应所述感应装置的终端之间的通 信通道, 并通过所述通信通道进行数据传输。
6、 根据权利要求 5所述的方法, 其特征在于, 所述在确定满足 预设感应条件包括:
根据预设的感应区域感应到终端存在的触发操作。
7、 一种通信服务器, 其特征在于, 包括:
收发单元, 用于在感应装置获取到触发信息时, 接收所述感应 装置发送的感应信息;
处理单元, 用于根据所述收发单元接收到的感应信息分别建立 与第一终端、 第二终端对应的第一通信通道、 第二通信通道;
所述收发单元还用于, 通过所述第一通信通道与所述第二通信 通道传输所述第一终端与所述第二终端之间的交互数据。
8、 根据权利要求 7所述的通信服务器, 其特征在于, 所述感应 信息包括所述第一终端或所述第二终端的标识信息; 所述收发单元 具体用于, 根据所述第一终端的标识信息向所述第一终端发送连接 请求消息, 接收所述第一终端发送的连接响应消息; 所述处理单元 具体用于, 根据所述连接响应消息建立所述第一通信通道; 或者, 所述收发单元具体用于, 根据所述第二终端的标识信息向所述 第二终端发送连接请求消息, 接收所述第二终端发送的连接响应消 息; 所述处理单元具体用于, 根据所述连接响应消息建立所述第二 通信通道。
9、 根据权利要求 7或 8所述的通信服务器, 其特征在于, 所述 收发单元具体用于,
通过所述第一通信通道获取所述第一终端发送的数据通信消 息;
通过所述第二通信通道获取所述第二终端发送的数据请求消 息;
根据所述数据请求消息将所述数据通信消息发送至所述第二终 端。
1 0、 根据权利要求 7至 9任一项所述的通信服务器, 其特征在 于, 所述数据通信消息包括共享文件信息。
1 1、 一种感应装置, 其特征在于, 包括:
获取单元, 用于在确定满足预设感应条件时, 获取触发信息; 发送单元, 用于根据所述获取单元获取到的触发信息向通信服 务器发送感应信息, 以便所述通信服务器根据所述感应信息建立与 对应所述感应装置的终端之间的通信通道, 并通过所述通信通道进 行数据传输。
1 2、 根据权利要求 1 1所述的感应装置, 其特征在于, 所述感应 装置还包括感应单元, 所述感应单元用于建立感应区域; 所述获取 单元具体用于, 在所述感应单元通过所述感应区域感应到终端存在 的触发操作时, 获取所述触发信息。
1 3、 一种数据通信系统, 其特征在于, 包括: 通信服务器和至 少一个感应装置, 所述至少一个感应装置分别与所述通信服务器相 连, 其中,
所述通信服务器包括权利要求 Ί 至 1 0 任一项所述的通信服务 器;
所述感应装置包括权利要求 1 1或 1 2所述的感应装置。
PCT/CN2014/075093 2014-03-14 2014-04-10 一种数据通信的方法、装置和系统 WO2015135233A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410094084.X 2014-03-14
CN201410094084.XA CN103841203A (zh) 2014-03-14 2014-03-14 一种数据通信的方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2015135233A1 true WO2015135233A1 (zh) 2015-09-17

Family

ID=50804326

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075093 WO2015135233A1 (zh) 2014-03-14 2014-04-10 一种数据通信的方法、装置和系统

Country Status (2)

Country Link
CN (1) CN103841203A (zh)
WO (1) WO2015135233A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881361B (zh) * 2017-12-26 2019-08-27 视联动力信息技术股份有限公司 一种基于视联网的数据推送方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090177810A1 (en) * 2008-01-07 2009-07-09 Samsung Electronics Co., Ltd. Method of optimized-sharing of multimedia content and mobile terminal employing the same
CN102981761A (zh) * 2012-11-13 2013-03-20 广义天下文化传播(北京)有限公司 用于移动终端应用程序的触发式交互方法
CN103051665A (zh) * 2012-09-10 2013-04-17 百度在线网络技术(北京)有限公司 基于云端的移动终端配对方法、系统及移动终端
CN103368619A (zh) * 2013-07-23 2013-10-23 京东方科技集团股份有限公司 移动终端间通信方法、装置及移动终端

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2422995B (en) * 2003-11-04 2007-07-18 Ntt Comm Corp Method, apparatus and program for establishing encrypted communication channel between apparatuses
CN103200300B (zh) * 2012-01-10 2016-02-10 宇龙计算机通信科技(深圳)有限公司 终端及资源分享方法
CN102882954A (zh) * 2012-04-12 2013-01-16 鲁东大学 基于嵌入式蓝牙技术的交互系统与方法
US9125004B2 (en) * 2012-05-31 2015-09-01 Cellco Partnership Group sharing using near field communication (NFC)
KR20140031468A (ko) * 2012-08-31 2014-03-13 주식회사 팬택 휴대 단말 및 이의 컨텐츠 공유 방법
CN203340117U (zh) * 2013-07-16 2013-12-11 汉鼎信息科技股份有限公司 一种跨媒体数据存储共享系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090177810A1 (en) * 2008-01-07 2009-07-09 Samsung Electronics Co., Ltd. Method of optimized-sharing of multimedia content and mobile terminal employing the same
CN103051665A (zh) * 2012-09-10 2013-04-17 百度在线网络技术(北京)有限公司 基于云端的移动终端配对方法、系统及移动终端
CN102981761A (zh) * 2012-11-13 2013-03-20 广义天下文化传播(北京)有限公司 用于移动终端应用程序的触发式交互方法
CN103368619A (zh) * 2013-07-23 2013-10-23 京东方科技集团股份有限公司 移动终端间通信方法、装置及移动终端

Also Published As

Publication number Publication date
CN103841203A (zh) 2014-06-04

Similar Documents

Publication Publication Date Title
US10680839B2 (en) Data transmission using multiple channels with distinct data transmission protocols
US20190132401A1 (en) Electronic device using logical channels for communication
WO2017049938A1 (zh) 一种在直通模式下信道冲突的处理方法以及终端
WO2020088141A1 (zh) 资源指示方法、设备及系统
KR102632299B1 (ko) 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법
WO2021121289A1 (zh) 蓝牙耳机的数据接收方法、装置、设备及存储介质
JP2016226011A5 (zh)
US11362766B2 (en) Method and apparatus for obtaining HARQ feedback and method and apparatus for transmitting HARQ feedback
WO2016184267A1 (zh) 提供指定通信服务的方法、装置、终端和系统
WO2018126479A1 (zh) 获取、发送系统信息的方法及装置
WO2018129936A1 (zh) 信息反馈方法、装置、基站和用户设备
JP2016506556A (ja) ジェスチャを介したマルチデバイスのペアリングおよび共有
US20160269286A1 (en) Method and apparatus for transmitting data in network system
WO2014205969A1 (zh) 一种建立数据连接的方法、装置及系统
WO2015070580A1 (zh) 基于近场通信建立无线局域网的方法及装置
JP2018501746A (ja) 接続確立方法、装置、プログラム、及び記録媒体
KR20210020541A (ko) 블루투스 네트워크 환경에서 데이터를 재전송하기 위한 전자 장치 및 그에 관한 방법
KR102632536B1 (ko) 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법
KR20210020542A (ko) 블루투스 네트워크 환경에서 다중 링크 지원 방법 및 이를 위한 전자 장치
WO2019033398A1 (zh) 数据承载重映射过程中数据包处理的方法、装置和系统
WO2018232726A1 (zh) 数据传输方法及装置、用户设备和基站
WO2020164522A1 (zh) 数据传输控制方法及相关产品
WO2020019258A1 (zh) 下行控制信息发送方法、接收方法、装置及存储介质
WO2016015238A1 (zh) 切换过程中的d2d资源分配方法、装置以及通信系统
WO2015135233A1 (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: 14885608

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14885608

Country of ref document: EP

Kind code of ref document: A1