WO2022227204A1 - 数据传输方法及装置、终端设备及可读存储介质 - Google Patents

数据传输方法及装置、终端设备及可读存储介质 Download PDF

Info

Publication number
WO2022227204A1
WO2022227204A1 PCT/CN2021/097185 CN2021097185W WO2022227204A1 WO 2022227204 A1 WO2022227204 A1 WO 2022227204A1 CN 2021097185 W CN2021097185 W CN 2021097185W WO 2022227204 A1 WO2022227204 A1 WO 2022227204A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
information
transmitted
preset
data transmission
Prior art date
Application number
PCT/CN2021/097185
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 WO2022227204A1 publication Critical patent/WO2022227204A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present invention relates to the technical field of data processing, in particular to a data transmission method and device, a terminal device and a readable storage medium.
  • NFC Near Field Communication
  • the present invention provides a data transmission method and device, a terminal device and a readable storage medium to enhance the ritual sense of face-to-face information sharing.
  • the present invention provides a data transmission method, which is applied to a terminal device configured with an ultra-wideband positioning module (UWB module), the data transmission method comprising:
  • the terminal to be transmitted is configured with an ultra-wideband positioning module
  • Data is transmitted to the terminal to be transmitted, and the terminal to be transmitted receives the transmission data after establishing a connection with the terminal device.
  • the monitoring whether data transmission operation is required includes:
  • the preset operation includes a preset touch operation on the data interface and/or a preset action for the terminal device and/or receiving preset voice information and/or receiving presets myoelectric action;
  • the determining of the terminal to be transmitted according to the received at least one piece of position information includes:
  • the determining of the terminal to be transmitted according to the received at least one piece of position information includes:
  • the specific operation includes: a sliding operation for a specific direction of the data interface or a sliding operation for a specific direction of the terminal device;
  • the determining of the terminal to be transmitted according to the received at least one piece of position information includes:
  • the specific operation includes: a sliding operation for a specific direction of the data interface or a sliding operation for a specific direction of the terminal device;
  • the relative position information with itself is determined according to the received position information, and the terminal to be transmitted is determined according to the relative position information and the specific direction, and the relative position information includes distance information and/or angle information.
  • the data transmission to the terminal to be transmitted includes:
  • a prompt for confirming data transmission is displayed on the data interface, prompting the user to confirm the data to be transmitted;
  • the preset manner includes: preset touch operations on the data interface and/or preset actions for the terminal device and/or receiving preset voice information and/or preset EMG action;
  • the present invention provides a data transmission device, which is applied to a terminal equipped with an ultra-wideband positioning module, and the data transmission device includes:
  • the monitoring module is used to monitor whether a data transmission operation is required
  • a response module configured to adjust its own position and send a position request according to the ultra-wideband positioning module in response to an operation for data transmission;
  • a terminal determination module configured to determine a terminal to be transmitted according to the received at least one piece of position information, where the position information includes a specific identifier of the terminal to be transmitted, and the terminal to be transmitted is configured with an ultra-wideband positioning module;
  • a data transmission module configured to transmit data to the terminal to be transmitted.
  • the monitoring module includes:
  • An operation monitoring unit for monitoring a preset operation for data transmission includes a preset touch operation on the data interface and/or a preset action for the terminal device and/or receiving preset voice information and/or Or receive preset EMG actions;
  • the determination unit is used for determining that a data transmission operation needs to be performed according to the monitoring result.
  • the terminal determination module includes:
  • a location receiving unit configured to receive at least one location information sent by the surrounding candidate terminals
  • a terminal determination unit configured to determine relative position information with itself according to the received position information, and then determine the terminal to be transmitted according to the relative position information, where the relative position information includes distance information and/or angle information;
  • the terminal determination module includes:
  • a location receiving unit configured to receive at least one location information sent by the surrounding candidate terminals
  • a specific operation receiving unit configured to receive a specific operation for the terminal device, the specific operation includes: a sliding operation for a specific direction of the data interface or a sliding operation for a specific direction of the terminal device;
  • a terminal determination unit configured to determine relative position information according to the received position information and the specific direction, and then determine the terminal to be transmitted according to the relative position information, where the relative position information includes distance information and/or angle information;
  • the terminal determination module includes:
  • a location receiving unit configured to receive at least one location information sent by the surrounding candidate terminals
  • a specific operation receiving unit configured to receive a specific operation for the terminal device, the specific operation includes: a sliding operation for a specific direction of the data interface or a sliding operation for a specific direction of the terminal device;
  • a terminal determination unit configured to determine relative position information with itself according to the received position information, and determine the terminal to be transmitted according to the relative position information and a specific direction, the relative position information includes distance information and/or angle information.
  • the data transmission module includes:
  • a display unit used for displaying a prompt for confirming data transmission on the data interface, prompting the user to confirm the data to be transmitted;
  • a confirmation information receiving unit configured to accept confirmation information in a preset manner, the preset manner includes: preset touch operations on the data interface and/or preset actions for the terminal device and/or receiving preset voice information and/or preset EMG actions;
  • the sending unit is used to send the selected data.
  • the present invention provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the above when running the computer program The steps of the data transfer method.
  • the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above data transmission method are implemented.
  • the terminal device and the readable storage medium provided by the present invention, the user selects the data to be transmitted through the terminal device and then aligns it with the sharing object according to a specific direction, and uses the UWB technology to realize the locking of the data transmission object and realize the data transmission. .
  • the UWB technology uses the UWB technology to realize the locking of the data transmission object and realize the data transmission.
  • short-distance face-to-face data transmission can be achieved.
  • it is suitable for the transmission of points, photos, business cards, and private information, and enhances the sense of ritual of sharing information face-to-face.
  • FIG. 1 is a schematic flowchart of an embodiment of a data transmission method in the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a data transmission device in the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal device in the present invention.
  • 100-data transmission device 110-monitoring module, 120-response module, 130-terminal determination module, 140-data transmission module.
  • An embodiment of the present invention is a data transmission method, which is applied to a terminal device configured with a UWB module.
  • the data transmission method includes:
  • S20 responds to the operation for data transmission, adjusts its own position according to the ultra-wideband positioning module and sends a position request;
  • S30 determines the terminal to be transmitted according to the received at least one location information, the location information includes a specific identifier of the terminal to be transmitted, and the terminal to be transmitted is configured with an ultra-wideband positioning module;
  • S40 transmits data to the terminal to be transmitted, and receives the transmission data after the terminal to be transmitted establishes a connection with the terminal device.
  • the UWB module configured in the terminal device uses a wireless carrier communication positioning technology, and uses nanosecond-level non-sinusoidal narrow pulses to transmit data, so the occupied spectrum range is wide.
  • the time information (which can be converted into distance information) and angle information of the transmitting terminal can be obtained through information such as signal strength, signal arrival angle, and received signal time difference, and then position information can be obtained.
  • the location information can be positioned based on the UWB positioning technology.
  • the terminal device can be a mobile phone, a computer, a wearable smart watch, etc. The specific form is not limited, as long as it is configured with a UWB module.
  • the transmitted data can be in various types of file formats, such as image files, video files, business card information, and other private information.
  • the preset touch operations can be a specific shape on the data interface (for example, toward a Directional sliding, etc.) continuous sliding operation, non-continuous sliding operation of a specific shape, etc.;
  • the preset action for the terminal device can be a motion trajectory showing a specific shape or even a vigorous shaking with a speed (including acceleration, angular velocity, etc.) greater than a certain threshold, etc.;
  • the preset voice messages can be unspecific voice messages such as "start data transmission" and "I need file sharing”;
  • the preset EMG actions can be specific actions such as heart-beating and clapping.
  • the terminal device's own positioning system is used to monitor its movements. When the terminal device slides out of a circular trajectory in the horizontal direction, it is considered that data transmission needs to be performed, otherwise it is considered that the system has misoperation. In one example, a sliding operation for a specific direction of the data to be transmitted is received in the data interface of the terminal device, and it is considered that data transmission needs to be performed.
  • the terminal device After it is determined that the terminal device needs to transmit data, it immediately responds to the request, adjusts the position of the terminal device according to the location of the UWB module, orients the UWB module towards the terminal to be transmitted, and sends the location request and the data to be transmitted with the location request. to the opponent.
  • the terminal device is a wearable phone watch
  • the UWB module is arranged on the button side on the right side of the dial of the phone watch. After it is determined that data transmission is required, the position is aligned with the terminal to be transmitted, so that the location request and the The data to be transmitted is sent to the other party.
  • the selection is performed based on the received position information and the relative position information of the self, including:
  • S31 Receive at least one piece of location information sent by the surrounding candidate terminals
  • S32 determines relative position information between itself and itself according to the received position information, and then determines the terminal to be transmitted according to the relative position information, where the relative position information includes distance information and/or angle information.
  • the received location information of the candidate terminal includes distance information and/or angle information.
  • the preferred selected distance can be set as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also judged as to be transmitted within a certain deviation range. terminal), or set the difference between the preferentially selected angles as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range), etc.
  • the candidate terminals that meet the preset threshold are firstly screened to obtain a sequence of candidate terminals whose distance is less than the preset distance threshold and/or the angle difference is less than the preset angle threshold.
  • Pre-set rules select the terminal to be transmitted. It should be clear that the rules here can be set according to actual applications, and even all candidate terminals that meet the preset threshold can be selected as terminals to be transmitted.
  • the rule is to select the terminal with the closest distance and/or the smallest angle difference as the terminal to be transmitted, then sort by distance from near to far and/or sort by angle difference from small to large, when the distance information is used as the judgment condition
  • the terminal with the closest distance is selected as the terminal to be transmitted; when the difference in angle is used as the judgment condition, the terminal with the smallest difference in angle is used as the terminal to be transmitted; when the difference between the closest distance and the angle is used as the judgment condition at the same time, then
  • the terminal with the closest distance can be preferably selected as the terminal to be transmitted, or the terminal with the smallest angle difference can be set as the terminal to be transmitted, etc.
  • the selection is performed based on the received position information and the relative position information of the specific operation, including:
  • S33 receives at least one piece of location information sent by the surrounding candidate terminals
  • S34 receives a specific operation for the terminal device, and the specific operation includes: a sliding operation for a specific direction of the data interface or a sliding operation for a specific direction of the terminal device;
  • S35 determines relative position information according to the received position information and the specific direction, and then determines the terminal to be transmitted according to the relative position information, where the relative position information includes distance information and/or angle information.
  • the received location information of the candidate terminal includes distance information and/or angle information.
  • the specific operation includes the sliding operation for a specific direction of the data interface or the sliding operation for the specific direction of the terminal device.
  • the sliding operation for the specific direction of the data interface can be sliding towards the terminal to be received on the display interface, and the sliding operation for the specific direction of the terminal device can be In order to control the terminal device to perform a sliding operation toward the terminal to be received, the terminal device obtains the corresponding sliding track, and determines the sliding direction of the sliding track, which is convenient for subsequent comparison with the angle information in the position information of the candidate terminal.
  • the distance information and/or angle information of the candidate terminal When only the position information of one candidate terminal is received, first compare the distance information and/or angle information of the candidate terminal with the specific operation information to obtain relative position information, that is, the distance information and/or distance information of the candidate terminal relative to the specific operation. Angle difference, at this time, if the distance information is used as the judgment rule, if it is less than the preset distance threshold, it will be judged as the terminal to be transmitted; if the angle information is used as the judgment rule, if the angle difference is smaller than the preset distance The angle threshold is determined as the terminal to be transmitted.
  • the preferred selected distance can be set as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also judged as to be transmitted within a certain deviation range. terminal), or set the difference between the preferentially selected angles as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range), etc.
  • the candidate terminals that meet the preset threshold are firstly screened to obtain a sequence of candidate terminals whose distance is less than the preset distance threshold and/or the angle difference is less than the preset angle threshold.
  • Pre-set rules select the terminal to be transmitted. It should be clear that the rules here can be set according to actual applications, and even all candidate terminals that meet the preset threshold can be selected as terminals to be transmitted.
  • the rule is to select the terminal with the closest distance and/or the smallest angle difference as the terminal to be transmitted, then sort by distance from near to far and/or sort by angle difference from small to large, when the distance information is used as the judgment condition
  • the terminal with the closest distance is selected as the terminal to be transmitted; when the difference in angle is used as the judgment condition, the terminal with the smallest difference in angle is used as the terminal to be transmitted; when the difference between the closest distance and the angle is used as the judgment condition at the same time, then
  • the terminal with the closest distance can be preferably selected as the terminal to be transmitted, or the terminal with the smallest angle difference can be set as the terminal to be transmitted, etc.
  • the selection is made based on the relative position information of the received position information and itself, and a specific operation, including:
  • S37 receives a specific operation for the terminal device, and the specific operation includes: a sliding operation for a specific direction of the data interface or a sliding operation for a specific direction of the terminal device;
  • S38 determines the relative position information with itself according to the received position information, and determines the terminal to be transmitted according to the relative position information and the specific direction, and the relative position information includes distance information and/or angle information.
  • the received location information of the candidate terminal includes distance information and/or angle information.
  • the specific operation includes the sliding operation for a specific direction of the data interface or the sliding operation for the specific direction of the terminal device.
  • the sliding operation for the specific direction of the data interface can be sliding towards the terminal to be received on the display interface, and the sliding operation for the specific direction of the terminal device can be In order to control the terminal device to perform a sliding operation toward the terminal to be received, the terminal device obtains the corresponding sliding track, and determines the sliding direction of the sliding track, which is convenient for subsequent comparison with the angle information in the position information of the candidate terminal.
  • the distance information and/or angle information of the candidate terminal When only the position information of one candidate terminal is received, first compare the distance information and/or angle information of the candidate terminal with its own position information to obtain relative position information, that is, the distance information between the candidate terminal and the terminal device. and/or angle difference, at this time, if the distance information is used as the judgment rule, if it is less than the preset distance threshold, it is judged as the terminal to be transmitted; if the angle information is used as the judgment rule, it can be obtained by further The included angle between the direction of the candidate terminal relative to the terminal device and the sliding direction is used as the determination basis, and if the included angle is smaller than the preset angle threshold, it is determined as the terminal to be transmitted.
  • the preferred selected distance can be set as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also judged as to be transmitted within a certain deviation range. terminal), or set the difference between the preferentially selected angles as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range), etc.
  • the candidate terminals that meet the preset threshold are firstly screened to obtain a sequence of candidate terminals whose distance is less than the preset distance threshold and/or the angle difference is less than the preset angle threshold.
  • Pre-set rules select the terminal to be transmitted. It should be clear that the rules here can be set according to actual applications, and even all candidate terminals that meet the preset threshold can be selected as terminals to be transmitted.
  • the rule is to select the terminal with the closest distance and/or the smallest angle difference as the terminal to be transmitted, then sort by distance from near to far and/or sort by angle difference from small to large, when the distance information is used as the judgment condition
  • the terminal with the closest distance is selected as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range);
  • the terminal with the smallest angle difference is regarded as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range);
  • the terminal with the closest distance can be set as the terminal to be transmitted, or the terminal with the smallest angle difference can be set as the terminal to be transmitted, etc.
  • a prompt for confirming data transmission is displayed on the data interface, prompting the user to confirm the data to be transmitted; specifically: accepting the confirmation information through a preset method, and the preset method includes: a preset touch operation on the data interface And/or preset actions for the terminal device and/or receive preset voice information and/or preset myoelectric actions; send the selected data.
  • the preset touch operation on the data interface, the preset action for the terminal device, the preset voice information, and the preset EMG action are not specifically limited, and the preset touch operation may be a specific shape on the data interface. Continuous sliding operation (such as sliding in one direction, etc.), discontinuous sliding operation of a specific shape, etc.; the preset action for the terminal device can be a motion trajectory showing a specific shape or even a speed (including acceleration, angular velocity, etc.) greater than a certain threshold. Shake vigorously, etc.; the preset voice information can be a non-specific voice message such as "send"; the preset myoelectric action can be a specific action such as heart-beating and clapping. In one example, the transfer of data is determined by a heartbeat action.
  • the terminal to be transmitted After the terminal to be transmitted receives the message sent by the terminal device, it first prompts whether to receive data transmission (prompts on the data page, through voice prompts, etc.), and after the user confirms the data reception, establishes a UWB connection with the terminal device. Then, the data message sent by it is received, and the data transmission is completed.
  • a data transmission device 100 is applied to a terminal equipped with an ultra-wideband positioning module.
  • the data transmission device 100 includes: a monitoring module 110 for monitoring whether data needs to be processed transmission operation; the response module 120 is used to respond to the operation for data transmission, adjust its own position according to the ultra-wideband positioning module and send a position request; the terminal determination module 130 is used to determine the terminal to be transmitted according to the received at least one position information, the position information It includes the specific identification of the terminal to be transmitted, and the terminal to be transmitted is configured with an ultra-wideband positioning module; the data transmission module 140 is used for transmitting data to the terminal to be transmitted.
  • the UWB module configured in the terminal device uses a wireless carrier communication positioning technology, and uses nanosecond-level non-sinusoidal narrow pulses to transmit data, so the occupied spectrum range is wide.
  • the time information (which can be converted into distance information) and angle information of the transmitting terminal can be obtained through information such as signal strength, signal arrival angle, and received signal time difference, and then position information can be obtained.
  • the location information can be positioned based on the UWB positioning technology.
  • the terminal device can be a mobile phone, a computer, a wearable smart watch, etc. The specific form is not limited, as long as it is configured with a UWB module.
  • the transmitted data can be in various types of file formats, such as image files, video files, business card information, and other private information.
  • the monitoring module 110 includes: an operation monitoring unit for monitoring a preset operation for data transmission; the preset operation includes a preset touch operation on the data interface and/or a preset action and/or reception for the terminal device Preset voice information and/or receive preset myoelectric action; a determination unit, configured to determine that data transmission operation is required according to the monitoring result.
  • the preset touch operations can be a specific shape on the data interface (for example, toward a Directional sliding, etc.) continuous sliding operation, non-continuous sliding operation of a specific shape, etc.;
  • the preset action for the terminal device can be a motion trajectory showing a specific shape or even a vigorous shaking with a speed (including acceleration, angular velocity, etc.) greater than a certain threshold, etc.;
  • the preset voice messages can be unspecific voice messages such as "start data transmission" and "I need file sharing”;
  • the preset EMG actions can be specific actions such as heart-beating and clapping.
  • the terminal device After it is determined that the terminal device needs to transmit data, it immediately responds to the request, adjusts the position of the terminal device according to the location of the UWB module, orients the UWB module towards the terminal to be transmitted, and sends the location request and the data to be transmitted with the location request. to the opponent.
  • the terminal device is a wearable phone watch
  • the UWB module is arranged on the button side on the right side of the dial of the phone watch. After it is determined that data transmission is required, the position is aligned with the terminal to be transmitted, so that the location request and the The data to be transmitted is sent to the other party.
  • the terminal determination module 130 includes: a position receiving unit, configured to receive at least one position information sent by the surrounding candidate terminals; a terminal determination unit, configured to determine its relative position information to itself according to the received position information, Further, the terminal to be transmitted is determined according to the relative position information, where the relative position information includes distance information and/or angle information;
  • the received location information of the candidate terminal includes distance information and/or angle information.
  • the preferred selected distance can be set as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also judged as to be transmitted within a certain deviation range. terminal), or set the difference between the preferentially selected angles as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range), etc.
  • the candidate terminals that meet the preset threshold are firstly screened to obtain a sequence of candidate terminals whose distance is less than the preset distance threshold and/or the angle difference is less than the preset angle threshold.
  • Pre-set rules select the terminal to be transmitted. It should be clear that the rules here can be set according to actual applications, and even all candidate terminals that meet the preset threshold can be selected as terminals to be transmitted.
  • the rule is to select the terminal with the closest distance and/or the smallest angle difference as the terminal to be transmitted, then sort by distance from near to far and/or sort by angle difference from small to large, when the distance information is used as the judgment condition
  • the terminal with the closest distance is selected as the terminal to be transmitted; when the difference in angle is used as the judgment condition, the terminal with the smallest difference in angle is used as the terminal to be transmitted; when the difference between the closest distance and the angle is used as the judgment condition at the same time, then
  • the terminal with the closest distance can be preferably selected as the terminal to be transmitted, or the terminal with the smallest angle difference can be set as the terminal to be transmitted, etc.
  • the terminal determination module 130 includes: a position receiving unit, configured to receive at least one position information sent by the surrounding candidate terminals; a specific operation receiving unit, configured to receive a specific operation for the terminal device, and the specific operation includes: The sliding operation for the specific direction of the data interface or the sliding operation for the specific direction of the terminal device; the terminal determination unit is used to determine the relative position information according to the received position information and the specific direction, and then determine the terminal to be transmitted according to the relative position information.
  • Information includes distance information and/or angle information;
  • the received location information of the candidate terminal includes distance information and/or angle information.
  • the specific operation includes the sliding operation for a specific direction of the data interface or the sliding operation for the specific direction of the terminal device.
  • the sliding operation for the specific direction of the data interface can be sliding towards the terminal to be received on the display interface, and the sliding operation for the specific direction of the terminal device can be In order to control the terminal device to perform a sliding operation toward the terminal to be received, the terminal device obtains the corresponding sliding track, and determines the sliding direction of the sliding track, which is convenient for subsequent comparison with the angle information in the position information of the candidate terminal.
  • the distance information and/or angle information of the candidate terminal When only the position information of one candidate terminal is received, first compare the distance information and/or angle information of the candidate terminal with the specific operation information to obtain relative position information, that is, the distance information and/or distance information of the candidate terminal relative to the specific operation. Angle difference, at this time, if the distance information is used as the judgment rule, if it is less than the preset distance threshold, it will be judged as the terminal to be transmitted; if the angle information is used as the judgment rule, if the angle difference is smaller than the preset distance The angle threshold is determined as the terminal to be transmitted.
  • the preferred selected distance can be set as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also judged as to be transmitted within a certain deviation range. terminal), or set the difference between the preferentially selected angles as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range), etc.
  • the candidate terminals that meet the preset threshold are firstly screened to obtain a sequence of candidate terminals whose distance is less than the preset distance threshold and/or the angle difference is less than the preset angle threshold.
  • Pre-set rules select the terminal to be transmitted. It should be clear that the rules here can be set according to actual applications, and even all candidate terminals that meet the preset threshold can be selected as terminals to be transmitted.
  • the rule is to select the terminal with the closest distance and/or the smallest angle difference as the terminal to be transmitted, then sort by distance from near to far and/or sort by angle difference from small to large, when the distance information is used as the judgment condition
  • the terminal with the closest distance is selected as the terminal to be transmitted; when the difference in angle is used as the judgment condition, the terminal with the smallest difference in angle is used as the terminal to be transmitted; when the difference between the closest distance and the angle is used as the judgment condition at the same time, then
  • the terminal with the closest distance can be preferably selected as the terminal to be transmitted, or the terminal with the smallest angle difference can be set as the terminal to be transmitted, etc.
  • the terminal determination module 130 includes: a position receiving unit, configured to receive at least one position information sent by the surrounding candidate terminals; a specific operation receiving unit, configured to receive a specific operation for the terminal device, and the specific operation includes: The sliding operation for the specific direction of the data interface or the sliding operation for the specific direction of the terminal device; the terminal determination unit is used to determine the relative position information of itself and itself according to the received position information, and determine the terminal to be transmitted according to the relative position information and the specific direction.
  • the relative position information includes distance information and/or angle information.
  • the received location information of the candidate terminal includes distance information and/or angle information.
  • the specific operation includes the sliding operation for a specific direction of the data interface or the sliding operation for the specific direction of the terminal device.
  • the sliding operation for the specific direction of the data interface can be sliding towards the terminal to be received on the display interface, and the sliding operation for the specific direction of the terminal device can be In order to control the terminal device to perform a sliding operation toward the terminal to be received, the terminal device obtains the corresponding sliding track, and determines the sliding direction of the sliding track, which is convenient for subsequent comparison with the angle information in the position information of the candidate terminal.
  • the distance information and/or angle information of the candidate terminal When only the position information of one candidate terminal is received, first compare the distance information and/or angle information of the candidate terminal with its own position information to obtain relative position information, that is, the distance information between the candidate terminal and the terminal device and/or angle difference, at this time, if the distance information is used as the judgment rule, if it is less than the preset distance threshold, it is judged as the terminal to be transmitted; if the angle information is used as the judgment rule, it can be obtained by further The included angle between the direction of the candidate terminal relative to the terminal device and the sliding direction is used as the determination basis, and if the included angle is smaller than the preset angle threshold, it is determined as the terminal to be transmitted.
  • the terminal with the closest distance can be selected as the terminal to be transmitted by setting (at this time, even if the angle information does not meet the preset conditions, it can be judged within a certain deviation range). is the terminal to be transmitted), or set the terminal with the smallest difference between the selected angles as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range) Wait.
  • the candidate terminals that meet the preset threshold are firstly screened to obtain a sequence of candidate terminals whose distance is less than the preset distance threshold and/or the angle difference is less than the preset angle threshold.
  • Pre-set rules select the terminal to be transmitted. It should be clear that the rules here can be set according to actual applications, and even all candidate terminals that meet the preset threshold can be selected as terminals to be transmitted.
  • the rule is to select the terminal with the closest distance and/or the smallest angle difference as the terminal to be transmitted, then sort by distance from near to far and/or sort by angle difference from small to large, when the distance information is used as the judgment condition
  • the terminal with the closest distance is selected as the terminal to be transmitted (at this time, even if the angle information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range);
  • the terminal with the smallest angle difference is regarded as the terminal to be transmitted (at this time, even if the distance information does not meet the preset conditions, it is also determined as the terminal to be transmitted within a certain deviation range);
  • the terminal with the closest distance can be set as the terminal to be transmitted, or the terminal with the smallest angle difference can be set as the terminal to be transmitted, etc.
  • the data transmission module includes: a display unit for displaying a prompt for confirming data transmission on the data interface, prompting The user confirms the data to be transmitted;
  • the confirmation information receiving unit is used to accept the confirmation information in a preset way, and the preset way includes: a preset touch operation on the data interface and/or a preset action and/or reception for the terminal device There are preset voice information and/or preset EMG actions; a sending unit is used to send the selected data.
  • the preset touch operation on the data interface, the preset action for the terminal device, the preset voice information, and the preset EMG action are not specifically limited, and the preset touch operation may be a specific shape on the data interface. Continuous sliding operation (such as sliding in one direction, etc.), discontinuous sliding operation of a specific shape, etc.; the preset action for the terminal device can be a motion trajectory showing a specific shape or even a speed (including acceleration, angular velocity, etc.) greater than a certain threshold. Shake vigorously, etc.; the preset voice information can be a non-specific voice message such as "send"; the preset myoelectric action can be a specific action such as heart-beating and clapping. In one example, the transfer of data is determined by a heartbeat action.
  • the terminal to be transmitted After the terminal to be transmitted receives the message sent by the terminal device, it first prompts whether to receive data transmission (prompts on the data page, through voice prompts, etc.), and after the user confirms the data reception, establishes a UWB connection with the terminal device. Then, the data message sent by it is received, and the data transmission is completed.
  • the terminal device is a wearable phone watch
  • the UWB module is arranged on the button side on the right side of the dial of the phone watch.
  • the transmission terminal After the transmission terminal receives the message sent by the terminal device, it establishes a UWB connection with the phone watch based on the confirmation information of the user, and then receives the data message sent by it, realizes short-distance face-to-face data transmission, and enhances the sense of ritual of data transmission. While improving the accuracy of data transmission, privacy information can be well protected.
  • each program module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one processing unit, and the above-mentioned integrated units may be implemented in the form of hardware. , can also be implemented in the form of software program units.
  • the specific names of each program module are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application.
  • FIG. 3 is a schematic structural diagram of a terminal device provided in an embodiment of the present invention.
  • the terminal device 200 includes: a processor 220 , a memory 210 , and a computer program stored in the memory 210 and running on the processor 220 211, for example: data transfer associated program.
  • the processor 220 executes the computer program 211, it implements the steps in each of the foregoing data transmission method embodiments, or, when the processor 220 executes the computer program 211, it implements the functions of each module in the foregoing data transmission apparatus embodiment.
  • the terminal device 200 may be a notebook, a handheld computer, a tablet computer, a mobile phone, and other devices.
  • the terminal device 200 may include, but is not limited to, the processor 220 and the memory 210 .
  • FIG. 3 is only an example of the terminal device 200, and does not constitute a limitation on the terminal device 200. It may include more or less components than the one shown, or combine some components, or different components
  • the terminal device 200 may further include an input and output device, a display device, a network access device, a bus, and the like.
  • the processor 220 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), application specific integrated circuits (Application Specific Integrated Circuits, ASICs), field-available processors. Field-Programmable GateArray (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general purpose processor 220 may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 210 may be an internal storage unit of the terminal device 200 , such as a hard disk or a memory of the terminal device 200 .
  • the memory 210 can also be an external storage device of the terminal device 200, for example: a plug-in hard disk equipped on the terminal device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card ( Flash Card), etc.
  • the memory 210 may also include both an internal storage unit of the terminal device 200 and an external storage device.
  • the memory 210 is used to store the computer program 211 and other programs and data required by the terminal device 200 .
  • the memory 210 may also be used to temporarily store data that has been output or is to be output.
  • the disclosed apparatus/terminal device and method may be implemented in other manners.
  • the apparatus/terminal device embodiments described above are only illustrative, for example, the division of modules or units is only a logical function division. Components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-readable storage medium.
  • the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by sending instructions to the relevant hardware through the computer program 211.
  • the computer program 211 can be stored in a computer-readable storage medium, and the computer When the program 211 is executed by the processor 220, the steps of the foregoing method embodiments may be implemented.
  • the computer program 211 includes: computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable storage medium may include: any entity or device capable of carrying the code of the computer program 211, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory Access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in a computer-readable storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example: in some jurisdictions, according to legislation and patent practice, the computer-readable medium Electric carrier signals and telecommunication signals are not included.

Landscapes

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

Abstract

一种数据传输方法及装置、终端设备及可读存储介质,其中,数据传输方法包括:监听是否需要进行数据传输操作(S10);响应针对数据传输的操作,根据超宽带定位模块调整自身位置并发送位置请求(S20);根据接收的至少一个位置信息确定待传输终端,位置信息中包括待传输终端的特定标识,待传输终端配置有超宽带定位模块(S30);向待传输终端传输数据,待传输终端建立与终端设备之间的连接后接收传输数据(S40)。通过该方法,可实现短距离面对面的数据传输,增强面对面分享信息的仪式感。

Description

数据传输方法及装置、终端设备及可读存储介质 技术领域
本发明涉及数据处理技术领域,尤其是一种数据传输方法及装置、终端设备及可读存储介质。
背景技术
随着科学技术的发展,各类型的终端设备得以普及,应用广泛。为了进一步提升终端设备的用户体验,通常会在终端设备中配置无线通讯功能。在不同终端设备之间进行信息分享的需求也越来越多,但是操作流程普标比较繁琐且缺少分享的仪式感,无法模拟真实场景中的分享行为。NFC(Near Field Communication,近场通信)的方式一定程度解决了分享仪式感的问题,但分享距离受限,制约了使用场景。
发明内容
为了克服以上不足,本发明提供了一种数据传输方法及装置、终端设备及可读存储介质,增强面对面分享信息的仪式感。
本发明提供的技术方案为:
一方面,本发明提供了一种数据传输方法,应用于配置有超宽带定位模块(UWB模块)的终端设备,所述数据传输方法包括:
监听是否需要进行数据传输操作;
响应针对数据传输的操作,根据所述超宽带定位模块调整自身位置并发送位置请求;
根据接收的至少一个位置信息确定待传输终端,所述位置信息中包括待传输终端的特定标识,所述待传输终端配置有超宽带定位模块;
向所述待传输终端传输数据,所述待传输终端建立与终端设备之间的连接后接收所述传输数据。
进一步优选地,所述监听是否需要进行数据传输操作中包括:
监听是否有针对数据传输的预设操作;所述预设操作包括于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收预设语音信息和/或接收预设肌电动作;
若是,确定需要进行数据传输操作。
进一步优选地,所述根据接收的至少一个位置信息确定待传输终端中包括:
接收周边候选终端发送的至少一个位置信息;
根据接收的位置信息确定其与自身的相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
或,所述根据接收的至少一个位置信息确定待传输终端中包括:
接收周边候选终端发送的至少一个位置信息;
接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
根据接收的位置信息及所述特定方向确定相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
或,所述根据接收的至少一个位置信息确定待传输终端中包括:
接收周边候选终端发送的至少一个位置信息;
接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
根据接收的位置信息确定其与自身的相对位置信息,并根据所述相对位置信息及特定方向确定待传输终端,所述相对位置信息包括距离信息和/或角度信息。
进一步优选地,所述向所述待传输终端传输数据中包括:
于数据界面显示确认数据传输的提示,提示用户确认需要传输的数据;
通过预设方式接受确认信息,所述预设方式包括:于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收有预设语音信息和/或预设肌电动作;
将选定的数据发送出去。
另一方面,本发明提供了一种数据传输装置,应用于配置有超宽带定位模块的终端,所述数据传输装置包括:
监听模块,用于监听是否需要进行数据传输操作;
响应模块,用于响应针对数据传输的操作,根据所述超宽带定位模块调整自身位置并发送位置请求;
终端确定模块,用于根据接收的至少一个位置信息确定待传输终端,所述位置信息中包括待传输终端的特定标识,所述待传输终端配置有超宽带定位模块;
数据传输模块,用于向所述待传输终端传输数据。
进一步优选地,所述监听模块中包括:
操作监听单元,用于监听针对数据传输的预设操作;所述预设操作包括于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收预设语音信息和/或接收预设肌电动作;
判定单元,用于根据监听结果确定需要进行数据传输操作。
进一步优选地,所述终端确定模块中包括:
位置接收单元,用于接收周边候选终端发送的至少一个位置信息;
终端确定单元,用于根据接收的位置信息确定其与自身的相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
或,所述终端确定模块中包括:
位置接收单元,用于接收周边候选终端发送的至少一个位置信息;
特定操作接收单元,用于接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
终端确定单元,用于根据接收的位置信息及所述特定方向确定相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
或,所述终端确定模块中包括:
位置接收单元,用于接收周边候选终端发送的至少一个位置信息;
特定操作接收单元,用于接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
终端确定单元,用于根据接收的位置信息确定其与自身的相对位置信息,并根据所述相对位置信息及特定方向确定待传输终端,所述相对位置信息包括距离信息和/或角度信息。
进一步优选地,所述数据传输模块中包括:
显示单元,用于于数据界面显示确认数据传输的提示,提示用户确认需要传输的数据;
确认信息接收单元,用于通过预设方式接受确认信息,所述预设方式包括:于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收有预设语音信息和/或预设肌电动作;
发送单元,用于将选定的数据发送出去。
另一方面,本发明提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器运行所述计算机程序时实现上述数据传输方法的步骤。
另一方面,本发明提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述数据传输方法的步骤。
本发明提供的数据传输方法及装置、终端设备及可读存储介质,用户通过终端设备选择待传输数据后将其按照特定方向对准分享对象,并利用UWB技术实现锁定数据传输对象,实现数据传输。通过该方式,可实现短距离面对面的数据传输。尤其是对于电话手表而言,适合进行积分、照片、名片、私密信息的传输,增强面对面分享信息的仪式感。
附图说明
图1为本发明中数据传输方法一种实施例流程示意图;
图2为本发明中数据传输装置一种实施例结构示意图;
图3为本发明中终端设备结构示意图。
附图标记:
100-数据传输装置,110-监听模块,120-响应模块,130-终端确定模块,140-数据传输模块。
具体实施方式
为了更清楚地说明本发明实施案例或现有技术中的技术方案,下面将对照附图说明本发明的具体实施方式。显而易见地,下面描述中的附图仅仅是本发明的 一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,并获得其他的实施方式。
本发明的一种实施例,如图1所示,一种数据传输方法,应用于配置有UWB模块的终端设备,数据传输方法包括:
S10监听是否需要进行数据传输操作;
S20响应针对数据传输的操作,根据超宽带定位模块调整自身位置并发送位置请求;
S30根据接收的至少一个位置信息确定待传输终端,位置信息中包括待传输终端的特定标识,待传输终端配置有超宽带定位模块;
S40向待传输终端传输数据,待传输终端建立与终端设备之间的连接后接收传输数据。
在本实施例中,终端设备中配置的UWB模块利用的是一种无线载波通信的定位技术,利用纳秒级的非正弦波窄脉冲对数据进行传输,故占用的频谱范围较宽。在UWB定位技术中,可通过信号强度、信号到达角度、接收信号时间差等信息获得传输终端的时间信息(可转化为距离信息)和角度信息,进而得到位置信息。基于此,在数据传输过程中,只要双方终端中均配置有UWB模块即可基于UWB定位技术实现位置信息的定位。终端设备可以为手机、电脑、可穿戴的智能手表等,具体形式不做限定,只要其配置有UWB模块即可。传输的数据可以为各种类型的文件格式、如图像文件、视频文件、名片信息、其他私人信息等。
为了提高数据传输的精确度,在进行数据传输之前,需对终端设备是否需要进行数据传输进行监控,包括监听是否有针对数据传输的预设操作,如于数据界面上的预设触摸操作、针对终端设备的预设动作、预设语音信息、预设肌电动作等。应当清楚,这里对上述的预设触摸操作、针对终端设备的预设动作、预设语音信息、预设肌电动作均不作具体限定,预设触摸操作可以为数据界面上特定形状(如朝向一个方向滑动等)的连续滑动操作、特定形状的非连续滑动操作等;针对终端设备的预设动作可以为呈现特定形状的运动轨迹甚至速度(包括加速度、角速度等)大于一定阈值的大力摇晃等;预设语音信息可以为“开始数据传输”、“我需要文件分享”等不特定的语音消息;预设肌电动作可以为比心、拍掌等特 定的动作。在一实例中,利用终端设备中自带的定位系统对其动作进行监控,当终端设备在水平方向上滑动出圆形轨迹时,认为需要进行数据传输,否则认为系统存在误操作。在一领实例中,终端设备的数据界面中接收到针对待传输数据特定方向的滑动操作,认为需要进行数据传输。
确定了终端设备需要对数据进行传输之后,随即对该请求进行响应,根据UWB模块所在位置对终端设备的位置进行调整,将UWB模块朝向待传输终端,并与将位置请求及需传输的数据发送至对方。如,一实例中,终端设备为可穿戴的电话手表,将UWB模块配置于电话手表表盘右侧按钮侧,则确定需要进行数据传输后,将该位置对准待传输终端,便于将位置请求及需传输的数据发送至对方。
由于终端设备周围可能存在多个其他类型配置有UWB模块的候选设备,需要从中对真正要进行数据传输的待传输终端进行选定:
在一实施例中,基于接收的位置信息与自身的相对位置信息进行选定,包括:
S31接收周边候选终端发送的至少一个位置信息;
S32根据接收的位置信息确定其与自身的相对位置信息,进而根据该相对位置信息确定待传输终端,相对位置信息包括距离信息和/或角度信息。
在本实施例中,接收到的候选终端的位置信息包括距离信息和/或角度信息。当只接收到一个候选终端的位置信息,则先根据该候选终端的距离信息和/或角度信息与自身的位置信息进行比较,得到相对位置信息,即候选终端相对于终端设备的距离信息和/或角度之差,此时,若将距离信息作为判定规则,则若其小于预设的距离阈值,将其判定为待传输终端;若将角度信息作为判定规则,则若角度之差小于预设的角度阈值,将其判定为待传输终端。当将距离信息和角度信息同时作为判定依据,可以通过设定优选选定距离作为待传输终端(此时即便角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端),或设定优先选定角度之差作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端)等。
当接收到多个候选终端的位置信息,则先对满足预设阈值的候选终端进行筛选,得到距离小于预设距离阈值和/或角度之差小于预设角度阈值的候选终端序 列,以此根据预先设定的规则对待传输终端进行选定。应当清楚,这里的规则可以根据实际应用进行设定的设定,甚至可以将所有符合预设阈值的候选终端选作为待传输终端。若规则为选定距离最近和/或角度之差最小的终端作为待传输终端,则按照距离从近到远进行排序和/或按照角度之差从小到大进行排序,当将距离信息作为判定条件时,选定距离最近的终端作为待传输终端;当将角度之差作为判定条件时,将角度之差最小的终端作为待传输终端;当将距离最近和角度之差同时作为判定条件时,则可以通过设定优选选定距离最近的终端作为待传输终端,或设定优先选定角度之差最小的终端作为待传输终端等,当两个候选终端的距离或角度之差相同,则根据另一条件作为选定依据。
在另一实施例中,基于接收的位置信息与特定操作的相对位置信息进行选定,包括:
S33接收周边候选终端发送的至少一个位置信息;
S34接收针对终端设备的特定操作,特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
S35根据接收的位置信息及特定方向确定相对位置信息,进而根据该相对位置信息确定待传输终端,相对位置信息包括距离信息和/或角度信息。
在本实施例中,接收到的候选终端的位置信息包括距离信息和/或角度信息。特定操作包括针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作,针对数据界面特定方向的滑动操作可以为在显示界面朝向待接收终端进行滑动,针对终端设备特定方向的滑动操作可以为控制终端设备朝向待接收终端进行滑动操作,终端设备获取相应的滑动轨迹,并判断滑动轨迹的滑动方向,便于后续将其与候选终端位置信息中的角度信息进行比对。
当只接收到一个候选终端的位置信息,则先根据该候选终端的距离信息和/或角度信息与特定操作信息进行比较,得到相对位置信息,即候选终端相对于特定操作的距离信息和/或角度之差,此时,若将距离信息作为判定规则,则若其小于预设的距离阈值,将其判定为待传输终端;若将角度信息作为判定规则,则若角度之差小于预设的角度阈值,将其判定为待传输终端。当将距离信息和角度信息同时作为判定依据,可以通过设定优选选定距离作为待传输终端(此时即便 角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端),或设定优先选定角度之差作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端)等。
当接收到多个候选终端的位置信息,则先对满足预设阈值的候选终端进行筛选,得到距离小于预设距离阈值和/或角度之差小于预设角度阈值的候选终端序列,以此根据预先设定的规则对待传输终端进行选定。应当清楚,这里的规则可以根据实际应用进行设定的设定,甚至可以将所有符合预设阈值的候选终端选作为待传输终端。若规则为选定距离最近和/或角度之差最小的终端作为待传输终端,则按照距离从近到远进行排序和/或按照角度之差从小到大进行排序,当将距离信息作为判定条件时,选定距离最近的终端作为待传输终端;当将角度之差作为判定条件时,将角度之差最小的终端作为待传输终端;当将距离最近和角度之差同时作为判定条件时,则可以通过设定优选选定距离最近的终端作为待传输终端,或设定优先选定角度之差最小的终端作为待传输终端等,当两个候选终端的距离或角度之差相同,则根据另一条件作为选定依据。
在另一实施例中,基于接收的位置信息与自身的相对位置信息,及特定操作进行选定,包括:
S36接收周边候选终端发送的至少一个位置信息;
S37接收针对终端设备的特定操作,特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
S38根据接收的位置信息确定其与自身的相对位置信息,并根据相对位置信息及特定方向确定待传输终端,相对位置信息包括距离信息和/或角度信息。
在本实施例中,接收到的候选终端的位置信息包括距离信息和/或角度信息。特定操作包括针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作,针对数据界面特定方向的滑动操作可以为在显示界面朝向待接收终端进行滑动,针对终端设备特定方向的滑动操作可以为控制终端设备朝向待接收终端进行滑动操作,终端设备获取相应的滑动轨迹,并判断滑动轨迹的滑动方向,便于后续将其与候选终端位置信息中的角度信息进行比对。
当只接收到一个候选终端的位置信息,则先根据该候选终端的距离信息和/ 或角度信息与自身的位置信息进行比较,得到相对位置信息,即候选终端相对于终端设备之间的距离信息和/或角度之差,此时,若将距离信息作为判定规则,则若其小于预设的距离阈值,将其判定为待传输终端;若将角度信息作为判定规则,则可以通过进一步将得到候选终端相对于终端设备的方向与滑动方向的夹角作为判定依据,若该夹角小于预设的角度阈值,将其判定为待传输终端。当将距离信息和角度信息同时作为判定依据,可以通过设定优选选定距离作为待传输终端(此时即便角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端),或设定优先选定角度之差作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端)等。
当接收到多个候选终端的位置信息,则先对满足预设阈值的候选终端进行筛选,得到距离小于预设距离阈值和/或角度之差小于预设角度阈值的候选终端序列,以此根据预先设定的规则对待传输终端进行选定。应当清楚,这里的规则可以根据实际应用进行设定的设定,甚至可以将所有符合预设阈值的候选终端选作为待传输终端。若规则为选定距离最近和/或角度之差最小的终端作为待传输终端,则按照距离从近到远进行排序和/或按照角度之差从小到大进行排序,当将距离信息作为判定条件时,选定距离最近的终端作为待传输终端(此时即便角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端);当将角度之差作为判定条件时,将角度之差最小的终端作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端);当将距离最近和角度之差同时作为判定条件时,则可以通过设定优选选定距离最近的终端作为待传输终端,或设定优先选定角度之差最小的终端作为待传输终端等,当两个候选终端的距离或角度之差相同,则根据另一条件作为选定依据。
选定了待传输终端之后,于数据界面显示确认数据传输的提示,提示用户确认需要传输的数据;具体:通过预设方式接受确认信息,预设方式包括:于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收有预设语音信息和/或预设肌电动作;将选定的数据发送出去。
在本实施例中,对于数据界面上的预设触摸操作、针对终端设备的预设动作、预设语音信息、预设肌电动作均不作具体限定,预设触摸操作可以为数据界面上 特定形状(如朝向一个方向滑动等)的连续滑动操作、特定形状的非连续滑动操作等;针对终端设备的预设动作可以为呈现特定形状的运动轨迹甚至速度(包括加速度、角速度等)大于一定阈值的大力摇晃等;预设语音信息可以为“发送”等不特定的语音消息;预设肌电动作可以为比心、拍掌等特定的动作。在一实例中,通过比心动作确定对于数据的传输。
在待传输终端接收到终端设备发送的消息之后,首先对于是否接收数据传输进行提示(在数据页面提示、通过声音提示等),当用户确认数据接收后,建立与终端设备之间的UWB连接,进而接收其发送的数据消息,完成数据传输。
本发明的另一实施例,一种数据传输装置100,应用于配置有超宽带定位模块的终端,如图2所示,该数据传输装置100包括:监听模块110,用于监听是否需要进行数据传输操作;响应模块120,用于响应针对数据传输的操作,根据超宽带定位模块调整自身位置并发送位置请求;终端确定模块130,用于根据接收的至少一个位置信息确定待传输终端,位置信息中包括待传输终端的特定标识,待传输终端配置有超宽带定位模块;数据传输模块140,用于向待传输终端传输数据。
在本实施例中,终端设备中配置的UWB模块利用的是一种无线载波通信的定位技术,利用纳秒级的非正弦波窄脉冲对数据进行传输,故占用的频谱范围较宽。在UWB定位技术中,可通过信号强度、信号到达角度、接收信号时间差等信息获得传输终端的时间信息(可转化为距离信息)和角度信息,进而得到位置信息。基于此,在数据传输过程中,只要双方终端中均配置有UWB模块即可基于UWB定位技术实现位置信息的定位。终端设备可以为手机、电脑、可穿戴的智能手表等,具体形式不做限定,只要其配置有UWB模块即可。传输的数据可以为各种类型的文件格式、如图像文件、视频文件、名片信息、其他私人信息等。
为了提高数据传输的精确度,在进行数据传输之前,需对终端设备是否需要进行数据传输进行监控,包括监听是否有针对数据传输的预设操作,如于数据界面上的预设触摸操作、针对终端设备的预设动作、预设语音信息、预设肌电动作等。具体,监听模块110中包括:操作监听单元,用于监听针对数据传输的预设操作;预设操作包括于数据界面上的预设触摸操作和/或针对终端设备的预设动 作和/或接收预设语音信息和/或接收预设肌电动作;判定单元,用于根据监听结果确定需要进行数据传输操作。
应当清楚,这里对上述的预设触摸操作、针对终端设备的预设动作、预设语音信息、预设肌电动作均不作具体限定,预设触摸操作可以为数据界面上特定形状(如朝向一个方向滑动等)的连续滑动操作、特定形状的非连续滑动操作等;针对终端设备的预设动作可以为呈现特定形状的运动轨迹甚至速度(包括加速度、角速度等)大于一定阈值的大力摇晃等;预设语音信息可以为“开始数据传输”、“我需要文件分享”等不特定的语音消息;预设肌电动作可以为比心、拍掌等特定的动作。
确定了终端设备需要对数据进行传输之后,随即对该请求进行响应,根据UWB模块所在位置对终端设备的位置进行调整,将UWB模块朝向待传输终端,并与将位置请求及需传输的数据发送至对方。如,一实例中,终端设备为可穿戴的电话手表,将UWB模块配置于电话手表表盘右侧按钮侧,则确定需要进行数据传输后,将该位置对准待传输终端,便于将位置请求及需传输的数据发送至对方。
由于终端设备周围可能存在多个其他类型配置有UWB模块的候选设备,需要从中对真正要进行数据传输的待传输终端进行选定:
在一实施例中,终端确定模块130中包括:位置接收单元,用于接收周边候选终端发送的至少一个位置信息;终端确定单元,用于根据接收的位置信息确定其与自身的相对位置信息,进而根据该相对位置信息确定待传输终端,相对位置信息包括距离信息和/或角度信息;
在本实施例中,接收到的候选终端的位置信息包括距离信息和/或角度信息。当只接收到一个候选终端的位置信息,则先根据该候选终端的距离信息和/或角度信息与自身的位置信息进行比较,得到相对位置信息,即候选终端相对于终端设备的距离信息和/或角度之差,此时,若将距离信息作为判定规则,则若其小于预设的距离阈值,将其判定为待传输终端;若将角度信息作为判定规则,则若角度之差小于预设的角度阈值,将其判定为待传输终端。当将距离信息和角度信息同时作为判定依据,可以通过设定优选选定距离作为待传输终端(此时即便角 度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端),或设定优先选定角度之差作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端)等。
当接收到多个候选终端的位置信息,则先对满足预设阈值的候选终端进行筛选,得到距离小于预设距离阈值和/或角度之差小于预设角度阈值的候选终端序列,以此根据预先设定的规则对待传输终端进行选定。应当清楚,这里的规则可以根据实际应用进行设定的设定,甚至可以将所有符合预设阈值的候选终端选作为待传输终端。若规则为选定距离最近和/或角度之差最小的终端作为待传输终端,则按照距离从近到远进行排序和/或按照角度之差从小到大进行排序,当将距离信息作为判定条件时,选定距离最近的终端作为待传输终端;当将角度之差作为判定条件时,将角度之差最小的终端作为待传输终端;当将距离最近和角度之差同时作为判定条件时,则可以通过设定优选选定距离最近的终端作为待传输终端,或设定优先选定角度之差最小的终端作为待传输终端等,当两个候选终端的距离或角度之差相同,则根据另一条件作为选定依据。
在另一实施例中,终端确定模块130中包括:位置接收单元,用于接收周边候选终端发送的至少一个位置信息;特定操作接收单元,用于接收针对终端设备的特定操作,特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;终端确定单元,用于根据接收的位置信息及特定方向确定相对位置信息,进而根据该相对位置信息确定待传输终端,相对位置信息包括距离信息和/或角度信息;
在本实施例中,接收到的候选终端的位置信息包括距离信息和/或角度信息。特定操作包括针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作,针对数据界面特定方向的滑动操作可以为在显示界面朝向待接收终端进行滑动,针对终端设备特定方向的滑动操作可以为控制终端设备朝向待接收终端进行滑动操作,终端设备获取相应的滑动轨迹,并判断滑动轨迹的滑动方向,便于后续将其与候选终端位置信息中的角度信息进行比对。
当只接收到一个候选终端的位置信息,则先根据该候选终端的距离信息和/或角度信息与特定操作信息进行比较,得到相对位置信息,即候选终端相对于特 定操作的距离信息和/或角度之差,此时,若将距离信息作为判定规则,则若其小于预设的距离阈值,将其判定为待传输终端;若将角度信息作为判定规则,则若角度之差小于预设的角度阈值,将其判定为待传输终端。当将距离信息和角度信息同时作为判定依据,可以通过设定优选选定距离作为待传输终端(此时即便角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端),或设定优先选定角度之差作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端)等。
当接收到多个候选终端的位置信息,则先对满足预设阈值的候选终端进行筛选,得到距离小于预设距离阈值和/或角度之差小于预设角度阈值的候选终端序列,以此根据预先设定的规则对待传输终端进行选定。应当清楚,这里的规则可以根据实际应用进行设定的设定,甚至可以将所有符合预设阈值的候选终端选作为待传输终端。若规则为选定距离最近和/或角度之差最小的终端作为待传输终端,则按照距离从近到远进行排序和/或按照角度之差从小到大进行排序,当将距离信息作为判定条件时,选定距离最近的终端作为待传输终端;当将角度之差作为判定条件时,将角度之差最小的终端作为待传输终端;当将距离最近和角度之差同时作为判定条件时,则可以通过设定优选选定距离最近的终端作为待传输终端,或设定优先选定角度之差最小的终端作为待传输终端等,当两个候选终端的距离或角度之差相同,则根据另一条件作为选定依据。
在另一实施例中,终端确定模块130中包括:位置接收单元,用于接收周边候选终端发送的至少一个位置信息;特定操作接收单元,用于接收针对终端设备的特定操作,特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;终端确定单元,用于根据接收的位置信息确定其与自身的相对位置信息,并根据相对位置信息及特定方向确定待传输终端,相对位置信息包括距离信息和/或角度信息。
在本实施例中,接收到的候选终端的位置信息包括距离信息和/或角度信息。特定操作包括针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作,针对数据界面特定方向的滑动操作可以为在显示界面朝向待接收终端进行滑动,针对终端设备特定方向的滑动操作可以为控制终端设备朝向待接收终端 进行滑动操作,终端设备获取相应的滑动轨迹,并判断滑动轨迹的滑动方向,便于后续将其与候选终端位置信息中的角度信息进行比对。
当只接收到一个候选终端的位置信息,则先根据该候选终端的距离信息和/或角度信息与自身的位置信息进行比较,得到相对位置信息,即候选终端相对于终端设备之间的距离信息和/或角度之差,此时,若将距离信息作为判定规则,则若其小于预设的距离阈值,将其判定为待传输终端;若将角度信息作为判定规则,则可以通过进一步将得到候选终端相对于终端设备的方向与滑动方向的夹角作为判定依据,若该夹角小于预设的角度阈值,将其判定为待传输终端。当将距离信息和角度信息同时作为判定依据,可以通过设定优选选定距离最近的终端作为待传输终端(此时即便角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端),或设定优先选定角度之差最小的终端作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端)等。
当接收到多个候选终端的位置信息,则先对满足预设阈值的候选终端进行筛选,得到距离小于预设距离阈值和/或角度之差小于预设角度阈值的候选终端序列,以此根据预先设定的规则对待传输终端进行选定。应当清楚,这里的规则可以根据实际应用进行设定的设定,甚至可以将所有符合预设阈值的候选终端选作为待传输终端。若规则为选定距离最近和/或角度之差最小的终端作为待传输终端,则按照距离从近到远进行排序和/或按照角度之差从小到大进行排序,当将距离信息作为判定条件时,选定距离最近的终端作为待传输终端(此时即便角度信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端);当将角度之差作为判定条件时,将角度之差最小的终端作为待传输终端(此时即便距离信息不满足预设条件,但是在一定的偏差范围内也将其判定为待传输终端);当将距离最近和角度之差同时作为判定条件时,则可以通过设定优选选定距离最近的终端作为待传输终端,或设定优先选定角度之差最小的终端作为待传输终端等,当两个候选终端的距离或角度之差相同,则根据另一条件作为选定依据。
选定了待传输终端之后,于数据界面显示确认数据传输的提示,提示用户确认需要传输的数据;具体,数据传输模块中包括:显示单元,用于于数据界面显 示确认数据传输的提示,提示用户确认需要传输的数据;确认信息接收单元,用于通过预设方式接受确认信息,预设方式包括:于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收有预设语音信息和/或预设肌电动作;发送单元,用于将选定的数据发送出去。
在本实施例中,对于数据界面上的预设触摸操作、针对终端设备的预设动作、预设语音信息、预设肌电动作均不作具体限定,预设触摸操作可以为数据界面上特定形状(如朝向一个方向滑动等)的连续滑动操作、特定形状的非连续滑动操作等;针对终端设备的预设动作可以为呈现特定形状的运动轨迹甚至速度(包括加速度、角速度等)大于一定阈值的大力摇晃等;预设语音信息可以为“发送”等不特定的语音消息;预设肌电动作可以为比心、拍掌等特定的动作。在一实例中,通过比心动作确定对于数据的传输。
在待传输终端接收到终端设备发送的消息之后,首先对于是否接收数据传输进行提示(在数据页面提示、通过声音提示等),当用户确认数据接收后,建立与终端设备之间的UWB连接,进而接收其发送的数据消息,完成数据传输。
在一实例中,终端设备为可穿戴的电话手表,UWB模块配置于电话手表表盘右侧按钮侧。用户通过电话手表选择待分享信息并确认之后,将电话手表UWB模块所在位置朝向待传输终端,并发送消息请求位置信息;根据接收的位置信息选定待传输终端之后,用户通过语音确认分享进而将待分享信息分享至待传输终端。在传输终端接收到终端设备发送的消息之后,基于用户的确认信息建立与电话手表之间的UWB连接,进而接收其发送的数据消息,实现短距离面对面的数据传输,增强数据传输的仪式感,提高数据发送准确度的同时能够很好的保护隐私信息。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序单元或模块,以完成以上描述的全部或者部分功能。实施例中的各程序模块可以集成在一个处理单元中,也可是各个单元单独物理存在,也可以两个或两个以上单元集成在一个处理单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件程序 单元的形式实现。另外,各程序模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。
图3是本发明一个实施例中提供的终端设备的结构示意图,如所示,该终端设备200包括:处理器220、存储器210以及存储在存储器210中并可在处理器220上运行的计算机程序211,例如:数据传输关联程序。处理器220执行计算机程序211时实现上述各个数据传输方法实施例中的步骤,或者,处理器220执行计算机程序211时实现上述数据传输装置实施例中各模块的功能。
终端设备200可以为笔记本、掌上电脑、平板型计算机、手机等设备。终端设备200可包括,但不仅限于处理器220、存储器210。本领域技术人员可以理解,图3仅仅是终端设备200的示例,并不构成对终端设备200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如:终端设备200还可以包括输入输出设备、显示设备、网络接入设备、总线等。
处理器220可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器220可以是微处理器或者该处理器也可以是任何常规的处理器等。
存储器210可以是终端设备200的内部存储单元,例如:终端设备200的硬盘或内存。存储器210也可以是终端设备200的外部存储设备,例如:终端设备200上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器210还可以既包括终端设备200的内部存储单元也包括外部存储设备。存储器210用于存储计算机程序211以及终端设备200所需要的其他程序和数据。存储器210还可以用于暂时地存储已经输出或者将要输出的数据。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述或记载的部分,可以参见其他实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例 的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其他的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性、机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可能集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序211发送指令给相关的硬件完成,的计算机程序211可存储于一计算机可读存储介质中,该计算机程序211在被处理器220执行时,可实现上述各个方法实施例的步骤。其中,计算机程序211包括:计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读存储介质可以包括:能够携带计算机程序211代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储 器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如:在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
应当说明的是,上述实施例均可根据需要自由组合。以上所述仅是本发明的优选实施例,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。

Claims (10)

  1. 一种数据传输方法,其特征在于,应用于配置有超宽带定位模块的终端设备,所述数据传输方法包括:
    监听是否需要进行数据传输操作;
    响应针对数据传输的操作,根据所述超宽带定位模块调整自身位置并发送位置请求;
    根据接收的至少一个位置信息确定待传输终端,所述位置信息中包括待传输终端的特定标识,所述待传输终端配置有超宽带定位模块;
    向所述待传输终端传输数据,所述待传输终端建立与终端设备之间的连接后接收所述传输数据。
  2. 如权利要求1所述的数据传输方法,其特征在于,所述监听是否需要进行数据传输操作中包括:
    监听是否有针对数据传输的预设操作;所述预设操作包括于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收预设语音信息和/或接收预设肌电动作;
    若是,确定需要进行数据传输操作。
  3. 如权利要求1或2所述的数据传输方法,其特征在于,
    所述根据接收的至少一个位置信息确定待传输终端中包括:
    接收周边候选终端发送的至少一个位置信息;
    根据接收的位置信息确定其与自身的相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
    或,所述根据接收的至少一个位置信息确定待传输终端中包括:
    接收周边候选终端发送的至少一个位置信息;
    接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
    根据接收的位置信息及所述特定方向确定相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
    或,所述根据接收的至少一个位置信息确定待传输终端中包括:
    接收周边候选终端发送的至少一个位置信息;
    接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
    根据接收的位置信息确定其与自身的相对位置信息,并根据所述相对位置信息及特定方向确定待传输终端,所述相对位置信息包括距离信息和/或角度信息。
  4. 如权利要求1或2所述的数据传输方法,其特征在于,所述向所述待传输终端传输数据中包括:
    于数据界面显示确认数据传输的提示,提示用户确认需要传输的数据;
    通过预设方式接受确认信息,所述预设方式包括:于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收有预设语音信息和/或预设肌电动作;
    将选定的数据发送出去。
  5. 一种数据传输装置,其特征在于,应用于配置有超宽带定位模块的终端,所述数据传输装置包括:
    监听模块,用于监听是否需要进行数据传输操作;
    响应模块,用于响应针对数据传输的操作,根据所述超宽带定位模块调整自身位置并发送位置请求;
    终端确定模块,用于根据接收的至少一个位置信息确定待传输终端,所述位置信息中包括待传输终端的特定标识,所述待传输终端配置有超宽带定位模块;
    数据传输模块,用于向所述待传输终端传输数据。
  6. 如权利要求5所述的数据传输装置,其特征在于,所述监听模块中包括:
    操作监听单元,用于监听针对数据传输的预设操作;所述预设操作包括于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收预设语音信息和/或接收预设肌电动作;
    判定单元,用于根据监听结果确定需要进行数据传输操作。
  7. 如权利要求5或6所述的数据传输装置,其特征在于,
    所述终端确定模块中包括:
    位置接收单元,用于接收周边候选终端发送的至少一个位置信息;
    终端确定单元,用于根据接收的位置信息确定其与自身的相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
    或,所述终端确定模块中包括:
    位置接收单元,用于接收周边候选终端发送的至少一个位置信息;
    特定操作接收单元,用于接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
    终端确定单元,用于根据接收的位置信息及所述特定方向确定相对位置信息,进而根据该相对位置信息确定待传输终端,所述相对位置信息包括距离信息和/或角度信息;
    或,所述终端确定模块中包括:
    位置接收单元,用于接收周边候选终端发送的至少一个位置信息;
    特定操作接收单元,用于接收针对终端设备的特定操作,所述特定操作包括:针对数据界面特定方向的滑动操作或针对终端设备特定方向的滑动操作;
    终端确定单元,用于根据接收的位置信息确定其与自身的相对位置信息,并根据所述相对位置信息及特定方向确定待传输终端,所述相对位置信息包括距离信息和/或角度信息。
  8. 如权利要求5或6所述的数据传输装置,其特征在于,所述数据传输模块中包括:
    显示单元,用于于数据界面显示确认数据传输的提示,提示用户确认需要传输的数据;
    确认信息接收单元,用于通过预设方式接受确认信息,所述预设方式包括:于数据界面上的预设触摸操作和/或针对终端设备的预设动作和/或接收有预设语音信息和/或预设肌电动作;
    发送单元,用于将选定的数据发送出去。
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器运行所述计算机程序时实现如权利要求1-4中任一项所述数据传输方法的步骤。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-4中任一项所述数据传输方法的步骤。
PCT/CN2021/097185 2021-04-29 2021-05-31 数据传输方法及装置、终端设备及可读存储介质 WO2022227204A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110475133.4A CN113141605A (zh) 2021-04-29 2021-04-29 数据传输方法及装置、终端设备及可读存储介质
CN202110475133.4 2021-04-29

Publications (1)

Publication Number Publication Date
WO2022227204A1 true WO2022227204A1 (zh) 2022-11-03

Family

ID=76816417

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097185 WO2022227204A1 (zh) 2021-04-29 2021-05-31 数据传输方法及装置、终端设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN113141605A (zh)
WO (1) WO2022227204A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822790B (zh) * 2021-01-08 2023-03-21 重庆创通联智物联网有限公司 数据传输方法、装置、电子设备和计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071424A1 (zh) * 2015-10-30 2017-05-04 努比亚技术有限公司 一种移动终端和分享文件的方法
CN111464941A (zh) * 2020-04-17 2020-07-28 支付宝(杭州)信息技术有限公司 数据传输的方法、终端和非暂态计算机可读存储介质
CN111526476A (zh) * 2020-04-17 2020-08-11 Oppo广东移动通信有限公司 数据传输方法、数据传输装置、存储介质与终端设备
CN112291708A (zh) * 2020-11-27 2021-01-29 歌尔科技有限公司 一种数据传输方法、装置、设备及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071424A1 (zh) * 2015-10-30 2017-05-04 努比亚技术有限公司 一种移动终端和分享文件的方法
CN111464941A (zh) * 2020-04-17 2020-07-28 支付宝(杭州)信息技术有限公司 数据传输的方法、终端和非暂态计算机可读存储介质
CN111526476A (zh) * 2020-04-17 2020-08-11 Oppo广东移动通信有限公司 数据传输方法、数据传输装置、存储介质与终端设备
CN112291708A (zh) * 2020-11-27 2021-01-29 歌尔科技有限公司 一种数据传输方法、装置、设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN113141605A (zh) 2021-07-20

Similar Documents

Publication Publication Date Title
US9961185B2 (en) Establishing an authenticated wireless connection between short-range wireless terminals more conveniently
CN107172477B (zh) 投票方法及装置
CN110166439B (zh) 设备共享方法、终端、路由器及服务器
WO2017181365A1 (zh) 一种耳机声道控制方法、相关设备及系统
EP3441874A1 (en) Scene sound effect control method, and electronic device
CN112837058A (zh) 支付方法和电子设备
CN110996305B (zh) 连接蓝牙设备的方法、装置、电子设备及介质
CN111245854B (zh) 一种媒体传输方法、媒体控制方法及装置
CN111654450A (zh) 数据传输方法及装置、存储介质
WO2017020671A1 (zh) 视频交互方法、装置及视频源设备
TW201730739A (zh) 資訊交互方法和裝置
WO2022227204A1 (zh) 数据传输方法及装置、终端设备及可读存储介质
EP3758407B1 (en) Electronic device using bluetooth communication and operating method thereof
WO2015184754A1 (zh) 一种移动终端及移动终端间实现名片交换的方法
JP5035852B2 (ja) 通信端末、制御方法、および制御プログラム
WO2021233134A1 (zh) 基于ble的通讯方法、装置、设备、系统以及存储介质
CN109600340B (zh) 操作授权方法、装置、终端以及服务器
US20130014022A1 (en) Network system, communication method, and communication terminal
CN112308569A (zh) 应用功能调用方法、装置、终端及存储介质
CN107819836A (zh) 设备信息的重置方法及装置
CN104468706A (zh) 音频文件传输方法及装置
CN109714734B (zh) Dmr系统、dmr的无线通信方法、装置及终端设备
KR102051828B1 (ko) 영상 통화 방법 및 영상 통화 중개 장치
CN110972299B (zh) 一种上行控制信息传输方法、终端和网络设备
CN112287276B (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: 21938674

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: 21938674

Country of ref document: EP

Kind code of ref document: A1