WO2015143826A1 - Method and apparatus for controlling data transfer - Google Patents

Method and apparatus for controlling data transfer Download PDF

Info

Publication number
WO2015143826A1
WO2015143826A1 PCT/CN2014/084750 CN2014084750W WO2015143826A1 WO 2015143826 A1 WO2015143826 A1 WO 2015143826A1 CN 2014084750 W CN2014084750 W CN 2014084750W WO 2015143826 A1 WO2015143826 A1 WO 2015143826A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
transmission
transmission mode
receiving end
mode
Prior art date
Application number
PCT/CN2014/084750
Other languages
French (fr)
Chinese (zh)
Inventor
吕何平
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015143826A1 publication Critical patent/WO2015143826A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for controlling data transmission.
  • BACKGROUND With the gradual popularization of smart terminals, the use of intelligent terminals to transmit data anytime and anywhere has gradually become a habit of people's daily life and work, and accordingly, how to ensure the speed and accuracy of data transmission of intelligent terminals has become people. A growing concern.
  • intelligent terminal data transmission for example: Bluetooth mode, wireless fidelity (WiFi) - direct (Direct) mode, mail mode, SMS mode, etc.
  • users can only transmit data from The transmission mode provided by the intelligent terminal randomly selects a transmission mode to transmit the data, and it is impossible to determine which transmission mode the data uses is faster and more efficient.
  • Embodiments of the present invention provide a method and apparatus for controlling data transmission, so as to at least implement a method of automatically selecting data transmission, speed up a selection process of a data transmission mode, and effectively ensure the speed and accuracy of data transmission.
  • the present invention provides a method for controlling data transmission, the method comprising the steps of: when detecting and receiving a data transfer instruction, the data transmitting end acquires a transfer attribute parameter of the data; And a mapping manner between the preset transmission mode and the transmission attribute parameter, determining a transmission mode corresponding to the data; and the data sending end transmitting the data to the data receiving end according to the determined transmission manner.
  • the transmission attribute parameter of the data is an attribute identifier of the data, and/or a data transmission distance from the data sending end to the data receiving end of the data
  • the data sending end is according to a preset
  • the mapping relationship between the transmission mode and the transmission attribute parameter, and the step of determining the transmission mode corresponding to the data includes: Determining, by the data sending end, the mapping relationship between the preset transmission mode and the data attribute identifier, or the mapping relationship between the transmission mode and the data transmission distance, or the mapping relationship between the transmission mode and the data transmission distance and the data attribute identifier, The way of transmission.
  • the step of transmitting, by the data transmitting end, the data to the data receiving end according to the determined transmission manner comprises: the data transmitting end according to the determined transmission mode Priority, each transmission mode is selected one by one to perform the transmission of the data until the data is successfully transmitted to the data receiving end.
  • the step of transmitting, by the data transmitting end, the data to the data receiving end according to the determined transmission manner includes: the data transmitting end is in all determined transmission manners After the selection is completed, when the data has not been transmitted to the data receiving end, the reminder information that the data transmission fails is issued.
  • the method further includes: adjusting, by the data sending end, the mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
  • the present invention further provides an apparatus for controlling data transmission, the apparatus comprising: an acquisition module configured to: when detecting and receiving a data transfer instruction, acquire a transfer attribute parameter of the data; and the processing module is configured to be preset according to a mapping relationship between the transmission mode and the transmission attribute parameter, determining a transmission mode corresponding to the data; and a transmitting module configured to transmit the data to the data receiving end according to the determined transmission mode.
  • an acquisition module configured to: when detecting and receiving a data transfer instruction, acquire a transfer attribute parameter of the data
  • the processing module is configured to be preset according to a mapping relationship between the transmission mode and the transmission attribute parameter, determining a transmission mode corresponding to the data
  • a transmitting module configured to transmit the data to the data receiving end according to the determined transmission mode.
  • the processing module is further configured according to The mapping relationship between the preset transmission mode and the data attribute identifier, or the mapping relationship between the transmission mode and the data transmission distance, or the mapping relationship between the transmission mode and the data transmission distance and the data attribute identifier, and determines the transmission mode corresponding to the data.
  • the transmitting module is further configured to select the respective transmission modes to perform the transmission of the data one by one according to the priority of the determined transmission mode until the data is successfully transmitted to the data receiving end.
  • the apparatus further comprises: a reminding module, configured to issue the reminder information that the data transmission fails when the data has not been transmitted to the data receiving end after all the determined transmission modes are selected.
  • the processing module is further configured to adjust a mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling data transmission according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling data transmission according to the present invention
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a method for controlling data transmission according to the present invention
  • FIG. 5 is a schematic flowchart of a fifth embodiment of a method for controlling data transmission according to the present invention
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for controlling data transmission according to the present invention. It should be emphasized that the flowchart shown in FIG.
  • the data sending end acquires the transfer attribute parameter of the data; the data sending end determines a transfer mode corresponding to the data according to a mapping relationship between the preset transfer mode and the transfer attribute parameter; The data transmitting end transmits the data to the data receiving end in accordance with the determined transmission mode.
  • Step S1 l when detecting and receiving the data transfer instruction, the data sending end acquires the transfer attribute parameter of the data;
  • Step S12 the data sending end Determining, according to a mapping relationship between the preset transmission mode and the transmission attribute parameter, a transmission mode corresponding to the data; in this embodiment, when the user has data to transmit, sending, to the data transmitting end, the data transmission attribute parameter to be transmitted is set.
  • the user can trigger the parameter setting instruction button of the data sending end corresponding to the display interface by means of a touch screen or a button, and set the transmission attribute parameter corresponding to the transmission attribute parameter setting instruction sent by the user for the data to be transmitted.
  • the user can set the transmission attribute parameter of the data to be transmitted when the data transmission is needed, and the user can also set the corresponding transmission attribute parameter for each data to be transmitted in advance.
  • the data transmitting end may be a smart phone, a tablet computer or a notebook computer, etc., and is preferably a smart phone in this embodiment.
  • the data may be web virtual data such as webpage data, system data, program data, connection data, or the like, or may be physical data such as text, tabular paper data.
  • the transmission attribute parameter of the data may be an attribute identifier of the data, a data transmission distance of the data receiving end of the data, and the like; the attribute of the data may be a size of the data, a type of the data, or the like.
  • the data sending end determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a transmission attribute parameter.
  • the preset transmission mode may be a transmission mode such as Bluetooth, WiFi, wired network, wired connection, etc., and the preset transmission mode may be set according to the needs of the user or according to actual data.
  • step S12 may be specifically: Step S1201: When the acquired transmission attribute parameter of the data is an attribute identifier of the data, the data sending end is mapped according to a preset transmission mode and a data attribute identifier. Determining the transmission method corresponding to the data.
  • step S12 may further be: Step S1202: When the acquired transmission attribute parameter of the data is a data transmission distance of the data receiving end of the data, the data sending end is configured according to a preset transmission manner and data. The mapping relationship of the transmission distance determines the transmission mode corresponding to the data.
  • the data sending end may acquire the current location of the data by the positioning system, obtain the positional relationship of the data receiving end, and calculate the distance between the data sending end and the data receiving end; the positioning system may be GPS positioning or Beidou positioning, etc. GPS.
  • Table 3 is a mapping table of preset transmission methods and data transmission distances. If the obtained transmission distance of the data is less than or equal to 10 meters, the method for determining the data is Bluetooth> ⁇ 1 ⁇ >wired network; if the obtained data transmission distance is greater than 10 meters and less than 100 meters, Then the manner of determining the data is WiFi>wired network. Referring to FIG.
  • step S12 may be further, in step S1203, when the acquired transmission attribute parameter of the data is an attribute identifier of the data and a data transmission distance from the smart phone to a data receiving end of the data,
  • the data sending end determines the transmission mode corresponding to the data according to a mapping relationship between the preset transmission mode and the data transmission distance and the data attribute identifier.
  • Table 4 is a mapping table of preset transmission methods, data transmission distances, and data attribute identifiers.
  • the method for determining the data is a Bluetooth> ⁇ 1 ⁇ >wired network; if the acquired data is transmitted When the distance is greater than 10 meters and less than 100 meters and the data attribute identifier is 1, the manner of determining the data is WiFi>wired network. Table 1
  • the data sending end transmits the data to the data receiving according to a determined transmission manner.
  • the smart phone when the determined transmission mode is a transmission mode, transmits the data to the data receiving end according to the determined transmission mode. For example, when the determined transmission mode is a wired network, the data is transmitted to the data receiving end through a wired network. When the data is not successfully transmitted to the data receiving end through the wired network, the reminding information that the data transmission fails is sent, and the reminding information may be a text, a picture or an audio reminder.
  • the smart phone selects each transmission mode to perform the data transmission according to the priority of the determined transmission mode, until the data is successfully transmitted to the data receiving end. For example, refer to Table 2.
  • the preset transmission mode is Bluetooth> ⁇ 1?1>wired network, that is, the priority is Bluetooth higher than WiFi, WiFi is higher than the wired network, one by one Selecting the transmission mode of Bluetooth, WiFi, and wired network to transmit the data, and when successfully transmitting the data to the data receiving end through Bluetooth, sending a reminder message that the data transmission succeeds, and no longer selects the WiFi and the wired network.
  • the transmission mode of the WiFi is selected to transmit the data, and the data is successfully transmitted to the WiFi through
  • the transmission mode of the wired network is no longer selected for the transmission of the data; the number is not successfully obtained by using WiFi.
  • the transmission mode of the wired network is selected to perform the data transmission, and when the data is not successfully transmitted to the data receiving end by the transmission mode of the wired network, a reminder that the data transmission fails is sent. information.
  • the smart phone transmits the data to the data receiving end according to the determined transmission mode, and successfully transmits the data to the data through the determined transmission mode. And sending, by the data receiving end, reminding information that the data transmission succeeds; and sending the data to the data receiving end when the data is not successfully transmitted by the determined transmission manner, sending the reminding information that the data transmission fails .
  • the data sending end acquires the transfer attribute parameter of the data; the data sending end determines the data according to a mapping relationship between the preset transfer mode and the transfer attribute parameter. Corresponding transmission mode; the data transmitting end transmits the data to the data receiving end according to the determined transmission manner.
  • Step S14 The data sending end adjusts a preset transmission mode and transmission when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
  • the mapping relationship of attribute parameters After the smart phone sends the data to the data receiving end according to the determined transmission manner, it is analyzed whether the data is successfully sent to the data receiving by using a determined transmission manner. End, in the data is not successfully sent to the data receiving end by the determined transmission manner, and the mapping relationship between the preset transmission mode and the transmission attribute parameter is adjusted.
  • Adjusting the mapping relationship between the preset transmission mode and the transmission attribute parameter includes: adjusting the mapping relationship between the preset transmission mode and the data attribute identifier, adjusting the mapping relationship between the preset transmission mode and the data transmission distance, and adjusting the preset transmission mode and The mapping relationship between data transmission distance and data attribute identification.
  • the mapping relationship between the preset transmission mode and the data attribute identifier is taken as an example. Referring to Table 2, if the determined transmission mode is Bluetooth>WiFi>wired network, the data is not successfully transmitted to the Bluetooth transmission mode. When the data receiving end successfully transmits the data to the data receiving end by using a WiFi transmission mode, the preset transmission mode of the data attribute identifier 1 is adjusted to a WiFi>wired network.
  • the determined transmission mode is multiple transmission modes, as long as the transmission mode can successfully transmit the data to the data receiving end, the data transmission manner to the data receiving end is not successfully transmitted. Deleting, retaining the transmission mode in which the data is transmitted to the data receiving end; when the determined transmission mode is a transmission mode, when the data is not successfully transmitted to the data receiving end according to the determined transmission mode, A reminder message is sent to the user to re-deliver a new delivery mode to successfully transmit the data to the data receiving end.
  • the received tone of the mapping relationship between the user based on the preset transmission mode and the transmission attribute parameter is received. During the whole instruction, the smart phone adjusts the mapping relationship between the preset transmission mode and the transmission attribute parameter according to the received adjustment instruction.
  • the data transmitting end adjusts the mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
  • the data transmitting end can transmit the data to the data receiving end more quickly and accurately.
  • FIG. 6 is a schematic diagram of functional modules of a preferred embodiment of a device for controlling data transmission according to the present invention.
  • the device includes: an acquisition module 10, a processing module 20, a transmission module 30, and a reminder module 40.
  • the obtaining module 10 is configured to: when detecting and receiving a data transfer instruction, acquire a transfer attribute parameter of the data;
  • the processing module 20 is configured to perform a mapping relationship between the preset transfer mode and the transfer attribute parameter, Determining the transmission mode corresponding to the data;
  • the user when the user has data to transmit, the user sends an instruction to set the parameter of the data transmission attribute to be transmitted to the data sending end, and the user can trigger the data transmission by using a touch screen or a button.
  • the end corresponds to the parameter setting instruction button of the display interface, and sets the transmission attribute parameter corresponding to the transmission attribute parameter setting instruction sent by the user for the data to be transmitted.
  • the user can set the transmission attribute parameter of the data to be transmitted when the data transmission is needed, and the user can also set the corresponding transmission attribute parameter for each data to be transmitted in advance.
  • the data transmitting end may be a smart phone, a tablet computer or a notebook computer, etc., and is preferably a smart phone in this embodiment.
  • the data may be web virtual data such as webpage data, system data, program data, connection data, or the like, or may be physical data such as text, tabular paper data.
  • the transmission attribute parameter of the data may be an attribute identifier of the data, a data transmission distance of the data receiving end of the data, and the like; the attribute of the data may be a size of the data, a type of the data, or the like.
  • the data sending end determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a transmission attribute parameter.
  • the preset transmission mode may be a transmission mode such as Bluetooth, WiFi, wired network, wired connection, etc., and the preset transmission mode may be set according to the needs of the user or according to actual data.
  • the smartphone determines a transmission manner corresponding to the data according to a mapping relationship between the preset transmission mode and the data attribute identifier, for example, refer to Table 1 and Table. 2.
  • Table 1 is a relationship table between data attributes and data attribute identifiers;
  • Table 2 is a mapping table between preset transmission methods and data attribute identifiers. If the attribute identifier of the acquired data is 1, the method for determining the data is blue. Teeth> ⁇ 1 ⁇ >Wired network; if the attribute identifier of the obtained data is 2, the way of determining the data is Bluetooth>wired network.
  • the smart phone determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a data transmission distance.
  • the data sending end may acquire its current location through the positioning system, obtain a positional relationship of the data receiving end, and calculate a distance between the data sending end and the data receiving end; the positioning system may be a GPS positioning or a Beidou positioning, etc. GPS.
  • Table 3 is a mapping table of preset transmission methods and data transmission distances.
  • the method for determining the data is a Bluetooth> ⁇ 1 ⁇ >wired network; if the acquired distance of the data is greater than 10 meters and less than 100 meters, Then the manner of determining the data is WiFi>wired network.
  • the acquired transmission attribute parameter of the data is the attribute identifier of the data and the data transmission distance of the smart phone to the data receiving end of the data
  • the smart phone is based on a preset transmission mode and a data transmission distance and
  • the mapping relationship of the data attribute identifier determines the transmission mode corresponding to the data. For example, refer to Table 4, Table 4 for the mapping relationship between the preset transmission mode and the data transmission distance and the data attribute identification.
  • the method for determining the data is Bluetooth>WiFi>wired network; if the acquired data transmission distance is greater than 10 When the meter is less than 100 meters and the data attribute identifier is 1, the manner of determining the data is WiFi>wired network.
  • the transmitting module 30 is configured to transmit the data to the data receiving according to a determined transmission manner
  • the smart phone when the determined transmission mode is a transmission mode, transmits the data to the data receiving end according to the determined transmission mode.
  • the determined transmission mode when the determined transmission mode is a wired network, the data is transmitted to the data receiving end through a wired network.
  • the reminding module 40 is configured to issue reminder information that the data transmission fails when the data is not successfully transmitted to the data receiving end through the wired network.
  • the reminder information may be a text, a picture or a sound reminder.
  • the smart phone selects each transmission mode to perform the data transmission according to the priority of the determined transmission mode, until the data is successfully transmitted to the data receiving end. For example, refer to Table 2.
  • the preset transmission mode is Bluetooth> ⁇ 1?1>wired network, that is, the priority is Bluetooth higher than WiFi, WiFi is higher than the wired network, one by one Selecting the transmission mode of Bluetooth, WiFi, and wired network to transmit the data, and when successfully transmitting the data to the data receiving end through Bluetooth, sending a reminder message that the data transmission succeeds, and no longer selects the WiFi and the wired network.
  • the transfer mode of the data when the data is not successfully transmitted to the data receiving end via Bluetooth, Selecting the transmission mode of the WiFi to transmit the data, and when successfully transmitting the data to the data receiving end through WiFi, the transmission mode of the wired network is no longer selected for the transmission of the data;
  • the transmission mode of the wired network is selected to perform the data transmission, and when the data is transmitted to the data receiving end by the transmission mode of the wired network, the data transmission is performed.
  • a reminder message of failure That is, when the determined transmission mode can be used for the user to successfully transmit the data to the data receiving end, the reminder information that the data transmission succeeds is sent, and the preset transmission mode of the next priority is no longer selected.
  • the data when all the determined transmission modes fail for the user to successfully transmit the data to the data receiving end, issue the reminder information that the data transmission fails.
  • the smart phone transmits the data to the data receiving end according to the determined transmission mode, and successfully transmits the data to the data through the determined transmission mode. And sending, by the data receiving end, reminding information that the data transmission succeeds; and sending the data to the data receiving end when the data is not successfully transmitted by the determined transmission manner, sending the reminding information that the data transmission fails .
  • the obtaining module 10 acquires the transfer attribute parameter of the data; the processing module 20 determines the corresponding data according to the mapping relationship between the preset transfer mode and the transfer attribute parameter. Transmission mode; the transmission module 30 transmits the data to the data receiving end in accordance with the determined transmission mode.
  • the processing module 20 is further configured to adjust a mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
  • the smart phone sends the data to the data receiving end according to the determined transmission manner, it is analyzed whether the data is successfully sent to the data receiving by using a determined transmission manner. End, in the data is not successfully sent to the data receiving end by the determined transmission manner, and the mapping relationship between the preset transmission mode and the transmission attribute parameter is adjusted.
  • Adjusting the mapping relationship between the preset transmission mode and the transmission attribute parameter includes: adjusting the mapping relationship between the preset transmission mode and the data attribute identifier, adjusting the mapping relationship between the preset transmission mode and the data transmission distance, and adjusting the preset transmission mode and The mapping relationship between data transmission distance and data attribute identification.
  • the mapping relationship between the preset transmission mode and the data attribute identifier is taken as an example. Referring to Table 2, if the determined transmission mode is Bluetooth>WiFi>wired network, the data is not successfully transmitted to the Bluetooth transmission mode. When the data receiving end successfully transmits the data to the data receiving end by using a WiFi transmission mode, the preset transmission mode of the data attribute identifier 1 is adjusted to a WiFi>wired network.
  • the transmission mode of the data transmission to the data receiving end is not successfully deleted, and the reservation is successful. Transmitting the data to the data receiving end; when the determined transmission mode is a transmission mode, when the data is not successfully transmitted to the data receiving end according to the determined transmission mode, the user is re-provided A new transmission mode reminder message to successfully transmit the data to the data receiving end.
  • the smart phone when receiving an adjustment instruction issued by the user based on a mapping relationship between the preset transmission mode and the transmission attribute parameter, the smart phone follows the received adjustment instruction to the preset transmission mode and the transmission attribute. The mapping relationship of the parameters is adjusted.
  • the processing module 20 adjusts the mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
  • the data transmitting end can transmit the data to the data receiving end more quickly and accurately.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a disk,
  • a storage medium such as a ROM/RAM, a disk
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a wired network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a cell phone, a computer, a server, or a wired network device, etc.
  • a method and apparatus for controlling data transmission provided by an embodiment of the present invention have the following beneficial effects: By automatically selecting a data transmission method, the selection process of the data transmission mode is accelerated, and the speed of data transmission is effectively ensured. , accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a method for controlling data transfer, the method comprising the steps of: when detecting and receiving a data transfer instruction, obtaining, by a data sending end, the transfer attribute parameters of the data; determining, by the data sending end, the transfer method corresponding to the data according to a preset mapping relationship between the transfer method and the transfer attribute parameters; transmitting, by the data sending end, the data to a data receiving end according to the determined transfer method. Also disclosed is an apparatus for controlling data transfer, which is intended to automatically select a data transfer method, accelerate the progress of selecting the data transfer method, and effectively ensure the quickness and accuracy of data transfer.

Description

控制数据传送的方法及装置 技术领域 本发明涉及数据处理技术领域, 尤其涉及控制数据传送的方法和装置。 背景技术 随着智能终端的逐步普及, 运用智能终端随时随地传送数据已经逐渐成为人们日 常生活和工作的习惯, 随之而来的是, 如何保证智能终端数据传送的快捷性、 准确性 已经成为人们日益关心的问题。 然而, 随着智能终端数据传送的方式 (例如: 蓝牙方式、 无线保真 (WiFi) -直接 (Direct)方式、 邮件方式、 短信方式等)越来越多, 用户在传送数据时, 只能从智能 终端提供的传送方式列表中随机选择一种传送方式进行所述数据的传送, 无法确定所 述数据运用哪种传送方式会更快、 更有效。 因此, 现有技术中数据传送方式的选择过 程繁琐, 且无法保证数据传送的快捷性、 准确性。 发明内容 本发明实施例提供了一种控制数据传送的方法和装置, 以至少实现自动选择数据 传送的方式, 加快数据传送方式的选择过程, 有效保证数据传送的快捷性、 准确性。  TECHNICAL FIELD The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for controlling data transmission. BACKGROUND With the gradual popularization of smart terminals, the use of intelligent terminals to transmit data anytime and anywhere has gradually become a habit of people's daily life and work, and accordingly, how to ensure the speed and accuracy of data transmission of intelligent terminals has become people. A growing concern. However, with the way of intelligent terminal data transmission (for example: Bluetooth mode, wireless fidelity (WiFi) - direct (Direct) mode, mail mode, SMS mode, etc.), users can only transmit data from The transmission mode provided by the intelligent terminal randomly selects a transmission mode to transmit the data, and it is impossible to determine which transmission mode the data uses is faster and more efficient. Therefore, the selection process of the data transmission method in the prior art is cumbersome, and the speed and accuracy of data transmission cannot be guaranteed. SUMMARY OF THE INVENTION Embodiments of the present invention provide a method and apparatus for controlling data transmission, so as to at least implement a method of automatically selecting data transmission, speed up a selection process of a data transmission mode, and effectively ensure the speed and accuracy of data transmission.
为实现上述目的, 本发明提供一种控制数据传送的方法, 该方法包括步骤: 当侦测并接收到数据传送指令时, 数据发送端获取所述数据的传送属性参数; 所述数据发送端根据预设的传送方式与传送属性参数的映射关系, 确定所述数据 对应的传送方式; 所述数据发送端按照确定的传送方式将所述数据传送至所述数据接收端。 优选地, 当所述数据的传送属性参数为所述数据的属性标识, 及 /或, 所述数据发 送端至所述数据的数据接收端的数据传送距离时, 所述数据发送端根据预设的传送方 式与传送属性参数的映射关系, 确定所述数据对应的传送方式的步骤包括: 所述数据发送端根据预设的传送方式与数据属性标识的映射关系, 或者传送方式 与数据传送距离的映射关系, 或者传送方式与数据传送距离及数据属性标识的映射关 系, 确定所述数据对应的传送方式。 优选地, 当确定的传送方式为多个传送方式时, 所述数据发送端按照确定的传送 方式将所述数据传送至所述数据接收端的步骤包括: 所述数据发送端按照确定的传送方式的优先级, 逐一选择各个传送方式进行所述 数据的传送, 直至成功将所述数据传送至所述数据接收端。 优选地, 当确定的传送方式为多个传送方式时, 所述数据发送端按照确定的传送 方式将所述数据传送至所述数据接收端的步骤包括: 所述数据发送端在所有确定的传送方式选择完毕之后, 还未将所述数据传送至所 述数据接收端时, 发出所述数据传送失败的提醒信息。 优选地, 该方法还包括: 所述数据发送端在未成功将所述数据按照确定的传送方式传送至所述数据接收端 时, 调整预设的传送方式与传送属性参数的映射关系。 To achieve the above object, the present invention provides a method for controlling data transmission, the method comprising the steps of: when detecting and receiving a data transfer instruction, the data transmitting end acquires a transfer attribute parameter of the data; And a mapping manner between the preset transmission mode and the transmission attribute parameter, determining a transmission mode corresponding to the data; and the data sending end transmitting the data to the data receiving end according to the determined transmission manner. Preferably, when the transmission attribute parameter of the data is an attribute identifier of the data, and/or a data transmission distance from the data sending end to the data receiving end of the data, the data sending end is according to a preset The mapping relationship between the transmission mode and the transmission attribute parameter, and the step of determining the transmission mode corresponding to the data includes: Determining, by the data sending end, the mapping relationship between the preset transmission mode and the data attribute identifier, or the mapping relationship between the transmission mode and the data transmission distance, or the mapping relationship between the transmission mode and the data transmission distance and the data attribute identifier, The way of transmission. Preferably, when the determined transmission mode is a plurality of transmission modes, the step of transmitting, by the data transmitting end, the data to the data receiving end according to the determined transmission manner comprises: the data transmitting end according to the determined transmission mode Priority, each transmission mode is selected one by one to perform the transmission of the data until the data is successfully transmitted to the data receiving end. Preferably, when the determined transmission mode is multiple transmission modes, the step of transmitting, by the data transmitting end, the data to the data receiving end according to the determined transmission manner includes: the data transmitting end is in all determined transmission manners After the selection is completed, when the data has not been transmitted to the data receiving end, the reminder information that the data transmission fails is issued. Preferably, the method further includes: adjusting, by the data sending end, the mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
本发明进一步提供一种控制数据传送的装置, 该装置包括: 获取模块, 设置为当侦测并接收到数据传送指令时, 获取所述数据的传送属性参 数; 处理模块, 设置为根据预设的传送方式与传送属性参数的映射关系, 确定所述数 据对应的传送方式; 传送模块, 设置为按照确定的传送方式将所述数据传送至所述数据接收端。 优选地, 当所述数据的传送属性参数为所述数据的属性标识, 及 /或, 所述数据发 送端至所述数据的数据接收端的数据传送距离时, 所述处理模块, 还设置为根据预设的传送方式与数据属性标识的映射关系, 或者 传送方式与数据传送距离的映射关系, 或者传送方式与数据传送距离及数据属性标识 的映射关系, 确定所述数据对应的传送方式。 优选地, 所述传送模块, 还设置为按照确定的传送方式的优先级, 逐一选择各个 传送方式进行所述数据的传送, 直至成功将所述数据传送至所述数据接收端。 优选地, 该装置还包括: 提醒模块, 设置为在所有确定的传送方式选择完毕之后, 还未将所述数据传送至 所述数据接收端时, 发出所述数据传送失败的提醒信息。 优选地, 所述处理模块, 还设置为在未成功将所述数据按照确定的传送方式传送 至所述数据接收端时, 调整预设的传送方式与传送属性参数的映射关系。 The present invention further provides an apparatus for controlling data transmission, the apparatus comprising: an acquisition module configured to: when detecting and receiving a data transfer instruction, acquire a transfer attribute parameter of the data; and the processing module is configured to be preset according to a mapping relationship between the transmission mode and the transmission attribute parameter, determining a transmission mode corresponding to the data; and a transmitting module configured to transmit the data to the data receiving end according to the determined transmission mode. Preferably, when the transmission attribute parameter of the data is an attribute identifier of the data, and/or a data transmission distance from the data sending end to the data receiving end of the data, the processing module is further configured according to The mapping relationship between the preset transmission mode and the data attribute identifier, or the mapping relationship between the transmission mode and the data transmission distance, or the mapping relationship between the transmission mode and the data transmission distance and the data attribute identifier, and determines the transmission mode corresponding to the data. Preferably, the transmitting module is further configured to select the respective transmission modes to perform the transmission of the data one by one according to the priority of the determined transmission mode until the data is successfully transmitted to the data receiving end. Preferably, the apparatus further comprises: a reminding module, configured to issue the reminder information that the data transmission fails when the data has not been transmitted to the data receiving end after all the determined transmission modes are selected. Preferably, the processing module is further configured to adjust a mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode.
相对现有技术, 本发明当侦测并接收到数据传送指令时, 数据发送端获取所述数 据的传送属性参数;所述数据发送端根据预设的传送方式与传送属性参数的映射关系, 确定所述数据对应的传送方式; 所述数据发送端按照确定的传送方式将所述数据传送 至所述数据接收端。 通过自动选择数据传送的方式, 加快数据传送方式的选择过程, 有效保证数据传送的快捷性、 准确性。 附图说明 图 1为本发明控制数据传送的方法第一实施例的流程示意图; 图 2为本发明控制数据传送的方法第二实施例的流程示意图; 图 3为本发明控制数据传送的方法第三实施例的流程示意图; 图 4为本发明控制数据传送的方法第四实施例的流程示意图; 图 5为本发明控制数据传送的方法第五实施例的流程示意图; 图 6为本发明控制数据传送的装置较佳实施例的功能模块示意图。 Compared with the prior art, when the data transmission instruction is detected and received, the data sending end acquires the transmission attribute parameter of the data; and the data sending end determines the mapping relationship between the preset transmission mode and the transmission attribute parameter. a transmission mode corresponding to the data; the data sending end transmits the data to the data receiving end according to the determined transmission manner. By automatically selecting the data transfer method, the selection process of the data transfer mode is accelerated, and the speed and accuracy of data transfer are effectively guaranteed. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling data transmission according to the present invention; FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling data transmission according to the present invention; FIG. 4 is a schematic flowchart of a fourth embodiment of a method for controlling data transmission according to the present invention; FIG. 5 is a schematic flowchart of a fifth embodiment of a method for controlling data transmission according to the present invention; A schematic diagram of the functional modules of the preferred embodiment of the transmitted device.
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 具体实施方式 应当理解,此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 如图 1所示, 为本发明控制数据传送的方法第一实施例的流程示意图。 需要强调的是: 图 1所示流程图仅为一个较佳实施例, 本领域的技术人员当知, 任何围绕本发明思想构建的实施例都不应脱离于如下技术方案涵盖的范围: 当侦测并接收到数据传送指令时, 数据发送端获取所述数据的传送属性参数; 所 述数据发送端根据预设的传送方式与传送属性参数的映射关系, 确定所述数据对应的 传送方式; 所述数据发送端按照确定的传送方式将所述数据传送至所述数据接收端。 以下是本实施例逐步实现数据传送控制的具体歩骤: 步骤 Sl l, 当侦测并接收到数据传送指令时, 数据发送端获取所述数据的传送属 性参数; 步骤 S12, 所述数据发送端根据预设的传送方式与传送属性参数的映射关系, 确 定所述数据对应的传送方式; 在本实施例中, 用户在有数据进行传送时, 给数据发送端发送设置待传送数据传 送属性参数的指令, 用户可以通过触屏或者按键的方式触发数据发送端对应显示界面 的参数设置指令按钮, 并为待传送数据设置用户发送的传送属性参数设置指令对应的 传送属性参数。 用户可以不在需要进行数据传送时设置待传送数据的传送属性参数, 用户也可以提前为各个待传送数据设置相应的传送属性参数。 所述数据发送端可以是 智能手机、 平板电脑或笔记本电脑等, 在本实施例优选为智能手机。 所述数据可以是 网页数据、 系统数据、 程序数据、 连接数据等网络虚拟数据, 也可以是形成文本的、 表格的纸质数据等实体数据。 所述数据的传送属性参数可以为所述数据的属性标识、 所述数据的数据接收端的 数据传送距离等; 所述数据的属性可以是数据的大小、 数据的类型等。 所述数据发送 端根据预设的传送方式与传送属性参数的映射关系, 确定所述数据对应的传送方式。 所述预设的传送方式可以是蓝牙、 WiFi、 有线网络、 有线连接等传送方式, 所述预设 的传送方式可以根据用户的需求或根据实际能将数据快速进行传送进行设置。 参考图 2, 步骤 S12可以具体为: 步骤 S1201 , 当获取的所述数据的传送属性参数为所述数据 的属性标识, 所述数据发送端根据预设的传送方式与数据属性标识的映射关系, 确定 所述数据对应的传送方式。 例如, 参考表 1和表 2, 表 1为数据属性与数据属性标识 的关系表; 表 2为预设的传送方式与数据属性标识的映射关系表。 若获取的所述数据 的属性标识为 1时, 则确定所述数据的方式为蓝牙>\¥1^>有线网络; 若获取的所述数 据的属性标识为 2时, 则确定所述数据的方式为蓝牙>有线网络。 参考图 3, 步骤 S12还可以具体为: 步骤 S1202, 当获取的所述数据的传送属性 参数为所述数据的数据接收端的数据传送距离时, 所述数据发送端根据预设的传送方 式与数据传送距离的映射关系确定所述数据对应的传送方式。 所述数据发送端可以通 过定位系统获取自身当前的位置, 获取数据接收端的位置关系, 并计算出所述数据发 送端与所述数据接收端的距离;所述定位系统可以是 GPS定位或北斗定位等定位系统。 例如, 参考表 3, 表 3为预设的传送方式与数据传送距离的映射关系表。 若获取的所 述数据的传送距离小于等于 10米时, 则确定所述数据的方式为蓝牙>\¥1^>有线网络; 若获取的所述数据的传送距离大于 10 米小于 100 米时, 则确定所述数据的方式为 WiFi>有线网络。 参考图 4, 步骤 S12还可以具体为, 步骤 S1203, 当获取的所述数据的传送属性 参数为所述数据的属性标识及所述智能手机至所述数据的数据接收端的数据传送距离 时,所述数据发送端根据预设的传送方式与数据传送距离及数据属性标识的映射关系, 确定所述数据对应的传送方式。 例如, 参考表 4, 表 4为预设的传送方式与数据传送 距离及数据属性标识的映射关系表。若获取的所述数据的传送距离小于等于 10米且所 述数据的属性标识为 1时, 则确定所述数据的方式为蓝牙>\¥1^>有线网络; 若获取的 所述数据的传送距离大于 10米小于 100米且所述数据属性标识为 1时,则确定所述数 据的方式为 WiFi>有线网络。 表 1 The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for controlling data transmission according to the present invention. It should be emphasized that the flowchart shown in FIG. 1 is only a preferred embodiment, and those skilled in the art are aware that any embodiment constructed around the inventive concept should not be deviated from the scope of the following technical solutions: And receiving the data transfer instruction, the data sending end acquires the transfer attribute parameter of the data; the data sending end determines a transfer mode corresponding to the data according to a mapping relationship between the preset transfer mode and the transfer attribute parameter; The data transmitting end transmits the data to the data receiving end in accordance with the determined transmission mode. The following is a specific step of implementing the data transfer control in the embodiment: Step S1 l, when detecting and receiving the data transfer instruction, the data sending end acquires the transfer attribute parameter of the data; Step S12, the data sending end Determining, according to a mapping relationship between the preset transmission mode and the transmission attribute parameter, a transmission mode corresponding to the data; in this embodiment, when the user has data to transmit, sending, to the data transmitting end, the data transmission attribute parameter to be transmitted is set. The user can trigger the parameter setting instruction button of the data sending end corresponding to the display interface by means of a touch screen or a button, and set the transmission attribute parameter corresponding to the transmission attribute parameter setting instruction sent by the user for the data to be transmitted. The user can set the transmission attribute parameter of the data to be transmitted when the data transmission is needed, and the user can also set the corresponding transmission attribute parameter for each data to be transmitted in advance. The data transmitting end may be a smart phone, a tablet computer or a notebook computer, etc., and is preferably a smart phone in this embodiment. The data may be web virtual data such as webpage data, system data, program data, connection data, or the like, or may be physical data such as text, tabular paper data. The transmission attribute parameter of the data may be an attribute identifier of the data, a data transmission distance of the data receiving end of the data, and the like; the attribute of the data may be a size of the data, a type of the data, or the like. The data sending end determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a transmission attribute parameter. The preset transmission mode may be a transmission mode such as Bluetooth, WiFi, wired network, wired connection, etc., and the preset transmission mode may be set according to the needs of the user or according to actual data. Referring to FIG. 2, step S12 may be specifically: Step S1201: When the acquired transmission attribute parameter of the data is an attribute identifier of the data, the data sending end is mapped according to a preset transmission mode and a data attribute identifier. Determining the transmission method corresponding to the data. For example, referring to Table 1 and Table 2, Table 1 is a relationship table between data attributes and data attribute identifiers; Table 2 is a mapping table between preset transmission methods and data attribute identifiers. If the attribute identifier of the obtained data is 1, the method for determining the data is Bluetooth>\¥1^>the wired network; if the attribute identifier of the obtained data is 2, determining the data. The way is Bluetooth > Wired Network. Referring to FIG. 3, step S12 may further be: Step S1202: When the acquired transmission attribute parameter of the data is a data transmission distance of the data receiving end of the data, the data sending end is configured according to a preset transmission manner and data. The mapping relationship of the transmission distance determines the transmission mode corresponding to the data. The data sending end may acquire the current location of the data by the positioning system, obtain the positional relationship of the data receiving end, and calculate the distance between the data sending end and the data receiving end; the positioning system may be GPS positioning or Beidou positioning, etc. GPS. For example, referring to Table 3, Table 3 is a mapping table of preset transmission methods and data transmission distances. If the obtained transmission distance of the data is less than or equal to 10 meters, the method for determining the data is Bluetooth>\¥1^>wired network; if the obtained data transmission distance is greater than 10 meters and less than 100 meters, Then the manner of determining the data is WiFi>wired network. Referring to FIG. 4, step S12 may be further, in step S1203, when the acquired transmission attribute parameter of the data is an attribute identifier of the data and a data transmission distance from the smart phone to a data receiving end of the data, The data sending end determines the transmission mode corresponding to the data according to a mapping relationship between the preset transmission mode and the data transmission distance and the data attribute identifier. For example, referring to Table 4, Table 4 is a mapping table of preset transmission methods, data transmission distances, and data attribute identifiers. If the obtained transmission distance of the data is less than or equal to 10 meters and the attribute identifier of the data is 1, the method for determining the data is a Bluetooth>\¥1^>wired network; if the acquired data is transmitted When the distance is greater than 10 meters and less than 100 meters and the data attribute identifier is 1, the manner of determining the data is WiFi>wired network. Table 1
Figure imgf000006_0001
Figure imgf000006_0001
表 2 Table 2
Figure imgf000006_0002
表 3
Figure imgf000006_0002
table 3
Figure imgf000007_0001
Figure imgf000007_0001
表 4 Table 4
Figure imgf000007_0002
Figure imgf000007_0002
S13 , 所述数据发送端按照确定的传送方式将所述数据传送至所述数据接收  S13. The data sending end transmits the data to the data receiving according to a determined transmission manner.
在本实施例中, 当确定的传送方式为一种传送方式时, 所述智能手机按照确定的 传送方式将所述数据传送至所述数据接收端。 例如, 确定的传送方式为有线网络时, 将所述数据通过有线网络传送至所述数据接收端。 在所述数据通过有线网络未成功传 送至所述数据接收端时, 发出数据传送失败的提醒信息, 所述提醒信息可以是文字、 图片或者声音提醒。 当确定的传送方式为多种传送方式时, 所述智能手机按照确定的传送方式的优先 级, 逐一选择各个传送方式进行所述数据的传送, 直至成功将所述数据传送至所述数 据接收端, 例如, 参考表 2, 若数据属性标识为 1, 则获取的预设的传送方式为蓝 牙>\¥1?1>有线网络, 即优先级为蓝牙高于 WiFi, WiFi高于有线网络, 逐一选择蓝牙、 WiFi和有线网络的传送方式进行所述数据的传送, 在通过蓝牙成功将所述数据传送至 所述数据接收端时,发出数据传送成功的提醒信息,且不再选择 WiFi和有线网络的传 送方式进行所述数据的传送;在通过蓝牙未成功将所述数据传送至所述数据接收端时, 选择 WiFi的传送方式进行所述数据的传送, 在通过 WiFi成功将所述数据传送至所述 数据接收端时,不再选择有线网络的传送方式进行所述数据的传送;在通过 WiFi未成 功将所述数据传送至所述数据接收端时, 选择有线网络的传送方式进行所述数据的传 送, 在通过有线网络的传送方式未成功将所述数据传送至所述数据接收端时, 发出数 据传送失败的提醒信息。 即, 在有确定的传送方式能供用户将所述数据成功传送至所 述数据接收端时, 发出所述数据传送成功的提醒信息, 且不再选择下一优先级的预设 的传送方式传送所述数据, 在所有确定的传送方式未能供用户将所述数据成功传送至 所述数据接收端时, 发出所述数据传送失败的提醒信息。 当确定的传送方式仅为一种传送方式时, 所述智能手机按照确定的传送方式将所 述数据传送至所述数据接收端, 在所述数据通过确定的传送方式成功将所述数据传送 至所述数据接收端时, 发出所述数据传送成功的提醒信息; 在所述数据通过确定的传 送方式未成功将所述数据传送至所述数据接收端时, 发出所述数据传送失败的提醒信 息。 在本实施例当侦测并接收到数据传送指令时, 数据发送端获取所述数据的传送属 性参数; 所述数据发送端根据预设的传送方式与传送属性参数的映射关系, 确定所述 数据对应的传送方式; 所述数据发送端按照确定的传送方式将所述数据传送至所述数 据接收端。 通过自动选择数据传送的方式, 加快数据传送方式的选择过程, 有效保证 数据传送的快捷性、 准确性。 In this embodiment, when the determined transmission mode is a transmission mode, the smart phone transmits the data to the data receiving end according to the determined transmission mode. For example, when the determined transmission mode is a wired network, the data is transmitted to the data receiving end through a wired network. When the data is not successfully transmitted to the data receiving end through the wired network, the reminding information that the data transmission fails is sent, and the reminding information may be a text, a picture or an audio reminder. When the determined transmission mode is multiple transmission modes, the smart phone selects each transmission mode to perform the data transmission according to the priority of the determined transmission mode, until the data is successfully transmitted to the data receiving end. For example, refer to Table 2. If the data attribute identifier is 1, the preset transmission mode is Bluetooth>\¥1?1>wired network, that is, the priority is Bluetooth higher than WiFi, WiFi is higher than the wired network, one by one Selecting the transmission mode of Bluetooth, WiFi, and wired network to transmit the data, and when successfully transmitting the data to the data receiving end through Bluetooth, sending a reminder message that the data transmission succeeds, and no longer selects the WiFi and the wired network. Transmitting the data to transmit the data; when the data is not successfully transmitted to the data receiving end via Bluetooth, the transmission mode of the WiFi is selected to transmit the data, and the data is successfully transmitted to the WiFi through When the data receiving end is used, the transmission mode of the wired network is no longer selected for the transmission of the data; the number is not successfully obtained by using WiFi. When transmitting to the data receiving end, the transmission mode of the wired network is selected to perform the data transmission, and when the data is not successfully transmitted to the data receiving end by the transmission mode of the wired network, a reminder that the data transmission fails is sent. information. That is, when the determined transmission mode can be used for the user to successfully transmit the data to the data receiving end, the reminder information that the data transmission succeeds is sent, and the preset transmission mode of the next priority is no longer selected. The data, when all the determined transmission modes fail for the user to successfully transmit the data to the data receiving end, issue the reminder information that the data transmission fails. When the determined transmission mode is only one transmission mode, the smart phone transmits the data to the data receiving end according to the determined transmission mode, and successfully transmits the data to the data through the determined transmission mode. And sending, by the data receiving end, reminding information that the data transmission succeeds; and sending the data to the data receiving end when the data is not successfully transmitted by the determined transmission manner, sending the reminding information that the data transmission fails . In the embodiment, when the data transfer instruction is detected and received, the data sending end acquires the transfer attribute parameter of the data; the data sending end determines the data according to a mapping relationship between the preset transfer mode and the transfer attribute parameter. Corresponding transmission mode; the data transmitting end transmits the data to the data receiving end according to the determined transmission manner. By automatically selecting the data transfer method, the selection process of the data transfer mode is accelerated, and the speed and accuracy of data transfer are effectively guaranteed.
如图 5所示, 为本发明控制数据传送的方法第五实施例的流程示意图。 基于上述第一实施例, 该方法还包括步骤: 步骤 S14, 所述数据发送端在未成功将所述数据按照确定的传送方式传送至所述 数据接收端时, 调整预设的传送方式与传送属性参数的映射关系。 在本实施例中, 当所述智能手机按照确定的传送方式将所述数据发送至所述数据 接收端之后, 分析所述数据是否成功通过确定的传送方式将所述数据发送至所述数据 接收端, 在所述数据未成功通过确定的传送方式将所述数据发送至所述数据接收端, 调整预设的传送方式与传送属性参数的映射关系。 调整预设的传送方式与传送属性参 数的映射关系包括: 调整预设的传送方式与数据属性标识的映射关系、 调整预设的传 送方式与数据传送距离的映射关系、 调整预设的传送方式与数据传送距离及数据属性 标识的映射关系。 例如, 以预设的传送方式与数据属性标识的映射关系为例, 参考表 2, 若确定的传送方式为蓝牙 >WiFi>有线网络, 则在按照蓝牙的传送方式未成功将所 述数据传送至所述数据接收端,通过 WiFi的传送方式成功将所述数据传送至所述数据 接收端时, 将数据属性标识 1的预设的传送方式调整为 WiFi>有线网络。 具体的, 在 确定的传送方式为多种传送方式时, 只要有传送方式能成功将所述数据传送至所述数 据接收端时, 将未成功将所述数据传送至所述数据接收端的传送方式删除, 保留成功 所述数据传送至所述数据接收端的传送方式; 在确定的传送方式为一种传送方式时, 在按照确定的传送方式未成功将所述数据传送至所述数据接收端时, 发出用户重新提 供新的传送方式的提醒信息, 以将所述数据成功传送至所述数据接收端。 在本发明其 他事实中, 在接收到用户基于预设的传送方式与传送属性参数的映射关系的发出的调 整指令时, 所述智能手机按照接收到的调整指令对预设的传送方式与传送属性参数的 映射关系进行调整。 在本实施例所述数据发送端在未成功将所述数据按照确定的传送方式传送至所述 数据接收端时, 调整预设的传送方式与传送属性参数的映射关系。 通过不断调整预设 的传送方式与传送属性参数的映射关系, 以供所述数据发送端更加快捷、 准确地将所 述数据传送至所述数据接收端。 As shown in FIG. 5, it is a schematic flowchart of a fifth embodiment of a method for controlling data transmission according to the present invention. Based on the foregoing first embodiment, the method further includes the following steps: Step S14: The data sending end adjusts a preset transmission mode and transmission when the data is not successfully transmitted to the data receiving end according to the determined transmission mode. The mapping relationship of attribute parameters. In this embodiment, after the smart phone sends the data to the data receiving end according to the determined transmission manner, it is analyzed whether the data is successfully sent to the data receiving by using a determined transmission manner. End, in the data is not successfully sent to the data receiving end by the determined transmission manner, and the mapping relationship between the preset transmission mode and the transmission attribute parameter is adjusted. Adjusting the mapping relationship between the preset transmission mode and the transmission attribute parameter includes: adjusting the mapping relationship between the preset transmission mode and the data attribute identifier, adjusting the mapping relationship between the preset transmission mode and the data transmission distance, and adjusting the preset transmission mode and The mapping relationship between data transmission distance and data attribute identification. For example, the mapping relationship between the preset transmission mode and the data attribute identifier is taken as an example. Referring to Table 2, if the determined transmission mode is Bluetooth>WiFi>wired network, the data is not successfully transmitted to the Bluetooth transmission mode. When the data receiving end successfully transmits the data to the data receiving end by using a WiFi transmission mode, the preset transmission mode of the data attribute identifier 1 is adjusted to a WiFi>wired network. Specifically, when the determined transmission mode is multiple transmission modes, as long as the transmission mode can successfully transmit the data to the data receiving end, the data transmission manner to the data receiving end is not successfully transmitted. Deleting, retaining the transmission mode in which the data is transmitted to the data receiving end; when the determined transmission mode is a transmission mode, when the data is not successfully transmitted to the data receiving end according to the determined transmission mode, A reminder message is sent to the user to re-deliver a new delivery mode to successfully transmit the data to the data receiving end. In other facts of the present invention, the received tone of the mapping relationship between the user based on the preset transmission mode and the transmission attribute parameter is received. During the whole instruction, the smart phone adjusts the mapping relationship between the preset transmission mode and the transmission attribute parameter according to the received adjustment instruction. In the embodiment, the data transmitting end adjusts the mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode. By continuously adjusting the mapping relationship between the preset transmission mode and the transmission attribute parameter, the data transmitting end can transmit the data to the data receiving end more quickly and accurately.
如图 6所示, 为本发明控制数据传送的装置较佳实施例的功能模块示意图。 该装 置包括: 获取模块 10、 处理模块 20、 传送模块 30及提醒模块 40。 所述获取模块 10, 设置为当侦测并接收到数据传送指令时, 获取所述数据的传送 属性参数; 所述处理模块 20, 设置为根据预设的传送方式与传送属性参数的映射关系, 确定 所述数据对应的传送方式; 在本实施例中, 用户在有数据进行传送时, 给数据发送端发送设置待传送数据传 送属性参数的指令, 用户可以通过触屏或者按键的方式触发数据发送端对应显示界面 的参数设置指令按钮, 并为待传送数据设置用户发送的传送属性参数设置指令对应的 传送属性参数。 用户可以不在需要进行数据传送时设置待传送数据的传送属性参数, 用户也可以提前为各个待传送数据设置相应的传送属性参数。 所述数据发送端可以是 智能手机、 平板电脑或笔记本电脑等, 在本实施例优选为智能手机。 所述数据可以是 网页数据、 系统数据、 程序数据、 连接数据等网络虚拟数据, 也可以是形成文本的、 表格的纸质数据等实体数据。 所述数据的传送属性参数可以为所述数据的属性标识、 所述数据的数据接收端的 数据传送距离等; 所述数据的属性可以是数据的大小、 数据的类型等。 所述数据发送 端根据预设的传送方式与传送属性参数的映射关系, 确定所述数据对应的传送方式。 所述预设的传送方式可以是蓝牙、 WiFi、 有线网络、 有线连接等传送方式, 所述预设 的传送方式可以根据用户的需求或根据实际能将数据快速进行传送进行设置。 当获取 的所述数据的传送属性参数为所述数据的属性标识, 智能手机根据预设的传送方式与 数据属性标识的映射关系, 确定所述数据对应的传送方式, 例如, 参考表 1和表 2, 表 1为数据属性与数据属性标识的关系表; 表 2为预设的传送方式与数据属性标识的 映射关系表。 若获取的所述数据的属性标识为 1 时, 则确定所述数据的方式为蓝 牙>\¥1^>有线网络; 若获取的所述数据的属性标识为 2时, 则确定所述数据的方式为 蓝牙 >有线网络。 当获取的所述数据的传送属性参数为所述数据的数据接收端的数据传送距离时, 所述智能手机根据预设的传送方式与数据传送距离的映射关系确定所述数据对应的传 送方式。 所述数据发送端可以通过定位系统获取自身当前的位置, 获取数据接收端的 位置关系, 并计算出所述数据发送端与所述数据接收端的距离; 所述定位系统可以是 GPS定位或北斗定位等定位系统。 例如, 参考表 3, 表 3为预设的传送方式与数据传 送距离的映射关系表。若获取的所述数据的传送距离小于等于 10米时,则确定所述数 据的方式为蓝牙>\¥1^>有线网络; 若获取的所述数据的传送距离大于 10米小于 100 米时, 则确定所述数据的方式为 WiFi>有线网络。 当获取的所述数据的传送属性参数为所述数据的属性标识及所述智能手机至所述 数据的数据接收端的数据传送距离时, 所述智能手机根据预设的传送方式与数据传送 距离及数据属性标识的映射关系, 确定所述数据对应的传送方式。 例如, 参考表 4 表 4为预设的传送方式与数据传送距离及数据属性标识的映射关系表。 若获取的所述 数据的传送距离小于等于 10米且所述数据的属性标识为 1时,则确定所述数据的方式 为蓝牙 >WiFi>有线网络; 若获取的所述数据的传送距离大于 10米小于 100米且所述 数据属性标识为 1时, 则确定所述数据的方式为 WiFi>有线网络。 所述传送模块 30, 设置为按照确定的传送方式将所述数据传送至所述数据接收 FIG. 6 is a schematic diagram of functional modules of a preferred embodiment of a device for controlling data transmission according to the present invention. The device includes: an acquisition module 10, a processing module 20, a transmission module 30, and a reminder module 40. The obtaining module 10 is configured to: when detecting and receiving a data transfer instruction, acquire a transfer attribute parameter of the data; the processing module 20 is configured to perform a mapping relationship between the preset transfer mode and the transfer attribute parameter, Determining the transmission mode corresponding to the data; In this embodiment, when the user has data to transmit, the user sends an instruction to set the parameter of the data transmission attribute to be transmitted to the data sending end, and the user can trigger the data transmission by using a touch screen or a button. The end corresponds to the parameter setting instruction button of the display interface, and sets the transmission attribute parameter corresponding to the transmission attribute parameter setting instruction sent by the user for the data to be transmitted. The user can set the transmission attribute parameter of the data to be transmitted when the data transmission is needed, and the user can also set the corresponding transmission attribute parameter for each data to be transmitted in advance. The data transmitting end may be a smart phone, a tablet computer or a notebook computer, etc., and is preferably a smart phone in this embodiment. The data may be web virtual data such as webpage data, system data, program data, connection data, or the like, or may be physical data such as text, tabular paper data. The transmission attribute parameter of the data may be an attribute identifier of the data, a data transmission distance of the data receiving end of the data, and the like; the attribute of the data may be a size of the data, a type of the data, or the like. The data sending end determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a transmission attribute parameter. The preset transmission mode may be a transmission mode such as Bluetooth, WiFi, wired network, wired connection, etc., and the preset transmission mode may be set according to the needs of the user or according to actual data. When the acquired transmission attribute parameter of the data is an attribute identifier of the data, the smartphone determines a transmission manner corresponding to the data according to a mapping relationship between the preset transmission mode and the data attribute identifier, for example, refer to Table 1 and Table. 2. Table 1 is a relationship table between data attributes and data attribute identifiers; Table 2 is a mapping table between preset transmission methods and data attribute identifiers. If the attribute identifier of the acquired data is 1, the method for determining the data is blue. Teeth>\¥1^>Wired network; if the attribute identifier of the obtained data is 2, the way of determining the data is Bluetooth>wired network. When the acquired transmission attribute parameter of the data is the data transmission distance of the data receiving end of the data, the smart phone determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a data transmission distance. The data sending end may acquire its current location through the positioning system, obtain a positional relationship of the data receiving end, and calculate a distance between the data sending end and the data receiving end; the positioning system may be a GPS positioning or a Beidou positioning, etc. GPS. For example, referring to Table 3, Table 3 is a mapping table of preset transmission methods and data transmission distances. If the acquired distance of the data is less than or equal to 10 meters, the method for determining the data is a Bluetooth>\¥1^>wired network; if the acquired distance of the data is greater than 10 meters and less than 100 meters, Then the manner of determining the data is WiFi>wired network. When the acquired transmission attribute parameter of the data is the attribute identifier of the data and the data transmission distance of the smart phone to the data receiving end of the data, the smart phone is based on a preset transmission mode and a data transmission distance and The mapping relationship of the data attribute identifier determines the transmission mode corresponding to the data. For example, refer to Table 4, Table 4 for the mapping relationship between the preset transmission mode and the data transmission distance and the data attribute identification. If the obtained data transmission distance is less than or equal to 10 meters and the attribute identifier of the data is 1, the method for determining the data is Bluetooth>WiFi>wired network; if the acquired data transmission distance is greater than 10 When the meter is less than 100 meters and the data attribute identifier is 1, the manner of determining the data is WiFi>wired network. The transmitting module 30 is configured to transmit the data to the data receiving according to a determined transmission manner
在本实施例中, 当确定的传送方式为一种传送方式时, 所述智能手机按照确定的 传送方式将所述数据传送至所述数据接收端。 例如, 确定的传送方式为有线网络时, 将所述数据通过有线网络传送至所述数据接收端。 所述提醒模块 40, 设置为在所述数据通过有线网络未成功传送至所述数据接收端 时, 发出数据传送失败的提醒信息。 所述提醒信息可以是文字、 图片或者声音提醒。 当确定的传送方式为多种传送方式时, 所述智能手机按照确定的传送方式的优先 级, 逐一选择各个传送方式进行所述数据的传送, 直至成功将所述数据传送至所述数 据接收端, 例如, 参考表 2, 若数据属性标识为 1, 则获取的预设的传送方式为蓝 牙>\¥1?1>有线网络, 即优先级为蓝牙高于 WiFi, WiFi高于有线网络, 逐一选择蓝牙、 WiFi和有线网络的传送方式进行所述数据的传送, 在通过蓝牙成功将所述数据传送至 所述数据接收端时,发出数据传送成功的提醒信息,且不再选择 WiFi和有线网络的传 送方式进行所述数据的传送;在通过蓝牙未成功将所述数据传送至所述数据接收端时, 选择 WiFi的传送方式进行所述数据的传送, 在通过 WiFi成功将所述数据传送至所述 数据接收端时,不再选择有线网络的传送方式进行所述数据的传送;在通过 WiFi未成 功将所述数据传送至所述数据接收端时, 选择有线网络的传送方式进行所述数据的传 送, 在通过有线网络的传送方式未成功将所述数据传送至所述数据接收端时, 发出数 据传送失败的提醒信息。 即, 在有确定的传送方式能供用户将所述数据成功传送至所 述数据接收端时, 发出所述数据传送成功的提醒信息, 且不再选择下一优先级的预设 的传送方式传送所述数据, 在所有确定的传送方式未能供用户将所述数据成功传送至 所述数据接收端时, 发出所述数据传送失败的提醒信息。 当确定的传送方式仅为一种传送方式时, 所述智能手机按照确定的传送方式将所 述数据传送至所述数据接收端, 在所述数据通过确定的传送方式成功将所述数据传送 至所述数据接收端时, 发出所述数据传送成功的提醒信息; 在所述数据通过确定的传 送方式未成功将所述数据传送至所述数据接收端时, 发出所述数据传送失败的提醒信 息。 在本实施例当侦测并接收到数据传送指令时,获取模块 10获取所述数据的传送属 性参数; 处理模块 20根据预设的传送方式与传送属性参数的映射关系,确定所述数据 对应的传送方式; 传送模块 30 按照确定的传送方式将所述数据传送至所述数据接收 端。 通过自动选择数据传送的方式, 加快数据传送方式的选择过程, 有效保证数据传 送的快捷性、 准确性。 In this embodiment, when the determined transmission mode is a transmission mode, the smart phone transmits the data to the data receiving end according to the determined transmission mode. For example, when the determined transmission mode is a wired network, the data is transmitted to the data receiving end through a wired network. The reminding module 40 is configured to issue reminder information that the data transmission fails when the data is not successfully transmitted to the data receiving end through the wired network. The reminder information may be a text, a picture or a sound reminder. When the determined transmission mode is multiple transmission modes, the smart phone selects each transmission mode to perform the data transmission according to the priority of the determined transmission mode, until the data is successfully transmitted to the data receiving end. For example, refer to Table 2. If the data attribute identifier is 1, the preset transmission mode is Bluetooth>\¥1?1>wired network, that is, the priority is Bluetooth higher than WiFi, WiFi is higher than the wired network, one by one Selecting the transmission mode of Bluetooth, WiFi, and wired network to transmit the data, and when successfully transmitting the data to the data receiving end through Bluetooth, sending a reminder message that the data transmission succeeds, and no longer selects the WiFi and the wired network. The transfer mode of the data; when the data is not successfully transmitted to the data receiving end via Bluetooth, Selecting the transmission mode of the WiFi to transmit the data, and when successfully transmitting the data to the data receiving end through WiFi, the transmission mode of the wired network is no longer selected for the transmission of the data; When the data is transmitted to the data receiving end, the transmission mode of the wired network is selected to perform the data transmission, and when the data is transmitted to the data receiving end by the transmission mode of the wired network, the data transmission is performed. A reminder message of failure. That is, when the determined transmission mode can be used for the user to successfully transmit the data to the data receiving end, the reminder information that the data transmission succeeds is sent, and the preset transmission mode of the next priority is no longer selected. The data, when all the determined transmission modes fail for the user to successfully transmit the data to the data receiving end, issue the reminder information that the data transmission fails. When the determined transmission mode is only one transmission mode, the smart phone transmits the data to the data receiving end according to the determined transmission mode, and successfully transmits the data to the data through the determined transmission mode. And sending, by the data receiving end, reminding information that the data transmission succeeds; and sending the data to the data receiving end when the data is not successfully transmitted by the determined transmission manner, sending the reminding information that the data transmission fails . In the embodiment, when the data transfer instruction is detected and received, the obtaining module 10 acquires the transfer attribute parameter of the data; the processing module 20 determines the corresponding data according to the mapping relationship between the preset transfer mode and the transfer attribute parameter. Transmission mode; the transmission module 30 transmits the data to the data receiving end in accordance with the determined transmission mode. By automatically selecting the data transfer method, the selection process of the data transfer mode is accelerated, and the speed and accuracy of data transfer are effectively guaranteed.
进一步地, 所述处理模块 20, 还设置为在未成功将所述数据按照确定的传送方式 传送至所述数据接收端时, 调整预设的传送方式与传送属性参数的映射关系。 在本实施例中, 当所述智能手机按照确定的传送方式将所述数据发送至所述数据 接收端之后, 分析所述数据是否成功通过确定的传送方式将所述数据发送至所述数据 接收端, 在所述数据未成功通过确定的传送方式将所述数据发送至所述数据接收端, 调整预设的传送方式与传送属性参数的映射关系。 调整预设的传送方式与传送属性参 数的映射关系包括: 调整预设的传送方式与数据属性标识的映射关系、 调整预设的传 送方式与数据传送距离的映射关系、 调整预设的传送方式与数据传送距离及数据属性 标识的映射关系。 例如, 以预设的传送方式与数据属性标识的映射关系为例, 参考表 2, 若确定的传送方式为蓝牙 >WiFi>有线网络, 则在按照蓝牙的传送方式未成功将所 述数据传送至所述数据接收端,通过 WiFi的传送方式成功将所述数据传送至所述数据 接收端时, 将数据属性标识 1的预设的传送方式调整为 WiFi>有线网络。 具体的, 在 确定的传送方式为多种传送方式时, 只要有传送方式能成功将所述数据传送至所述数 据接收端时, 将未成功将所述数据传送至所述数据接收端的传送方式删除, 保留成功 所述数据传送至所述数据接收端的传送方式; 在确定的传送方式为一种传送方式时, 在按照确定的传送方式未成功将所述数据传送至所述数据接收端时, 发出用户重新提 供新的传送方式的提醒信息, 以将所述数据成功传送至所述数据接收端。 在本发明其 他事实中, 在接收到用户基于预设的传送方式与传送属性参数的映射关系的发出的调 整指令时, 所述智能手机按照接收到的调整指令对预设的传送方式与传送属性参数的 映射关系进行调整。 在本实施例所述处理模块 20 在未成功将所述数据按照确定的传送方式传送至所 述数据接收端时, 调整预设的传送方式与传送属性参数的映射关系。 通过不断调整预 设的传送方式与传送属性参数的映射关系, 以供所述数据发送端更加快捷、 准确地将 所述数据传送至所述数据接收端。 上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。 通过以上的实施方 式的描述, 本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的 通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施 方式。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分 可以以软件产品的形式体现出来, 该计算机软件产品存储在一个存储介质 (如 ROM/RAM, 磁碟、 光盘) 中, 包括若干指令用以使得一台终端设备 (可以是手机, 计算机, 服务器, 或者有线网络设备等) 执行本发明各个实施例所述的方法。 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用 本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在其他 相关的技术领域, 均同理包括在本发明的专利保护范围内。 工业实用性 如上所述, 本发明实施例提供的一种控制数据传送的方法和装置具有以下有益效 果: 通过自动选择数据传送的方式, 加快数据传送方式的选择过程, 有效保证数据传 送的快捷性、 准确性。 Further, the processing module 20 is further configured to adjust a mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode. In this embodiment, after the smart phone sends the data to the data receiving end according to the determined transmission manner, it is analyzed whether the data is successfully sent to the data receiving by using a determined transmission manner. End, in the data is not successfully sent to the data receiving end by the determined transmission manner, and the mapping relationship between the preset transmission mode and the transmission attribute parameter is adjusted. Adjusting the mapping relationship between the preset transmission mode and the transmission attribute parameter includes: adjusting the mapping relationship between the preset transmission mode and the data attribute identifier, adjusting the mapping relationship between the preset transmission mode and the data transmission distance, and adjusting the preset transmission mode and The mapping relationship between data transmission distance and data attribute identification. For example, the mapping relationship between the preset transmission mode and the data attribute identifier is taken as an example. Referring to Table 2, if the determined transmission mode is Bluetooth>WiFi>wired network, the data is not successfully transmitted to the Bluetooth transmission mode. When the data receiving end successfully transmits the data to the data receiving end by using a WiFi transmission mode, the preset transmission mode of the data attribute identifier 1 is adjusted to a WiFi>wired network. Specifically, in When the determined transmission mode is multiple transmission modes, as long as the transmission mode can successfully transmit the data to the data receiving end, the transmission mode of the data transmission to the data receiving end is not successfully deleted, and the reservation is successful. Transmitting the data to the data receiving end; when the determined transmission mode is a transmission mode, when the data is not successfully transmitted to the data receiving end according to the determined transmission mode, the user is re-provided A new transmission mode reminder message to successfully transmit the data to the data receiving end. In another aspect of the present invention, when receiving an adjustment instruction issued by the user based on a mapping relationship between the preset transmission mode and the transmission attribute parameter, the smart phone follows the received adjustment instruction to the preset transmission mode and the transmission attribute. The mapping relationship of the parameters is adjusted. In the embodiment, the processing module 20 adjusts the mapping relationship between the preset transmission mode and the transmission attribute parameter when the data is not successfully transmitted to the data receiving end according to the determined transmission mode. By continuously adjusting the mapping relationship between the preset transmission mode and the transmission attribute parameter, the data transmitting end can transmit the data to the data receiving end more quickly and accurately. The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a wired network device, etc.) to perform the methods described in various embodiments of the present invention. The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention. Industrial Applicability As described above, a method and apparatus for controlling data transmission provided by an embodiment of the present invention have the following beneficial effects: By automatically selecting a data transmission method, the selection process of the data transmission mode is accelerated, and the speed of data transmission is effectively ensured. , accuracy.

Claims

权 利 要 求 书 、 一种控制数据传送的方法, 该方法包括步骤: 当侦测并接收到数据传送指令时, 数据发送端获取所述数据的传送属性参 数;  A method for controlling data transmission, the method comprising the steps of: when detecting and receiving a data transfer instruction, the data transmitting end acquires a transfer attribute parameter of the data;
所述数据发送端根据预设的传送方式与传送属性参数的映射关系, 确定所 述数据对应的传送方式;  The data sending end determines a transmission mode corresponding to the data according to a mapping relationship between a preset transmission mode and a transmission attribute parameter;
所述数据发送端按照确定的传送方式将所述数据传送至所述数据接收端。 、 如权利要求 1所述的控制数据传送的方法, 其中, 当所述数据的传送属性参数 为所述数据的属性标识, 及 /或, 所述数据发送端至所述数据的数据接收端的数 据传送距离时, 所述数据发送端根据预设的传送方式与传送属性参数的映射关 系, 确定所述数据对应的传送方式的步骤包括:  The data transmitting end transmits the data to the data receiving end according to a determined transmission manner. The method for controlling data transmission according to claim 1, wherein when the transmission attribute parameter of the data is an attribute identifier of the data, and/or the data transmitting end to the data receiving end of the data When the distance is transmitted, the data sending end determines the transmission mode corresponding to the data according to the mapping relationship between the preset transmission mode and the transmission attribute parameter, and includes:
所述数据发送端根据预设的传送方式与数据属性标识的映射关系, 或者传 送方式与数据传送距离的映射关系, 或者传送方式与数据传送距离及数据属性 标识的映射关系, 确定所述数据对应的传送方式。 、 如权利要求 1或 2所述的控制数据传送的方法, 其中, 当确定的传送方式为多 个传送方式时, 所述数据发送端按照确定的传送方式将所述数据传送至所述数 据接收端的步骤包括:  Determining, by the data sending end, the mapping relationship between the preset transmission mode and the data attribute identifier, or the mapping relationship between the transmission mode and the data transmission distance, or the mapping relationship between the transmission mode and the data transmission distance and the data attribute identifier, The way of transmission. The method of controlling data transmission according to claim 1 or 2, wherein, when the determined transmission mode is a plurality of transmission modes, the data transmitting end transmits the data to the data reception according to the determined transmission mode. The steps at the end include:
所述数据发送端按照确定的传送方式的优先级, 逐一选择各个传送方式进 行所述数据的传送, 直至成功将所述数据传送至所述数据接收端。 、 如权利要求 3所述的控制数据传送的方法, 其中, 当确定的传送方式为多个传 送方式时, 所述数据发送端按照确定的传送方式将所述数据传送至所述数据接 收端的步骤包括:  The data transmitting end selects each of the transmission modes to perform the transmission of the data one by one according to the priority of the determined transmission mode until the data is successfully transmitted to the data receiving end. The method of controlling data transmission according to claim 3, wherein, when the determined transmission mode is a plurality of transmission modes, the data transmitting end transmits the data to the data receiving end according to the determined transmission mode. Includes:
所述数据发送端在所有确定的传送方式选择完毕之后, 还未将所述数据传 送至所述数据接收端时, 发出所述数据传送失败的提醒信息。 、 如权利要求 1所述的控制数据传送的方法, 其中, 该方法还包括: 所述数据发送端在未成功将所述数据按照确定的传送方式传送至所述数据 接收端时, 调整预设的传送方式与传送属性参数的映射关系。 、 一种控制数据传送的装置, 该装置包括: 获取模块, 设置为当侦测并接收到数据传送指令时, 获取所述数据的传送 属性参数; The data transmitting end issues the reminder information that the data transmission fails when the data transmitting end has not transmitted the data to the data receiving end after all the determined transmission modes are selected. The method for controlling data transmission according to claim 1, wherein the method further comprises: adjusting, by the data transmitting end, when the data is not successfully transmitted to the data receiving end according to the determined transmission mode, The mapping between the transfer method and the transfer attribute parameter. And a device for controlling data transmission, the device comprising: an acquiring module, configured to acquire a transfer attribute parameter of the data when detecting and receiving a data transfer instruction;
处理模块, 设置为根据预设的传送方式与传送属性参数的映射关系, 确定 所述数据对应的传送方式;  The processing module is configured to determine, according to a mapping relationship between the preset transmission mode and the transmission attribute parameter, a transmission mode corresponding to the data;
传送模块,设置为按照确定的传送方式将所述数据传送至所述数据接收端。 、 如权利要求 6所述的控制数据传送的装置, 其中, 当所述数据的传送属性参数 为所述数据的属性标识, 及 /或, 所述数据发送端至所述数据的数据接收端的数 据传送距离时, 所述处理模块,还设置为根据预设的传送方式与数据属性标识的映射关系, 或者传送方式与数据传送距离的映射关系, 或者传送方式与数据传送距离及数 据属性标识的映射关系, 确定所述数据对应的传送方式。 、 如权利要求 6或 7所述的控制数据传送的装置, 其中, 所述传送模块, 还设置为按照确定的传送方式的优先级, 逐一选择各个传 送方式进行所述数据的传送, 直至成功将所述数据传送至所述数据接收端。 、 如权利要求 8所述的控制数据传送的装置, 其中, 该装置还包括: 提醒模块, 设置为在所有确定的传送方式选择完毕之后, 还未将所述数据 传送至所述数据接收端时, 发出所述数据传送失败的提醒信息。 0、 如权利要求 6所述的控制数据传送的装置, 其中, 所述处理模块, 还设置为在未成功将所述数据按照确定的传送方式传送至 所述数据接收端时, 调整预设的传送方式与传送属性参数的映射关系。  And a transmitting module configured to transmit the data to the data receiving end according to the determined transmission mode. The apparatus for controlling data transmission according to claim 6, wherein when the transmission attribute parameter of the data is an attribute identifier of the data, and/or the data transmitting end to data of the data receiving end of the data When the distance is transmitted, the processing module is further configured to map according to a preset transmission mode and a data attribute identifier, or a mapping relationship between a transmission mode and a data transmission distance, or a mapping between a transmission mode, a data transmission distance, and a data attribute identifier. Relationship, determining the transmission method corresponding to the data. The apparatus for controlling data transmission according to claim 6 or 7, wherein the transmitting module is further configured to select each of the transmission modes to perform the data transmission according to the priority of the determined transmission mode until the success is successful. The data is transmitted to the data receiving end. The device for controlling data transmission according to claim 8, wherein the device further comprises: a reminding module, configured to: after all the determined transmission modes are selected, the data has not been transmitted to the data receiving end , issuing a reminder message that the data transmission failed. The device for controlling data transmission according to claim 6, wherein the processing module is further configured to adjust a preset when the data is not successfully transmitted to the data receiving end according to the determined transmission mode. The mapping relationship between the transfer mode and the transfer attribute parameter.
PCT/CN2014/084750 2014-03-26 2014-08-19 Method and apparatus for controlling data transfer WO2015143826A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410117951.7 2014-03-26
CN201410117951.7A CN104954540A (en) 2014-03-26 2014-03-26 Method and apparatus for controlling data transmission

Publications (1)

Publication Number Publication Date
WO2015143826A1 true WO2015143826A1 (en) 2015-10-01

Family

ID=54168879

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/084750 WO2015143826A1 (en) 2014-03-26 2014-08-19 Method and apparatus for controlling data transfer

Country Status (2)

Country Link
CN (1) CN104954540A (en)
WO (1) WO2015143826A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572498A (en) * 2016-10-27 2017-04-19 东软集团股份有限公司 Data transmission method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984393A (en) * 2012-12-12 2013-03-20 深圳市中兴移动通信有限公司 Method for file transmission between mobile terminals and mobile terminal
CN103037534A (en) * 2011-10-09 2013-04-10 上海夏永通讯技术有限公司 Mobile terminal point-to-point data transmission method and corresponding control device
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388689B (en) * 2008-10-28 2012-07-11 华为终端有限公司 Data multi-bearing parallel transmission method and device
CN101932007B (en) * 2009-06-22 2014-02-26 中兴通讯股份有限公司 Method and wireless relay system for realizing service flow transmission of mobile terminal
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN103281431A (en) * 2013-02-26 2013-09-04 深圳市中兴移动通信有限公司 Method and device for intelligently transferring file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037534A (en) * 2011-10-09 2013-04-10 上海夏永通讯技术有限公司 Mobile terminal point-to-point data transmission method and corresponding control device
CN103368611A (en) * 2012-03-27 2013-10-23 腾讯科技(深圳)有限公司 Method and mobile terminal for file transfer
CN102984393A (en) * 2012-12-12 2013-03-20 深圳市中兴移动通信有限公司 Method for file transmission between mobile terminals and mobile terminal
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system

Also Published As

Publication number Publication date
CN104954540A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
US20220303276A1 (en) Network connection method, hotspot terminal and management terminal
US11671826B2 (en) Voice control and telecommunications service integration
US9917881B2 (en) Apparatus, system, and method for transferring data across mobile terminals paired using near field communication (NFC)
WO2019134306A1 (en) Message processing method, device, terminal apparatus, and readable storage medium
WO2017096970A1 (en) Method and device for determining position of target portable device
US9686506B2 (en) Method, apparatus, system, and storage medium for video call and video call control
WO2016029417A1 (en) Method and apparatus for pushing and displaying message
TWI470984B (en) Method for transmitting digital contents between devices, apparatus for transmitting digital contents, apparatus for receiving digital contents and computer program product
WO2018161962A1 (en) Method, electronic device and system for sharing images
EP3195634A2 (en) Transferring application data between devices
WO2021179517A1 (en) Applet processing method and apparatus, device and storage medium
US20130288712A1 (en) Methods and apparatus for session control in a networked locationing system
EP2901660A1 (en) Termininal interaction methods and related devices and systems
EP2790392A1 (en) Method for connecting with external device and electronic device thereof
WO2014036933A1 (en) Method, device, and system for sharing content between devices
US11647389B2 (en) Network authentication via encrypted network access packages
CN105100447B (en) A kind of setting of application attribute and message treatment method, device
WO2015143826A1 (en) Method and apparatus for controlling data transfer
TWI540442B (en) Data transmission system, data transmission method and mobile electronic device
WO2015172456A1 (en) Wi-fi access method and device, mobile terminal, and server
WO2018107603A1 (en) Method and terminal for connecting to access point
WO2017185454A1 (en) Esim card binding processing method and apparatus, and terminal
KR102299262B1 (en) Mehod for providing content in terminal and terminal thereof
CN104899730B (en) Mobile terminal data processing method, terminal and system
KR20140003270A (en) A method and an apparatus providing banking service interlocking with social network service application

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

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

Country of ref document: EP

Kind code of ref document: A1