WO2015131582A1 - Method, terminal, system for short-distance data transmission, and computer storage medium - Google Patents

Method, terminal, system for short-distance data transmission, and computer storage medium Download PDF

Info

Publication number
WO2015131582A1
WO2015131582A1 PCT/CN2014/092649 CN2014092649W WO2015131582A1 WO 2015131582 A1 WO2015131582 A1 WO 2015131582A1 CN 2014092649 W CN2014092649 W CN 2014092649W WO 2015131582 A1 WO2015131582 A1 WO 2015131582A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
sub
short
data segment
transmitted
Prior art date
Application number
PCT/CN2014/092649
Other languages
French (fr)
Chinese (zh)
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 WO2015131582A1 publication Critical patent/WO2015131582A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to wireless communication technologies, and in particular, to a method, terminal, system and computer storage medium for transmitting data in close proximity.
  • the technology for transmitting data at a close distance of the terminal is constantly developing, from infrared, Bluetooth transmission, to Wireless Fidelity (WIFI), Near Field Communication (NFC) transmission, and the like.
  • WIFI Wireless Fidelity
  • NFC Near Field Communication
  • Each of the short-range data transmission technologies has its own transmission rate, and with the development of the wireless Internet, the size of data resources that need to be transmitted on the terminal is also increasing. Therefore, it is necessary to further improve the rate of short-distance transmission. .
  • embodiments of the present invention are expected to provide a method, a terminal, a system, and a computer storage medium for transmitting data in close proximity, which can improve the rate at which the terminal transmits data in close proximity.
  • an embodiment of the present invention provides a method for transmitting data in a short distance, where the method includes:
  • the transmitting terminal divides the data to be transmitted whose data size exceeds the preset threshold into at least one sub-data segment according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment; wherein the sequence corresponding to each sub-data segment Identifying an order for characterizing each of the sub-data segments in the data to be transmitted;
  • the transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
  • the sending terminal divides the data to be transmitted whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, including:
  • the sending terminal divides the single file into at least one sub data segment
  • the sending terminal segments the plurality of files according to each file, where Each sub-data segment after segmentation is a single file whose size is smaller than a preset threshold;
  • the sending terminal segments the plurality of files according to each file, and the size exceeds A single file with a preset threshold is also divided into multiple sub-data segments.
  • the sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment, including:
  • the transmitting terminal arranges all the sub-data segments according to the size, and classifies the data according to the number of the short-distance transmission modes; wherein the sub-data segments in each level correspond to a short-distance transmission mode;
  • the transmitting terminal sets a transmission order of the short-distance transmission mode corresponding to each level for the sub-data segments in each level in the order of sequence identification.
  • the sending terminal before the sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment The transmitting terminal selects a data channel of a short-distance transmission mode with the largest transmission rate in the data channel of the short-distance transmission mode with channel conflict, And shielding other data channels with short-distance transmission modes with channel conflicts.
  • an embodiment of the present invention provides a method for transmitting data in a short distance, where the method includes:
  • the receiving terminal receives at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment is used to represent the sub-data segment The order in the data to be transmitted;
  • the receiving terminal splices the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
  • the method further includes:
  • the receiving terminal determines, according to the sequence identifier, that the sub-data segment transmission is missing, the receiving terminal sends a retransmission request to the sending terminal; the retransmission request is used to request the sending terminal to retransmit the missing Sub data segment.
  • an embodiment of the present invention provides a sending terminal, where the sending terminal includes: a dividing unit, a setting unit, and a sending unit, where
  • the dividing unit is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the sub-data segments A sequence identifier corresponding to the data segment is used to represent an order of each of the sub data segments in the data to be transmitted;
  • the setting unit is configured to set a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to a size and a sequence identifier of each sub-data segment;
  • the sending unit is configured to simultaneously open the data channel of the short-distance transmission method, and send the each sub-data segment and the corresponding sequence identifier to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments to Receiving terminal.
  • the dividing unit is configured to:
  • the single file is divided into at least one sub data segment
  • the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, the multiple files are segmented according to each file, where, after segmentation Each sub-data segment is a single file whose size is less than a preset threshold;
  • the data to be transmitted is a plurality of files
  • the plurality of files include a single file size greater than a preset threshold, segmenting the multiple files according to each file, and the size exceeds a preset threshold.
  • a single file is also divided into multiple sub-data segments.
  • the setting unit is configured to:
  • All sub-data segments are arranged according to size, and are classified according to the number of short-distance transmission modes; wherein sub-data segments within each level correspond to a short-distance transmission mode;
  • the transmission order of the short-distance transmission mode corresponding to each level is set for the sub-data segments within each level in the order of the sequence identification.
  • the sending terminal further includes a selecting unit configured to select a short-distance transmission with a maximum transmission rate in a data channel with a short-distance transmission mode with channel conflicts.
  • an embodiment of the present invention provides a receiving terminal, where the receiving terminal includes a receiving unit and a splicing unit, where
  • the receiving unit is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment is used for Characterizing the order of the sub-data segments in the data to be transmitted;
  • the splicing unit is configured to splicing the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
  • the receiving terminal further includes a determining unit and a retransmission unit, where
  • the determining unit is configured to determine, according to the sequence identifier, whether a sub-data segment transmission is missing;
  • the retransmission unit is configured to: when the determining unit determines the sub data according to the sequence identifier When the segment transmission is missing, a retransmission request is sent to the transmitting terminal; the retransmission request is used to request the transmitting terminal to retransmit the missing sub-data segment.
  • an embodiment of the present invention provides a system for transmitting data in a short distance, where the system includes a sending terminal and a receiving terminal, where
  • the transmitting terminal is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the sub-data segments A sequence identifier corresponding to the data segment is used to represent an order of each of the sub data segments in the data to be transmitted;
  • the receiving terminal is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the sending terminal according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment Used to characterize the order of the sub-data segments in the data to be transmitted;
  • an embodiment of the present invention provides a computer storage medium, where the storage medium includes a set of computer executable instructions for performing a method of transmitting data at a short distance on a transmitting terminal side.
  • an embodiment of the present invention provides a computer storage medium, where the storage medium includes a set of computer executable instructions for performing a method of receiving data transmitted by a terminal at a short distance.
  • Embodiments of the present invention provide a method, terminal, system, and calculation for transmitting data in close range
  • the machine storage medium can improve the rate at which the terminal transmits data in close proximity by dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through a plurality of short-distance transmission methods.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for transmitting data in a short distance according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for transmitting data in a short distance according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for transmitting data in a short distance according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a sending terminal according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another sending terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a receiving terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another receiving terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a system for transmitting data in a short distance according to an embodiment of the present invention.
  • FIG. 1 an application scenario of an embodiment of the present invention is shown. It should be noted that the application scenario is only used to describe the technical solution of the embodiment of the present invention, and the present invention is not limited thereto. The technical solution of the embodiment of the present invention can be applied to other scenarios without creative labor.
  • the terminal 1 needs to transmit data to the terminal 2, and both terminals have three short-range communication functions of Bluetooth, WIFI, and NFC.
  • each of the terminal 1 and the terminal 2 The short-distance transmission channel is shown by the double-headed arrow in the dotted line.
  • the data to be transmitted can be a large file; it can also be multiple files, but the total data volume of all files is large.
  • FIG. 2 a method for transmitting data in a short distance according to an embodiment of the present invention is shown. The method may be used for a transmitting terminal for transmitting data in a short distance, and the method includes:
  • the transmitting terminal divides the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment;
  • the data to be transmitted may be a file whose data size exceeds a preset threshold, or may be multiple files whose data size exceeds a preset threshold; the sequence identifier corresponding to each sub data segment is used to represent the sub data segment.
  • the order in the data to be transmitted is such that the receiving terminal can splicing all the sub-data segments into complete data to be transmitted according to the sequence identification.
  • the sending terminal divides the to-be-transmitted data whose data size exceeds the preset threshold into at least one sub-data segment according to a preset dividing rule, including:
  • the single file is divided into at least one sub data segment
  • the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, multiple files are segmented according to each file, and each sub-data segment after segmentation is Each individual file whose size is less than a preset threshold;
  • the multiple files When the data to be transmitted is multiple files, and the multiple files include a single file size greater than a preset threshold, the multiple files are segmented according to each file, and a single file whose size exceeds a preset threshold is also divided. For multiple sub-data segments.
  • the transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
  • the embodiments of the present invention can transmit more data according to a short-distance transmission method with a large transmission rate, and a short-distance transmission mode with a small transmission rate.
  • the principle of transmitting a small amount of data is set.
  • the sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment, including:
  • the transmitting terminal arranges all the sub-data segments according to the size and according to the short-distance transmission mode.
  • the number of levels is divided; wherein the sub-data segment size within each level corresponds to a short-distance transmission mode;
  • the transmitting terminal sets the transmission order of the short-distance transmission mode corresponding to the level for the sub-data segments in each level in the order of the sequence identification.
  • the transmitting terminal may also be in a data channel of a short-distance transmission mode with channel conflicts, before the transmitting terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment. Select the data channel of the short-distance transmission mode with the highest transmission rate, and block other data channels with short-distance transmission mode with channel conflict.
  • S203 The transmitting terminal simultaneously starts the data channel of the short-distance transmission method, and sends the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments.
  • the sending terminal may send each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the set short-distance transmission mode and the transmission sequence.
  • each short-distance transmission mode when each short-distance transmission mode needs to transmit a plurality of sub-data segments, each short-distance transmission mode is transmitted in the order of the sub-data segments to be transmitted.
  • the embodiment of the present invention provides a method for transmitting data in a short distance. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
  • FIG. 3 shows another method for transmitting data in close distance according to an embodiment of the present invention.
  • the method may be used for receiving terminals for transmitting data in close range, and the method includes :
  • the receiving terminal receives at least one sub-data segment and a corresponding sequence identifier sent by the sending terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment;
  • the at least one sub-data segment and the corresponding sequence identifier are obtained by the transmitting terminal dividing the complete data to be transmitted according to a preset dividing rule; the sequence identifier corresponding to each sub-data segment is used to represent the sub-data.
  • the order of the segments in the data to be transmitted is not described herein again.
  • the short-distance transmission mode and the transmission sequence of each sub-data segment are also set by the transmitting terminal.
  • the specific configuration process is also specifically described in the foregoing embodiment, and details are not described herein again.
  • the receiving terminal can only receive the sub-data segment corresponding to the mode according to the corresponding short-distance transmission method.
  • the transmitting terminal transmits the sub-data segment 1 to the receiving terminal through the WIFI. It can be understood that the receiving terminal can only receive the sub-data segment 1 by means of WIFI transmission.
  • S302 The receiving terminal splices the at least one sub data segment into complete data to be transmitted according to the at least one sub data segment and the corresponding sequence identifier.
  • the receiving terminal may splicing the sub-data segments according to the sequence identifier, thereby obtaining complete data to be transmitted; and, the receiving terminal may further according to the sequence.
  • the identification determines that the transmission of the sub-data segment is missing, so that when it is determined that the transmission of the sub-data segment is missing, the transmitting terminal is requested to retransmit the missing sub-data segment.
  • the embodiment of the present invention provides a method for transmitting data in a short distance. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
  • the receiving terminal and the transmitting terminal support Bluetooth, NFC, and the transmitting terminal.
  • WIFI three short-distance transmission methods the method may include:
  • the transmitting terminal divides the data to be transmitted whose data size exceeds a preset threshold into at least one sub-block according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment;
  • the sequence identifier corresponding to each sub-data segment is used to represent the sequence of the sub-data segments in the data to be transmitted, so that the receiving terminal can splicing all the sub-data segments into complete data to be transmitted according to the sequence identifier.
  • the preset threshold may be set to 5M; then the data size exceeds the preset threshold.
  • the data to be transmitted can be caused by the following situations:
  • Case B The total size of the three files exceeds 5M, but the size of each of the three files does not exceed 5M;
  • Case C The total size of the three files exceeds 5M, and one of the three files exceeds 5M.
  • the sending terminal divides the data to be transmitted into at least one sub-data segment according to a preset dividing rule, which may be:
  • the transmitting terminal may divide a single file into five sub-data segments, and set a sequence identifier for the five sub-data segments;
  • the transmitting terminal can respectively treat each of the three files as one sub-data segment, and set the sequence identifier of the sub-data segment according to the file order;
  • the sending terminal respectively treats two files whose size does not exceed the preset threshold as a sub-data segment, and divides the file whose size exceeds the preset threshold into three sub-data segments, so that the size of each sub-data segment is Does not exceed the preset threshold.
  • the transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
  • the sequence identifiers and corresponding sizes of the sub-data segments obtained by the transmitting terminal are (A1, 1M), (A2, 2M), (A3, 2M), (A4, 1M), respectively.
  • A5, 0.5M for three short-distance transmission methods, WIFI has the highest transmission rate, NFC is the second, and Bluetooth has the lowest transmission rate; therefore, since A2 and A3 have the largest sub-data segments, they are all 2M, so A2 and A3 are transmitted by WIFI, the transmission order is in the order of sequence identification of sub-data segments, namely A2, A3; and the sizes of A1 and A4 are medium, both are 1M, so A1 and A4 are transmitted by NFC, and the transmission order is in accordance with The sequence of sequence identification of the sub-data segments, that is, A1, A4; A5 has the smallest size of 0.5M, so A5 is transmitted through Bluetooth.
  • case B and case C it can be done in the same way as case A.
  • the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment are set, and details are not described herein again.
  • the transmitting terminal may also select the data channel of the short-distance transmission mode with the largest transmission rate in the data channel of the short-distance transmission mode with channel conflict, and block other data channels of the short-distance transmission mode with channel conflict. For example, when both the transmitting terminal and the receiving terminal support another short-distance transmission mode that conflicts with the data channel transmitted by the Bluetooth, the transmitting terminal can shield the data channels of other short-distance transmission modes.
  • the transmitting terminal simultaneously starts the data channel of the short-distance transmission method, and sends the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments;
  • the three data channels can simultaneously transmit the sub-blocks A2, A1, and A5.
  • the processing is the same as that of case A, and details are not described herein again.
  • the method of transmitting sub-blocks simultaneously by multiple short-distance transmission methods can fully utilize the data transmission capability of each short-distance transmission mode, and the data transmission is improved compared with the current single-distance transmission method. rate.
  • S404 After receiving, by the receiving terminal, the at least one sub-data segment and the corresponding sequence identifier sent by the sending terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment, the receiving terminal according to the at least one sub-data segment and the corresponding sequence identifier The at least one sub-data segment is spliced into a complete data to be transmitted.
  • the receiving terminal since the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment are also set by the transmitting terminal, the receiving terminal only needs to receive the sub-data segment corresponding to the mode according to the corresponding short-distance transmission method. For example, for the foregoing case A, the transmitting terminal transmits A2 to the receiving terminal through WIFI. It can be understood that the receiving terminal can only receive the sub-data segment A2 by means of WIFI transmission.
  • the role of the sequence identifier is to characterize the order of the sub-data segments in the data to be transmitted. Therefore, the receiving terminal may splicing all the sub-data segments according to the sequence identifier of the sub-data segments to obtain data to be transmitted. Moreover, the receiving terminal may further determine the transmission loss of the sub-data segment according to the sequence identifier, so that when determining that the sub-data segment transmission is missing, the transmitting terminal may be requested to retransmit the missing sub-data segment.
  • the embodiment of the present invention provides a method for transmitting data in a short distance. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
  • the transmitting terminal 50 may include: a dividing unit 501, a setting unit 502, and a sending unit 503. ,among them,
  • the dividing unit 501 is configured to divide the data to be transmitted whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment;
  • the sequence identifier corresponding to the sub-data segments is used to represent the order of each of the sub-data segments in the data to be transmitted;
  • the setting unit 502 is configured to set a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
  • the sending unit 503 is configured to simultaneously open the data channel of the short-distance transmission method, and send the each sub-data segment and the corresponding sequence identifier according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments. To the receiving terminal.
  • the dividing unit 501 is configured to:
  • the single file is divided into at least one sub data segment
  • the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, the multiple files are segmented according to each file, where, after segmentation Each sub-data segment is a single file whose size is less than a preset threshold;
  • the data to be transmitted is a plurality of files
  • the plurality of files include a single file
  • the plurality of files are segmented according to each file, and a single file whose size exceeds a preset threshold is also divided into a plurality of sub-data segments.
  • the setting unit 502 is configured to:
  • All sub-data segments are arranged according to size, and are classified according to the number of short-distance transmission modes; wherein sub-data segments within each level correspond to a short-distance transmission mode;
  • the transmission order of the short-distance transmission mode corresponding to each level is set for the sub-data segments within each level in the order of the sequence identification.
  • the sending terminal 50 further includes a selecting unit 504 configured to select a data channel of a short-distance transmission mode with the largest transmission rate in a data channel with a short-distance transmission mode with channel conflict, and shield other channel collisions with channel conflicts. Data channel for short-distance transmission.
  • the embodiment of the present invention provides a transmitting terminal 50.
  • a transmitting terminal 50 By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
  • the receiving terminal 70 may include: a receiving unit 701 and a splicing unit 702, where
  • the receiving unit 701 is configured to receive, according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment, at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal, where the sequence identifier corresponding to each sub-data segment is used. Characterizing the order of the sub-data segments in the data to be transmitted;
  • the splicing unit 702 is configured to splicing the at least one sub data segment into complete data to be transmitted according to the at least one sub data segment and the corresponding sequence identifier.
  • the receiving terminal 70 further includes a determining unit 703 and a retransmission unit 704, where
  • the determining unit 703 is configured to determine, according to the sequence identifier, whether the sub-data segment transmission is missing;
  • the retransmission unit 704 is configured to send a retransmission request to the sending terminal when the determining unit determines that the sub data segment transmission is missing according to the sequence identifier; the retransmission request is used to request the sending terminal to re Transmitting the missing sub-data segment.
  • the embodiment of the present invention provides a receiving terminal 70, which can improve the rate at which the terminal transmits data in close proximity by dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods.
  • a system 90 for transmitting data in close proximity according to an embodiment of the present invention is shown, where the system includes a transmitting terminal 50 and a receiving terminal 70, where
  • the sending terminal 50 is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the foregoing The sequence identifier corresponding to the sub-data segments is used to represent the order of each of the sub-data segments in the data to be transmitted;
  • the receiving terminal 70 is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the sending terminal 50 according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein each sub-data segment corresponds to The sequence identifier is used to characterize the order of the sub data segments in the data to be transmitted;
  • the embodiment of the present invention provides a system 90 for transmitting data in close proximity. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate of data transmission by the terminal in a short distance can be improved. .
  • An embodiment of the present invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for performing a method of transmitting data at a short distance on a transmitting terminal side.
  • An embodiment of the present invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for performing a method of receiving data transmitted by a terminal at a short distance.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation in the stream The steps of a function specified in one or more processes and/or block diagrams in one or more blocks.

Landscapes

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

Abstract

A method, terminal, and system for short-distance data transmission are disclosed in embodiments of the present invention. The method comprises: a sending terminal, in accordance with preset division rules, divides into at least one data sub-segment data to be transmitted that has a data size exceeding a preset threshold value, and then provides each data sub-segment with a corresponding sequencing mark; the sending terminal, in accordance with the size and sequencing mark of each data sub-segment, sets a short-distance transmission method and transmission order for each data sub-segment; the sending terminal simultaneously initiates a data channel for the short-distance transmission method and, on the basis of said transmission method and transmission order for each data sub-segment, sends to a receiving terminal each of said data sub-segments and the corresponding sequence markers.

Description

近距离传输数据的方法、终端、系统和计算机存储介质Method, terminal, system and computer storage medium for transmitting data at close range 技术领域Technical field
本发明涉及无线通信技术,尤其涉及一种近距离传输数据的方法、终端、系统和计算机存储介质。The present invention relates to wireless communication technologies, and in particular, to a method, terminal, system and computer storage medium for transmitting data in close proximity.
背景技术Background technique
当前终端近距离传输数据的技术不断发展,从红外线、蓝牙传输,到无线保真(WIFI,Wireless Fidelity)、近场通信(NFC,Near Field Communication)传输等等。每种近距离数据传输技术都具有各自的传输速率,而随着无线互联网的发展,在终端上需要传输的数据资源的大小也越来越大,因此,目前需要进一步地提高近距离传输的速率。At present, the technology for transmitting data at a close distance of the terminal is constantly developing, from infrared, Bluetooth transmission, to Wireless Fidelity (WIFI), Near Field Communication (NFC) transmission, and the like. Each of the short-range data transmission technologies has its own transmission rate, and with the development of the wireless Internet, the size of data resources that need to be transmitted on the terminal is also increasing. Therefore, it is necessary to further improve the rate of short-distance transmission. .
发明内容Summary of the invention
为解决上述技术问题,本发明实施例期望提供一种近距离传输数据的方法、终端、系统和计算机存储介质,能够提高终端近距离传输数据的速率。In order to solve the above technical problem, embodiments of the present invention are expected to provide a method, a terminal, a system, and a computer storage medium for transmitting data in close proximity, which can improve the rate at which the terminal transmits data in close proximity.
第一方面,本发明实施例提供了一种近距离传输数据的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for transmitting data in a short distance, where the method includes:
发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The transmitting terminal divides the data to be transmitted whose data size exceeds the preset threshold into at least one sub-data segment according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment; wherein the sequence corresponding to each sub-data segment Identifying an order for characterizing each of the sub-data segments in the data to be transmitted;
所述发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;The transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
所述发送终端同时开启所述近距离传输方法的数据通道,并根据所述 每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端。Transmitting, by the transmitting terminal, the data channel of the short-distance transmission method, and according to the The short-distance transmission mode and the transmission sequence corresponding to each sub-data segment send the each sub-data segment and the corresponding sequence identifier to the receiving terminal.
根据第一种可能的实现方式,结合第一方面,所述发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,包括:According to the first possible implementation, in combination with the first aspect, the sending terminal divides the data to be transmitted whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, including:
当所述待传输数据为单个文件且文件大小大于预设阈值时,所述发送终端将所述单个文件划分为至少一个子数据段;When the data to be transmitted is a single file and the file size is greater than a preset threshold, the sending terminal divides the single file into at least one sub data segment;
当所述待传输数据为多个文件、所述多个文件总大小大于预设阈值且单个文件大小小于预设阈值时,所述发送终端将所述多个文件按照各个文件进行分段,其中,分段后的每个子数据段为大小小于预设阈值的各单个文件;When the data to be transmitted is a plurality of files, the total size of the plurality of files is greater than a preset threshold, and the single file size is less than a preset threshold, the sending terminal segments the plurality of files according to each file, where Each sub-data segment after segmentation is a single file whose size is smaller than a preset threshold;
当所述待传输数据为多个文件,且所述多个文件中包括了单个文件大小大于预设阈值时,所述发送终端将所述多个文件按照各个文件进行分段,并且将大小超过预设阈值的单个文件也划分为多个子数据段。When the data to be transmitted is a plurality of files, and the plurality of files include a single file size greater than a preset threshold, the sending terminal segments the plurality of files according to each file, and the size exceeds A single file with a preset threshold is also divided into multiple sub-data segments.
根据第二种可能的实现方式,结合第一方面,所述发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序,包括:According to the second possible implementation, in combination with the first aspect, the sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment, including:
所述发送终端将所有子数据段按照大小进行排列,并根据近距离传输方式的数量划分等级;其中,每个等级内的子数据段对应一种近距离传输方式;The transmitting terminal arranges all the sub-data segments according to the size, and classifies the data according to the number of the short-distance transmission modes; wherein the sub-data segments in each level correspond to a short-distance transmission mode;
所述发送终端按照序列标识的顺序为每个等级内的子数据段设置所述每个等级对应的近距离传输方式的传输顺序。The transmitting terminal sets a transmission order of the short-distance transmission mode corresponding to each level for the sub-data segments in each level in the order of sequence identification.
根据第三种可能的实现方式,结合第二种可能的实现方式,在所述发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序之前,所述发送终端在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道, 且屏蔽其他具有信道冲突的近距离传输方式的数据通道。According to a third possible implementation manner, in combination with the second possible implementation manner, before the sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment The transmitting terminal selects a data channel of a short-distance transmission mode with the largest transmission rate in the data channel of the short-distance transmission mode with channel conflict, And shielding other data channels with short-distance transmission modes with channel conflicts.
第二方面,本发明实施例提供了一种近距离传输数据的方法,所述方法包括:In a second aspect, an embodiment of the present invention provides a method for transmitting data in a short distance, where the method includes:
接收终端按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving terminal receives at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment is used to represent the sub-data segment The order in the data to be transmitted;
所述接收终端根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。The receiving terminal splices the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
根据第一种可能的实现方式,结合第二方面,所述方法还包括:According to a first possible implementation, in combination with the second aspect, the method further includes:
当所述接收终端根据所述序列标识确定子数据段传输缺失时,所述接收终端向所述发送终端发送重传请求;所述重传请求用于请求所述发送终端重新传输所述缺失的子数据段。And when the receiving terminal determines, according to the sequence identifier, that the sub-data segment transmission is missing, the receiving terminal sends a retransmission request to the sending terminal; the retransmission request is used to request the sending terminal to retransmit the missing Sub data segment.
第三方面,本发明实施例提供了一种发送终端,所述发送终端包括:划分单元、设置单元和发送单元,其中,In a third aspect, an embodiment of the present invention provides a sending terminal, where the sending terminal includes: a dividing unit, a setting unit, and a sending unit, where
所述划分单元,配置为将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The dividing unit is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the sub-data segments A sequence identifier corresponding to the data segment is used to represent an order of each of the sub data segments in the data to be transmitted;
所述设置单元,配置为按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;The setting unit is configured to set a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to a size and a sequence identifier of each sub-data segment;
所述发送单元,配置为同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端。The sending unit is configured to simultaneously open the data channel of the short-distance transmission method, and send the each sub-data segment and the corresponding sequence identifier to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments to Receiving terminal.
根据第一种可能的实现方式,结合第三方面,所述划分单元,配置为:According to a first possible implementation manner, in combination with the third aspect, the dividing unit is configured to:
当所述待传输数据为单个文件且文件大小大于预设阈值时,将所述单个文件划分为至少一个子数据段; When the data to be transmitted is a single file and the file size is greater than a preset threshold, the single file is divided into at least one sub data segment;
当所述待传输数据为多个文件、所述多个文件总大小大于预设阈值且单个文件大小小于预设阈值时,将所述多个文件按照各个文件进行分段,其中,分段后的每个子数据段为大小小于预设阈值的各单个文件;When the data to be transmitted is multiple files, the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, the multiple files are segmented according to each file, where, after segmentation Each sub-data segment is a single file whose size is less than a preset threshold;
当所述待传输数据为多个文件,且所述多个文件中包括了单个文件大小大于预设阈值时,将所述多个文件按照各个文件进行分段,并且将大小超过预设阈值的单个文件也划分为多个子数据段。When the data to be transmitted is a plurality of files, and the plurality of files include a single file size greater than a preset threshold, segmenting the multiple files according to each file, and the size exceeds a preset threshold. A single file is also divided into multiple sub-data segments.
根据第二种可能的实现方式,结合第三方面,所述设置单元配置为:According to a second possible implementation manner, in combination with the third aspect, the setting unit is configured to:
将所有子数据段按照大小进行排列,并根据近距离传输方式的数量划分等级;其中,每个等级内的子数据段对应一种近距离传输方式;All sub-data segments are arranged according to size, and are classified according to the number of short-distance transmission modes; wherein sub-data segments within each level correspond to a short-distance transmission mode;
以及,按照序列标识的顺序为每个等级内的子数据段设置所述每个等级对应的近距离传输方式的传输顺序。And, the transmission order of the short-distance transmission mode corresponding to each level is set for the sub-data segments within each level in the order of the sequence identification.
根据第三种可能的实现方式,结合第二种可能的实现方式,所述发送终端还包括选取单元,配置为在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道,且屏蔽其他具有信道冲突的近距离传输方式的数据通道。According to a third possible implementation manner, in combination with the second possible implementation manner, the sending terminal further includes a selecting unit configured to select a short-distance transmission with a maximum transmission rate in a data channel with a short-distance transmission mode with channel conflicts. The data channel of the mode, and shielding other data channels of the short-distance transmission mode with channel conflict.
第四方面,本发明实施例提供了一种接收终端,所述接收终端包括接收单元和拼接单元,其中,In a fourth aspect, an embodiment of the present invention provides a receiving terminal, where the receiving terminal includes a receiving unit and a splicing unit, where
所述接收单元,配置为按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving unit is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment is used for Characterizing the order of the sub-data segments in the data to be transmitted;
所述拼接单元,配置为根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。The splicing unit is configured to splicing the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
根据第一种可能的实现方式,结合第四方面,所述接收终端还包括确定单元和重传单元,其中,According to a first possible implementation manner, in combination with the fourth aspect, the receiving terminal further includes a determining unit and a retransmission unit, where
所述确定单元,配置为根据所述序列标识确定子数据段传输是否缺失;The determining unit is configured to determine, according to the sequence identifier, whether a sub-data segment transmission is missing;
所述重传单元,配置为当所述确定单元根据所述序列标识确定子数据 段传输缺失时,向所述发送终端发送重传请求;所述重传请求用于请求所述发送终端重新传输所述缺失的子数据段。The retransmission unit is configured to: when the determining unit determines the sub data according to the sequence identifier When the segment transmission is missing, a retransmission request is sent to the transmitting terminal; the retransmission request is used to request the transmitting terminal to retransmit the missing sub-data segment.
第五方面,本发明实施例提供了一种近距离传输数据的系统,所述系统包括发送终端和接收终端,其中,In a fifth aspect, an embodiment of the present invention provides a system for transmitting data in a short distance, where the system includes a sending terminal and a receiving terminal, where
所述发送终端,配置为将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The transmitting terminal is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the sub-data segments A sequence identifier corresponding to the data segment is used to represent an order of each of the sub data segments in the data to be transmitted;
以及,按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;And setting, according to the size and sequence identifier of each sub-data segment, a short-distance transmission mode and a transmission sequence corresponding to each of the sub-data segments;
以及,同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至所述接收终端;And simultaneously opening the data channel of the short-distance transmission method, and sending the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments;
所述接收终端,配置为按照每个子数据段对应的近距离传输方式和传输顺序接收由所述发送终端发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving terminal is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the sending terminal according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment Used to characterize the order of the sub-data segments in the data to be transmitted;
以及,根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。And splicing the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
第六方面,本发明实施例提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行发送终端侧的近距离传输数据的方法。In a sixth aspect, an embodiment of the present invention provides a computer storage medium, where the storage medium includes a set of computer executable instructions for performing a method of transmitting data at a short distance on a transmitting terminal side.
第七方面,本发明实施例提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行接收终端侧的近距离传输数据的方法。In a seventh aspect, an embodiment of the present invention provides a computer storage medium, where the storage medium includes a set of computer executable instructions for performing a method of receiving data transmitted by a terminal at a short distance.
本发明实施例提供了一种近距离传输数据的方法、终端、系统和计算 机存储介质,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。Embodiments of the present invention provide a method, terminal, system, and calculation for transmitting data in close range The machine storage medium can improve the rate at which the terminal transmits data in close proximity by dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through a plurality of short-distance transmission methods.
附图说明DRAWINGS
图1为本发明实施例提供的一种应用场景示意图;FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present disclosure;
图2为本发明实施例提供的一种近距离传输数据的方法流程示意图;2 is a schematic flowchart of a method for transmitting data in a short distance according to an embodiment of the present invention;
图3为本发明实施例提供的另一种近距离传输数据的方法流程示意图;3 is a schematic flowchart of another method for transmitting data in a short distance according to an embodiment of the present invention;
图4为本发明实施例提供的一种近距离传输数据的方法详细流程示意图;4 is a schematic flowchart of a method for transmitting data in a short distance according to an embodiment of the present invention;
图5为本发明实施例提供的一种发送终端的结构示意图;FIG. 5 is a schematic structural diagram of a sending terminal according to an embodiment of the present disclosure;
图6为本发明实施例提供的另一种发送终端的结构示意图;FIG. 6 is a schematic structural diagram of another sending terminal according to an embodiment of the present disclosure;
图7为本发明实施例提供的一种接收终端的结构示意图;FIG. 7 is a schematic structural diagram of a receiving terminal according to an embodiment of the present disclosure;
图8为本发明实施例提供的另一种接收终端的结构示意图;FIG. 8 is a schematic structural diagram of another receiving terminal according to an embodiment of the present disclosure;
图9为本发明实施例提供的一种近距离传输数据的系统结构示意图。FIG. 9 is a schematic structural diagram of a system for transmitting data in a short distance according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
参见图1,其示出了本发明实施例提供的一种应用场景,需要说明的是,该应用场景仅用于说明本发明实施例的技术方案,并不对本发明进行任何限定,本领域技术人员可以无需创造性劳动而将本发明实施例的技术方案应用于其他场景。Referring to FIG. 1 , an application scenario of an embodiment of the present invention is shown. It should be noted that the application scenario is only used to describe the technical solution of the embodiment of the present invention, and the present invention is not limited thereto. The technical solution of the embodiment of the present invention can be applied to other scenarios without creative labor.
在图1所述的场景中,终端1需要将数据传输至终端2,两个终端都具有蓝牙、WIFI和NFC这三种近距离通信功能,图1中,终端1与终端2之间的各近距离传输通道如图虚线双向箭头所示,待传输的数据可以是一个较大的文件;也可以是多个文件,但所有文件的总数据量较大。在图1 所示的场景中,参见图2,其示出了本发明实施例提供的一种近距离传输数据的方法流程,该方法可以用于近距离传输数据的发送终端,该方法包括:In the scenario described in FIG. 1, the terminal 1 needs to transmit data to the terminal 2, and both terminals have three short-range communication functions of Bluetooth, WIFI, and NFC. In FIG. 1, each of the terminal 1 and the terminal 2 The short-distance transmission channel is shown by the double-headed arrow in the dotted line. The data to be transmitted can be a large file; it can also be multiple files, but the total data volume of all files is large. In Figure 1 In the illustrated scenario, referring to FIG. 2, a method for transmitting data in a short distance according to an embodiment of the present invention is shown. The method may be used for a transmitting terminal for transmitting data in a short distance, and the method includes:
S201:发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;S201: The transmitting terminal divides the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment;
需要说明的是,待传输数据可以是单个数据大小超过预设阈值的文件,也可以是数据大小总和超过预设阈值的多个文件;每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序,以使得接收终端能够根据序列标识将所有子数据段拼接成完整的待传输数据。It should be noted that the data to be transmitted may be a file whose data size exceeds a preset threshold, or may be multiple files whose data size exceeds a preset threshold; the sequence identifier corresponding to each sub data segment is used to represent the sub data segment. The order in the data to be transmitted is such that the receiving terminal can splicing all the sub-data segments into complete data to be transmitted according to the sequence identification.
其中,发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,包括:The sending terminal divides the to-be-transmitted data whose data size exceeds the preset threshold into at least one sub-data segment according to a preset dividing rule, including:
当待传输数据为单个文件且文件大小大于预设阈值时,将所述单个文件划分为至少一个子数据段;When the data to be transmitted is a single file and the file size is greater than a preset threshold, the single file is divided into at least one sub data segment;
当待传输数据为多个文件、所述多个文件总大小大于预设阈值且单个文件大小小于预设阈值时,将多个文件按照各个文件进行分段,分段后的每个子数据段为大小小于预设阈值的各单个文件;When the data to be transmitted is multiple files, the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, multiple files are segmented according to each file, and each sub-data segment after segmentation is Each individual file whose size is less than a preset threshold;
当待传输数据为多个文件,且所述多个文件中包括了单个文件大小大于预设阈值时,将多个文件按照各个文件进行分段,并且将大小超过预设阈值的单个文件也划分为多个子数据段。When the data to be transmitted is multiple files, and the multiple files include a single file size greater than a preset threshold, the multiple files are segmented according to each file, and a single file whose size exceeds a preset threshold is also divided. For multiple sub-data segments.
S202:发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;S202: The transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
需要进行说明的是,由于各近距离传输方式的传输速率是不一致的,因此,本发明实施例可以按照传输速率大的近距离传输方法传输较多的数据量,传输速率小的近距离传输方式传输较小的数据量的原则进行设置。It should be noted that, because the transmission rates of the short-distance transmission modes are inconsistent, the embodiments of the present invention can transmit more data according to a short-distance transmission method with a large transmission rate, and a short-distance transmission mode with a small transmission rate. The principle of transmitting a small amount of data is set.
其中,发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序,包括:The sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment, including:
发送终端将所有子数据段按照大小进行排列,并根据近距离传输方式 的数量划分等级;其中,每个等级内的子数据段大小对应一种近距离传输方式;The transmitting terminal arranges all the sub-data segments according to the size and according to the short-distance transmission mode. The number of levels is divided; wherein the sub-data segment size within each level corresponds to a short-distance transmission mode;
发送终端按照序列标识的顺序为每个等级内的子数据段设置该等级对应的近距离传输方式的传输顺序。The transmitting terminal sets the transmission order of the short-distance transmission mode corresponding to the level for the sub-data segments in each level in the order of the sequence identification.
其中,在发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序之前,发送终端还可以在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道,且屏蔽其他具有信道冲突的近距离传输方式的数据通道。The transmitting terminal may also be in a data channel of a short-distance transmission mode with channel conflicts, before the transmitting terminal sets the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment. Select the data channel of the short-distance transmission mode with the highest transmission rate, and block other data channels with short-distance transmission mode with channel conflict.
S203:发送终端同时开启近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端。S203: The transmitting terminal simultaneously starts the data channel of the short-distance transmission method, and sends the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments.
需要说明的是,在设置完成后,发送终端可以根据设置好的近距离传输方式和传输顺序将每个子数据段及对应的序列标识发送至接收终端。It should be noted that, after the setting is completed, the sending terminal may send each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the set short-distance transmission mode and the transmission sequence.
其中,当每个近距离传输方式需要传输多个子数据段时,各近距离传输方式按照需要传输的子数据段的顺序进行传输。Wherein, when each short-distance transmission mode needs to transmit a plurality of sub-data segments, each short-distance transmission mode is transmitted in the order of the sub-data segments to be transmitted.
本发明实施例提供了一种近距离传输数据的方法,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。The embodiment of the present invention provides a method for transmitting data in a short distance. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
基于前述实施例相同的技术构思,参见图3,其示出了本发明实施例提供的另一种近距离传输数据的方法流程,该方法可以用于近距离传输数据的接收终端,该方法包括:Based on the same technical concept of the foregoing embodiment, referring to FIG. 3, it shows another method for transmitting data in close distance according to an embodiment of the present invention. The method may be used for receiving terminals for transmitting data in close range, and the method includes :
S301:接收终端按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识;S301: The receiving terminal receives at least one sub-data segment and a corresponding sequence identifier sent by the sending terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment;
其中,所述至少一个子数据段及对应的序列标识是由发送终端将完整的待传输数据按照预设的划分规则进行划分后得到的;每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序。具体的划分过程 前述实施例已有具体描述,在此不再赘述。The at least one sub-data segment and the corresponding sequence identifier are obtained by the transmitting terminal dividing the complete data to be transmitted according to a preset dividing rule; the sequence identifier corresponding to each sub-data segment is used to represent the sub-data. The order of the segments in the data to be transmitted. Specific division process The foregoing embodiment has been specifically described, and details are not described herein again.
每个子数据段对应的近距离传输方式和传输顺序也是由发送终端进行设置,具体的设置过程前述实施例也有具体描述,在此不再赘述。当发送终端为每个子数据段及对应的序列标识设置号对应的近距离传输方式之后,接收终端也只能按照对应的近距离传输方法接收该方式对应的子数据段。例如,发送终端将子数据段1通过WIFI传输至接收终端,可以理解的,接收终端也仅能通过WIFI传输的方式接收子数据段1。The short-distance transmission mode and the transmission sequence of each sub-data segment are also set by the transmitting terminal. The specific configuration process is also specifically described in the foregoing embodiment, and details are not described herein again. After the sending terminal performs the short-distance transmission mode corresponding to each sub-data segment and the corresponding sequence identifier setting number, the receiving terminal can only receive the sub-data segment corresponding to the mode according to the corresponding short-distance transmission method. For example, the transmitting terminal transmits the sub-data segment 1 to the receiving terminal through the WIFI. It can be understood that the receiving terminal can only receive the sub-data segment 1 by means of WIFI transmission.
S302:接收终端根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。S302: The receiving terminal splices the at least one sub data segment into complete data to be transmitted according to the at least one sub data segment and the corresponding sequence identifier.
示例性地,在接收到接收终端发送的子数据段及对应的序列标识之后,接收终端可以按照序列标识对子数据段进行拼接,从而得到完整的待传输数据;而且,接收终端还可以根据序列标识确定子数据段的传输缺失,从而可以在确定子数据段传输缺失时,向发送终端请求重新传输缺失的子数据段。Illustratively, after receiving the sub-data segment and the corresponding sequence identifier sent by the receiving terminal, the receiving terminal may splicing the sub-data segments according to the sequence identifier, thereby obtaining complete data to be transmitted; and, the receiving terminal may further according to the sequence. The identification determines that the transmission of the sub-data segment is missing, so that when it is determined that the transmission of the sub-data segment is missing, the transmitting terminal is requested to retransmit the missing sub-data segment.
本发明实施例提供了一种近距离传输数据的方法,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。The embodiment of the present invention provides a method for transmitting data in a short distance. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
参见图4,其示出了本发明实施例提供的一种近距离传输数据的方法的详细流程,在本实施例中,用于进行实例说明的,接收终端和发送终端均支持蓝牙、NFC和WIFI三种近距离传输方式,该方法可以包括:Referring to FIG. 4, a detailed flow of a method for transmitting data in a short distance according to an embodiment of the present invention is shown. In this embodiment, the receiving terminal and the transmitting terminal support Bluetooth, NFC, and the transmitting terminal. WIFI three short-distance transmission methods, the method may include:
S401:发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据块,并为每个子数据段设置对应的序列标识;S401: The transmitting terminal divides the data to be transmitted whose data size exceeds a preset threshold into at least one sub-block according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment;
其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序,以使得接收终端能够根据序列标识将所有子数据段拼接成完整的待传输数据;The sequence identifier corresponding to each sub-data segment is used to represent the sequence of the sub-data segments in the data to be transmitted, so that the receiving terminal can splicing all the sub-data segments into complete data to be transmitted according to the sequence identifier.
在本实施例中,预设阈值可以设置为5M;那么数据大小超过预设阈值 的待传输数据可以由以下几种情况:In this embodiment, the preset threshold may be set to 5M; then the data size exceeds the preset threshold. The data to be transmitted can be caused by the following situations:
情况A:单个文件大小超过5M;Case A: The size of a single file exceeds 5M;
情况B:三个文件的总大小超过5M,但三个文件中每个文件的大小均没有超过5M;Case B: The total size of the three files exceeds 5M, but the size of each of the three files does not exceed 5M;
情况C:三个文件的总大小超过5M,且三个文件的其中一个文件大小超过5M。Case C: The total size of the three files exceeds 5M, and one of the three files exceeds 5M.
针对以上三种情况,在本实施例中,发送终端按照预设的划分规则将待传输数据划分为至少一个子数据段分别可以为:For the above three cases, in the embodiment, the sending terminal divides the data to be transmitted into at least one sub-data segment according to a preset dividing rule, which may be:
对于情况A,发送终端可以将单个文件划分为5个子数据段,并为这5个子数据段设置序列标识;For case A, the transmitting terminal may divide a single file into five sub-data segments, and set a sequence identifier for the five sub-data segments;
对于情况B,发送终端可以将三个文件各自分别作为一个子数据段,并按照文件顺序设置子数据段的序列标识;For case B, the transmitting terminal can respectively treat each of the three files as one sub-data segment, and set the sequence identifier of the sub-data segment according to the file order;
对于情况C,发送终端将两个大小不超过预设阈值的文件各自分别作为一个子数据段,并将大小超过预设阈值的文件划分为三个子数据段,从而使得每个子数据段的大小均不超过预设的阈值。For case C, the sending terminal respectively treats two files whose size does not exceed the preset threshold as a sub-data segment, and divides the file whose size exceeds the preset threshold into three sub-data segments, so that the size of each sub-data segment is Does not exceed the preset threshold.
S402:发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;S402: The transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
在本实施例中,对于情况A,发送终端划分得到的子数据段的序列标识及对应的大小分别为(A1,1M)、(A2,2M)、(A3,2M)、(A4,1M)、(A5,0.5M);而对于三种近距离传输方式来说,WIFI的传输速率最高,NFC次之,蓝牙的传输速率最低;因此,由于A2和A3的子数据段大小最大,均为2M,所以A2和A3由WIFI传输,传输顺序按照子数据段的序列标识顺序,即A2,A3;而A1和A4的大小中等,均为1M,所以,A1和A4由NFC传输,传输顺序按照子数据段的序列标识顺序,即A1,A4;A5的大小最小,为0.5M,因此A5通过蓝牙传输。In this embodiment, for case A, the sequence identifiers and corresponding sizes of the sub-data segments obtained by the transmitting terminal are (A1, 1M), (A2, 2M), (A3, 2M), (A4, 1M), respectively. (A5, 0.5M); for three short-distance transmission methods, WIFI has the highest transmission rate, NFC is the second, and Bluetooth has the lowest transmission rate; therefore, since A2 and A3 have the largest sub-data segments, they are all 2M, so A2 and A3 are transmitted by WIFI, the transmission order is in the order of sequence identification of sub-data segments, namely A2, A3; and the sizes of A1 and A4 are medium, both are 1M, so A1 and A4 are transmitted by NFC, and the transmission order is in accordance with The sequence of sequence identification of the sub-data segments, that is, A1, A4; A5 has the smallest size of 0.5M, so A5 is transmitted through Bluetooth.
可以理解的,对于情况B和情况C,均可以按照情况A同样的方式对 所述每个子数据段对应的近距离传输方式和传输顺序进行设置,在此不再赘述。It can be understood that for case B and case C, it can be done in the same way as case A. The short-distance transmission mode and the transmission sequence corresponding to each sub-data segment are set, and details are not described herein again.
在步骤S402之前,发送终端还可以在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道,且屏蔽其他具有信道冲突的近距离传输方式的数据通道。例如,当发送终端和接收终端均支持一个与蓝牙传输的数据通道相冲突的其他近距离传输方式时,发送终端可以将其他近距离传输方式的数据通道进行屏蔽。Before the step S402, the transmitting terminal may also select the data channel of the short-distance transmission mode with the largest transmission rate in the data channel of the short-distance transmission mode with channel conflict, and block other data channels of the short-distance transmission mode with channel conflict. For example, when both the transmitting terminal and the receiving terminal support another short-distance transmission mode that conflicts with the data channel transmitted by the Bluetooth, the transmitting terminal can shield the data channels of other short-distance transmission modes.
S403:发送终端同时开启近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端;S403: The transmitting terminal simultaneously starts the data channel of the short-distance transmission method, and sends the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments;
在本实施例中,对于情况A,发送终端同时开启WIFI、NFC和蓝牙数据通道后,三个数据通道可以分别同时传输子数据块A2、A1和A5。对于情况B和C,与情况A的处理方式相同,在此不再赘述。这样可以通过多种近距离传输方式同时传输的子数据块的方法,能够充分地利用各近距离传输方式的数据传输能力,与目前仅通过单一的近距离传输方式相比,提高了数据传输的速率。In this embodiment, for the case A, after the transmitting terminal simultaneously turns on the WIFI, NFC, and Bluetooth data channels, the three data channels can simultaneously transmit the sub-blocks A2, A1, and A5. For cases B and C, the processing is the same as that of case A, and details are not described herein again. In this way, the method of transmitting sub-blocks simultaneously by multiple short-distance transmission methods can fully utilize the data transmission capability of each short-distance transmission mode, and the data transmission is improved compared with the current single-distance transmission method. rate.
S404:接收终端按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识之后,根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。S404: After receiving, by the receiving terminal, the at least one sub-data segment and the corresponding sequence identifier sent by the sending terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment, the receiving terminal according to the at least one sub-data segment and the corresponding sequence identifier The at least one sub-data segment is spliced into a complete data to be transmitted.
需要说明的是,由于每个子数据段对应的近距离传输方式和传输顺序也是由发送终端进行设置,因此,接收终端只需要按照对应的近距离传输方法接收该方式对应的子数据段。例如,对于前述的情况A,发送终端将A2通过WIFI传输至接收终端,可以理解的,接收终端也仅能通过WIFI传输的方式接收子数据段A2。It should be noted that, since the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment are also set by the transmitting terminal, the receiving terminal only needs to receive the sub-data segment corresponding to the mode according to the corresponding short-distance transmission method. For example, for the foregoing case A, the transmitting terminal transmits A2 to the receiving terminal through WIFI. It can be understood that the receiving terminal can only receive the sub-data segment A2 by means of WIFI transmission.
而且,序列标识的作用是用于表征子数据段在待传输数据中的顺序, 因此,接收终端可以按照子数据段的序列标识将所有子数据段进行拼接,得到待传输数据。而且,接收终端还可以根据序列标识确定子数据段的传输缺失,从而可以在确定子数据段传输缺失时,向发送终端请求重新传输缺失的子数据段。Moreover, the role of the sequence identifier is to characterize the order of the sub-data segments in the data to be transmitted. Therefore, the receiving terminal may splicing all the sub-data segments according to the sequence identifier of the sub-data segments to obtain data to be transmitted. Moreover, the receiving terminal may further determine the transmission loss of the sub-data segment according to the sequence identifier, so that when determining that the sub-data segment transmission is missing, the transmitting terminal may be requested to retransmit the missing sub-data segment.
本发明实施例提供了一种近距离传输数据的方法,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。The embodiment of the present invention provides a method for transmitting data in a short distance. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
基于前述实施例相同的技术构思,参见图5,其示出了本发明实施例提供的一种发送终端50的结构,所述发送终端50可以包括:划分单元501、设置单元502和发送单元503,其中,Based on the same technical concept of the foregoing embodiment, referring to FIG. 5, which shows a structure of a transmitting terminal 50 according to an embodiment of the present invention, the transmitting terminal 50 may include: a dividing unit 501, a setting unit 502, and a sending unit 503. ,among them,
所述划分单元501,配置为将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The dividing unit 501 is configured to divide the data to be transmitted whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; The sequence identifier corresponding to the sub-data segments is used to represent the order of each of the sub-data segments in the data to be transmitted;
所述设置单元502,配置为按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;The setting unit 502 is configured to set a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
所述发送单元503,配置为同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端。The sending unit 503 is configured to simultaneously open the data channel of the short-distance transmission method, and send the each sub-data segment and the corresponding sequence identifier according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments. To the receiving terminal.
其中,所述划分单元501配置为:The dividing unit 501 is configured to:
当所述待传输数据为单个文件且文件大小大于预设阈值时,将所述单个文件划分为至少一个子数据段;When the data to be transmitted is a single file and the file size is greater than a preset threshold, the single file is divided into at least one sub data segment;
当所述待传输数据为多个文件、所述多个文件总大小大于预设阈值且单个文件大小小于预设阈值时,将所述多个文件按照各个文件进行分段,其中,分段后的每个子数据段为大小小于预设阈值的各单个文件;When the data to be transmitted is multiple files, the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, the multiple files are segmented according to each file, where, after segmentation Each sub-data segment is a single file whose size is less than a preset threshold;
当所述待传输数据为多个文件,且所述多个文件中包括了单个文件大 小大于预设阈值时,将所述多个文件按照各个文件进行分段,并且将大小超过预设阈值的单个文件也划分为多个子数据段。When the data to be transmitted is a plurality of files, and the plurality of files include a single file When the size is greater than the preset threshold, the plurality of files are segmented according to each file, and a single file whose size exceeds a preset threshold is also divided into a plurality of sub-data segments.
其中,所述设置单元502配置为:The setting unit 502 is configured to:
将所有子数据段按照大小进行排列,并根据近距离传输方式的数量划分等级;其中,每个等级内的子数据段对应一种近距离传输方式;All sub-data segments are arranged according to size, and are classified according to the number of short-distance transmission modes; wherein sub-data segments within each level correspond to a short-distance transmission mode;
以及,按照序列标识的顺序为每个等级内的子数据段设置所述每个等级对应的近距离传输方式的传输顺序。And, the transmission order of the short-distance transmission mode corresponding to each level is set for the sub-data segments within each level in the order of the sequence identification.
参见图6,所述发送终端50还包括选取单元504,配置为在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道,且屏蔽其他具有信道冲突的近距离传输方式的数据通道。Referring to FIG. 6, the sending terminal 50 further includes a selecting unit 504 configured to select a data channel of a short-distance transmission mode with the largest transmission rate in a data channel with a short-distance transmission mode with channel conflict, and shield other channel collisions with channel conflicts. Data channel for short-distance transmission.
本发明实施例提供了一种发送终端50,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。The embodiment of the present invention provides a transmitting terminal 50. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate at which the terminal transmits data in close proximity can be improved.
基于前述实施例相同的技术构思,参见图7,其示出了本发明实施例提供的一种接收终端70的结构,所述接收终端70可以包括:接收单元701和拼接单元702,其中,Based on the same technical concept of the foregoing embodiment, referring to FIG. 7, which shows a structure of a receiving terminal 70 according to an embodiment of the present invention, the receiving terminal 70 may include: a receiving unit 701 and a splicing unit 702, where
所述接收单元701,配置为按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving unit 701 is configured to receive, according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment, at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal, where the sequence identifier corresponding to each sub-data segment is used. Characterizing the order of the sub-data segments in the data to be transmitted;
所述拼接单元702,配置为根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。The splicing unit 702 is configured to splicing the at least one sub data segment into complete data to be transmitted according to the at least one sub data segment and the corresponding sequence identifier.
示例性地,参见图8,所述接收终端70还包括确定单元703和重传单元704,其中,Illustratively, referring to FIG. 8, the receiving terminal 70 further includes a determining unit 703 and a retransmission unit 704, where
所述确定单元703,配置为根据所述序列标识确定子数据段传输是否缺失; The determining unit 703 is configured to determine, according to the sequence identifier, whether the sub-data segment transmission is missing;
所述重传单元704,配置为在所述确定单元根据所述序列标识确定子数据段传输缺失时,向所述发送终端发送重传请求;所述重传请求用于请求所述发送终端重新传输所述缺失的子数据段。The retransmission unit 704 is configured to send a retransmission request to the sending terminal when the determining unit determines that the sub data segment transmission is missing according to the sequence identifier; the retransmission request is used to request the sending terminal to re Transmitting the missing sub-data segment.
本发明实施例提供了一种接收终端70,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。The embodiment of the present invention provides a receiving terminal 70, which can improve the rate at which the terminal transmits data in close proximity by dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods.
参见图9,其示出了本发明实施例提供的一种近距离传输数据的系统90,所述系统包括发送终端50和接收终端70,其中,Referring to FIG. 9, a system 90 for transmitting data in close proximity according to an embodiment of the present invention is shown, where the system includes a transmitting terminal 50 and a receiving terminal 70, where
所述发送终端50,配置为将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The sending terminal 50 is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the foregoing The sequence identifier corresponding to the sub-data segments is used to represent the order of each of the sub-data segments in the data to be transmitted;
以及,按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;And setting, according to the size and sequence identifier of each sub-data segment, a short-distance transmission mode and a transmission sequence corresponding to each of the sub-data segments;
以及,同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至所述接收终端70;And simultaneously opening the data channel of the short-distance transmission method, and sending the each sub-data segment and the corresponding sequence identifier to the receiving terminal 70 according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments ;
所述接收终端70,配置为按照每个子数据段对应的近距离传输方式和传输顺序接收由所述发送终端50发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving terminal 70 is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the sending terminal 50 according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein each sub-data segment corresponds to The sequence identifier is used to characterize the order of the sub data segments in the data to be transmitted;
以及,根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。And splicing the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
本发明实施例提供了一种近距离传输数据的系统90,通过将待传输数据进行划分,并且通过多种近距离传输方式同时发送划分后的子数据段,能够提高终端近距离传输数据的速率。 The embodiment of the present invention provides a system 90 for transmitting data in close proximity. By dividing the data to be transmitted and simultaneously transmitting the divided sub-data segments through multiple short-distance transmission methods, the rate of data transmission by the terminal in a short distance can be improved. .
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行发送终端侧的近距离传输数据的方法。An embodiment of the present invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for performing a method of transmitting data at a short distance on a transmitting terminal side.
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行接收终端侧的近距离传输数据的方法。An embodiment of the present invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for performing a method of receiving data transmitted by a terminal at a short distance.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流 程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation in the stream The steps of a function specified in one or more processes and/or block diagrams in one or more blocks.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims (15)

  1. 一种近距离传输数据的方法,所述方法包括:A method for transmitting data in close proximity, the method comprising:
    发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The transmitting terminal divides the data to be transmitted whose data size exceeds the preset threshold into at least one sub-data segment according to a preset dividing rule, and sets a corresponding sequence identifier for each sub-data segment; wherein the sequence corresponding to each sub-data segment Identifying an order for characterizing each of the sub-data segments in the data to be transmitted;
    所述发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;The transmitting terminal sets a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to the size and sequence identifier of each sub-data segment;
    所述发送终端同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端。The transmitting terminal simultaneously starts the data channel of the short-distance transmission method, and sends the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments.
  2. 根据权利要求1所述的方法,其中,所述发送终端将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,包括:The method according to claim 1, wherein the transmitting terminal divides the data to be transmitted whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, including:
    当所述待传输数据为单个文件且文件大小大于预设阈值时,所述发送终端将所述单个文件划分为至少一个子数据段;When the data to be transmitted is a single file and the file size is greater than a preset threshold, the sending terminal divides the single file into at least one sub data segment;
    当所述待传输数据为多个文件、所述多个文件总大小大于预设阈值且单个文件大小小于预设阈值时,所述发送终端将所述多个文件按照各个文件进行分段,其中,分段后的每个子数据段为大小小于预设阈值的各单个文件;When the data to be transmitted is a plurality of files, the total size of the plurality of files is greater than a preset threshold, and the single file size is less than a preset threshold, the sending terminal segments the plurality of files according to each file, where Each sub-data segment after segmentation is a single file whose size is smaller than a preset threshold;
    当所述待传输数据为多个文件,且所述多个文件中包括了单个文件大小大于预设阈值时,所述发送终端将所述多个文件按照各个文件进行分段,并且将大小超过预设阈值的单个文件也划分为多个子数据段。When the data to be transmitted is a plurality of files, and the plurality of files include a single file size greater than a preset threshold, the sending terminal segments the plurality of files according to each file, and the size exceeds A single file with a preset threshold is also divided into multiple sub-data segments.
  3. 根据权利要求1所述的方法,其中,所述发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和 传输顺序,包括:The method according to claim 1, wherein the transmitting terminal sets a short-distance transmission mode corresponding to each of the sub-data segments according to a size and a sequence identifier of each sub-data segment. Transmission order, including:
    所述发送终端将所有子数据段按照大小进行排列,并根据近距离传输方式的数量划分等级;其中,每个等级内的子数据段对应一种近距离传输方式;The transmitting terminal arranges all the sub-data segments according to the size, and classifies the data according to the number of the short-distance transmission modes; wherein the sub-data segments in each level correspond to a short-distance transmission mode;
    所述发送终端按照序列标识的顺序为每个等级内的子数据段设置所述每个等级对应的近距离传输方式的传输顺序。The transmitting terminal sets a transmission order of the short-distance transmission mode corresponding to each level for the sub-data segments in each level in the order of sequence identification.
  4. 根据权利要求3所述的方法,其中,在所述发送终端按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序之前,所述方法还包括:The method according to claim 3, wherein before the sending terminal sets the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments according to the size and the sequence identifier of each of the sub-data segments, the method further includes:
    所述发送终端在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道,且屏蔽其他具有信道冲突的近距离传输方式的数据通道。The transmitting terminal selects a data channel of a short-distance transmission mode with the largest transmission rate in the data channel of the short-distance transmission mode with channel conflict, and shields other data channels of the short-distance transmission mode with channel conflict.
  5. 一种近距离传输数据的方法,所述方法包括:A method for transmitting data in close proximity, the method comprising:
    接收终端按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving terminal receives at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal according to the short-distance transmission mode and the transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment is used to represent the sub-data segment The order in the data to be transmitted;
    所述接收终端根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。The receiving terminal splices the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
  6. 根据权利要求5所述的方法,其中,所述方法还包括:The method of claim 5 wherein the method further comprises:
    当所述接收终端根据所述序列标识确定子数据段传输缺失时,所述接收终端向所述发送终端发送重传请求;所述重传请求用于请求所述发送终端重新传输所述缺失的子数据段。And when the receiving terminal determines, according to the sequence identifier, that the sub-data segment transmission is missing, the receiving terminal sends a retransmission request to the sending terminal; the retransmission request is used to request the sending terminal to retransmit the missing Sub data segment.
  7. 一种发送终端,所述发送终端包括:划分单元、设置单元和发送单元,其中,A transmitting terminal includes: a dividing unit, a setting unit, and a sending unit, where
    所述划分单元,配置为将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应 的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The dividing unit is configured to divide the data to be transmitted whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a correspondence for each sub-data segment. a sequence identifier; wherein the sequence identifier corresponding to each of the sub-data segments is used to represent an order of each of the sub-data segments in the data to be transmitted;
    所述设置单元,配置为按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;The setting unit is configured to set a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment according to a size and a sequence identifier of each sub-data segment;
    所述发送单元,配置为同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至接收终端。The sending unit is configured to simultaneously open the data channel of the short-distance transmission method, and send the each sub-data segment and the corresponding sequence identifier to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments to Receiving terminal.
  8. 根据权利要求7所述的发送终端,其中,所述划分单元配置为:The transmitting terminal according to claim 7, wherein the dividing unit is configured to:
    当所述待传输数据为单个文件且文件大小大于预设阈值时,将所述单个文件划分为至少一个子数据段;When the data to be transmitted is a single file and the file size is greater than a preset threshold, the single file is divided into at least one sub data segment;
    当所述待传输数据为多个文件、所述多个文件总大小大于预设阈值且单个文件大小小于预设阈值时,将所述多个文件按照各个文件进行分段,其中,分段后的每个子数据段为大小小于预设阈值的各单个文件;When the data to be transmitted is multiple files, the total size of the multiple files is greater than a preset threshold, and the single file size is less than a preset threshold, the multiple files are segmented according to each file, where, after segmentation Each sub-data segment is a single file whose size is less than a preset threshold;
    当所述待传输数据为多个文件,且所述多个文件中包括了单个文件大小大于预设阈值时,将所述多个文件按照各个文件进行分段,并且将大小超过预设阈值的单个文件也划分为多个子数据段。When the data to be transmitted is a plurality of files, and the plurality of files include a single file size greater than a preset threshold, segmenting the multiple files according to each file, and the size exceeds a preset threshold. A single file is also divided into multiple sub-data segments.
  9. 根据权利要求7所述的发送终端,其中,所述设置单元配置为:The transmitting terminal according to claim 7, wherein the setting unit is configured to:
    将所有子数据段按照大小进行排列,并根据近距离传输方式的数量划分等级;其中,每个等级内的子数据段对应一种近距离传输方式;All sub-data segments are arranged according to size, and are classified according to the number of short-distance transmission modes; wherein sub-data segments within each level correspond to a short-distance transmission mode;
    以及,按照序列标识的顺序为每个等级内的子数据段设置所述每个等级对应的近距离传输方式的传输顺序。And, the transmission order of the short-distance transmission mode corresponding to each level is set for the sub-data segments within each level in the order of the sequence identification.
  10. 根据权利要求9所述的发送终端,其中,所述发送终端还包括选取单元,配置为在具有信道冲突的近距离传输方式的数据通道中选择传输速率最大的近距离传输方式的数据通道,且屏蔽其他具有信道冲突的近距离传输方式的数据通道。The transmitting terminal according to claim 9, wherein the transmitting terminal further comprises a selecting unit configured to select a data channel of a short-distance transmission mode with a maximum transmission rate among data channels of a short-distance transmission mode with channel conflict, and Block other data channels with short-distance transmission with channel conflicts.
  11. 一种接收终端,所述接收终端包括接收单元和拼接单元,其中, a receiving terminal, the receiving terminal comprising a receiving unit and a splicing unit, wherein
    所述接收单元,配置为按照每个子数据段对应的近距离传输方式和传输顺序接收由发送终端发送的至少一个子数据段及对应的序列标识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving unit is configured to receive at least one sub-data segment and a corresponding sequence identifier sent by the transmitting terminal according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment; wherein the sequence identifier corresponding to each sub-data segment is used for Characterizing the order of the sub-data segments in the data to be transmitted;
    所述拼接单元,配置为根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。The splicing unit is configured to splicing the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
  12. 根据权利要求11所述的接收终端,其中,所述接收终端还包括确定单元和重传单元,其中,The receiving terminal according to claim 11, wherein the receiving terminal further comprises a determining unit and a retransmission unit, wherein
    所述确定单元,配置为根据所述序列标识确定子数据段传输是否缺失;The determining unit is configured to determine, according to the sequence identifier, whether a sub-data segment transmission is missing;
    所述重传单元,配置为在所述确定单元根据所述序列标识确定子数据段传输缺失时,向所述发送终端发送重传请求;所述重传请求用于请求所述发送终端重新传输所述缺失的子数据段。The retransmission unit is configured to: when the determining unit determines that the sub-data segment transmission is missing according to the sequence identifier, send a retransmission request to the sending terminal; the retransmission request is used to request the sending terminal to retransmit The missing sub-data segment.
  13. 一种近距离传输数据的系统,所述系统包括发送终端和接收终端,其中,A system for transmitting data in close proximity, the system comprising a transmitting terminal and a receiving terminal, wherein
    所述发送终端,配置为将数据大小超过预设阈值的待传输数据按照预设的划分规则划分为至少一个子数据段,并为每个子数据段设置对应的序列标识;其中,所述每个子数据段对应的序列标识用于表征所述每个子数据段在所述待传输数据中的顺序;The transmitting terminal is configured to divide the to-be-transmitted data whose data size exceeds a preset threshold into at least one sub-data segment according to a preset dividing rule, and set a corresponding sequence identifier for each sub-data segment; wherein each of the sub-data segments A sequence identifier corresponding to the data segment is used to represent an order of each of the sub data segments in the data to be transmitted;
    以及,按照每个子数据段的大小及序列标识设置所述每个子数据段对应的近距离传输方式和传输顺序;And setting, according to the size and sequence identifier of each sub-data segment, a short-distance transmission mode and a transmission sequence corresponding to each of the sub-data segments;
    以及,同时开启所述近距离传输方法的数据通道,并根据所述每个子数据段对应的近距离传输方式和传输顺序将所述每个子数据段及对应的序列标识发送至所述接收终端;And simultaneously opening the data channel of the short-distance transmission method, and sending the each sub-data segment and the corresponding sequence identifier to the receiving terminal according to the short-distance transmission mode and the transmission sequence corresponding to each of the sub-data segments;
    所述接收终端,配置为按照每个子数据段对应的近距离传输方式和传输顺序接收由所述发送终端发送的至少一个子数据段及对应的序列标 识;其中,每个子数据段对应的序列标识用于表征该子数据段在待传输数据中的顺序;The receiving terminal is configured to receive at least one sub-data segment and corresponding sequence label sent by the sending terminal according to a short-distance transmission mode and a transmission sequence corresponding to each sub-data segment. The sequence identifier corresponding to each sub-data segment is used to represent the order of the sub-data segments in the data to be transmitted;
    以及,根据所述至少一个子数据段及对应的序列标识将所述至少一个子数据段拼接成完整的待传输数据。And splicing the at least one sub-data segment into complete data to be transmitted according to the at least one sub-data segment and the corresponding sequence identifier.
  14. 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求1-4任一项所述的近距离传输数据的方法。A computer storage medium comprising a set of computer executable instructions for performing the method of transmitting data in close proximity as claimed in any one of claims 1-4.
  15. 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求5或6所述的近距离传输数据的方法。 A computer storage medium comprising a set of computer executable instructions for performing the method of transmitting data in close proximity as claimed in claim 5 or 6.
PCT/CN2014/092649 2014-09-24 2014-12-01 Method, terminal, system for short-distance data transmission, and computer storage medium WO2015131582A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410494272.1 2014-09-24
CN201410494272.1A CN105450266A (en) 2014-09-24 2014-09-24 Method, terminal and system for short-distance transmission of data

Publications (1)

Publication Number Publication Date
WO2015131582A1 true WO2015131582A1 (en) 2015-09-11

Family

ID=54054463

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092649 WO2015131582A1 (en) 2014-09-24 2014-12-01 Method, terminal, system for short-distance data transmission, and computer storage medium

Country Status (2)

Country Link
CN (1) CN105450266A (en)
WO (1) WO2015131582A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981475A (en) * 2019-03-27 2019-07-05 无锡海斯凯尔医学技术有限公司 Data transmission, reception, transmission method, equipment, system and readable storage medium storing program for executing
CN110072295A (en) * 2019-04-30 2019-07-30 努比亚技术有限公司 Dual-channels communication method, apparatus, first terminal and medium
CN110099414A (en) * 2019-04-18 2019-08-06 深圳壹账通智能科技有限公司 Network resource transmission method, apparatus, computer equipment and storage medium
CN115174840A (en) * 2022-09-06 2022-10-11 深圳市掌锐电子有限公司 Control system based on MIPI signal data transmission

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933037A (en) * 2016-06-07 2016-09-07 Tcl移动通信科技(宁波)有限公司 File transmission method and system of mobile terminals based on Bluetooth
CN106504333A (en) * 2016-10-14 2017-03-15 海尔集团技术研发中心 A kind of method and system for realizing the online fast browsing of threedimensional model
CN106572498A (en) * 2016-10-27 2017-04-19 东软集团股份有限公司 Data transmission method, device and system
CN106686530B (en) * 2016-12-29 2020-11-24 深圳市维康宝技术有限公司 Intelligent data transmission method and mobile terminal
CN107659968A (en) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 Mobile terminal and its data transmission method and storage medium
CN108235363A (en) * 2017-12-30 2018-06-29 广东欧珀移动通信有限公司 terminal wireless data transmission method, device, terminal and storage medium
CN109803433B (en) * 2019-02-27 2023-04-07 深圳绿米联创科技有限公司 Wireless communication control method, device, electronic device and storage medium
CN110351100A (en) * 2019-05-31 2019-10-18 平安科技(深圳)有限公司 Data transmission method, device, computer equipment and computer readable storage medium
CN114553595B (en) * 2022-04-06 2022-11-15 重庆伏特猫科技有限公司 Data secure transmission method and system based on message queue

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system
CN103428672A (en) * 2013-08-19 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and device for transmitting data
CN103746975A (en) * 2013-12-26 2014-04-23 小米科技有限责任公司 Method of data transmission, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401898A (en) * 2013-07-15 2013-11-20 上海鼎为通讯电子有限公司 Method for transmitting data between mobile terminals and mobile terminals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system
CN103428672A (en) * 2013-08-19 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and device for transmitting data
CN103746975A (en) * 2013-12-26 2014-04-23 小米科技有限责任公司 Method of data transmission, device and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981475A (en) * 2019-03-27 2019-07-05 无锡海斯凯尔医学技术有限公司 Data transmission, reception, transmission method, equipment, system and readable storage medium storing program for executing
CN110099414A (en) * 2019-04-18 2019-08-06 深圳壹账通智能科技有限公司 Network resource transmission method, apparatus, computer equipment and storage medium
CN110072295A (en) * 2019-04-30 2019-07-30 努比亚技术有限公司 Dual-channels communication method, apparatus, first terminal and medium
CN110072295B (en) * 2019-04-30 2022-08-09 西安商鼎能源科技有限公司 Dual-channel communication method, device, first terminal and medium
CN115174840A (en) * 2022-09-06 2022-10-11 深圳市掌锐电子有限公司 Control system based on MIPI signal data transmission
CN115174840B (en) * 2022-09-06 2022-11-25 深圳市掌锐电子有限公司 Control system based on MIPI signal data transmission

Also Published As

Publication number Publication date
CN105450266A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
WO2015131582A1 (en) Method, terminal, system for short-distance data transmission, and computer storage medium
US9634888B2 (en) Method and system for transmitting data in parallel via wireless link and wired link
WO2019153129A1 (en) User device, and method for inter-user-device sending and receiving of positioning signal
JP2016524368A5 (en)
WO2019242658A1 (en) Bandwidth mode indication method and apparatus, and channel indication method and apparatus
US9924530B2 (en) Data transmission method, apparatus, and system
JP2016501496A5 (en)
US9516684B2 (en) Data transmission method, data acquiring method, and electronic device
US9276728B2 (en) Interference avoidance-based communication apparatus and method
WO2017088494A1 (en) Link management method and apparatus
WO2017107964A1 (en) Method, apparatus and system for scheduling uplink traffic resource
WO2017167102A1 (en) Methods for generating and verifying message integrity authentication information, device, and verification system
US10212093B2 (en) Method and apparatus for U-plane sub-service flow mapping
JP2018537921A (en) Identification method and apparatus based on communication flow of different functions of Skype
CN109688606B (en) Data processing method and device, computer equipment and storage medium
KR102372679B1 (en) System and methods for detection of hidden nodes in cellular systems on unlicensed bands
CN104618231A (en) Deep packet inspection method, device and system for cloud terminal Wi-fi system
KR102515790B1 (en) 6g cellular networks system based on federated learning and method of performing thereof
JP2018056867A5 (en) Control apparatus, base station apparatus, communication system, and communication method
CN113099539A (en) Big data transmission method and system for intelligent mine management
CN106161318B (en) A kind of signal processing method, transmitter, receiver and system
US20190230692A1 (en) Method for releasing semi-persistent scheduling resource and device
US20150047027A1 (en) Apparatus and method for transmitting and receiving messages
US10708279B2 (en) Method and apparatus for transmitting data
TW201940003A (en) Terminal, base station, and method for communications between the terminal and the base station and for accessing a network

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

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

Country of ref document: EP

Kind code of ref document: A1