WO2019015429A1 - 一种数据传输方法、装置、终端及计算机可读存储介质 - Google Patents

一种数据传输方法、装置、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2019015429A1
WO2019015429A1 PCT/CN2018/091676 CN2018091676W WO2019015429A1 WO 2019015429 A1 WO2019015429 A1 WO 2019015429A1 CN 2018091676 W CN2018091676 W CN 2018091676W WO 2019015429 A1 WO2019015429 A1 WO 2019015429A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
data
direct communication
preset
threshold
Prior art date
Application number
PCT/CN2018/091676
Other languages
English (en)
French (fr)
Inventor
何辉
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019015429A1 publication Critical patent/WO2019015429A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/08Trunked mobile radio systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, terminal, and computer readable storage medium.
  • a wireless communication connection that can be established between terminals, such as a Wireless-Fidelity (Wi-Fi) connection, a Near Field Communication (NFC) connection, to transmit and/or receive data.
  • Wi-Fi Wireless-Fidelity
  • NFC Near Field Communication
  • the terminal acquires data that the user wants to transmit to other terminals, and when receiving the data transmission instruction, can transmit the data to other terminals. Other terminals can receive this data over the established wireless communication connection.
  • the data transmission process of the first terminal is not likely to continue, so that other terminals cannot completely receive the data that the terminal wants to transmit.
  • the embodiment of the present application provides a data transmission method, apparatus, terminal, and computer readable storage medium, which can select a suitable terminal according to a performance state of a terminal to perform data transmission, improve continuity of data transmission, and can pass multiple terminals. Collaborative data transmission improves data transmission efficiency and facilitates data transmission.
  • an embodiment of the present application provides a data transmission method, including:
  • the embodiment of the present application further provides a data transmission method, where the method includes:
  • the performance information of the second terminal is sent to the first terminal by using a direct communication connection established with the first terminal;
  • an embodiment of the present application provides a data transmission apparatus, including:
  • An acquiring module configured to acquire performance information of the first terminal when the first terminal needs to transmit data to be transmitted to a terminal in the direct communication cluster;
  • a determining module configured to determine, according to performance information of each terminal in the direct communication cluster, a second terminal, if it is determined that the performance information of the first terminal is less than a corresponding preset threshold
  • a sending module configured to send a notification message to the second terminal or the direct communication cluster if it is determined that the proportion of the transmitted data of the second terminal in the to-be-transmitted data exceeds a preset ratio threshold
  • the target terminal is configured to notify the second terminal as a transmitting end, and transmit the transmitted data through the established direct communication connection with the target terminal.
  • the embodiment of the present application further provides a data transmission device, where the device includes:
  • a sending module configured to send performance information of the second terminal to the first through a direct communication connection established with the first terminal, when detecting a request for acquiring performance information sent by the first terminal terminal;
  • the sending module is further configured to, if receiving the notification message sent by the first terminal, serve as a transmitting end, by directly connecting to a target terminal in the direct communication cluster, The transmitted data received by a terminal is transmitted to the target terminal.
  • an embodiment of the present application provides a terminal, including at least a processor and a memory, where the memory is used to store application code, and the processor is configured to invoke the program code, and execute The method described on the one hand.
  • the embodiment of the present application further provides a terminal, where at least a processor and a memory are used, where the memory is used to store application code, and the processor is configured to invoke the program code, such as The method of the second aspect.
  • the embodiment of the present application provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, and when the program instructions are executed by the processor, The processor performs the method of the first aspect, or the method of the second aspect.
  • an embodiment of the present application provides a computer program product, where the computer program product includes a computer readable storage medium storing a computer program, where the computer program is caused by a processor to execute the first The method of the aspect, or the method of the second aspect.
  • FIG. 1 is a network architecture diagram provided by an embodiment of the present application
  • FIG. 2 is a network architecture diagram according to still another embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a data transmission network according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a data transmission method according to still another embodiment of the present application.
  • FIG. 6 is a schematic diagram of a data transmission network according to still another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a data transmission apparatus according to still another embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal according to still another embodiment of the present application.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the first terminal, the second terminal, or the third terminal described in this application may include, but is not limited to, a mobile terminal (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, and the like, and has a network connection and a data transmission function.
  • the mobile terminal may also be referred to as a user equipment (User Equipment, UE for short), a terminal (Terminal), a wireless terminal, or a mobile station (Mobile Station, MS for short), and the like.
  • FIG. 1 is a network architecture diagram provided by an embodiment of the present application.
  • the network architecture can be applied to a general direct connection communication scenario.
  • the network architecture can include a first terminal 10 and a second terminal 20 .
  • the first terminal 10 can establish a direct communication connection with the second terminal 20.
  • the direct communication connection refers to direct communication between the first terminal 10 and the second terminal 20 without resorting to a third party device, as shown in FIG.
  • the manner of establishing a direct communication connection between the first terminal 10 and the second terminal 20 may include: establishing a second direct communication connection between the first terminal 10 and the second terminal 20 based on the second transmission mode, and may be in the second straight
  • the connection information of the first transmission mode is exchanged on the communication connection.
  • a first direct communication connection based on the first transmission mode may be established between the first terminal 10 and the second terminal 20 based on the connection information.
  • the energy consumption value of the second direct communication connection when performing data interaction is smaller than the energy consumption value when the first direct communication connection performs data interaction, or the energy consumption value of the second direct connection communication when performing data interaction.
  • the energy consumption value when the connection information of the first transmission mode is changed between the first terminal 10 and the second terminal 20 is smaller.
  • the second direct communication connection established by the second transmission mode includes, but is not limited to, a Bluetooth connection, a radio frequency connection, such as a near field communication (NFC) connection, an ultrasonic connection, an electromagnetic wave connection, such as an infrared connection.
  • the first direct communication connection established by the first transmission mode includes, but is not limited to, a Wireless Fidelity (Wi-Fi) communication connection.
  • the second direct communication connection when establishing the first direct communication connection, may be established first.
  • the Bluetooth connection may be established between the first terminal 10 and the second terminal 20 via Bluetooth.
  • the Wi-Fi connection information on the Bluetooth connection such as the username and password of the Wi-Fi hotspot.
  • a first direct communication connection based on the Wi-Fi hotspot may be established between the first terminal 10 and the second terminal 20 based on the connection information.
  • the first terminal 10 can actively open the Wi-Fi hotspot function of the first terminal 20 after establishing the second direct communication connection, so as to establish a first direct communication connection with the second terminal 20, or
  • the two direct communication connection triggers the second terminal 20 to enable the Wi-Fi hotspot function, so that the first terminal 101 accesses the second terminal 102 to complete the establishment of the first direct communication connection.
  • the first terminal 10 when the user of the first terminal 10 needs to transmit data to the second terminal 102, the first terminal 10 can be configured to manage the transmission mode on the first terminal 10 (the transmission mode corresponds to at least one).
  • the direct communication button of the data transmission mode after the button is clicked to open the direct communication mode of the first terminal 10, the first terminal 10 can automatically enable the second transmission function corresponding to the Bluetooth and the Wi-Fi corresponding The first transmission function.
  • the user of the second terminal 20 can also enable the direct communication button of the second terminal 20, and automatically enable the second transmission function corresponding to the Bluetooth and the first transmission function corresponding to the Wi-Fi. Then, the user of the first terminal 10 can determine the second terminal 20 in the at least one terminal that the first terminal 10 scans through the Bluetooth, and the first terminal 10 establishes the Bluetooth connection with the second terminal 20.
  • the first terminal 10 may also first detect its own power value. If the power value is greater than the power preset percentage (eg, 90%), then the first The terminal 10 can also directly establish a first direct communication connection based on the Wi-Fi hotspot. If the power value is less than or equal to the power preset percentage (for example, 20%), the first terminal 10 may first establish the Bluetooth-based second direct communication connection, and then establish a Wi-Fi connection based on the Bluetooth connection. To complete the establishment of the first direct communication connection.
  • the power preset percentage eg, 90%
  • the first The terminal 10 can also directly establish a first direct communication connection based on the Wi-Fi hotspot. If the power value is less than or equal to the power preset percentage (for example, 20%), the first terminal 10 may first establish the Bluetooth-based second direct communication connection, and then establish a Wi-Fi connection based on the Bluetooth connection.
  • connection information for establishing a Wi-Fi connection (ie, a first direct communication connection) through a Bluetooth connection (ie, a second direct communication connection), and the connection information may be, for example, a Wi-Fi hotspot.
  • the user name and access password of the terminal and then establish a Wi-Fi connection (ie, the first direct communication connection) according to the connection information, which saves the terminal energy consumption to a certain extent, and the Wi-Fi connection (ie, the first straight Even the communication connection can guarantee faster transmission speed and also improve the transmission efficiency of the terminal when transmitting data.
  • the Wi-Fi hotspot may be first turned on in the first terminal 10, and the user name and password of the Wi-Fi hotspot are carried by the two-dimensional code.
  • the second terminal 20 can scan the two-dimensional code to directly obtain the user name and password of the Wi-Fi hotspot of the first terminal 10, and access the first terminal 10 to establish a first direct communication connection between the two terminals.
  • the second terminal 20 turns on the Wi-Fi hotspot, and carries the user name and password of the Wi-Fi hotspot by using a two-dimensional code.
  • the first terminal 10 can scan the two-dimensional code, and directly obtain the Wi- of the second terminal 20.
  • the username and password of the Fi hotspot are accessed to the second terminal 20 to establish a first direct communication connection between the two.
  • FIG. 2 is a network architecture diagram of an embodiment of the present application. As shown in FIG. 2, the network architecture may include a first terminal 10, a second terminal 20, and a third terminal 30.
  • the first terminal 10, the second terminal 20, and the third terminal 30 may form a direct communication cluster, and each terminal in the direct communication cluster may exchange data through mutually established direct communication connections.
  • each terminal in the direct communication cluster may exchange data through mutually established direct communication connections.
  • other terminals may also be included, and the embodiment of the present application is only one of the simple network architectures presented.
  • the first terminal 10 can also establish a direct communication connection with a plurality of terminals (except the second terminal 20 and the third terminal 30) to form a sub-direct communication cluster.
  • the second terminal 20 and the third terminal 30 can also form respective sub-direct communication clusters like the first terminal 10.
  • the first terminal 10, the second terminal 20, and the third terminal 30 can each transmit data to the corresponding sub-direct communication cluster through a direct communication connection as needed.
  • the direct communication connection mentioned in the embodiment of the present application is a wireless communication connection established between the terminals without using a third-party device, including but not limited to a Wi-Fi connection, a Bluetooth connection, and a radio frequency connection between the terminals, such as an NFC connection.
  • Wireless communication connection such as infrared connection or ultrasonic connection.
  • the Wi-Fi connection between the terminals means that at least one of the two terminals has enabled the Wi-Fi hotspot function, and the other terminal directly accesses the terminal that establishes the Wi-Fi hotspot, and establishes a direct communication connection. .
  • the first terminal 10, the second terminal 20, and the third terminal 30 can implement data through different established direct communication connections, such as a first direct communication connection and a second direct communication connection. Concurrency.
  • the first direct communication connection may be a communication connection capable of quickly transmitting data of a video, a picture, or the like that is greater than or equal to a preset threshold (or greater than or equal to a preset data amount threshold), including but It is not limited to a wireless communication connection such as a Wi-Fi connection.
  • the second direct communication connection is a communication connection that consumes less than a preset threshold and can transmit data whose data amount is less than a preset threshold (or less than a preset data amount threshold), including but not limited to, such as a Bluetooth connection or a radio frequency connection.
  • Wireless communication connection such as infrared connection.
  • the first direct communication connection is a part of data to be transmitted (including but not limited to a certain type of file data, for example, the data amount is greater than a preset threshold (or greater than or equal to a preset data amount threshold)
  • the first terminal 10, the second terminal 20, and the third terminal 30 may transmit some part of the data to be transmitted through the first direct communication connection established between the three terminals (including But not limited to a certain type of file data, such as the second type of file data).
  • another part of data to be transmitted including but not limited to another type of file data, such as the first data
  • that the data volume is less than a preset threshold (or less than a preset data amount threshold)
  • the first terminal 10, the second terminal 20, and the third terminal 30 may transmit another part of the data to be transmitted through the second direct communication connection established between the three terminals (including But not limited to another type of file data, such as the first type of file data).
  • the first terminal 10, the second terminal 20, and the third terminal 30 may transmit the data to be transmitted through a first direct communication connection established between the three terminals. For example, if the first terminal 10 determines that the data amount of the data to be transmitted is 20M, the preset data amount threshold is 5M. The first terminal 10 may determine that the data amount of the data to be transmitted is greater than a preset data amount threshold, and transmit the data to be transmitted through a first direct communication connection established with the second terminal 20, such as a Wi-Fi connection.
  • the first terminal 10, the second terminal 20, and the third terminal 30 may be configured when the first direct communication connection is for data to be transmitted that is smaller than a preset threshold (or smaller than a preset data amount threshold).
  • the data to be transmitted is transmitted through a second direct communication connection established between the above three terminals. For example, if the first terminal 10 determines that the data amount of the data to be transmitted is 1 M and the preset data amount threshold is 5 M, the first terminal 10 may determine that the data amount of the data to be transmitted is less than a preset data amount threshold.
  • the data to be transmitted is transmitted through a second direct communication connection established with the second terminal 20, such as a Bluetooth connection.
  • the other terminal when a terminal sends data to another terminal, the other terminal may use the data as the data to be transmitted of the other terminal after receiving the data.
  • the data may be data to be transmitted of a certain terminal, and part of data to be transmitted, such as a certain type of data (including but not limited to a certain type of file data).
  • a certain type of data including but not limited to a certain type of file data.
  • the transmitted data of one terminal can be used as the data to be transmitted of another terminal.
  • a terminal such as the first terminal 10 transmits a certain type of data in the data to be transmitted to another terminal (such as the second terminal 20), such as the first type of file data, Sending indication information to the other terminal (such as the second terminal 20) or the target terminal (such as the third terminal 30), the indication information may be used to indicate the other terminal (such as the second terminal 20) and the target terminal (such as The third terminal 30) establishes a second direct communication connection and transmits the first type of file data on the second direct communication connection.
  • the transmitted first type of file data can be used as the transmitted data of one terminal to another terminal.
  • a notification message can be sent to the other terminal (such as the second terminal 20) or the target terminal (such as the third terminal 30), and the notification message can be used to notify the other terminal (such as the second terminal 20) to send And transmitting the transmitted data through a direct communication connection established with the target terminal (such as the third terminal 30).
  • some of the requests/messages/instructions/information may also be exchanged between the terminals in the direct communication cluster via the second direct communication connection.
  • the above notification message and indication information may also be exchanged between the terminals in the direct communication cluster via the second direct communication connection.
  • the first terminal 10, the second terminal 20, and the third terminal 30 can transmit data as a transmitting end and/or a receiving end according to the requirements of respective data transceiving.
  • the first terminal 10 When the first terminal 10 needs to transmit data to each terminal in the direct communication cluster, it may serve as a transmitting end to transmit data to each terminal through a direct communication connection established with each terminal in the direct communication cluster.
  • Each terminal in the direct communication cluster can serve as a receiving end, and is received by the first terminal 10 through a direct communication connection (for example, a first direct communication connection or a second direct communication connection) established with the first terminal 10. data.
  • the first terminal 10 can transmit data to the second terminal 20 through a direct communication connection established with the second terminal 20.
  • the second terminal 20 can receive the data transmitted by the first terminal 10 through a direct communication connection established with the first terminal 10.
  • the first terminal 20 can also send data to the third terminal 30 through a direct communication connection established with the third terminal 30.
  • the third terminal 30 can receive the data transmitted by the first terminal 10 through a direct communication connection established with the first terminal 10.
  • the first terminal 10 may configure the direct communication mode to a transmission mode when the data needs to be transmitted to each terminal in the direct communication cluster, to each of the direct communication clusters in the receiving mode.
  • the terminal sends data.
  • the second terminal 20 and the third terminal 30 can respectively configure the direct communication mode as the receiving mode, and the data sent by the terminal in the sending mode can be better received according to the receiving and receiving requirements of each terminal. To choose to send and receive data.
  • the first terminal 10 when the first terminal 10 is configured as a transmission mode, and the second terminal 20 is configured to receive a mode, the first terminal 10 may send data to the second terminal through a direct communication connection established with the second terminal 20. 20.
  • the second terminal 20 can receive the data transmitted by the first terminal 10 through a direct communication connection established with the first terminal 10.
  • the first terminal 10 When the first terminal 10 is configured to transmit a mode, and the third terminal 30 is configured to receive a mode, the first terminal 10 may also transmit data to the third terminal 30 through a direct communication connection established with the third terminal 30. .
  • the third terminal 30 can receive the data transmitted by the first terminal 10 through a direct communication connection established with the first terminal 10.
  • the first terminal 10 can directly send a direct communication connection with each terminal in the direct communication cluster to send data, and can also send the target terminal in the direct communication cluster through other terminals in the direct communication cluster. data.
  • the target terminal may determine, in the initial terminal that needs to receive the data to be transmitted in the direct communication cluster that is determined by the first terminal 10, the signal strength between the first terminal 10 and the first terminal 10 is less than a preset signal strength threshold.
  • the initial terminal may also be a terminal that does not receive the data sent by the first terminal 10 in the direct communication cluster.
  • the target terminal may also be a terminal in the direct connection communication cluster that is interrupted by the data transmission process of the first terminal 10.
  • the target terminal may be a terminal that is selected by the first terminal 10 according to the device information of the receiving end in the direct communication cluster.
  • the target terminal may be a receiving end, and may also be a terminal configured to receive a mode.
  • the first terminal 10 can directly send a data to the target terminal, such as the third terminal, by directly establishing a direct communication connection with the third terminal 30 to transmit data. 30.
  • the first terminal 10 in addition to establishing a direct communication connection with the second terminal 20 to transmit data, can also transmit data to the target terminal through the third terminal 30, for example, the second terminal 20.
  • the first terminal 10 transmits data to the third terminal 30 as the target terminal through the second terminal 20 as an example for further explanation.
  • the data is transmitted to the second terminal 20.
  • the second terminal 30 can transmit the data transmitted by the first terminal 10 to the third terminal 30 through a direct communication connection established with the third terminal 30.
  • the second terminal 20 may be configured in a relay mode, so that the data sent by the first terminal 10 can be received, and the received data sent by the first terminal 10 is forwarded to the third terminal 30.
  • the second terminal 20 can be determined by the first terminal 10 based on performance information of each terminal in the direct communication cluster.
  • the second terminal 20 may be a terminal with a better performance status determined by the first terminal 10 according to performance information of each terminal in the direct communication cluster.
  • the second terminal 20 is a terminal that has the most remaining power in the direct communication cluster determined by the first terminal 10, or a terminal whose remaining power exceeds a preset power threshold.
  • each receiving end can report the current local performance information, such as storage space, remaining power, remaining memory, and transmission speed, to the transmitting end, so that the transmitting end A certain terminal with the best performance status may be determined according to the reported performance information to send data to the target terminal.
  • the current local performance information such as storage space, remaining power, remaining memory, and transmission speed
  • each terminal in the direct communication cluster may pass each terminal performance information in the direct communication cluster to the first when detecting the request of the first terminal 10 for acquiring performance information.
  • the direct communication connection established by the terminal 10 is sent to the first terminal 10.
  • the second terminal 20 may further determine that the performance information of the first terminal 10 meets a preset switching condition, and if the performance information is smaller than a corresponding preset threshold, the first terminal 10 is configured according to the direct connection.
  • the second terminal 20 may further be configured to: according to performance information of each terminal in the direct communication cluster, when determining that the performance information of the first terminal 10 is less than a corresponding preset threshold.
  • the determined terminal such as a terminal with better performance status.
  • the performance information of the first terminal 10 includes, but is not limited to, information about the storage space, remaining power, remaining memory, and transmission speed of the first terminal 10.
  • the performance information of the first terminal 10 is smaller than the preset preset value, and may be determined by determining, when the performance information of the first terminal 10 includes the remaining power, whether the remaining power is less than a preset number. a power threshold; when the performance information of the first terminal 10 includes a transmission speed, determining whether the transmission speed is less than a preset first speed threshold; if the remaining power is less than the preset first power threshold and/or the transmission If the speed is less than the preset first speed threshold, it is determined that the performance information of the first terminal 10 is less than a corresponding preset threshold.
  • the remaining power in the performance information of the first terminal 10 may be determined by using the information in the performance information of the first terminal 10 to determine whether the performance information of the first terminal 10 is smaller than the corresponding preset threshold.
  • the information such as the remaining memory, the storage space, the transmission speed, and the like are combined in a progressive or parallel manner to determine whether the performance information of the first terminal 10 is less than a corresponding preset threshold.
  • the performance information of the first terminal 10 is smaller than the preset preset value, and may be determined by determining whether the remaining power is less than a preset when the performance information of the first terminal 10 includes the remaining power. a first power threshold; if less than, when the performance information of the first terminal 10 includes a transmission speed, determining whether the transmission speed is less than a preset first speed threshold; if less, if the remaining power is less than the preset first If the power threshold and/or the transmission speed is less than the preset first speed threshold, determining that the performance information of the first terminal 10 is less than a corresponding preset threshold.
  • the determining, by the first terminal 10, the second terminal 20 according to the performance information of each terminal in the direct communication cluster may include: determining whether the remaining power of each terminal in the direct communication cluster exceeds a preset a power threshold; determining whether the remaining memory of each terminal in the direct communication cluster exceeds a preset remaining memory threshold; determining that the remaining power in each terminal exceeds a preset power threshold, and/or determining that the remaining memory in each terminal exceeds a preset The terminal of the remaining memory threshold is the second terminal.
  • the power threshold and the speed threshold may correspond to a second power threshold and a second speed threshold.
  • each information in the performance information of each terminal in the direct communication cluster can be determined by a single judgment to determine the second terminal 20, and each information in the performance information of each terminal in the direct communication cluster can be delivered. The incoming or parallel forms are combined to determine the second terminal 20.
  • the determining, by the first terminal 10, the second terminal 20 according to the performance information of each terminal in the direct communication cluster may include: determining whether the remaining power in the performance information of each terminal in the direct communication cluster is a greater than or equal to the preset second power threshold; determining whether the transmission speed in the performance information of the multiple terminals is determined when determining that the plurality of terminals in the respective terminals that the remaining power is greater than or equal to the preset second power threshold
  • the second speed threshold is greater than or equal to the preset; and the terminal with the transmission speed greater than or equal to the preset second speed threshold is selected as the second terminal.
  • the performance information of the respective terminals may include the amount of data of the received data in addition to the foregoing remaining power, remaining memory, storage space, and transmission speed.
  • the first terminal 10 determines, according to performance information of each terminal in the direct communication cluster, that the second terminal 20 further includes: determining that the performance information of each terminal in the direct communication cluster is received. Whether the data amount of the data is greater than or equal to the preset data receiving threshold; determining the performance of the plurality of terminals when determining that the data of the received data includes the plurality of terminals whose received data is greater than or equal to the preset data receiving threshold Whether the transmission speed in the information is greater than or equal to the preset second speed threshold; and selecting, in the plurality of terminals, a terminal whose transmission speed is greater than or equal to the preset second speed threshold is used as the second terminal.
  • the second terminal 20 may also be determined by the first terminal 10 according to the device information of each terminal in the obtained direct communication cluster.
  • the first terminal 10 in the transmission mode can transmit data to the second terminal 20 in the relay mode through a direct communication connection established with the second terminal 20 in the relay mode.
  • the second terminal 30 in the relay mode can transmit the data transmitted by the first terminal 10 in the receiving mode to the third terminal 30 in the receiving mode through a direct communication connection established with the third terminal 30 in the receiving mode. .
  • the second terminal 10 may acquire device information of the third terminal 30 through a second direct communication connection with the third terminal 30; the second terminal 20 may set the device information of the second terminal 20, The device information of the three terminals 30 is transmitted to the first terminal 10. After receiving the device information sent by the second terminal 20, the first terminal 10 may determine the device information of the third terminal 30 as the target terminal that transmits data.
  • the user can set the direct communication mode of the mobile phone A to the relay mode by clicking the relay mode option or the icon.
  • the mobile phone A in the relay mode can obtain the device information of the other mobile phone B in the receiving mode, and the mobile phone A can obtain the device information of the mobile phone C in the sending mode, so that the device information of the mobile phone B in the receiving mode can be sent.
  • To the phone C in the sending mode can be set the direct communication mode of the mobile phone A to the relay mode by clicking the relay mode option or the icon.
  • the mobile phone A in the relay mode can obtain the device information of the other mobile phone B in the receiving mode, and the mobile phone A can obtain the device information of the mobile phone C in the sending mode, so that the device information of the mobile phone B in the receiving mode can be sent.
  • To the phone C in the sending mode is an example of receiving mode, sending mode, and relay mode.
  • the second terminal 20 may acquire the data sent by the originating terminal 10 through the first direct communication connection when receiving the forwarding request of the first terminal 10, and may forward the first terminal according to the transmission path indicated in the forwarding request.
  • the transmitted data; the transmission path indicated by the forwarding request may be that the data transmitted by the first terminal 10 is transmitted to the third terminal 30 through the second terminal 20.
  • the forwarding request may include device information of the third terminal.
  • the transmission path may be determined by the first terminal 10 based on the acquired device information.
  • the second terminal 20 may acquire the data sent by the originating terminal 10 through the second direct communication connection when receiving the forwarding request of the first terminal 10, and may transmit according to the indication indicated in the forwarding request.
  • the path forwards the data sent by the first terminal; the transmission path indicated by the forwarding request may be that the data sent by the first terminal 10 is sent to the third terminal 30 by using the second terminal 20.
  • the forwarding request may include device information of the third terminal.
  • the transmission path may be determined by the first terminal 10 based on the acquired device information.
  • the first terminal 10 and the second terminal 20 may establish a first direct communication connection to transmit data; If the next node indicated by the transmission path indicated in the forwarding request is another terminal in the direct communication cluster, the first terminal 10 establishes a first direct communication connection with the other terminal to transmit data.
  • the other terminal can be other receiving ends.
  • the first terminal 10 can display a user interface, which can be used to display the acquired device information.
  • the first terminal 10 may receive a selection operation for device information and determine a transmission path according to the selection operation. For example, when the first terminal 10 needs to transmit the data 1 to the third terminal 30, after selecting the third terminal 30 as the target terminal for transmitting the data 1, the second terminal 20 is selected to determine that the transmission path is the second.
  • the terminal 20 performs data forwarding.
  • the device information may include an identifier of the corresponding terminal, such as a Media Access Control (MAC) address, an Internet Protocol (IP) address, a name, a port number, and the like.
  • the device information may include an identifier of the corresponding terminal and a direct communication mode in which the corresponding terminal is located.
  • the second terminal 20 may also be a terminal configured to receive a mode. After receiving the data sent by the first terminal 10, the second terminal may be configured to be in a sending mode by using the direct communication mode of the second terminal 20. 20 can switch to the transmitting end to transmit data to the third terminal 30 in the receiving mode. In an embodiment, if the third terminal 30 is always used to receive data, the direct communication mode of the third terminal 30 can be configured as a receiving mode.
  • each terminal in the direct communication cluster is provided with a direct communication mode, which may be a transmission mode, a reception mode, and a relay mode. If the terminal is configured to transmit mode, the terminal may be a transmitting end for transmitting data, and if the terminal is configured in a relay mode, the terminal may be used to forward data. If the terminal is configured to receive mode, the terminal can be a receiving end for receiving data.
  • a direct communication mode which may be a transmission mode, a reception mode, and a relay mode.
  • each terminal may be configured with a direct communication button, and after clicking the direct communication button, the direct communication mode may be selected.
  • a terminal After a certain terminal in the direct communication cluster starts the relay mode, a terminal can send the device information of the terminal in the receiving mode scanned by the surrounding to the terminal in the sending mode.
  • the transmission distance of a terminal is limited, and data can be forwarded through a terminal in a relay mode to increase the transmission distance.
  • the data transmission mode can also be extended by forwarding data through the terminal in the relay mode.
  • the sending end can manage the device information of the receiving end scanned by itself and the device information of the receiving end sent by the relay device.
  • the receiving end can be a terminal in a receiving mode.
  • the relay terminal can be a terminal in a relay mode.
  • the sender can be a terminal in a transmit mode.
  • the transmitting end may transmit the data to the path forwarded by the receiving end to the path.
  • the next relay terminal is transmitted to the target terminal by the relay terminal.
  • the user may select another relay terminal to forward the data, and then the relay terminal transmits the data to the target terminal.
  • Each terminal in the direct communication cluster can switch between multiple direct communication modes according to the set direct communication mode, so that each terminal provides different functions based on different direct communication modes set. Moreover, when the distance between the terminals is changed, the distance is long, the terminal performance is poor, and the like, and the terminal cannot be used to continue the data transmission, the terminal can be used as the relay terminal to expand the data transmission distance and increase the networking. Flexibility.
  • the first terminal 10 when configured in the relay mode, can substantially implement all of the functions implemented when the second terminal 20 is in the relay mode.
  • the second terminal 20 When configured as a transmission mode, can basically implement all functions implemented when the first terminal 10 is in the transmission mode.
  • the data sent by the first terminal 10 to the second terminal 20 may be the data to be transmitted selected by the first terminal 10.
  • the data to be transmitted includes, but is not limited to, data such as the document, audio and video files, pictures, and the like.
  • the first terminal 10 can transmit data by establishing a direct communication connection with the second terminal 20.
  • the data transmitted by the first terminal 10 to the second terminal 20 may also be part of the data to be transmitted selected by the first terminal 10 (including but not limited to a certain type of file data).
  • the sent data may also be the transmitted data of the first terminal 10 to the second terminal 20.
  • the transmitted data may be the data to be transmitted, or may be part of the data to be transmitted (including But not limited to a certain type of file data).
  • the direct communication connection between the second terminal 20 and the third terminal 30 for transmitting data may be triggered by the first terminal 10 transmitting a connection request.
  • connection request may be sent by the first terminal 10 to a target terminal, such as the third terminal 30.
  • the connection request may include device information of the second terminal 20.
  • the connection request may also be sent by the first terminal 10 to the second terminal 20.
  • the connection request may include a target terminal, such as device information of the third terminal 30.
  • connection request may further include a first connection request, a second connection request, depending on the direct connection communication connection initiated by the connection request.
  • the first terminal 10 may determine the amount of data of the transmitted data; and send the first connection when the data amount of the data is greater than or equal to a preset threshold (or greater than or equal to a preset data amount threshold) Requesting to the second terminal 20 or the third terminal 30, the first connection request 10 is used to trigger the establishment of the first direct communication connection between the second terminal 20 and the third terminal 30; the data amount in the data is less than the preset
  • the threshold or less than the preset data amount threshold
  • the second connection request is sent to the second terminal 20 or the third terminal 30, and the second connection request is used to trigger the establishment of the second terminal 20 and the third terminal 30.
  • the second direct communication connection between the two ends so as to realize different direct communication connection with the second terminal 20 for data transmission according to the difference in data amount of the data transmitted by the first terminal 10, thereby improving data transmission efficiency.
  • the first connection request and the second connection request may be sent to the second terminal 20 through a second direct communication connection established between the first terminal 10 and the second terminal, or may be through the first terminal 10 and the third terminal 30.
  • the established second direct communication connection is sent to the third terminal 30.
  • the data sent by the first terminal 10 to the second terminal 20 may also be data that is sequentially transmitted through the at least one direct communication connection after classifying the data to be transmitted, or sent in parallel through multiple direct communication connections.
  • the classifying the data to be transmitted includes, but is not limited to, classifying each data in the data to be transmitted according to a category, a size, and a name.
  • the first terminal 10 may determine the first type of file data in the data to be transmitted, where the first type of file data is data whose data amount is less than a preset threshold; The terminal 10 transmits the first type of file data to the second terminal 20 through a second direct communication connection established with the second terminal 20.
  • the first terminal 10 determines the second type of file data in the data to be transmitted, where the second type of file data is data whose data amount is greater than or equal to a preset threshold; the first terminal 10 is established by using the second terminal 20
  • the second type of file data is sent to the second terminal 20 at the same time as the communication connection.
  • the data to be transmitted includes file 1, file 2, and file 3, and the data to be transmitted is classified according to the data size.
  • File 1 with a data volume less than 1M.
  • the data to be transmitted whose data amount is larger than 1M has file 2 and file 3. It can be determined that file 1 is the first type of file data.
  • the second terminal 20 may send the data to the third terminal 30 through a direct communication connection with the third terminal 30.
  • the direct communication connection between the second terminal 20 and the third terminal 30 includes, but is not limited to, triggering establishment after the second terminal 20 receives the connection request.
  • the connection request may be sent by the first terminal 10, and may also be sent by the third terminal 30.
  • the connection request may include the aforementioned first connection request or second connection request.
  • the first terminal 10 may send a notification message to the second terminal 20 or the third terminal 30, the notification message is used to notify the second terminal 20 as a transmitting end, and is established with the third terminal 30.
  • the direct communication connection transmits the data transmitted by the first terminal 10 or the transmitted data of the first terminal 10.
  • the second terminal 20 can receive the notification message sent by the first terminal 10. Wherein, the first terminal 10 determines that the target terminal is a plurality of receiving ends. The second terminal 20 may select to send the data sent by the first terminal 10 or the transmitted data of the first terminal 10 to the multiple receiving ends.
  • the first terminal 10 may send an indication message to the second terminal 20 or the third terminal 30, the indication message is used to indicate that the second terminal 20 establishes a direct communication connection with the third terminal 30, and indicates
  • the data transmitted by the first terminal 10 or the transmitted data of the first terminal 10, such as the first type of file data, is transmitted between the second terminal 20 and the third terminal 30.
  • the second terminal 20 can receive the indication information sent by the first terminal 10 by using the second direct communication connection.
  • the second terminal 20 may select the data sent by the first terminal 10 or the transmitted data of the first terminal 10, and send the file data of the first type to the plurality of receiving ends respectively.
  • the first terminal 10 may perform the transmission of the remaining data for the target terminal, such as the transmission task of a certain type of file data, or the remaining data transmission tasks to other devices at the same time;
  • a plurality of transmission tasks are performed, for example, when data transmission is performed to the target terminal, data transmission is simultaneously performed to some or all of the plurality of devices.
  • the sender may preferentially transmit the small file to the receiver with the best or best performance status.
  • the small file may be data in which the amount of data in the data to be transmitted mentioned in the embodiment of the present application is less than a preset threshold.
  • the transmitting end may continue to transmit other files after transmitting the small file, and may send some information, such as device information, or a connection request including device information, to other receiving ends, so as to establish the best receiving state of the performance state. Direct communication connection between the terminal and other receiving ends.
  • the sending end may also trigger the receiving end that has received the small file with the best performance status to send part of the data to other receiving ends (including but not limited to being triggered by the notification message).
  • the terminal that receives the partial data preferentially can send the small file just received to the other target receiving end, so that the multi-terminal parallel transmission mode can be formed.
  • the transmitting end may be the first terminal 10
  • the terminal with the best performance status may be the second terminal 20.
  • the other target terminal may be the third terminal 30. Data transmission efficiency can be improved by means of parallel transmission of multiple terminals.
  • the sending end may also preferentially transmit the small file to the receiving end with the best performance state, and send the information of other receiving ends, such as device information or a connection request including device information, to the receiving end with the best performance state, so that The receiver with the best performance status can establish a direct communication connection with other receivers to transmit data.
  • the small file may be the first type of file data in which the amount of data in the data to be transmitted mentioned in the embodiment of the present application is less than a preset threshold.
  • the sender can transmit a large file after the small file is transmitted.
  • the large file may be a second type of file data in which the amount of data in the data to be transmitted is greater than a preset threshold.
  • the receiving end with the best performance state may be triggered as the transmitting end to send the received data to other target receiving ends. (including but not limited to triggering with notification messages), thereby improving the overall efficiency of the terminals in the direct communication cluster.
  • the transmitting end may be the first terminal 10, and the terminal with the best performance status may be the second terminal 20.
  • the other target terminal may be the third terminal 30.
  • part of the data in the data to be transmitted such as a certain type of data (including but not limited to the first type of file data or the second type of file data) or the transmitted data may be used as the target data.
  • the above data to be transmitted may also be referred to as target data.
  • the data division is also different.
  • the data to be transmitted is divided into a plurality of categories and sent to a plurality of target terminals respectively, and then the data that needs to be sent to other terminals is sequentially or parallelly transmitted to other terminals by at least one direct communication connection by the plurality of terminals, so that Collaborative data transfer of multiple devices is completed.
  • the data may also be divided into first type data, second type data, third type data, and fourth type of data as the number of devices participating in the cooperative transmission increases.
  • the labels and titles are not limited.
  • FIG. 3 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
  • the method can be applied to smart terminals, including but not limited to portable mobile devices such as mobile phones, tablet computers, and smart wearable devices.
  • the method may include:
  • the performance information of the first terminal includes, but is not limited to, information about a storage space, a remaining power, a remaining memory, a transmission speed, and the like of the first terminal.
  • the data to be transmitted may be data of audio and video files, pictures, documents and the like to be transmitted selected by the first terminal.
  • the first terminal may establish a direct communication connection with each terminal in the direct communication cluster.
  • the direct communication connection may be a first direct communication connection and/or a second direct communication connection.
  • the performance information of each terminal includes, but is not limited to, information about storage space, remaining power, remaining memory, and transmission speed of each terminal.
  • the performance information of the first terminal includes the remaining power
  • determine whether the remaining power is less than a preset first power threshold
  • determine whether the transmission speed is less than a preset first speed threshold
  • if the remaining power is less than the preset first power threshold and/or the transmission speed is less than the preset first speed threshold determining that the performance information of the first terminal meets a preset Switch conditions.
  • the preset first power threshold of the first terminal is 30% and the first speed threshold is 0.5 M/s.
  • the transmission speed can be determined to be 1 M/s
  • the performance information of the first terminal is not less than the corresponding preset threshold. If the current remaining power of the terminal is less than 60%, and/or the current transmission speed is less than 1 M/s, it may be determined that the performance information of the first terminal is less than a corresponding preset threshold.
  • the second terminal when the performance status of the first terminal is not good, the second terminal is determined to transmit the data to be transmitted in time, thereby ensuring continuity of data transmission, improving data transmission efficiency, and avoiding the first terminal Poor performance leads to interruption of data transmission, and a connection needs to be established to retransmit the data.
  • the transmission speed refers to the data transmission speed.
  • the transmission speed can be tested by first transmitting a probe frame.
  • the first terminal may determine whether the transmission speed is less than a preset first speed threshold; if less, when the performance information of the first terminal includes the remaining power The first terminal may determine whether the remaining power is less than a preset first power threshold; if less, the first terminal may determine that the performance information of the first terminal is less than a corresponding preset threshold.
  • the preset first power threshold of the first terminal is 30% and the first speed threshold is 0.5 M/s.
  • the transmission speed is less than 0.5 M/s. If the current remaining power of the first terminal is 20%, it may be further determined that the remaining power is less than 30%. Therefore, it can be determined that the performance information of the first terminal is smaller than the corresponding preset threshold.
  • the first terminal may determine whether the storage space is smaller than a preset first storage space threshold; if less, the performance information of the first terminal includes remaining memory. The first terminal may determine whether the remaining memory is less than a preset first remaining memory threshold; if less, the first terminal may determine that the performance information of the first terminal is less than a corresponding preset threshold.
  • the first terminal may determine whether the transmission speed is less than a preset first speed threshold; if less, when the performance information of the first terminal includes remaining memory The first terminal may determine whether the remaining memory is less than a preset first remaining memory threshold; if less, the first terminal may determine that the performance information of the first terminal is less than a corresponding preset threshold.
  • the first terminal may determine the second terminal according to the performance information of each terminal in the direct communication cluster, so that the first terminal forwards the data transmission task to the second terminal, and the second terminal may continue the first terminal. Data transmission tasks to ensure the timeliness of data transmission.
  • the first terminal may obtain performance information of each terminal in the direct communication cluster by using a second direct communication connection established with each terminal in the direct communication cluster.
  • the second direct communication connection includes, but is not limited to, a radio communication connection such as a radio frequency connection, a Bluetooth connection, an ultrasonic connection, or the like.
  • the first direct communication connection may be a wireless communication connection such as a Wi-Fi connection.
  • the direct communication cluster includes a terminal 400, a terminal 401, a terminal 402, a terminal 403, and a terminal 404.
  • the terminal 402 can obtain the remaining power of the terminal 400, the remaining power of the terminal 401, and the remaining terminal 403 through a second direct communication connection, such as a Bluetooth connection.
  • the first terminal may compare and analyze performance information of each terminal in the direct communication cluster to determine a terminal with better or better performance status as the second terminal.
  • the acquired performance information is the remaining power
  • the first terminal may compare and analyze the remaining power of each terminal in the communication cluster, so that the terminal with more or more remaining power is determined to be the second terminal.
  • the obtained performance information is the remaining memory
  • the first terminal may compare and analyze the remaining memory of each terminal in the communication cluster, so that the terminal with more or more remaining memory is determined to be the second terminal.
  • the acquired performance information is the transmission speed
  • the first terminal may compare and analyze the transmission speed of the data of each terminal in the communication cluster, so that the terminal with the faster or fastest transmission speed may be determined to be the second terminal.
  • the first terminal may further determine the second terminal by combining two or more kinds of information of storage space, remaining power, remaining memory, and transmission speed of each terminal.
  • the first terminal determines whether the remaining power in the performance information of each terminal in the direct communication cluster is greater than or equal to a preset second power threshold; and determining that the remaining power is greater than or equal to the preset in each terminal.
  • a plurality of terminals of the second power threshold are set, determining whether the transmission speed in the performance information of the multiple terminals is greater than or equal to a preset second speed threshold; and selecting a transmission speed of the multiple terminals is greater than or equal to the preset
  • the terminal of the second speed threshold is used as the second terminal.
  • the direct communication cluster includes a terminal 400, a terminal 401, a terminal 402, a terminal 403, and a terminal 404.
  • the terminal 402 can obtain the remaining power and the transmission speed of the terminal 400, the remaining power of the terminal 401, and the transmission through the second direct communication connection, such as the Bluetooth connection.
  • Speed remaining capacity of the terminal 403 and transmission speed, remaining capacity of the terminal 404, and transmission speed.
  • the preset second power threshold is 60%
  • the preset second speed threshold is 1 M/s
  • the terminal with the remaining power determined by the terminal 402 greater than 60% has the terminal 400 and the terminal 401, the terminal can be further judged.
  • the transmission speed of 400 and whether the transmission speed in the terminal 401 is greater than 1 M/s. If the transmission speed of the terminal 401 is greater than 1 M/s, it may be determined that the terminal 401 is the second terminal.
  • the terminal with the highest transmission speed among the multiple terminals may be selected as the second terminal.
  • the second power threshold may be the same as or different from the first power threshold.
  • the second speed threshold may be the same as or different from the first speed threshold.
  • the situation of the second terminal with better or better performance status is determined according to the power quantity and the transmission speed, and the performance information of the first terminal is lower than the corresponding preset threshold, that is, the performance status of the first terminal is not good.
  • the situation of determining the second terminal is different, so the second speed threshold is often greater than the first speed threshold, and the second power threshold is greater than the first power threshold.
  • the first terminal determines whether the data amount of the received data in the performance information of each terminal in the direct communication cluster is greater than or equal to a preset data receiving threshold; and determining that the respective terminals include the received data.
  • a plurality of terminals whose data amount is greater than or equal to a preset data receiving threshold determining whether the transmission speed in the performance information of the multiple terminals is greater than or equal to a preset second speed threshold; selecting a transmission speed of the multiple terminals is greater than Or a terminal equal to the preset second speed threshold as the second terminal.
  • the terminal can ensure the integrity of the data transmission according to the terminal that determines the data volume of the data is large, and can further ensure the high transmission speed between the terminals by further determining the terminal with a faster transmission speed. Transfer data. Wherein, if the terminal does not receive the data transmitted by the first terminal, the data amount of the received data is 0.
  • the direct communication cluster includes a terminal 400, a terminal 401, a terminal 402, a terminal 403, and a terminal 404.
  • the terminal 402 can obtain the data amount of the received data and the transmission speed of the terminal 400 through the second direct communication connection, such as a Bluetooth connection, and the terminal 401.
  • the terminal 402 determines that the terminal having the data amount of the received data greater than or equal to 100M has the terminal 400 and the terminal 401, it can further determine whether the transmission speed of the terminal 400 and the transmission speed in the terminal 401 are greater than 1 M/s. If the transmission speed of the terminal 401 is greater than 1 M/s, it may be determined that the terminal 401 is the second terminal.
  • the terminal with the highest transmission speed among the multiple terminals may be selected as the second terminal.
  • the first terminal determines whether the remaining memory in the performance information of each terminal in the direct communication cluster is greater than or equal to a preset second remaining memory threshold; determining that the remaining memory in the respective terminal is greater than or equal to the When a plurality of terminals of the second remaining memory threshold are preset, determining whether the transmission speed in the performance information of the multiple terminals is greater than or equal to a preset second speed threshold; and selecting a transmission speed of the multiple terminals is greater than or equal to the The terminal of the preset second speed threshold is used as the second terminal.
  • the first terminal determines whether the data amount of the received data in the performance information of each terminal in the direct communication cluster is greater than or equal to a preset data receiving threshold; and determining that the respective terminals include the received data.
  • a preset data receiving threshold determines whether the remaining memory in the performance information of the plurality of terminals is greater than or equal to a preset second remaining memory threshold; selecting remaining memory in the multiple terminals A terminal greater than or equal to the preset second remaining memory threshold is used as the second terminal.
  • the first terminal determines whether the data amount of the received data in the performance information of each terminal in the direct communication cluster is greater than or equal to a preset data receiving threshold; and determining that the respective terminals include the received data.
  • a plurality of terminals whose data amount is greater than or equal to a preset data receiving threshold determining whether a storage space in the performance information of the multiple terminals is greater than or equal to a preset second storage space threshold; and selecting a storage space in the multiple terminals A terminal greater than or equal to the preset second storage space threshold is used as the second terminal.
  • the first terminal determines whether the storage space in the performance information of each terminal in the direct communication cluster is greater than or equal to a preset second storage space threshold; and determines, in each terminal, the amount of data that has received data. And determining, by the plurality of terminals that are greater than or equal to the preset second storage space threshold, whether the remaining memory in the performance information of the multiple terminals is greater than or equal to the preset second remaining memory threshold; and selecting the remaining memory in the multiple terminals A terminal greater than or equal to the preset second remaining memory threshold is used as the second terminal.
  • the notification message is used to notify the second terminal as the sending end, and transmit the transmitted data through the established direct communication connection with the target terminal.
  • the proportion of the transmitted data in the to-be-transmitted data may be the amount of data that the transmitted data occupies in the to-be-transmitted data.
  • the preset ratio threshold may be a threshold of a preset amount of data.
  • it may be a threshold of the amount of data that the transmitted data occupies in the data to be transmitted.
  • the proportion of the transmitted data in the to-be-transmitted data may also be a percentage of the transmitted data in the to-be-transmitted data.
  • the preset proportional threshold may be a preset percentage threshold.
  • it may be a threshold of the percentage of the transmitted data in the data to be transmitted.
  • the instruction/request can include different contents.
  • the first terminal determines a data quantity of the transmitted data; when the data quantity of the transmitted data is greater than or equal to a preset data quantity threshold, sending a first connection request, where the first connection request is used for Trimming to establish a first direct communication connection between the second terminal and the target terminal in the direct communication cluster; when the data volume of the transmitted data is less than a preset data amount threshold, sending a second connection request, The second connection request is used to trigger establishment of a second direct communication connection between the second terminal and a target terminal in the direct communication cluster.
  • the first terminal determines that the data amount of the transmitted data is 10M
  • the preset data amount threshold is 6M.
  • the first terminal may determine that the data amount of the transmitted data is greater than a preset data amount threshold, and then send the first connection request.
  • the first connection request may trigger the second terminal to establish a first direct communication connection, such as a Wi-Fi connection, with the target terminal in the direct communication cluster.
  • the first terminal may determine that the data volume of the transmitted data is less than a preset data amount threshold. , then send a second connection request.
  • the second connection request may trigger the second terminal to establish a second direct communication connection, such as a Bluetooth connection, with the target terminal in the direct communication cluster.
  • the target terminal in the direct communication cluster may be determined by: determining, by the first terminal, an initial terminal that needs to receive the data to be transmitted in the direct communication cluster; and sending, by the first terminal, detection to each initial terminal.
  • the signal is used to detect the signal strength between the initial terminals and the first terminal; and the initial terminal in which the signal strength between the initial terminals and the first terminal is less than the preset signal strength threshold is determined as the target terminal. .
  • the initial terminal does not include the determined second terminal.
  • the signal strength includes, but is not limited to, being presented in the form of numbers, icons, and the like.
  • the second terminal is the terminal 401.
  • the terminal 402 may determine that the initial terminal that needs to receive the data to be transmitted in the direct communication cluster includes: the terminal 400, the terminal 403, and the terminal 404, and the terminal 402 respectively sends the detection signal to the terminal 400, the terminal 403, and the terminal 404 to test the terminal.
  • the preset signal strength threshold is 50, it can be determined that the terminal 400 is the target terminal, so that the terminal 400 establishes a direct communication connection with the terminal 401 and transmits the data to be transmitted.
  • the first terminal may determine the amount of data of the data to be transmitted.
  • the data to be transmitted is sent to the second terminal by using the first direct communication connection established by the first terminal and the second terminal.
  • the data to be transmitted may be sent to the second terminal by using the second direct communication connection established by the first terminal and the second terminal. For example, if the first terminal determines that the data amount of the data to be transmitted is 10M, the preset data amount threshold is 6M.
  • the first terminal may determine that the data volume of the data to be transmitted is greater than a preset data volume threshold, and transmit the data to be transmitted by using a first direct communication connection established with the second terminal, such as a Wi-Fi connection. For example, if the first terminal determines that the data volume of the data to be transmitted is 10 M, and the preset data volume threshold is 15 M, the first terminal may determine that the data volume of the data to be transmitted is less than a preset data volume threshold. And transmitting the data to be transmitted through a second direct communication connection established with the second terminal, such as a Bluetooth connection.
  • the first terminal may determine the second terminal when the performance information of the first terminal is smaller than the corresponding preset threshold, and may transmit the data in the data to be transmitted.
  • the notification message may be sent to the second terminal, so that the transmitted data may be sent by the second terminal to the target terminal, so that the terminal can select an appropriate one according to the performance state of the terminal.
  • the terminal continues the transmission of data, guarantees the continuity and integrity of data transmission, and can improve the efficiency of data transmission through coordinated data transmission of multiple terminals.
  • FIG. 5 is a schematic flowchart diagram of a data transmission method according to still another embodiment of the present application.
  • the method can be applied to smart terminals, including but not limited to portable mobile devices such as mobile phones, tablet computers, and smart wearable devices.
  • the method may include:
  • the direct communication cluster includes a terminal 600, a terminal 601, a terminal 602, a terminal 603, and a terminal 604.
  • the terminal 601 is connected through the second direct communication, and when receiving the request for acquiring performance information sent by the terminal 601, The terminal 601 transmits the performance information of the local machine to the terminal 602.
  • the second terminal may be a terminal that the first terminal may determine according to performance information of each terminal in the direct communication cluster.
  • the second terminal can establish a direct communication connection with the first terminal, including a first direct communication connection and/or a second direct communication connection.
  • the second terminal may send the performance information of the second terminal by using a second direct communication connection established with the first terminal, such as a Bluetooth connection.
  • the performance information of the second terminal includes, but is not limited to, information about remaining memory, remaining power, storage space, transmission speed, and the like of the second terminal.
  • the second direct communication connection includes, but is not limited to, a radio communication connection such as a radio frequency connection, a Bluetooth connection, an ultrasonic connection, or the like.
  • the first direct communication connection may be a wireless communication connection such as a Wi-Fi connection.
  • the transmitting terminal receives the direct communication connection established with the target terminal in the direct communication cluster, and the received information from the first terminal is received. Transmission data is transmitted to the target terminal.
  • the second terminal may receive the first connection request, and is configured to trigger establishment of the first direct communication connection between the second terminal and the target terminal in the direct communication cluster; or the second terminal may receive the first And a second connection request, configured to trigger establishment of a second direct communication connection between the second terminal and the target terminal in the direct communication cluster.
  • the first terminal is the terminal 602
  • the second terminal is the terminal 601.
  • the terminal 601 receives the first connection request sent by the terminal 602, and the connection request may include the device information of the terminal 600
  • the terminal 600 may be determined to be the target terminal. Then, the terminal 601 can establish a first direct communication connection with the terminal 600 through the device information of the terminal 600, so that the terminal 601 can serve as a transmitting end to transmit the transmitted data sent by the received terminal 602.
  • the connection request is sent by each target terminal or sent by the first terminal.
  • connection request may be a first connection request sent by the first terminal according to the data amount of the transmitted data, and used to trigger the second terminal to establish a first direct connection with the target terminal in the direct communication cluster.
  • the first connection request may include device information of the target terminal in the direct communication cluster, so that the second terminal establishes a first direct communication connection with the target terminal in the direct communication cluster.
  • connection request may be a second connection request sent by the first terminal according to the difference in the amount of data that is transmitted, and is used to trigger the second terminal to establish a second direct connection with the target terminal in the direct communication cluster.
  • the second connection request may include device information of the target terminal in the direct communication cluster, so that the second terminal establishes a second direct communication connection with the target terminal in the direct communication cluster.
  • connection request is further sent by the target terminal in the direct communication cluster, and is used to trigger establishment of the second terminal to establish a direct communication connection with the target terminal in the direct communication cluster.
  • connection request may be a request for establishing the first direct communication connection between the second terminal and the target terminal according to the data amount of the data to be transmitted in the data to be transmitted, and may also be used for A request for establishing a second direct communication connection between the second terminal and the target terminal.
  • the connection request may include device information of the target terminal.
  • the first terminal may determine the amount of data of the data to be transmitted.
  • the second terminal receives the data to be transmitted through the first direct communication connection established with the first terminal.
  • the second terminal may receive the data to be transmitted through the second direct communication connection established by the first terminal and the second terminal.
  • the transmitted data of the first terminal may be the data to be transmitted, and may also be part of the data to be transmitted. For example, if the first terminal determines that the data amount of the data to be transmitted is 10M, the preset data amount threshold is 6M.
  • the first terminal may determine that the data volume of the data to be transmitted is greater than a preset data volume threshold, and the second terminal receives the data to be transmitted by using a first direct communication connection established with the first terminal, such as a Wi-Fi connection. .
  • a first direct communication connection established with the first terminal, such as a Wi-Fi connection.
  • the first terminal may determine that the data volume of the data to be transmitted is less than a preset data volume threshold.
  • the second terminal receives the data to be transmitted through a second direct communication connection established with the first terminal, such as a Bluetooth connection.
  • step S503 if the second terminal receives the notification message sent by the first terminal, the second terminal may serve as a transmitting end, and establish a direct communication connection with the target terminal in the direct communication cluster.
  • the transmitted data received from the first terminal is transmitted to the target terminal.
  • the notification message may be used to notify the second terminal as the sender, and send the transmitted data to the target terminal through a direct communication connection established with the target terminal in the direct communication cluster.
  • the second terminal can establish a direct communication connection with the target terminal in the direct communication cluster, and pass the transmitted data received from the first terminal to the directly connected communication cluster.
  • the direct communication connection established by the target terminal is sent to the target terminal, and the purpose of continuing data transmission by the terminal with better performance is achieved, which facilitates data transmission.
  • FIG. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present disclosure.
  • the apparatus may be applied to an intelligent terminal, including but not limited to a portable mobile device such as a mobile phone or a tablet.
  • the device may acquire the module 701, the determining module 702, and the sending module 703, and may further include a determining module 704.
  • the device may include:
  • the obtaining module 701 is configured to acquire performance information of the first terminal when the first terminal needs to transmit data to be transmitted to the terminal in the direct communication cluster.
  • the obtaining module 701 can be disposed in the processor.
  • the performance information of the first terminal includes, but is not limited to, information about a storage space, a remaining memory, a transmission speed, and a remaining power of the first terminal.
  • the data to be transmitted may be data of audio and video files, pictures, documents and the like to be transmitted selected by the first terminal.
  • the determining module 702 is configured to determine, according to the performance information of each terminal in the direct communication cluster, the second terminal, if it is determined that the performance information of the first terminal is less than a corresponding preset threshold.
  • the determining module 702 can be disposed in the processor.
  • the performance information of each terminal includes, but is not limited to, information about storage space, remaining memory, remaining power, and transmission speed of each terminal.
  • the performance information of the respective terminals may be acquired through a second direct communication connection established with each terminal in the direct communication cluster.
  • the second terminal and the target in the direct communication cluster are triggered, including but not limited to, in the form of sending an instruction/request to the target terminal in the second terminal and/or the direct communication cluster.
  • a direct communication connection is established between the terminals.
  • the instruction/notification message/request can include different contents.
  • the first connection request and the second connection request are sent to trigger the establishment of a direct communication connection, and the device information of the corresponding terminal may be carried.
  • the sending module 703 is configured to: if it is determined that the proportion of the transmitted data of the second terminal in the to-be-transmitted data exceeds a preset ratio threshold, send a notification message to the second terminal or the direct communication The target terminal in the cluster.
  • the notification message is used to notify the second terminal as the sending end, and transmits the transmitted data through the established direct communication connection with the target terminal.
  • the sending module 703 can correspond to a communication interface, such as a wireless communication module such as a Wi-Fi module, a Bluetooth module, or a radio frequency module.
  • the sending module 703 may: when the determining module 702 determines that the data volume of the data to be transmitted is greater than or equal to a preset data amount threshold, the first direct communication connection established by the first terminal and the second terminal is The data to be transmitted is sent to the second terminal.
  • the sending module 703 can determine the data to be transmitted through the second direct communication connection established by the first terminal and the second terminal when the determining module 702 determines that the data volume of the data to be transmitted is less than the preset data amount threshold. Send to the second terminal.
  • the determining module 702 is further configured to determine an amount of data of the transmitted data.
  • the sending module 703 is further configured to: when the data volume of the transmitted data is greater than or equal to a preset data volume threshold, send a first connection request, where the first connection request is used to trigger the establishment. a first direct communication connection between the second terminal and the target terminal in the direct communication cluster; when the data amount of the transmitted data is less than a preset data amount threshold, sending a second connection request, The second connection request is used to trigger establishment of a second direct communication connection between the second terminal and a target terminal in the direct communication cluster. For example, if the amount of data of the transmitted data is 10M, the preset data amount threshold is 6M.
  • the determining module 702 can determine that the data amount of the transmitted data is greater than a preset data amount threshold, and send the first connection request by the sending module 703.
  • the first connection request may trigger the second terminal to establish a first direct communication connection, such as a Wi-Fi connection, with the target terminal in the direct communication cluster.
  • the determining module 702 is further configured to determine an initial terminal that needs to receive the data to be transmitted in the direct communication cluster.
  • the sending module 703 is further configured to send a sounding signal to each initial terminal, where the sounding signal is used to detect a signal strength between each of the initial terminals and the first terminal.
  • the signal strength includes, but is not limited to, expressed in the form of numbers, icons, and the like.
  • the initial terminal does not include the determined second terminal.
  • the determining module 702 is further configured to determine that the initial terminal in the initial terminal and the first terminal with a signal strength less than a preset signal strength threshold is a target terminal. For example, if the first terminal is the terminal 1 and the second terminal is the terminal 2, the determined initial terminal includes the terminal 3 and the terminal 4. The signal strength between the terminal 1 and the terminal 3 is 60, and the signal strength between the terminal 4 and the terminal 4 is 50. If the preset signal strength threshold is 55, the determining module 702 can determine that the terminal 4 is the target terminal.
  • the determining module 704 is configured to determine, when the performance information of the first terminal includes the remaining power, whether the remaining power is less than a preset first power threshold; and the performance information of the first terminal includes the transmission. At the time of speed, it is judged whether the transmission speed is less than a preset first speed threshold.
  • the determining module 704 can be correspondingly disposed in the processor.
  • the determining module 702 is further configured to determine the first terminal if the remaining power is less than the preset power threshold and/or the transmission speed is less than the preset first speed threshold.
  • the performance information is less than the corresponding preset threshold.
  • the determining module 702 may determine that the performance information of the first terminal is not less than a corresponding preset threshold. If the current remaining capacity of the terminal is less than 60%, and/or the current transmission speed is less than 1 M/s, the determining module 702 may determine that the performance information of the first terminal is less than a corresponding preset threshold.
  • the determining module 702 determines, according to the performance information of each terminal in the direct communication cluster, whether the remaining power in the performance information of each terminal in the direct communication cluster is greater than or equal to the pre-determination. a second power threshold; determining whether the transmission speed in the performance information of the multiple terminals is greater than when determining, by the plurality of terminals, that the remaining power is greater than or equal to the preset second power threshold Or equal to the preset second speed threshold; and selecting, as the second terminal, a terminal in the multiple terminals that has a transmission speed greater than or equal to the preset second speed threshold.
  • the determining module 702 determines, according to the performance information of each terminal in the direct communication cluster, the second terminal, specifically, determining the received data in the performance information of each terminal in the direct communication cluster. Whether the amount of data is greater than or equal to a preset data receiving threshold; determining, when the plurality of terminals in the respective terminals that the amount of data of the received data is greater than or equal to a preset data receiving threshold, determining the plurality of terminals Whether the transmission speed in the performance information is greater than or equal to the preset second speed threshold; and selecting, in the plurality of terminals, a terminal whose transmission speed is greater than or equal to the preset second speed threshold is used as the second terminal.
  • the first terminal when determining that the performance information of the first terminal is less than the corresponding preset threshold, the first terminal may determine that the second terminal sends the transmitted data to the second terminal.
  • the notification message may be sent to the second terminal for notifying the second terminal to transmit the transmitted data to the target terminal, so that the terminal can perform according to its own performance.
  • the state selects the appropriate terminal, continues the data transmission, guarantees the continuity and integrity of the data transmission, and can improve the efficiency of data transmission through the coordinated data transmission of multiple terminals.
  • FIG. 8 is a schematic structural diagram of a data transmission apparatus according to another embodiment of the present disclosure, where the apparatus can be applied to an intelligent terminal, including but not limited to a portable mobile device such as a mobile phone or a tablet.
  • the device may send the module 801, and may further include a receiving module 802.
  • the device may include:
  • the sending module 801 is configured to send the performance information of the second terminal to the first terminal by using a direct communication connection established with the first terminal, when detecting a request for acquiring performance information sent by the first terminal a terminal.
  • the sending module 801 can send the performance information of the second terminal by using a second direct communication connection established by the second terminal with the first terminal, such as a Bluetooth connection.
  • the sending module 801 is further configured to: when receiving the notification message sent by the first terminal, serve as a sending end, by directly connecting the target terminal in the direct communication cluster, The transmitted data received from the first terminal is transmitted to the target terminal.
  • the receiving module 802 is configured to receive a first connection request, where the first connection request is sent by the first terminal and/or the target terminal, and is used to trigger establishment of the second terminal and the direct connection.
  • the receiving module 802 is further configured to receive a second connection request, where the second connection request is sent by the first terminal and/or the target terminal, to trigger establishment of the second terminal and the A second direct communication connection between target terminals in the direct communication cluster.
  • connection request may be a first connection request sent by the first terminal, and may also be a second connection request sent by the first terminal.
  • request for the first terminal to establish a first direct communication connection between the second terminal and the target terminal may also be sent by the target terminal for establishing between the second terminal and the target terminal. The request to connect directly to the communication connection.
  • the receiving module 802 is configured to receive the transmitted data sent by the first terminal.
  • the first terminal determines the amount of data of the data to be transmitted.
  • the second terminal receives the data to be transmitted through the first direct communication connection established by the first terminal and the second terminal.
  • the second terminal may receive the data to be transmitted through the second direct communication connection established by the first terminal and the second terminal.
  • the sending module 801 may send the transmitted data to the target terminal by using the first direct communication connection.
  • the sending module 801 can send the transmitted data to the target terminal through the second direct communication connection.
  • the sending module 801 may send the transmitted data to the target terminal by using the first direct communication connection, where the connection request is the second that is sent by the target terminal.
  • the transmitting module 801 can transmit the transmitted data to each target terminal through the second direct communication connection.
  • the sending module 801 and the receiving module 802 may correspond to a communication interface, such as a wireless communication module such as a Wi-Fi module, a Bluetooth module, or a radio frequency module.
  • a wireless communication module such as a Wi-Fi module, a Bluetooth module, or a radio frequency module.
  • the second terminal can establish a direct communication connection with the target terminal in the direct communication cluster, and pass the transmitted data received from the first terminal through the target in the direct communication cluster.
  • the terminal establishes a direct communication connection and sends it to the target terminal in the direct communication cluster, thereby achieving the purpose of continuing data transmission by the terminal with better performance, and facilitating data transmission.
  • FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present application, for performing a data transmission method as shown in the embodiment of FIG. 3 of the present application.
  • the terminal in the embodiment of the present application may include: at least one component of the processor 1000, the memory 3000, and the like.
  • the terminal may further include at least one communication interface 2000.
  • these components are communicatively connected by one or more buses 4000.
  • the structure of the terminal shown in FIG. 9 does not constitute a limitation on the embodiment of the present application. It may be a bus-shaped structure or a star-shaped structure, and may include more than the figure or Fewer parts, or a combination of some parts, or different parts. among them:
  • the processor 1000 is a control center of the terminal, and connects various parts of the entire terminal by using various interfaces and lines, by executing or executing programs and/or modules stored in the memory 3000, and calling data stored in the memory 3000 to execute the terminal.
  • the processor 1000 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs that have the same function or different functions.
  • the processor 1000 may include only a central processing unit (CPU), or may be a CPU, a digital signal processor (DSP), or a graphics processing unit (GPU). And a combination of various control chips.
  • the CPU may be a single operation core, and may also include a multi-operation core.
  • the communication interface 2000 may include multiple wireless communication modules, such as a radio frequency module, a Wi-Fi module, a Bluetooth module, an ultrasound module, etc., and may be used to establish a direct communication connection between terminals in a direct communication cluster, including but not limited to implementation.
  • the communication interface 2000 can also include a display screen for outputting a user interface.
  • the memory 3000 can be used to store computer programs and modules.
  • the processor 1000 and the communication interface 2000 perform various functional applications of the terminal and implement data processing by calling computer programs and modules stored in the memory 3000.
  • the memory 3000 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, and the like; the data storage area can store data created according to the use of the terminal, and the like.
  • the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
  • the processor 1000 calls a computer program stored in the memory 3000 for performing the following steps:
  • the target terminal is configured to notify the second terminal as a transmitting end, and transmit the transmitted data through the established direct communication connection with the target terminal.
  • the processor 1000 calls a computer program stored in the memory 3000, and is also configured to perform the following steps:
  • the processor 1000 calls a computer program stored in the memory 3000, and is also configured to perform the following steps:
  • the sounding signal is used to detect a signal strength between each initial terminal and the first terminal;
  • the initial terminal that determines that the signal strength between the initial terminals and the first terminal is less than a preset signal strength threshold is a target terminal.
  • the processor 1000 calls a computer program stored in the memory 3000, and is also configured to perform the following steps:
  • the performance information of the first terminal includes a transmission speed, determining whether the transmission speed is less than a preset first speed threshold;
  • the remaining power is less than the preset first power threshold and/or the transmission speed is less than the preset first speed threshold, determining that the performance information of the first terminal is less than a corresponding preset threshold.
  • the processor 1000 calls a computer program stored in the memory 3000, where the second terminal is determined according to performance information of each terminal in the direct communication cluster, and is configured to perform the following steps:
  • a terminal in which the transmission speed is greater than or equal to the preset second speed threshold is selected as the second terminal.
  • the processor 1000 calls a computer program stored in the memory 3000, where the second terminal is determined according to performance information of each terminal in the direct communication cluster, and is configured to perform the following steps:
  • a terminal in which the transmission speed is greater than or equal to the preset second speed threshold is selected as the second terminal.
  • the first terminal may determine the second terminal when determining that the performance information of the first terminal is less than the corresponding preset threshold, and the data that is transmitted to the second terminal is waiting for When the ratio of the transmission data exceeds the preset ratio threshold, the notification message is sent to the second terminal, to notify the second terminal to send the transmitted data to the target terminal, so that the terminal can select according to the performance state of the terminal.
  • Appropriate terminals continue to transmit data, guarantee the continuity and integrity of data transmission, and improve the efficiency of data transmission through coordinated data transmission of multiple terminals.
  • FIG. 10 is a schematic structural diagram of a terminal according to another embodiment of the present application, for performing a data transmission method as shown in the embodiment of FIG. 5 of the present application.
  • the terminal in the embodiment of the present application may include: at least one component of the processor 1001, such as the memory 3001.
  • the terminal may further include at least one communication interface 2001, wherein the components may be communicatively connected by one or more buses 4001.
  • the structure of the terminal shown in FIG. 10 does not constitute a limitation on the embodiment of the present application. It may be a bus-shaped structure or a star-shaped structure, and may include more than the figure or Fewer parts, or a combination of some parts, or different parts. among them:
  • the processor 1001 is a control center of the terminal, and connects various parts of the entire terminal by using various interfaces and lines, by executing or executing programs and/or modules stored in the memory 3001, and calling data stored in the memory 3001 to execute the terminal.
  • the processor 1001 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs having the same function or different functions.
  • the processor 1001 may include only a central processing unit (CPU), or may be a CPU, a digital signal processor (DSP), or a graphics processing unit (GPU). And a combination of various control chips.
  • the CPU may be a single operation core, and may also include a multi-operation core.
  • the communication interface 2001 may include multiple wireless communication modules, such as a radio frequency module, a Wi-Fi module, a Bluetooth module, an ultrasound module, etc., and may be used to establish a direct communication connection between terminals in a direct communication cluster, including but not limited to implementation.
  • the communication interface 2001 can also include a display screen for outputting a user interface.
  • the memory 3001 can be used to store computer programs and modules.
  • the processor 1001 and the communication interface 2001 execute various functional applications of the terminal and implement data processing by calling computer programs and modules stored in the memory 3001.
  • the memory 3001 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, and the like; the data storage area can store data created according to the use of the terminal, and the like.
  • the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
  • the processor 1001 calls a computer program stored in the memory 3001 for performing the following steps:
  • the performance information of the second terminal is sent to the first terminal by using a direct communication connection established with the first terminal;
  • the notification message sent by the first terminal is received through the communication interface 2001, as a transmitting end, the direct connection communication established with the target terminal in the direct connection communication cluster, through the communication interface 2001, The transmitted data received by a terminal is transmitted to the target terminal.
  • the processor 1001 invokes a computer program stored in the memory 3001, and is further configured to perform the following steps:
  • the second connection request is received by the communication interface 2001, and the second connection request is sent by the first terminal and/or the target terminal, and is used to trigger establishment of the second terminal and the direct communication cluster.
  • a computer readable storage medium is also provided, the computer readable storage medium storing a computer program that, when executed by a processor, is implemented as described in the embodiment of FIG. 3 or FIG. 5 of the present application Data transfer method.
  • a computer program product comprising a computer readable storage medium storing a computer program, the computer program being executed by the processor to implement the method of FIG. 3 or FIG. 5 of the present application The data transmission method described in the embodiment.
  • the second terminal can establish a direct communication connection with the target terminal in the direct communication cluster, and pass the transmitted data received from the first terminal to the directly connected communication cluster.
  • the direct communication connection established by the target terminal is sent to the target terminal, and the purpose of continuing data transmission by the terminal with better performance is achieved, which facilitates data transmission.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or module, and may be electrical, mechanical or otherwise.
  • the modules described as separate components may or may not be physically separated.
  • the components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. . Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of hardware plus software function modules.
  • the above-described integrated modules implemented in the form of software function modules can be stored in a computer readable storage medium.
  • the above software function module is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute the method described in various embodiments of the present application. Part of the steps.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本申请实施例公开了一种数据传输方法、装置、终端及计算机可读存储介质,该方法包括:在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端。采用本申请,可以根据终端的性能状态终端以选择终端协作数据传输,提高了数据传输效率,方便了数据的传输。

Description

一种数据传输方法、装置、终端及计算机可读存储介质
本申请要求于2017年7月18日提交中国专利局、申请号为201710589653.1、发明名称为“一种数据传输方法、装置、终端及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种数据传输方法、装置、终端及计算机可读存储介质。
背景技术
随着通信技术的发展,终端的应用也越来越普遍。人们可以利用各个各样的通信方式进行数据的交互。例如,各个终端间可以建立的无线通信连接,如无线保真(Wireless-Fidelity,Wi-Fi)连接、近场通信(Near Field Communication,NFC)连接,来发送和/或接收数据。
通常来说,终端会获取用户想要传输至其它终端的数据,并在接收到数据发送指令时,可以将该数据发送至其它终端。其它终端可以通过建立的无线通信连接接收到该数据。然而,在该终端由于信号较差、电量不足等原因,极易导致该第一终端的数据传输过程不能持续,使得其它终端不能完整的接收到该终端想要传输的数据。
申请内容
本申请实施例提供了一种数据传输方法、装置、终端及计算机可读存储介质,可以根据终端的性能状态选取合适的终端以进行数据传输,提高了数据传输的连续性,并且可以通过多终端的协作数据传输,提高了数据传输效率,方便了数据的传输。
第一方面,本申请实施例提供了一种数据传输方法,包括:
在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;
若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;
若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端;所述通知消息用于通知所述第二终端作为发送端,并与所述目标终端之间通过建立的直连通信连接传输所述已传输数据。
第二方面,本申请实施例还提供了一种数据传输方法,该方法包括:
在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端;
若接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,将从所述第一终端接收到的已传输数据发送至所述目标终端。
第三方面,本申请实施例提供了一种数据传输装置,包括:
获取模块,用于在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;
确定模块,用于若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;
发送模块,用于若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端;所述通知消息用于通知所述第二终端作为发送端,并与所述目标终端之间通过建立的直连通信连接传输所述已传输数据。
第四方面,本申请实施例还提供了一种数据传输装置,该装置包括:
发送模块,用于在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端;
所述发送模块,还用于若接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,将从所述第一终端接收到的已传输数据发送至所述目标终端。
第五方面,本申请实施例提供了一种终端,至少包括处理器和存储器,其中,所述存储器用于存储应用程序代码,所述处理器被配置用于调用所述程序代码,执行如第一方面所述的方法。
第六方面,本申请实施例还提供了一种终端,至少包括处理器和存储器,其中,所述存储器用于存储应用程序代码,所述处理器被配置用于调用所述程序代码,执行如第二方面所述的方法。
第七方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如第一方面的方法,或者第二方面的方法。
第八方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括了存储有计算机程序的计算机可读存储介质,所述计算机程序被处理器使所述处理器执行上述第一方面的方法,或者第二方面的方法。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种网路架构图;
图2为本申请再一实施例提供的一种网路架构图;
图3为本申请实施例提供的一种数据传输方法的流程示意图;
图4为本申请实施例提供的一种数据传输网络示意图;
图5为本申请再一实施例提供的一种数据传输方法的流程示意图;
图6为本申请再一实施例提供的一种数据传输网络示意图;
图7为本申请实施例提供的一种数据传输装置的结构示意图;
图8为本申请再一实施例提供的一种数据传输装置的结构示意图;
图9为本申请实施例提供的一种终端的结构示意图;
图10为本申请再一实施例提供的一种终端的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是可选地还包括没有列出的步骤或模块,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
应理解,本申请所描述的第一终端、第二终端或第三终端可以包括,但不限于:手机(如Android手机、iOS手机等)、平板电脑等具有网络连接和数据传输功能的移动终端。该移动终端还可称为用户设备(User Equipment,简称UE)、终端(Terminal)、无线终端或移动台(Mobile Station,简称MS)等等,本申请实施例不做限定。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然, 所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
请参阅图1,为本申请实施例提供的一种网络架构图。该网络架构可以应用于一般的直连通信场景中,如图1所示,该网络架构中可以包括第一终端10、第二终端20。
其中,第一终端10可以与第二终端20间建立直连通信连接。该直连通信连接是指该第一终端10和第二终端20之间直接通信而不借助于第三方设备,如图1所示。第一终端10与第二终端20间建立直连通信连接的方式可以包括:第一终端10与第二终端20间基于第二传输方式建立第二直连通信连接,并可以在该第二直连通信连接上交互第一传输方式的连接信息。该第一终端10与该第二终端20间可以基于该连接信息建立基于第一传输方式的第一直连通信连接。其中,第二直连通信连接在进行数据交互时的能耗值小于第一直连通信连接在进行数据交互时的能耗值,或者第二直连通信连接在进行数据交互时的能耗值小于第一终端10与第二终端20间交互该第一传输方式的连接信息时的能耗值。
其中,第二传输方式建立的第二直连通信连接包括但不限于蓝牙连接、射频连接,如近场通信(Near Field communication,NFC)连接、超声波连接、电磁波连接,如红外线连接。第一传输方式建立的第一直连通信连接包括但不限于无线保真(Wireless Fidelity,Wi-Fi)通信连接。
在一个实施例中,在建立第一直连通信连接时,可以先建立第二直连通信连接,例如,可以先在该第一终端10与第二终端20间通过蓝牙建立蓝牙连接,可以在该蓝牙连接上交互Wi-Fi的连接信息,如Wi-Fi热点的用户名和密码。该第一终端10与该第二终端20间可以基于该连接信息建立基于Wi-Fi热点的第一直连通信连接。第一终端10可以在建立第二直连通信连接后,主动开启第一终端20的Wi-Fi热点功能,以便于建立与第二终端20之间的第一直连通信连接,也可以通过第二直连通信连接触发第二终端20开启Wi-Fi热点功能,以便于第一终端101接入到第二终端102完成第一直连通信连接的建立。
在一个实施例中,第一终端10的用户在需要向第二终端102传输数据时,可以在该第一终端10上配置管理第一终端10上的传输模式(该传输模式,对应于至少一种数据传输方式)的直连通信按钮,在点击该按钮开启了第一终端10的直连通信模式之后,该第一终端10便可以自动开启蓝牙对应的第二传输功能以及Wi-Fi对应的第一传输功能。同样,该第二终端20的用户也可以开启第二终端20的直连通信按钮,并自动开启蓝牙对应的第二传输功能以及Wi-Fi对应的第一传输功能。然后,第一终端10的用户可以在第一终端10通过蓝牙扫描到的至少一个终端中确定出第二终端20,该第一终端10与第二终端20建立该蓝牙连接。
在一个实施例中,在需要建立第一直连通信连接时,该第一终端10也可以首先检测自身的电量值,如果该电量值大于电量预设百分比(例如90%),那么该第一终端10也可以直接建立基于Wi-Fi热点的第一直连通信连接。如果该电量值小于或者等于该电量预设百分比(例如20%),那么该第一终端10可以首先建立该基于蓝牙的第二直连通信连接,再在蓝牙连接的基础上建立Wi-Fi连接,以完成第一直连通信连接的建立。
可见,本申请实施例可以通过蓝牙连接(即第二直连通信连接)交互用于建立Wi-Fi连接(即第一直连通信连接)的连接信息,连接信息例如可以是作为Wi-Fi热点的终端的用户名和接入密码,再根据该连接信息建立Wi-Fi连接(即第一直连通信连接),在一定程度上节约了终端能耗,并且该Wi-Fi连接(即第一直连通信连接)可以保证较快的传输速度,同时也提高了终端在传输数据时的传输效率。
在一个实施例中,在需要建立第一直连通信连接时,还可以先在第一终端10中开启Wi-Fi热点,并通过二维码的方式携带该Wi-Fi热点的用户名和密码,第二终端20可以扫描该二维码,进而直接得到第一终端10的Wi-Fi热点的用户名和密码,接入到第一终端10建立两者之间的第一直连通信连接。或者第二终端20开启Wi-Fi热点,并通过二维码的方式携带该Wi-Fi热点的用户名和密码,第一终端10可以扫描该二维码,进而直接得到第二终端20的Wi-Fi热点的用户名和密码,接入到第二终端20建立两者之间的第一直连通信连接。
下面将在图1所描述的实施例1的基础上,结合本申请以包括三个终端的网络架构进行简要说明。请参阅图2,图2为本申请实施例提供的一种网络架构图。如图2所示,该网络架构中可以包括第一终 端10、第二终端20、第三终端30。
该第一终端10、第二终端20、第三终端30可以构成一个直连通信集群,该直连通信集群中的各个终端可以通过互相建立的直连通信连接,以交互数据。该直连通信集群中,还可以包括其它终端,本申请实施例仅为展现的其中一个简单的网络架构。
除此之外,第一终端10还可以与多个终端(除第二终端20、第三终端30)、建立直连通信连接以形成子直连通信集群。相应地,第二终端20、第三终端30也可以像第一终端10一样,形成各自的子直连通信集群。第一终端10、第二终端20以及第三终端30均可以根据需要通过直连通信连接将数据发送至对应子直连通信集群中。
其中,本申请实施例提及的直连通信连接为终端间不借助第三方设备建立的无线通信连接,包括但不限于终端之间的Wi-Fi连接、蓝牙连接、射频连接,如NFC连接、红外线连接、超声波连接等无线通信连接。其中,终端之间的Wi-Fi连接是指两个终端中至少有一个终端开启了Wi-Fi热点功能,另一终端直接接入到该建立了Wi-Fi热点的终端,建立直连通信连接。
在一个实施例中,第一终端10、第二终端20、第三终端30互相之间可以通过建立的不同的直连通信连接,如第一直连通信连接、第二直连通信连接实现数据的并发。
在一个实施例中,该第一直连通信连接可以为能够快速传输视频、图片等数据量大于或等于预置阈值(或者大于或等于预置的数据量阈值)的数据的通信连接,包括但不限于Wi-Fi连接等无线通信连接。第二直连通信连接为功耗小于预设阈值,且能够传输数据量小于预置阈值(或者小于预置的数据量阈值)的数据的通信连接,包括但不限于,如蓝牙连接、射频连接、红外线连接等无线通信连接。
在该第一直连通信连接是针对数据量大于预置阈值(或者大于或等于预置的数据量阈值)的待传输数据中的某部分数据(包括但不限于某一类文件数据,如第二类文件数据)时,该第一终端10、第二终端20、第三终端30可以通过在上述三个终端间建立的第一直连通信连接传输该待传输数据中的某部分数据(包括但不限于某一类文件数据,如第二类文件数据)。
或者,在该第二直连通信连接是针对数据量小于预置阈值(或者小于预置的数据量阈值)的待传输数据中的另一部分数据(包括但不限于另一类文件数据,如第一类文件数据)时,该第一终端10、第二终端20、第三终端30可以通过在上述三个终端间建立的第二直连通信连接传输该待传输数据中的另一部分数据(包括但不限于另一类文件数据,如第一类文件数据)。
在该第一直连通信连接是针对数据量大于或等于预置阈值(或者大于或等于预置的数据量阈值)的待传输数据时,该第一终端10、第二终端20、第三终端30可以通过在上述三个终端间建立的第一直连通信连接传输该待传输数据。例如,若第一终端10确定出该待传输数据的数据量为20M,预置的数据量阈值为5M。第一终端10可以确定该待传输数据的数据量大于预置的数据量阈值,则通过与该第二终端20建立的第一直连通信连接,如Wi-Fi连接,传输该待传输数据。或者,在该第一直连通信连接是针对数据量小于预置阈值(或者小于预置的数据量阈值)的待传输数据时,该第一终端10、第二终端20、第三终端30可以通过在上述三个终端间建立的第二直连通信连接传输该待传输数据。例如,若该第一终端10确定出该待传输数据的数据量为1M,预置的数据量阈值为5M,第一终端10可以确定该待传输数据的数据量小于预置的数据量阈值,则通过与该第二终端20建立的第二直连通信连接,如蓝牙连接,传输该待传输数据。
在一个实施例中,在某一终端将数据发送至另外一个终端时,该另外一个终端在接收到该数据后,可以将该数据作为该另外一个终端的待传输数据。其中,该数据可以是某一终端的待传输数据、待传输数据中部分数据,如某一类数据(包括但不限于某一类文件数据)。换句话说,也可以理解为某一终端的已传输数据可以作为另外一个终端的待传输数据。
在一个实施例中,若某一终端(如第一终端10)向另外一个终端(如第二终端20)传输完待传输数据中的某一类数据后,如第一类文件数据,则可以发送指示信息至该另外一个终端(如第二终端20)或者目标终端(如第三终端30),该指示信息可以用于指示该另外一个终端(如第二终端20)和目标终端(如第三终端30)建立第二直连通信连接,并在该第二直连通信连接上传输该第一类文件数据。传输完的第一类文件数据可以作为某一终端对另外一个终端的已传输数据。
在一个实施例中,若某一终端(如第一终端10)对另外一个终端(如第二终端20)的已传输数据在待传输数据中的比例超过预置的比例阈值后,如超过80%,则可以发送通知消息至该另外一个终端(如第二终端20)或者目标终端(如第三终端30),该通知消息可以用于通知该另外一个终端(如第二终端20)作为发送端,并通过与目标终端(如第三终端30)建立的直连通信连接,传输该已传输数据。
在一些实施例中,直连通信集群中各终端间还可以通过第二直连通信连接交互一些请求/消息/指令/信息。例如,上述的通知消息、指示信息。
该第一终端10、第二终端20、第三终端30可以根据各自的数据收发的需求,作为发送端和/或接收端来传输数据。
在第一终端10需要向直连通信集群中的各个终端传输数据时,可以作为发送端以通过与该直连通信集群中的各个终端建立的直连通信连接,向各个终端传输数据。该直连通信集群中的各个终端可以作为接收端,通过与第一终端10建立的直连通信连接(例如第一直连通信连接或第二直连通信连接)接收由第一终端10发送的数据。
第一终端10可以通过与第二终端20间建立的直连通信连接发送数据至第二终端20。第二终端20可以通过与第一终端10建立的直连通信连接接收到该第一终端10发送的数据。其中,第一终端20还可以通过与第三终端30间建立的直连通信连接发送数据至第三终端30。第三终端30可以通过与第一终端10建立的直连通信连接接收到该第一终端10发送的数据。
在一个实施例中,该第一终端10可以在需要向直连通信集群中的各个终端传输数据时,将直连通信模式配置为发送模式,以向该直连通信集群中各个处于接收模式的终端发送数据。相应地,该第二终端20、该第三终端30可以分别将直连通信模式配置为接收模式,以针对性的接收处于发送模式的终端发送的数据,可以更好地根据各终端的收发需求来选择发送和接收数据。
其中,在第一终端10被配置为发送模式,且该第二终端20被配置为接收模式时,第一终端10可以通过与第二终端20间建立的直连通信连接发送数据至第二终端20。第二终端20可以通过与第一终端10建立的直连通信连接接收到该第一终端10发送的数据。
在第一终端10在被配置为发送模式,且该第三终端30被配置为接收模式时,第一终端10也可以通过与第三终端30建立的直连通信连接发送数据至第三终端30。第三终端30可以通过与第一终端10建立的直连通信连接接收到该第一终端10发送的数据。
该第一终端10除了与该直连通信集群中的各个终端直接建立直连通信连接以发送数据之外,还可以通过该直连通信集群中的其它终端向直连通信集群中的目标终端发送数据。
在一个实施例中,该目标终端可以为第一终端10确定出的该直连通信集群中需要接收该待传输数据的初始终端中,与第一终端10间的信号强度小于预置信号强度阈值的初始终端。或者,该目标终端也可以是该直连通信集群中未接收到第一终端10发送的数据的终端。或者,该目标终端还可以是该直连通信集群中与该第一终端10的数据传输过程中断的终端。或者,该目标终端还可以是第一终端10根据获取该直连通信集群中的接收端的设备信息选取的终端。在一个实施例中,该目标终端可以是接收端,还可以是被配置为接收模式的终端。
对应到本网络架构中,该第一终端10除了直接与该第三终端30建立直连通信连接以发送数据之外,还可以通过第二终端20,以发送数据至目标终端,如第三终端30。相应地,第一终端10除了与该第二终端20建立直连通信连接以发送数据之外,还可以通过第三终端30以发送数据至目标终端,该目标终端例如为第二终端20。
下面将以第一终端10通过第二终端20发送数据至作为目标终端的第三终端30为例进行进一步说明。
若第一终端10通过与第二终端20建立的直连通信连接,发送数据至第二终端20。第二终端30可以通过与第三终端30建立的直连通信连接以将该第一终端10发送的数据发送至第三终端30。可选地,该第二终端20可以被配置为中继模式,以便可以接收第一终端10发送的数据,并将接收到的该第一终端10发送的数据转发至第三终端30。
在一个实施例中,该第二终端20可以由第一终端10根据该直连通信集群中的各个终端的性能信息确定的。
其中,该第二终端20可以是第一终端10根据该直连通信集群中的各个终端的性能信息确定出的性能状态较佳的终端。如,该第二终端20为第一终端10确定出的该直连通信集群中剩余电量最多的终端,或者剩余电量超过预置的电量阈值的终端。
发送端在和多个接收端形成直连通信集群后,各个接收端可以将当前本机的性能信息,如存储空间、剩余电量、剩余内存、传输速度等信息上报至发送端,以便该发送端可以根据该上报的性能信息确定出性能状态最好的某个终端以发送数据至目标终端。
在一个实施例中,该直连通信集群中的各个终端在检测到第一终端10用于获取性能信息的请求时,可以将该直连通信集群中的各个终端性能信息分别通过与该第一终端10建立的直连通信连接发送至该第一终端10。
在一个实施例中,该第二终端20还可以是在确定该第一终端10的性能信息满足预置切换条件,如性能信息小于对应预置的阈值时,该第一终端10根据该直连通信集群中的各个终端的性能信息确定出的终端。
在一个实施例中,该第二终端20还可以是在确定该第一终端10的性能信息小于对应预置的阈值时,该第一终端10根据该直连通信集群中的各个终端的性能信息确定出的终端,如性能状态较佳的终端。其中,第一终端10的性能信息包括但不限于第一终端10的存储空间、剩余电量、剩余内存、传输速度等信息。
在一个实施例中,该第一终端10的性能信息小于对应预置的阈值可以通过如下方式确定:在该第一终端10的性能信息包括剩余电量时,判断该剩余电量是否小于预置的第一电量阈值;在该第一终端10的性能信息包括传输速度时,判断该传输速度是否小于预置的第一速度阈值;若该剩余电量小于该预置的第一电量阈值和/或该传输速度小于该预置的第一速度阈值,则确定该第一终端10的性能信息小于对应预置的阈值。
其中,除了可以利用第一终端10的性能信息中的各个信息以单独判断该第一终端10的性能信息是否小于对应预置的阈值外,还可以将第一终端10的性能信息中的剩余电量、剩余内存、存储空间、传输速度等信息以递进或者并列的形式组合起来判断第一终端10的性能信息是否小于对应预置的阈值。
在一个实施例中,该第一终端10的性能信息小于对应预置的阈值还可以通过如下方式确定:在该第一终端10的性能信息包括剩余电量时,判断该剩余电量是否小于预置的第一电量阈值;若小于,在该第一终端10的性能信息包括传输速度时,判断该传输速度是否小于预置的第一速度阈值;若小于,若该剩余电量小于该预置的第一电量阈值和/或该传输速度小于该预置的第一速度阈值,则确定该第一终10端的性能信息小于对应预置的阈值。
在一个实施例中,该第一终端10根据该直连通信集群中的各个终端的性能信息确定出第二终端20可以包括:判断该直连通信集群中各个终端的剩余电量是否超过预置的电量阈值;判断该直连通信集群中各个终端的剩余内存是否超过预置的剩余内存阈值;确定该各个终端中剩余电量超过预置的电量阈值,和/或确定该各个终端中剩余内存超过预剩余内存阈值的终端为第二终端。在一个实施例中,该电量阈值、速度阈值对应可以为第二电量阈值、第二速度阈值。
其中,除了可以利用直连通信集群中各个终端的性能信息中的各个信息以单独判断以确定出第二终端20外,还可以将直连通信集群中各个终端的性能信息中的各个信息以递进或者并列的形式组合起来确定出第二终端20。
在一个实施例中,该第一终端10根据该直连通信集群中的各个终端的性能信息确定出第二终端20可以包括:判断该直连通信集群中各个终端的性能信息中的剩余电量是否大于或者等于预置的第二电量阈值;在确定该各个终端中包括剩余电量大于或者等于该预置的第二电量阈值的多个终端时,判断该多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取该多个终端中传输速度大于或者等于该预置的第二速度阈值的终端作为第二终端。
在一个实施例中,该各个终端的性能信息除了可以包括前述的剩余电量、剩余内存、存储空间、传 输速度,还可以包括已接收数据的数据量。
在一个实施例中,该第一终端10根据该直连通信集群中的各个终端的性能信息确定出第二终端20还可以包括:判断该直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;在确定该各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断该多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取该多个终端中传输速度大于或者等于该预置的第二速度阈值的终端作为第二终端。
在一个实施例中,该第二终端20还可以是第一终端10根据获取的直连通信集群中各个终端的设备信息确定的。
处于发送模式的第一终端10可以通过与处于中继模式的第二终端20建立的直连通信连接,发送数据至处于中继模式的第二终端20。处于中继模式的第二终端30可以通过与处于接收模式的第三终端30建立的直连通信连接,将该处于接收模式的第一终端10发送的数据发送至处于接收模式的第三终端30。
在一个实施例中,第二终端10可以通过与第三终端30间的第二直连通信连接,获取第三终端30的设备信息;第二终端20可以将第二终端20的设备信息、第三终端30的设备信息发送至第一终端10。第一终端10在接收到第二终端20发送的设备信息后,可以将该第三终端30的设备信息确定为发送数据的目标终端。
以手机A包括接收模式、发送模式、中继模式为例。用户可以通过点击中继模式选项或者图标,将手机A的直连通信模式设置为中继模式。处于中继模式的手机A可以获取其它处于接收模式的手机B的设备信息,并且手机A可以获取到处于发送模式的手机C的设备信息,从而可以将该处于接收模式的手机B的设备信息发送至该处于发送模式的手机C。
该第二终端20可以在接收到第一终端10的转发请求时,通过第一直连通信连接获取发起终端10的发送的数据,并可以根据该转发请求中指示的传输路径转发该第一终端发送的数据;该转发请求指示的传输路径可以为通过第二终端20将第一终端10发送的数据发送至第三终端30。该转发请求可以包括第三终端的设备信息。该传输路径可以是第一终端10根据获取的设备信息确定的。
在一个实施例中,该第二终端20可以在接收到第一终端10的转发请求时,通过第二直连通信连接获取发起终端10的发送的数据,并可以根据该转发请求中指示的传输路径转发该第一终端发送的数据;该转发请求指示的传输路径可以为通过第二终端20将第一终端10发送的数据发送至第三终端30。该转发请求可以包括第三终端的设备信息。该传输路径可以是第一终端10根据获取的设备信息确定的。
在一个实施例中,如果该转发请求中指示的传输路径所指示的下一节点是第二终端20,则第一终端10与该第二终端20可以建立第一直连通信连接以传输数据;如果该转发请求中指示的传输路径所指示的下一节点是该直连通信集群中其它终端,则第一终端10与该其它终端建立第一直连通信连接以传输数据。该其它终端可以为其它接收端。
该第一终端10可以显示一个用户界面,该用户界面可以用于显示获取的设备信息。第一终端10可以接收针对设备信息的选择操作,并根据该选择操作确定出传输路径。例如,第一终端10在需要向第三终端30传输数据1时,可以在选取该第三终端30以作为发送数据1的目标终端后,再选取第二终端20以确定传输路径为通过第二终端20进行数据转发。
在一个实施例中,该设备信息可以包括对应终端的标识,如媒体访问控制(Media Access Control,MAC)地址、互联网协议(Internet Protocol,IP)地址、名称、端口号等。在一个实施例中,该设备信息可以包括对应终端的标识、以及对应终端所处的直连通信模式。
该第二终端20还可以是被配置为接收模式的终端,在接收到第一终端10发送的数据后,可以通过将第二终端20的直连通信模式配置为发送模式,使得该第二终端20可以切换为发送端以发送数据到处于接收模式的第三终端30。在一个实施例中,若第三终端30一直用于接收数据,则可以将该第三终端30的直连通信模式配置为接收模式。
在一个实施例中,直连通信集群中的各个终端设置有直连通信模式,该直连通信模式可以为发送模式、接收模式、中继模式。若终端被配置为发送模式,则该终端可以为用于发送数据的发送端,若该终端被配置为中继模式,那么该终端可以用于转发数据。若终端被配置为接收模式,则该终端可以为用于 接收数据的接收端。
在一个实施例中,各个终端可以配置有一个直连通信按钮,点击该直连通信按钮后,可以进行直连通信模式的选择。
当该直连通信集群中的某个终端开启中继模式后,某个终端可以将周围扫描到的处于接收模式的终端的设备信息,发送到周围处于发送模式的终端。通常在某个终端的传输距离受限,可以通过处于中继模式的终端来转发数据以扩大传输距离。除此之外,若某个终端的传输距离未受限,则也可以通过处于中继模式的终端来转发数据来扩展数据传输方式。
在一个实施例中,发送端可以管理自己扫描到的接收端的设备信息,以及中继设备发送过来的接收端的设备信息。该接收端可以为处于接收模式的终端。中继终端可以为处于中继模式的终端。该发送端可以为处于发送模式的终端。
在一个实施例中,若用户在发送端选择一个接收端作为目标终端后(可以是根据获取的接收端的设备信息选取的),则发送端可以根据该接收端反馈上来的路径将数据先传输至下一个的中继终端,在由该中继终端传输至目标终端。或者,在该用户选择一个接收端作为目标终端后,用户可以再选取一个以转发数据的中继终端,再由该中继终端将数据传输至目标终端。
该直连通信集群中各个终端根据设置的直连通信模式不同,可以进行多个直连通信模式的切换,以便基于设置的不同直连通信模式,来使各个终端提供不同功能。并且可以在终端间距离发生变化,距离较远、终端性能较差等原因导致不能继续传输任务或者不想继续数据传输时,通过将终端作为中继终端的方式,可以扩展数据传输距离,增加组网的灵活性。
在一个实施例中,该第一终端10在被配置为中继模式时,可以基本实现第二终端20处于中继模式时所实现的所有功能。该第二终端20在被配置为发送模式时,可以基本实现第一终端10处于发送模式时所实现的所有功能。
在第一终端10需要向第二终端20发送数据时,该第一终端10向第二终端20发送的数据可以为第一终端10选取的待传输数据。该待传输数据包括但不限于该文档、音视频文件、图片等数据。其中,第一终端10可以通过与第二终端20间建立直接通信连接来传输数据。该第一终端10向第二终端20传发送的数据还可以为第一终端10选取的待传输数据中的部分数据(包括但不限于某一类文件数据)。在一个实施例中,该发送的数据还可以为第一终端10对第二终端20的已传输数据,该已传输数据可以为上述待传输数据,还可以是待传输数据中的部分数据(包括但不限于某一类文件数据)。
在一个实施例中,第二终端20与第三终端30之间的用于传输数据的直连通信连接可以通过第一终端10发送连接请求的形式触发建立。
在一个实施例中,该连接请求可以由第一终端10发送至目标终端,如第三终端30。其中,该连接请求可以包括第二终端20的设备信息。或者,该连接请求还可以由第一终端10发送至第二终端20。其中,该连接请求可以包括目标终端,如第三终端30的设备信息。
在一个实施例中,根据连接请求所触发建立的直连通信连接的不同,该连接请求还可以包括第一连接请求,第二连接请求。
在一个实施例中,第一终端10可以确定发送的数据的数据量;并在该数据的数据量大于或等于预置阈值(或者大于或等于预置的数据量阈值)时,发送第一连接请求至第二终端20或者第三终端30,该第一连接请求10用于触发建立该第二终端20与第三终端30间的第一直连通信连接;在该数据的数据量小于预置阈值(或者小于预置的数据量阈值)时,则发送第二连接请求至第二终端20或者第三终端30,该第二连接请求用于触发建立该第二终端20与第三终端30之间的第二直连通信连接,从而实现根据第一终端10传输的数据的数据量的不同,触发与第二终端20建立不同的直连通信连接以进行数据的传输,提高了数据传输效率。其中,该第一连接请求、第二连接请求可以通过第一终端10与第二终端间建立的第二直连通信连接发送至第二终端20,也可以通过第一终端10与第三终端30建立的第二直连通信连接发送至第三终端30。
在一个实施例中,第一终端10向第二终端20发送的数据还可以是将待传输数据进行分类后通过至少一个直连通信连接依次发送的数据,或者通过多个直连通信连接并行发送的数据。其中,对该待传输 数据进行分类包括但不限于将该待传输数据中各个数据按照类别、大小、名称进行分类。
在一个实施例中,第一终端10可以确定出该待传输数据中的第一类文件数据,该第一类文件数据为数据量小于预置阈值的数据;将该第一类文件数据第一终端10通过与该第二终端20建立的第二直连通信连接,将该第一类文件数据发送至该第二终端20。第一终端10确定出该待传输数据中的第二类文件数据,该第二类文件数据为数据量大于或等于预置阈值的数据;该第一终端10通过与该第二终端20建立的第一直连通信连接,将该第二类文件数据发送至该第二终端20。
假设待传输数据包括文件1、文件2、文件3,若按照数据大小对该待传输数据进行分类。其中数据量小于1M的有文件1。则数据量大于1M的待传输数据有文件2、文件3。可以确定文件1为第一类文件数据。需要说明的是,第二终端20在接收到第一终端10发送的数据后,可以通过与第三终端30间的直连通信连接发送至第三终端30。
第二终端20与第三终端30间的直连通信连接包括但不限于以第二终端20接收到连接请求后触发建立。其中,该连接请求可以为第一终端10发送的,还可以为第三终端30发送的。在一个实施例中,该连接请求可以包括前面提到的第一连接请求或者第二连接请求。
在一个实施例中,第一终端10可以发送通知消息至第二终端20或者第三终端30,该通知消息用以通知第二终端20作为发送端,并与第三终端30之间通过建立的直连通信连接传输第一终端10发送的数据或者第一终端10的已传输数据。其中,第二终端20可以接收第一终端10发送的通知消息。其中,若该第一终端10在确定目标终端为多个接收端时。第二终端20可以选取将该第一终端10发送的数据或者第一终端10的已传输数据分别发送至该多个接收端。
在一个实施例中,第一终端10可以发送指示消息至第二终端20或者第三终端30,该指示消息用以指示第二终端20与第三终端30之间建立直连通信连接,并指示第二终端20与第三终端30之间传输该第一终端10发送的数据或者第一终端10的已传输数据,如第一类文件数据。其中,第二终端20可以通过第二直连通信连接接收第一终端10发送的指示信息。
若该第一终端10在确定目标终端为多个接收端时。则第二终端20可以选取将该第一终端10发送的数据或者第一终端10的已传输数据,如第一类文件数据分别发送至该多个接收端。
在一个实施例中,该第一终端10可以在完成针对目标终端的部分数据,如某一类文件数据的传输任务后,再依次进行或者同时向其它设备进行剩余数据的传输任务;还可以同时开展多个传输任务,例如在向目标终端进行数据传输时,同时向多个设备中的部分终端或者全部终端进行数据传输。
在一个实施例中,发送端可以优先将小文件传输给当前性能状态较佳或者最好的接收端。该小文件可以为本申请实施例提及的待传输数据中数据量小于预置阈值的数据。并且,发送端可以在传完该小文件后,继续传输其它文件,并且可以发送一些信息,如设备信息,或包括设备信息的连接请求,至其它接收端,以便建立该性能状态最好的接收端与其它接收端间的直连通信连接。其中,发送端还可以触发已经接收完小文件的性能状态最好的接收端将部分数据发送至其它接收端(包括但不限于以通知消息触发)。优先接收到部分数据的终端可以向其它目标接收端发送刚刚接收到的小文件,从而可以组成多终端并行传输的方式。该发送端可以为第一终端10,该性能状态最好的终端可以为第二终端20。该其它目标终端可以为第三终端30。通过多终端并行传输的方式,可以提高数据传输效率。
发送端还可以优先将小文件传输给当前性能状态最好的接收端,并将其它接收端的信息,如设备信息或包含设备信息的连接请求,发送至该性能状态最好的接收端,以便该性能状态最好的接收端可以与其它接收端间建立直连通信连接以传输数据。该小文件可以为本申请实施例提及的待传输数据中数据量小于预置阈值的第一类文件数据。并且,发送端可以在传完该小文件后,传输大文件。该大文件可以为待传输数据中数据量大于预置阈值的第二类文件数据。若该发送端因为某些原因(如电量低于预置的电量阈值)而不能继续传输任务时,可以触发该性能状态最好的接收端作为发送端以发送接收到的数据到其它目标接收端(包括但不限于以通知消息触发),从而提高直连通信集群中的终端的整体工作效率。该发送端可以为第一终端10,该性能状态最好的终端可以为第二终端20。该其它目标终端可以为第三终端30。
在一些实施例中,上述待传输数据中部分数据,如某一类数据(包括但不限于第一类文件数据或第 二类文件数据)或者已传输数据可以作为目标数据。或者,上述待传输数据也可以称为目标数据。
根据第一终端10对直连通信集群中各个终端的传输任务分配的不同,对该数据划分情况也不同。如,将该待传输数据划分为多个类别,分别发送至多个目标终端,再由多个终端将需要发送至其它终端的数据通过至少一个直连通信连接依次或并行发送至其它终端,这样就完成了多个设备的协作数据传输。相应地,随着参与协作传输的设备的增加,该数据也可以被划分为、第一类数据、第二类数据、第三类数据、第四类数据……其中,本申请实施例对数据的标号、称谓不做限定。
请参阅图3,为本申请实施例提供的一种数据传输方法的流程示意图。其中,该方法可以应用于智能终端,包括但不限于手机、平板电脑、智能可穿戴设备等便携式移动设备。其中,该方法可以包括:
S201、在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息。
本申请实施例中,该第一终端的性能信息包括但不限于第一终端的存储空间、剩余电量、剩余内存、传输速度等信息。该待传输数据可以为第一终端选取的将要传输的音视频文件、图片、文档等数据。
需要说明的是,第一终端可以与直连通信集群中的各个终端建立直连通信连接。该直连通信连接可以为第一直连通信连接和/或第二直连通信连接。
S202、若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端。
本申请实施例中,该各个终端的性能信息包括但不限于各个终端的存储空间、剩余电量、剩余内存、传输速度等信息。可选地,在该第一终端的性能信息包括剩余电量时,判断该剩余电量是否小于预置的第一电量阈值;在该第一终端的性能信息包括传输速度时,判断该传输速度是否小于预置的第一速度阈值;若该剩余电量小于该预置的第一电量阈值和/或该传输速度小于该预置的第一速度阈值,则确定该第一终端的性能信息满足预置的切换条件。举例来说,假设第一终端的预置的第一电量阈值为30%、第一速度阈值为0.5M/s。在该第一终端当前的剩余电量为60%,可以确定传输速度为1M/s,则可以确定第一终端的性能信息不小于对应预置的阈值。若该终端当前的剩余电量低于60%,和/或当前的传输速度小于1M/s,则可以确定该第一终端的性能信息小于对应预置的阈值。
本申请实施例可以在该第一终端性能状态不佳时,及时地确定出第二终端以传输待传输数据,从而可以保障数据传输的连续性,提高了数据传输效率,避免了第一终端因性能不佳导致数据传输的中断,需再建立连接以重传数据。其中,该传输速度指的是数据传输速度。可选地,可以通过先发送一个探测帧以测试该传输速度。
可选地,在该第一终端的性能信息包括传输速度时,第一终端可以判断该传输速度是否小于预置的第一速度阈值;若小于,在该第一终端的性能信息包括剩余电量时,第一终端可以判断该剩余电量是否小于预置的第一电量阈值;若小于,则第一终端可以确定该第一终端的性能信息小于对应预置的阈值。
举例来说,假设第一终端的预置的第一电量阈值为30%、第一速度阈值为0.5M/s。在该第一终端当前的传输速度为0.3M/s时,可以确定该传输速度小于0.5M/s。若该第一终端当前的剩余电量为20%,则可以进一步确定剩余电量小于30%。因此,可以确定第一终端的性能信息小于对应预置的阈值。
可选地,在该第一终端的性能信息包括存储空间时,第一终端可以判断该存储空间是否小于预置的第一存储空间阈值;若小于,在该第一终端的性能信息包括剩余内存时,第一终端可以判断该剩余内存是否小于预置的第一剩余内存阈值;若小于,则第一终端可以确定该第一终端的性能信息小于对应预置的阈值。
可选地,在该第一终端的性能信息包括传输速度时,第一终端可以判断该传输速度是否小于预置的第一速度阈值;若小于,在该第一终端的性能信息包括剩余内存时,第一终端可以判断该剩余内存是否小于预置的第一剩余内存阈值;若小于,则第一终端可以确定该第一终端的性能信息小于对应预置的阈值。
在步骤S302中,第一终端可以根据该直连通信集群中各个终端的性能信息确定出第二终端,以便第一终端将数据传输任务转交给第二终端,第二终端可以继续第一终端的数据传输任务,从而保障数据传输的时效性。
其中,该第一终端可以通过与该直连通信集群中各个终端建立的第二直连通信连接,来获取直连通信集群中各个终端的性能信息。本申请实施例中,该第二直连通信连接包括但不限于射频连接、蓝牙连接、超声波连接等无线通信连接。该第一直连通信连接可以为Wi-Fi连接等无线通信连接。
举例来说,如图4所示,该直连通信集群中包括终端400、终端401、终端402、终端403、终端404。在该直连通信集群中,若第一终端为终端402,则终端402可以通过第二直连通信连接,如蓝牙连接,获取到终端400的剩余电量、终端401的剩余电量、终端403的剩余电量、终端404的剩余电量。
其中,该第一终端可以通过比较分析该直连通信集群中的各个终端的性能信息以确定出性能状态较佳或最佳的终端作为第二终端。可选地,若获取的性能信息为剩余电量,则第一终端可以通过比较分析该通信集群中各个终端的剩余电量,从而可以确定出剩余电量较多或者最多的终端为第二终端。可选地,若获取的性能信息为剩余内存,则第一终端可以通过比较分析该通信集群中各个终端的剩余内存,从而可以确定出剩余内存较多或者最多的终端为第二终端。可选地,若获取的性能信息为传输速度,则第一终端可以通过比较分析该通信集群中各个终端的数据的传输速度,从而可以确定出传输速度较快或者最快的终端为第二终端。可选地,第一终端还可以结合各个终端的存储空间、剩余电量、剩余内存、传输速度等信息中的两种或者多种信息来确定出第二终端。
进一步可选地,第一终端判断该直连通信集群中各个终端的性能信息中的剩余电量是否大于或者等于预置的第二电量阈值;在确定该各个终端中包括剩余电量大于或者等于该预置的第二电量阈值的多个终端时,判断该多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取该多个终端中传输速度大于或者等于该预置的第二速度阈值的终端作为第二终端。
举例来说,如图4所示,该直连通信集群中包括终端400、终端401、终端402、终端403、终端404。在该直连通信集群中,若第一终端为终端402,则终端402可以通过第二直连通信连接,如蓝牙连接,获取到终端400的剩余电量以及传输速度、终端401的剩余电量以及传输速度、终端403的剩余电量以及传输速度、终端404的剩余电量以及传输速度。若预置的第二电量阈值为60%,预置的第二速度阈值为1M/s,在终端402确定出的剩余电量大于60%的终端有终端400以及终端401时,可以再进一步判断终端400的传输速度以及终端401中传输速度是否大于1M/s的终端。若终端401的传输速度大于1M/s,则可以确定终端401为第二终端。
进一步可选地,可以选取该多个终端中传输速度最大的终端作为第二终端。其中,该第二电量阈值可以与前述第一电量阈值相同,也可以不同。该第二速度阈值也可以与前述第一速度阈值相同,也可以不同。
需要说明的是,在确定第二终端作为发送端传输数据时,往往需要选取电量较多,传输速度较快的终端来作为第二终端。因此,根据电量以及传输速度确定出性能状态较佳或者最佳的第二终端的情况,与第一终端的性能信息低于对应预置的阈值,即与第一终端的性能状态不好的情况确定出第二终端的情况有所不同,所以第二速度阈值往往大于该第一速度阈值、第二电量阈值大于第一电量阈值。
进一步可选地,第一终端判断该直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;在确定该各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断该多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取该多个终端中传输速度大于或者等于该预置的第二速度阈值的终端作为第二终端。其中,终端可以根据确定出数据的数据量较大的终端,从而保障数据传输的完整性,并且可以通过进一步通过确定传输速度较快的终端,可以保障终端间处于较高的传输速度,能快速地传输数据。其中,若存在终端未接收到第一终端传输的数据,则已接收数据的数据量为0。
举例来说,如图4所示,该直连通信集群中包括终端400、终端401、终端402、终端403、终端404。在该直连通信集群中,若第一终端为终端402,则终端402可以通过第二直连通信连接,如蓝牙连接,获取到终端400的已接收数据的数据量以及传输速度、终端401的已接收数据的数据量以及传输速度、终端403的已接收数据的数据量以及传输速度、终端404的已接收数据的数据量以及传输速度。若预置的数据接收阈值为100M、预置的第二速度阈值为1M/s。若终端402确定出已接收数据的数据量大于或等于100M的终端有终端400以及终端401,则可以再进一步判断终端400的传输速度以及终 端401中传输速度是否大于1M/s的终端。若终端401的传输速度大于1M/s,则可以确定终端401为第二终端。
进一步可选地,可以选取该多个终端中传输速度最大的终端作为第二终端。
进一步可选地,第一终端判断该直连通信集群中各个终端的性能信息中的剩余内存是否大于或者等于预置的第二剩余内存阈值;在确定该各个终端中包括剩余内存大于或者等于该预置的第二剩余内存阈值的多个终端时,判断该多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取该多个终端中传输速度大于或者等于该预置的第二速度阈值的终端作为第二终端。
进一步可选地,第一终端判断该直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;在确定该各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断该多个终端的性能信息中的剩余内存是否大于或者等于预置的第二剩余内存阈值;选取该多个终端中剩余内存大于或者等于该预置的第二剩余内存阈值的终端作为第二终端。
进一步可选地,第一终端判断该直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;在确定该各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断该多个终端的性能信息中的存储空间是否大于或者等于预置的第二存储空间阈值;选取该多个终端中存储空间大于或者等于该预置的第二存储空间阈值的终端作为第二终端。
进一步可选地,第一终端判断该直连通信集群中各个终端的性能信息中的存储空间是否大于或等于预置的第二存储空间阈值;在确定该各个终端中包括已接收数据的数据量大于或等于预置的第二存储空间阈值的多个终端时,判断该多个终端的性能信息中的剩余内存是否大于或者等于预置的第二剩余内存阈值;选取该多个终端中剩余内存大于或者等于该预置的第二剩余内存阈值的终端作为第二终端。
S303、若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端。
本申请实施例中,该通知消息用于通知该第二终端作为发送端,并与该目标终端之间通过建立的直连通信连接传输该已传输数据。
可选地,该已传输数据在所述待传输数据中的比例可以为该已传输数据在该待传输数据中所占的数据量。相应地,该预置的比例阈值可以为预置的数据量的阈值。可选地,可以为该已传输数据在该待传输数据中所占的数据量的阈值。可选地,该已传输数据在所述待传输数据中的比例还可以为该已传输数据在该待传输数据中所占的百分比。相应地,该预置的比例阈值可以为预置的百分比的阈值。可选地,可以为该已传输数据在该待传输数据中所占的百分比的阈值。
需要说明的是,包括但不限于以发送指令/请求的形式至该第二终端和/或该直连通信集群中的目标终端的方式,以用于触发该第二终端与该直连通信集群中的目标终端之间建立直连通信连接。其中,指令/请求中可以包括不同的内容。
可选地,该第一终端确定该已传输数据的数据量;在该已传输数据的数据量大于或等于预置的数据量阈值时,则发送第一连接请求,该第一连接请求用于触发建立该第二终端与该直连通信集群中的目标终端之间的第一直连通信连接;在该已传输数据的数据量小于预置的数据量阈值时,则发送第二连接请求,该第二连接请求用于触发建立该第二终端与该直连通信集群中的目标终端之间的第二直连通信连接。
举例来说,若第一终端确定出该已传输数据的数据量为10M,预置的数据量阈值为6M。第一终端可以确定该已传输数据的数据量大于预置的数据量阈值,则发送第一连接请求。该第一连接请求可以触发该第二终端与直连通信集群中的目标终端建立第一直连通信连接,如Wi-Fi连接。
又举例来说,若该第一终端确定出该已传输数据的数据量为10M,预置的数据量阈值为15M,第一终端可以确定该已传输数据的数据量小于预置的数据量阈值,则发送第二连接请求。该第二连接请求可以触发该第二终端与该直连通信集群中的目标终端建立第二直连通信连接,如蓝牙连接。
可选地,该直连通信集群中的目标终端可以通过如下方式确定:该第一终端确定该直连通信集群中需要接收该待传输数据的初始终端;该第一终端向各初始终端发送探测信号;该探测信号用于探测该各初始终端与该第一终端间的信号强度;确定出该各初始终端中与该第一终端间的信号强度小于预置信号 强度阈值的初始终端为目标终端。其中,该初始终端不包括确定出的第二终端。该信号强度包括但不限于以数字,图标等形式呈现。
举例来说,如图4所示,若第一终端为终端402,第二终端为终端401。终端402可以确定该直连通信集群中需要接收该待传输数据的初始终端包括:终端400、终端403、终端404,则终端402分别发送探测信号至终端400、终端403、终端404,以测试终端402与终端400间的信号强度,终端402与终端403间的信号强度,终端402与终端404间的信号强度。若测试到终端402与终端400间的信号强度为80,终端402与终端400间的信号强度为60,终端402与终端400间的信号强度为30。假设预置信号强度阈值为50,则可以确定终端400为目标终端,以便终端400与终端401之间建立直连通信连接,并传输待传输数据。
可选地,该第一终端可以确定该待传输数据的数据量。在待传输数据的数据量大于或等于预置的数据量阈值时,通过该第一终端与第二终端建立的第一直连通信连接将该待传输数据发送至第二终端。在该待传输数据的数据量小于预置的数据量阈值时,可以通过该第一终端与第二终端建立的第二直连通信连接将该待传输数据发送至第二终端。举例来说,若第一终端确定出该待传输数据的数据量为10M,预置的数据量阈值为6M。第一终端可以确定该待传输数据的数据量大于预置的数据量阈值,则通过与该第二终端建立的第一直连通信连接,如Wi-Fi连接,传输该待传输数据。再举例来说,若该第一终端确定出该待传输数据的数据量为10M,预置的数据量阈值为15M,第一终端可以确定该待传输数据的数据量小于预置的数据量阈值,则通过与该第二终端建立的第二直连通信连接,如蓝牙连接,传输该待传输数据。
可见,图3所示的实施例中,第一终端可以在确定该第一终端的性能信息小于对应预置的阈值时,可以确定出第二终端,并可以已传输数据在待传输数据中的比例大于或者等于预置的比例阈值时,可以发送通知消息至第二终端,从而可以由该第二终端将该已传输数据发送至目标终端,实现了在终端可以根据自身性能状态来选取合适的终端,继续数据的传输,保障了数据传输的连续性和完整性,并且可以通过多终端的协作数据传输来提高数据传输的效率。
请参阅图5,为本申请再一实施例提供的一种数据传输方法的流程示意图。其中,该方法可以应用于智能终端,包括但不限于手机、平板电脑、智能可穿戴设备等便携式移动设备。其中,该方法可以包括:
S501、在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端。
举例来说,如图6所示,该直连通信集群中包括终端600、终端601、终端602、终端603、终端604。在该直连通信集群中,若第一终端为终端602,第二终端为终端601,则终端601通过第二直连通信连接,在接收到终端601发送的用于获取性能信息的请求时、终端601将本机的性能信息发送至终端602。
本申请实施例中,该第二终端可以为第一终端可以根据该直连通信集群中各个终端的性能信息确定出的终端。该第二终端可以与该第一终端建立直连通信连接,包括第一直连通信连接和/或第二直连通信连接。其中,该第二终端可以通过与第一终端建立的第二直连通信连接,如蓝牙连接,来发送该第二终端的性能信息。该第二终端的性能信息包括但不限于该第二终端的剩余内存、剩余电量、存储空间、传输速度等信息。本申请实施例中,该第二直连通信连接包括但不限于射频连接、蓝牙连接、超声波连接等无线通信连接。该第一直连通信连接可以为Wi-Fi连接等无线通信连接。
S502、若接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,将从所述第一终端接收到的已传输数据发送至所述目标终端。
可选地,第二终端可以接收第一连接请求,用于触发建立该第二终端与该直连通信集群中的目标终端之间的第一直连通信连接;或者,第二终端可以接收第二连接请求,用于触发建立该第二终端与该直连通信集群中的目标终端之间的第二直连通信连接。
举例来说,如图6所示,若第一终端为终端602,第二终端为终端601。若终端601接收到终端602发送的第一连接请求,该连接请求中可以包括终端600的设备信息,那么可以确定终端600为目标终端。 则终端601可以通过终端600的设备信息与终端600之间建立第一直连通信连接,以便终端601可以作为发送端以传输接收到的终端602发送的已传输数据。
本申请实施例中,该连接请求为各目标终端发送的,或者为所述第一终端发送的。
可选地,该连接请求根据已传输数据的数据量的不同,可以为第一终端发送的第一连接请求,用于触发该第二终端与该直连通信集群中的目标终端建立第一直连通信连接。该第一连接请求中可以包括该直连通信集群中的目标终端的设备信息,以便该第二终端与该直连通信集群中的目标终端建立第一直连通信连接。
可选地,该连接请求根据已传输的数据量的不同,还可以为第一终端发送的第二连接请求,用于触发该第二终端与该直连通信集群中的目标终端建立第二直连通信连接。该第二连接请求中可以包括该直连通信集群中的目标终端的设备信息,以便该第二终端与该直连通信集群中的目标终端建立第二直连通信连接。
可选地,该连接请求,还可以为该直连通信集群中的目标终端发送的,用于触发建立该第二终端与该直连通信集群中的目标终端建立直连通信连接。进一步可选地,根据待传输数据中已传输数据的数据量的不同,该连接请求可以为用于使该第二终端与该目标终端建立第一直连通信连接的请求,还可以为用于使第二终端与该目标终端建立第二直连通信连接的请求。该连接请求中可以包括该目标终端的设备信息。
可选地,该第一终端可以确定该待传输数据的数据量。在待传输数据的数据量大于或等于预置的数据量阈值时,第二终端通过与该第一终端建立的第一直连通信连接接收将该待传输数据。在该待传输数据的数据量小于预置的数据量阈值时,第二终端可以通过该第一终端与第二终端建立的第二直连通信连接接收该待传输数据。该第一终端的已传输数据可以为该待传输数据,还可以为该待传输数据中的部分数据。举例来说,若第一终端确定出该待传输数据的数据量为10M,预置的数据量阈值为6M。第一终端可以确定该待传输数据的数据量大于预置的数据量阈值,则第二终端通过与该第一终端建立的第一直连通信连接,如Wi-Fi连接,接收该待传输数据。再举例来说,若该第一终端确定出该待传输数据的数据量为10M,预置的数据量阈值为15M,第一终端可以确定该待传输数据的数据量小于预置的数据量阈值,则第二终端通过与该第一终端建立的第二直连通信连接,如蓝牙连接,接收该待传输数据。
本申请实施例中,在步骤S503中,第二终端若接收到第一终端发送的通知消息,则可以作为发送端,通过与该直连通信集群中的目标终端建立的直连通信连接,将从该第一终端接收到的已传输数据发送至该目标终端。其中,该通知消息可以通于通知第二终端作为发送端,并通过与该直连通信集群中的目标终端建立的直连通信连接发送该已传输数据至该目标终端。
可见,图5所示的实施例中,第二终端可以与直连通信集群中的目标终端建立直连通信连接,并将从第一终端接收到的已传输数据通过与直连通信集群中的目标终端建立的直连通信连接,发送至该目标终端,达到了由性能较佳的终端继续数据传输的目的,方便了数据的传输。
请参阅图7,为本申请实施例提供的一种数据传输装置的结构示意图,其中,该装置可以应用于智能终端,包括但不限于,如手机、平板等便携式移动设备。具体地,该装置可以获取模块701、确定模块702、发送模块703,还可以包括判断模块704。具体地,该装置可以包括:
获取模块701,用于在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息。其中,该获取模块701可以设置于处理器中。该第一终端的性能信息包括但不限于第一终端的存储空间、剩余内存、传输速度、剩余电量等信息。该待传输数据可以为第一终端选取的将要传输的音视频文件、图片、文档等数据。
确定模块702,用于若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端。其中,该确定模块702可以设置于处理器中。该各个终端的性能信息包括但不限于各个终端的存储空间、剩余内存、剩余电量、传输速度等信息。该各个终端的性能信息可以通过与该直连通信集群中各个终端建立的第二直连通信连接来获取。
需要说明的是,包括但不限于以发送指令/请求的形式至该第二终端和/或该直连通信集群中的目标终端的方式,触发该第二终端与该直连通信集群中的目标终端之间建立直连通信连接。其中,指令/通 知消息/请求中可以包括不同的内容。本申请实施例中,可以通过发送第一连接请求、第二连接请求来触发建立直连通信连接,并可以携带对应终端的设备信息。
发送模块703,用于若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端。其中,该通知消息用于通知该第二终端作为发送端,并与该目标终端之间通过建立的直连通信连接传输该已传输数据。该发送模块703可以对应于通信接口,如Wi-Fi模块、蓝牙模块、射频模块等无线通信模块。
可选地,该发送模块703,可以在确定模块702确定待传输数据的数据量大于或等于预置的数据量阈值时,通过该第一终端与第二终端建立的第一直连通信连接将该待传输数据发送至第二终端。该发送模块703,可以在确定模块702确定该待传输数据的数据量小于预置的数据量阈值时,可以通过该第一终端与第二终端建立的第二直连通信连接将该待传输数据发送至第二终端。
可选地,该确定模块702,还用于确定所述已传输数据的数据量。
可选地,该发送模块703,还用于在所述已传输数据的数据量大于或等于预置的数据量阈值时,则发送第一连接请求,所述第一连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;在所述已传输数据的数据量小于预置的数据量阈值时,则发送第二连接请求,所述第二连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。举例来说,若该已传输数据的数据量为10M,预置的数据量阈值为6M。确定模块702可以确定该已传输数据的数据量大于预置的数据量阈值,并通过发送模块703发送第一连接请求。该第一连接请求可以触发该第二终端与直连通信集群中的目标终端建立第一直连通信连接,如Wi-Fi连接。
可选地,该确定模块702,还用于确定所述直连通信集群中需要接收所述待传输数据的初始终端。
可选地,该发送模块703,还用于向各初始终端发送探测信号;所述探测信号用于探测所述各初始终端与所述第一终端间的信号强度。其中,该信号强度包括但不限于以数字、图标等形式表达出来。该初始终端不包括确定出的第二终端。
可选地,该确定模块702,还用于确定出所述各初始终端中与所述第一终端间的信号强度小于预置信号强度阈值的初始终端为目标终端。举例来说,若第一终端为终端1,第二终端为终端2,确定出的初始终端包括终端3、终端4。终端1与终端3之间的信号强度为60,与终端4之间的信号强度为50,若预置信号强度阈值为55,则确定模块702可以确定终端4为目标终端。
可选地,判断模块704,用于在所述第一终端的性能信息包括剩余电量时,判断所述剩余电量是否小于预置的第一电量阈值;在所述第一终端的性能信息包括传输速度时,判断所述传输速度是否小于预置的第一速度阈值。其中,该判断模块704可以对应设置在处理器中。
可选地,该确定模块702,还用于若所述剩余电量小于所述预置的电量阈值和/或所述传输速度小于所述预置的第一速度阈值,则确定所述第一终端的性能信息小于对应预置的阈值。
举例来说,假设第一终端的预置的第一电量阈值为30%、第一速度阈值为0.5M/s。若该第一终端当前的剩余电量为60%,传输速度为1M/s,则确定模块702可以确定第一终端的性能信息不小于对应预置的阈值。若该终端当前的剩余电量低于60%,和/或当前的传输速度小于1M/s,则确定模块702可以确定该第一终端的性能信息小于对应预置的阈值。
可选地,确定模块702根据所述直连通信集群中各个终端的性能信息确定出第二终端,具体为判断所述直连通信集群中各个终端的性能信息中的剩余电量是否大于或者等于预置的第二电量阈值;在确定所述各个终端中包括剩余电量大于或者等于所述预置的第二电量阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
可选地,确定模块702所述确定模块根据所述直连通信集群中各个终端的性能信息确定出第二终端,具体为判断所述直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;在确定所述各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
可见,图7所示的实施例中,第一终端可以在确定该第一终端的性能信息小于对应预置的阈值时,可以确定出第二终端,在发送至第二终端的已传输数据在待传输数据中的比例超过预置的比例阈值时,可以发送通知消息至该第二终端以用于通知第二终端作为发送以传输该已传输数据至目标终端,实现了在终端可以根据自身性能状态来选取合适的终端,继续数据的传输,保障了数据传输的连续性和完整性,并且可以通过多终端的协作数据传输来提高数据传输的效率。
请参阅图8,为本申请再一实施例提供的一种数据传输装置的结构示意图,其中,该装置可以应用于智能终端,包括但不限于,如手机、平板等便携式移动设备。具体地,该装置可以发送模块801,还可以包括接收模块802。具体地,该装置可以包括:
发送模块801,用于在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端。
其中,发送模块801可以通过该第二终端与第一终端建立的第二直连通信连接,如蓝牙连接,来发送该第二终端的性能信息。
可选地,所述发送模块801还用于若接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,将从所述第一终端接收到的已传输数据发送至所述目标终端。
可选地,接收模块802,用于接收第一连接请求,所述第一连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接。
可选地,所述接收模块802,还用于接收第二连接请求,所述第二连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
具体地,该连接请求可以为第一终端发送的第一连接请求,还可以为第一终端发送的第二连接请求。除此之外,还可以为目标终端发送的用于使第二终端与目标终端间建立第一直连通信连接的请求,还可以是目标终端发送的用于使第二终端与目标终端间建立第而直连通信连接的请求。
接收模块802,用于接收所述第一终端发送的已传输数据。
可选地,该第一终端确定该待传输数据的数据量。在待传输数据的数据量大于或等于预置的数据量阈值时,第二终端通过该第一终端与第二终端建立的第一直连通信连接接收将该待传输数据。在该待传输数据的数据量小于预置的数据量阈值时,第二终端可以通过该第一终端与第二终端建立的第二直连通信连接接收该待传输数据。
具体地,该连接请求为第一终端发送的第一连接请求时,发送模块801可以通过第一直连通信连接已传输数据发送至目标终端。该连接请求为第一终端发送的第二连接请求时,发送模块801可以通过第二直连通信连接将已传输数据发送至目标终端。除此之外,该连接请求为目标终端发送的第一连接请求时,发送模块801可以通过第一直连通信连接将已传输数据发送至目标终端,该连接请求为是目标终端发送的第二连接请求时,发送模块801可以通过第二直连通信连接将已传输数据发送至各目标终端。
其中,该发送模块801、接收模块802可以对应于通信接口,如Wi-Fi模块、蓝牙模块、射频模块等无线通信模块。
可见,图8所示的实施例中,第二终端可以与直连通信集群中的目标终端建立直连通信连接,并将从第一终端接收到的已传输数据通过直连通信集群中的目标终端建立直连通信连接,发送至直连通信集群中的目标终端,达到了由性能较佳的终端继续数据传输的目的,方便了数据的传输。
请参阅图9,图9是本申请实施例提供的一种终端的结构示意图,用于执行如本申请图3实施例中所示的数据传输方法。具体地,如图9所示,本申请实施例的终端可以包括:至少一个处理器1000、存储器3000等组件。可选的,该终端还可以包括至少一个通信接口2000。其中,这些组件通过一条或多条总线4000进行通信连接。本领域技术人员可以理解,图9中示出的终端的结构并不构成对本申请实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
处理器1000为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器3000内的程序和/或模块,以及调用存储在存储器3000内的数据以执行终端的各种功能 和处理数据。处理器1000可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器1000可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(Digital Signal Processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及各种控制芯片的组合。在本申请实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
通信接口2000可以包括多个无线通信模块,如射频模块、Wi-Fi模块、蓝牙模块、超声波模块等,可以用于建立直连通信集群中各个终端间的直连通信连接,包括但不限于实施例中提及的第一直连通信连接、第二直连通信连接。该通信接口2000还可以包括显示屏,用于输出用户界面。
存储器3000可用于存储计算机程序以及模块,处理器1000、通信接口2000通过调用存储在存储器3000中的计算机程序以及模块,从而执行终端的各项功能应用以及实现数据处理。存储器3000主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据终端的使用所创建的数据等。在本申请实施例中,操作系统可以是Android系统、iOS系统或Windows操作系统等等。
具体地,当本申请实施例的移动终端用于执行如本申请图3所示的数据传输方法时,处理器1000调用存储在存储器3000中的计算机程序,用于执行以下步骤:
在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;
若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;
若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则通过通信接口2000发送通知消息至所述第二终端或者所述直连通信集群中的目标终端;所述通知消息用于通知所述第二终端作为发送端,并与所述目标终端之间通过建立的直连通信连接传输所述已传输数据。
可选地,处理器1000调用存储在存储器3000中的计算机程序,还用于执行以下步骤:
确定所述已传输数据的数据量;
在所述已传输数据的数据量大于或等于预置的数据量阈值时,则通过通信接口2000发送第一连接请求,所述第一连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;
在所述已传输数据的数据量小于预置的数据量阈值时,则通过通信接口2000发送第二连接请求,所述第二连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
可选地,处理器1000调用存储在存储器3000中的计算机程序,还用于执行以下步骤:
确定所述直连通信集群中需要接收所述待传输数据的初始终端;
向各初始终端发送探测信号;所述探测信号用于探测所述各初始终端与所述第一终端间的信号强度;
确定出所述各初始终端中与所述第一终端间的信号强度小于预置信号强度阈值的初始终端为目标终端。
可选地,处理器1000调用存储在存储器3000中的计算机程序,还用于执行以下步骤:
在所述第一终端的性能信息包括剩余电量时,判断所述剩余电量是否小于预置的第一电量阈值;
在所述第一终端的性能信息包括传输速度时,判断所述传输速度是否小于预置的第一速度阈值;
若所述剩余电量小于所述预置的第一电量阈值和/或所述传输速度小于所述预置的第一速度阈值,则确定所述第一终端的性能信息小于对应预置的阈值。
可选地,处理器1000调用存储在存储器3000中的计算机程序,所述根据所述直连通信集群中各个终端的性能信息确定出第二终端,用于执行以下步骤:
判断所述直连通信集群中各个终端的性能信息中的剩余电量是否大于或者等于预置的第二电量阈值;
在确定所述各个终端中包括剩余电量大于或者等于所述预置的第二电量阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;
选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
可选地,处理器1000调用存储在存储器3000中的计算机程序,所述根据所述直连通信集群中各个终端的性能信息确定出第二终端,用于执行以下步骤:
判断所述直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;
在确定所述各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;
选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
可见,图9所示的实施例中,第一终端可以在确定该第一终端的性能信息小于对应预置的阈值时,确定出第二终端,并在对第二终端的已传输数据在待传输数据中的比例超过预置的比例阈值时,发送通知消息至第二终端,以用于通知该第二终端将该已传输数据发送至目标终端,实现了在终端可以根据自身性能状态来选取合适的终端,继续数据的传输,保障了数据传输的连续性和完整性,并且可以通过多终端的协作数据传输来提高数据传输的效率。
请参阅图10,图10是本申请再一实施例提供的一种终端的结构示意图,用于执行如本申请图5实施例中所示的数据传输方法。具体地,如图10所示,本申请实施例的终端可以包括:至少一个处理器1001存储器3001等组件。可选地,该终端还可以包括至少一个通信接口2001、其中,这些组件可以通过一条或多条总线4001进行通信连接。本领域技术人员可以理解,图10中示出的终端的结构并不构成对本申请实施例的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
处理器1001为终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器3001内的程序和/或模块,以及调用存储在存储器3001内的数据以执行终端的各种功能和处理数据。处理器1001可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器1001可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(Digital Signal Processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及各种控制芯片的组合。在本申请实施方式中,CPU可以是单运算核心,也可以包括多运算核心。
通信接口2001可以包括多个无线通信模块,如射频模块、Wi-Fi模块、蓝牙模块、超声波模块等,可以用于建立直连通信集群中各个终端间的直连通信连接,包括但不限于实施例中提及的第一直连通信连接、第二直连通信连接。该通信接口2001还可以包括显示屏,用于输出用户界面。
存储器3001可用于存储计算机程序以及模块,处理器1001、通信接口2001通过调用存储在存储器3001中的计算机程序以及模块,从而执行终端的各项功能应用以及实现数据处理。存储器3001主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序等;数据存储区可存储根据终端的使用所创建的数据等。在本申请实施例中,操作系统可以是Android系统、iOS系统或Windows操作系统等等。
具体地,当本申请实施例的移动终端用于执行如本申请图5所示的数据传输方法时,处理器1001调用存储在存储器3001中的计算机程序,用于执行以下步骤:
在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端;
若通过通信接口2001接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,通过通信接口2001将从所述第一终端接收到的已传输数据发送至所述目标终端。
可选地,处理器1001调用存储在存储器3001中的计算机程序,还用于执行以下步骤:
通过通信接口2001接收第一连接请求,所述第一连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;
或者,通过通信接口2001接收第二连接请求,所述第二连接请求为所述第一终端和/或目标终端发 送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
在一个实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现如本申请图3或图5实施例中所描述的数据传输方法。
再一个实施例中,还提供了一种计算机程序产品,该计算机程序产品包括了存储有计算机程序的计算机可读存储介质,该计算机程序被处理器执行时实现如本申请图3或图5的实施例中所描述的数据传输方法。
可见,图10所示的实施例中,第二终端可以与直连通信集群中的目标终端建立直连通信连接,并将从第一终端接收到的已传输数据通过与直连通信集群中的目标终端建立的直连通信连接,发送至该目标终端,达到了由性能较佳的终端继续数据传输的目的,方便了数据的传输。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述该作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(Processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (20)

  1. 一种数据传输方法,应用于第一终端,其特征在于,所述方法包括:
    在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;
    若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;
    若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端;所述通知消息用于通知所述第二终端作为发送端,并与所述目标终端之间通过建立的直连通信连接传输所述已传输数据。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    确定所述已传输数据的数据量;
    在所述已传输数据的数据量大于或等于预置的数据量阈值时,则发送第一连接请求,所述第一连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;
    在所述已传输数据的数据量小于预置的数据量阈值时,则发送第二连接请求,所述第二连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    确定所述直连通信集群中需要接收所述待传输数据的初始终端;
    向各初始终端发送探测信号;所述探测信号用于探测所述各初始终端与所述第一终端间的信号强度;
    确定出所述各初始终端中与所述第一终端间的信号强度小于预置信号强度阈值的初始终端为目标终端。
  4. 根据权利要求1-3任意一项所述的方法,其特征在于,所述方法还包括:
    在所述第一终端的性能信息包括剩余电量时,判断所述剩余电量是否小于预置的第一电量阈值;
    在所述第一终端的性能信息包括传输速度时,判断所述传输速度是否小于预置的第一速度阈值;
    若所述剩余电量小于所述预置的第一电量阈值和/或所述传输速度小于所述预置的第一速度阈值,则确定所述第一终端的性能信息小于对应预置的阈值。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述直连通信集群中各个终端的性能信息确定出第二终端,包括:
    判断所述直连通信集群中各个终端的性能信息中的剩余电量是否大于或者等于预置的第二电量阈值;
    在确定所述各个终端中包括剩余电量大于或者等于所述预置的第二电量阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;
    选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述直连通信集群中各个终端的性能信息确定出第二终端,包括:
    判断所述直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;
    在确定所述各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;
    选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
  7. 一种数据传输方法,应用于第二终端,其特征在于,所述方法包括:
    在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端;
    若接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,将从所述第一终端接收到的已传输数据发送至所述目标终端。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    接收第一连接请求,所述第一连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;
    或者,接收第二连接请求,所述第二连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
  9. 一种数据传输装置,应用于第一终端,其特征在于,所述装置包括:
    获取模块,用于在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;
    确定模块,用于若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;
    发送模块,用于若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则发送通知消息至所述第二终端或者所述直连通信集群中的目标终端;所述通知消息用于通知所述第二终端作为发送端,并与所述目标终端之间通过建立的直连通信连接传输所述已传输数据。
  10. 如权利要求9所述的装置,其特征在于,
    所述确定模块,还用于确定所述已传输数据的数据量;
    所述发送模块,还用于在所述已传输数据的数据量大于或等于预置的数据量阈值时,则发送第一连接请求,所述第一连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;在所述已传输数据的数据量小于预置的数据量阈值时,则发送第二连接请求,所述第二连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
  11. 根据权利要求10所述的装置,其特征在于,
    所述确定模块,还用于确定所述直连通信集群中需要接收所述待传输数据的初始终端;
    所述发送模块,还用于向各初始终端发送探测信号;所述探测信号用于探测所述各初始终端与所述第一终端间的信号强度;
    所述确定模块,还用于确定出所述各初始终端中与所述第一终端间的信号强度小于预置信号强度阈值的初始终端为目标终端。
  12. 根据权利要求9-11任意一项所述的装置,其特征在于,所述装置还包括判断模块,
    所述判断模块,用于在所述第一终端的性能信息包括剩余电量时,判断所述剩余电量是否小于预置的第一电量阈值;
    所述判断模块,还用于在所述第一终端的性能信息包括传输速度时,判断所述传输速度是否小于预置的第一速度阈值;
    所述确定模块,还用于若所述剩余电量小于所述预置的第一电量阈值和/或所述传输速度小于所述预置的第一速度阈值,则确定所述第一终端的性能信息小于对应预置的阈值。
  13. 根据权利要求12所述的装置,其特征在于,所述确定模块根据所述直连通信集群中各个终端的性能信息确定出第二终端,具体为判断所述直连通信集群中各个终端的性能信息中的剩余电量是否大于或者等于预置的第二电量阈值;在确定所述各个终端中包括剩余电量大于或者等于所述预置的第二电量阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
  14. 根据权利要求12所述的装置,其特征在于,所述确定模块根据所述直连通信集群中各个终端的性能信息确定出第二终端,具体为判断所述直连通信集群中各个终端的性能信息中的已接收数据的数据量是否大于或等于预置的数据接收阈值;在确定所述各个终端中包括已接收数据的数据量大于或等于预置的数据接收阈值的多个终端时,判断所述多个终端的性能信息中的传输速度是否大于或者等于预置的第二速度阈值;选取所述多个终端中传输速度大于或者等于所述预置的第二速度阈值的终端作为第二终端。
  15. 一种数据传输装置,应用于第二终端,其特征在于,所述装置包括:
    发送模块,用于在检测到第一终端发送的用于获取性能信息的请求时,将所述第二终端的性能信息通过与所述第一终端建立的直连通信连接发送至所述第一终端;
    所述发送模块,还用于若接收到所述第一终端发送的通知消息,则作为发送端,通过与所述直连通信集群中的目标终端建立的直连通信连接,将从所述第一终端接收到的已传输数据发送至所述目标终端。
  16. 根据权利要求15所述的装置,其特征在于,所述装置还包括:
    接收模块,用于接收第一连接请求,所述第一连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;
    或者,所述接收模块,还用于接收第二连接请求,所述第二连接请求为所述第一终端和/或目标终端发送的,用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
  17. 一种终端,其特征在于,至少包括处理器、通信接口和存储器,其中,所述存储器用于存储应用程序代码,所述处理器被配置用于调用所述程序代码,执行如下步骤:
    在所述第一终端需要向直连通信集群中的终端传输待传输数据时,获取所述第一终端的性能信息;
    若确定所述第一终端的性能信息小于对应预置的阈值,则根据所述直连通信集群中各个终端的性能信息确定出第二终端;
    若确定对所述第二终端的已传输数据在所述待传输数据中的比例超过预置的比例阈值,则通过所述通信接口发送通知消息至所述第二终端或者所述直连通信集群中的目标终端;所述通知消息用于通知所述第二终端作为发送端,并与所述目标终端之间通过建立的直连通信连接传输所述已传输数据。
  18. 根据权利要求17所述的终端,其特征在于,所述处理器调用存储在存储器中的计算机程序,还用于执行以下步骤:
    确定所述已传输数据的数据量;
    在所述已传输数据的数据量大于或等于预置的数据量阈值时,则通过所述通信接口发送第一连接请求,所述第一连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第一直连通信连接;
    在所述已传输数据的数据量小于预置的数据量阈值时,则通过所述通信接口发送第二连接请求,所述第二连接请求用于触发建立所述第二终端与所述直连通信集群中的目标终端之间的第二直连通信连接。
  19. 一种终端,其特征在于,至少包括处理器和存储器,其中,所述存储器用于存储应用程序代码,所述处理器被配置用于调用所述程序代码,执行如权利要求7或8所述的方法。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-6任一项所述的方法,或者如权7或8所述的方法。
PCT/CN2018/091676 2017-07-18 2018-06-15 一种数据传输方法、装置、终端及计算机可读存储介质 WO2019015429A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710589653.1A CN107277756B (zh) 2017-07-18 2017-07-18 一种数据传输方法、装置、终端及计算机可读存储介质
CN201710589653.1 2017-07-18

Publications (1)

Publication Number Publication Date
WO2019015429A1 true WO2019015429A1 (zh) 2019-01-24

Family

ID=60077747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091676 WO2019015429A1 (zh) 2017-07-18 2018-06-15 一种数据传输方法、装置、终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN107277756B (zh)
WO (1) WO2019015429A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360635B (zh) * 2017-07-18 2020-02-07 Oppo广东移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN107360636B (zh) * 2017-07-18 2019-09-10 Oppo广东移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN107277756B (zh) * 2017-07-18 2019-09-17 Oppo广东移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN108616663A (zh) * 2018-05-16 2018-10-02 Oppo广东移动通信有限公司 文件分享方法、装置、移动终端及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011084834A2 (en) * 2010-01-11 2011-07-14 Tangome, Inc. Communicating in a peer-to-peer computer environment
CN105188099A (zh) * 2015-08-21 2015-12-23 北京邮电大学 基于d2d通信的中继设备重选方法
CN106211188A (zh) * 2015-04-10 2016-12-07 中兴通讯股份有限公司 更换中继节点的方法及系统、d2d用户设备及控制节点
CN107277756A (zh) * 2017-07-18 2017-10-20 广东欧珀移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN107360636A (zh) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN107360635A (zh) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9730082B2 (en) * 2012-08-24 2017-08-08 Intel Corporation Methods and arrangements to relay packets via Wi-Fi direct
CN106211026B (zh) * 2014-12-22 2019-05-24 中兴通讯股份有限公司 一种实现设备直通中继选择的方法、网络控制节点及用户设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011084834A2 (en) * 2010-01-11 2011-07-14 Tangome, Inc. Communicating in a peer-to-peer computer environment
CN106211188A (zh) * 2015-04-10 2016-12-07 中兴通讯股份有限公司 更换中继节点的方法及系统、d2d用户设备及控制节点
CN105188099A (zh) * 2015-08-21 2015-12-23 北京邮电大学 基于d2d通信的中继设备重选方法
CN107277756A (zh) * 2017-07-18 2017-10-20 广东欧珀移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN107360636A (zh) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质
CN107360635A (zh) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 一种数据传输方法、装置、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN107277756A (zh) 2017-10-20
CN107277756B (zh) 2019-09-17

Similar Documents

Publication Publication Date Title
WO2019015428A1 (zh) 一种数据传输方法、装置、终端及计算机可读存储介质
WO2019015427A1 (zh) 一种数据传输方法、装置、终端及计算机可读存储介质
US10187451B2 (en) Method, mobile device and system for transmitting files
JP6915079B2 (ja) デュアルカード・デュアルスタンバイ・デュアルパスを実装する通信方法及び端末
WO2019015429A1 (zh) 一种数据传输方法、装置、终端及计算机可读存储介质
KR101597177B1 (ko) 무선 통신 접속의 콘텍스트 인식 근접도 기반 설정
US10674556B2 (en) Method for data transmission and mobile terminal
KR101489675B1 (ko) 와이파이 다이렉트 장치의 스캔 및 접속 방법, 이를 위한 단말 장치
CN106576112A (zh) 对等组重新形成
WO2018120390A1 (zh) 一种通信建立的方法及终端
WO2021022720A1 (zh) 基于蓝牙的数据传输方法、存储介质及终端
CN113038440B (zh) 通信通道切换方法、装置、计算机设备和可读存储介质
US20230345221A1 (en) Method for transmitting data in near field, device, and system
WO2022057119A1 (zh) 小区切换方法、装置、存储介质及电子设备
CN107222937B (zh) 一种数据传输方法、装置及终端
WO2019001188A1 (zh) 一种数据处理方法、终端以及基站
CN104333643A (zh) 添加联系人的方法、系统及终端
CN111866824A (zh) 一种建立通信连接及数据传输的方法和设备
CN108605371A (zh) 发现蓝牙设备的方法和蓝牙设备
WO2020164522A1 (zh) 数据传输控制方法及相关产品
JP2017531336A (ja) トランキング通信サービス処理方法、コアネットワーク装置、及びue、記憶媒体
CN105704106B (zh) 一种可视化ivr实现方法及移动终端
WO2019015040A1 (zh) 基于信号强度的频点选取方法及物联网终端
WO2020043059A1 (zh) 显示业务标识的方法、装置及存储介质
WO2022218131A1 (zh) 数据传输方法、系统、电子设备及存储介质

Legal Events

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

Ref document number: 18835513

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

Country of ref document: EP

Kind code of ref document: A1