CN107222847A - A kind of data transmission method, device and terminal - Google Patents

A kind of data transmission method, device and terminal Download PDF

Info

Publication number
CN107222847A
CN107222847A CN201710495966.0A CN201710495966A CN107222847A CN 107222847 A CN107222847 A CN 107222847A CN 201710495966 A CN201710495966 A CN 201710495966A CN 107222847 A CN107222847 A CN 107222847A
Authority
CN
China
Prior art keywords
terminal
parameter
target terminal
target
connection
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201710495966.0A
Other languages
Chinese (zh)
Other versions
CN107222847B (en
Inventor
李海泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710495966.0A priority Critical patent/CN107222847B/en
Publication of CN107222847A publication Critical patent/CN107222847A/en
Application granted granted Critical
Publication of CN107222847B publication Critical patent/CN107222847B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of data transmission method, device and terminal, wherein method includes:First is set up between each terminal in target terminal set to be connected;When needing each terminal transmission user data into target terminal set, pass through set up between each terminal in the target terminal set first and be connected the link information for obtaining each terminal in the target terminal set;According to the link information, the transmittability parameter of each terminal in the target terminal set is obtained;Second terminal is selected according to the transmittability parameter of each terminal;Second is set up with the second terminal to be connected, the user data is transmitted by the second connection, and second connection includes the transmission channel different from the described first connection, can improve the transmission rate of terminal.

Description

A kind of data transmission method, device and terminal
Technical field
The application is related to communication technical field, more particularly to a kind of data transmission method, device and terminal.
Background technology
At present, terminal (such as smart mobile phone, tablet personal computer, wearable device etc.) has become the essential ditch of people Logical instrument.
Usually need to transmit data, such as file, picture, video etc. between terminal.Terminal before transmitting the data, is needed Data cube computation is set up, so as in the data cube computation transmitting data.Therefore, how communication connection is preferably passed through between terminal Become the focus of research efficiently to transmit data.
The content of the invention
The embodiment of the present invention provides a kind of data transmission method, device and terminal, can improve the efficiency of transmission of terminal.
First aspect of the embodiment of the present invention provides a kind of terminal connection method, applied to first terminal, including:
First is set up between each terminal in target terminal set to be connected;
Need into target terminal set each terminal send user data when, by with the target terminal set The first connection set up between each terminal obtains the link information of each terminal in the target terminal set;
According to the link information, the transmittability parameter of each terminal in the target terminal set is obtained;
Second terminal is selected according to the transmittability parameter of each terminal;
Second is set up with the second terminal to be connected, and the user data, second connection are transmitted by the second connection Including the transmission channel different from the described first connection.
Second aspect, the embodiment of the present invention additionally provides a kind of data transmission device, including:
Module is set up, is connected for setting up first between each terminal in target terminal set;
First acquisition module, for need into target terminal set each terminal send user data when, by with The first connection set up in the target terminal set between each terminal obtains each terminal in the target terminal set Link information;
Second acquisition module, for according to the link information, obtaining the biography of each terminal in the target terminal set Delivery of energy force parameter;
Processing module, second terminal is selected for the transmittability parameter according to each terminal;
It is described to set up module, it is additionally operable to set up second with the second terminal and is connected;
The processing module, is additionally operable to connect by second and transmits the user data, second connection include with The different transmission channel of first connection.
The third aspect, the embodiments of the invention provide a kind of terminal, including processor, communication interface, output equipment and is deposited Reservoir, the processor, communication interface, output equipment and memory are connected with each other, wherein, the memory, which is used to store, to be supported Terminal performs the application code of the above method, and the processor is arranged to the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Be stored with computer program, and the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram for data transmission and processing provided in an embodiment of the present invention
Fig. 2 is another network architecture schematic diagram for data transmission and processing provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of data transmission method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet for data transmission method that another embodiment of the present invention is provided;
Fig. 5 is the schematic flow sheet for another data transmission method that another embodiment of the present invention is provided;
Fig. 6 is the schematic flow sheet for another data transmission method that another embodiment of the present invention is provided;
Fig. 7 is a kind of schematic block diagram of data transmission device provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings, embodiments of the invention are described.Based on the embodiment in the present invention, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model that the present invention is protected Enclose.
Referring to Fig. 1, being a kind of network architecture schematic diagram for data transmission and processing provided in an embodiment of the present invention.Eventually Usually need to fetch transmission data by setting up direct-connected communication link between end and terminal.The embodiment of the present invention using two terminals as Example, the network architecture includes first terminal 101 and second terminal 102, and the first terminal 101 and second terminal 102 can May each be direct-connected logical by the first connection and the second connection interaction related data, first connection and second connection Letter connection.Wherein, this it is direct-connected communication connection refer between the first terminal and second terminal carry out direct communication and without the help of The connection of third party device.
Wherein, the first terminal 101 and second terminal 102 can be various types of intelligent terminals, for example, can be Smart mobile phone, tablet personal computer, wearable device, computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile Internet Device, MID) etc. can carry out data transmission with other-end Terminal.Wherein, the second terminal 102 can be a terminal determining in target terminal set.
It should be noted that first power consumption values being connected to when carrying out data interaction can be connected into line number less than second According to interactive power consumption values, or first power consumption values connected when carrying out data interaction can be less than interaction between terminal and terminal Power consumption values during connection data for setting up the second connection.
Wherein, for convenience of understanding, the first connection is illustrated by taking bluetooth connection as an example in embodiments of the present invention, but In other embodiments, first connection can also be other connections, such as NFC connections, this hair similar to the bluetooth connection It is bright that this is not intended to be limited in any.
Similar, second connection can be WiFi connections in embodiments of the present invention, but in other embodiments, and this One connection can also be that, similar to the WiFi connections and different from other connections of first connection, the present invention does not appoint to this What is limited.
The first terminal 101 can initially set up the first connection between second terminal 102, on the basis of the first connection The connection data that upper interaction second is connected, connection data number such as can include the user name and access pin of Wi-Fi hotspot According to based on the second connection data, first terminal 101 and second terminal 102 can set up the second connection.First terminal 101 can be with After the first connection is set up, actively open the Wi-Fi hotspot function of first terminal 101, in order to set up with second terminal 102 it Between second connection, can also by first connection trigger second terminal 102 open Wi-Fi hotspot function, in order to first terminal 101, which are linked into second terminal 102, completes the second establishment of connection.
In one embodiment, as shown in figure 1, the user of first terminal 101 needs to transmit number of users to second terminal 102 According to when, the direct-connected communications buttons of transmission mode that can be on the first terminal 101 on configuration management first terminal 101, in point Hit after the direct-connected communication pattern that the button opens first terminal 101, the first terminal 101 just can automatically turn on bluetooth pair Corresponding second transfer function of the first transfer function and WiFi answered.Equally, the user of the second terminal 102 can also open The direct-connected communications buttons of second terminal 102, and automatically turn on corresponding first transfer function of bluetooth and WiFi corresponding second Transfer function.Then, at least one terminal that the user of first terminal 101 can be scanned in first terminal 101 by bluetooth In determine second terminal 102, the first terminal 101 and second terminal 102 set up the bluetooth connection.
In one embodiment, when needing to set up the second connection, the first terminal 101 can also detect itself first Charge value, if the charge value is more than electricity preset percentage (such as 90%), then the first terminal 101 can also directly be built Stand the WiFi connections.If the charge value is less than or equal to the electricity preset percentage (such as 90%), then first end End 101 can initially set up the bluetooth connection, then set up WiFi connections on the basis of bluetooth connection, to complete the second connection Set up.
In one embodiment, first terminal 101 can be interacted by the bluetooth connection with the second terminal 102 for building The connection data of vertical WiFi connections, after the connection data have been interacted, the first terminal 101 can root with second terminal 102 The WiFi connections are set up according to the connection data.Then, the first terminal 101 can be connected with the second terminal 102 by the WiFi Connect and transmit the user data.
It can be seen that, the embodiment of the present invention can be used to set up WiFi connections (i.e. by bluetooth connection (the i.e. first connection) interaction Second connection) connection data, connection data for example can be the user name and access pin of terminal as Wi-Fi hotspot, then WiFi connections (the i.e. second connection) are set up according to the connection data, terminal energy consumption, and the WiFi have been saved to a certain extent Connection (the i.e. second connection) can ensure faster transmission speed, while also improving transmission of the terminal when transmitting user data Efficiency.
Referring to Fig. 2, being a kind of network architecture schematic diagram for data transmission and processing that the present invention is provided.It is of the invention real Example is applied so that a first terminal needs to send user data to five target terminals as an example, the network architecture includes first eventually End 201, target terminal set 202.
Wherein, the target terminal set 202 includes 5 target terminals, respectively target terminal in the embodiment of the present invention 01, target terminal 02, target terminal 03, target terminal 04, target terminal 05, but do not indicate that in other feasible embodiments, The number one of the target terminal is set to 5, and the number of such as target terminal can also be 10,20 in other embodiments Deng of the invention that this is not intended to be limited in any.
In some cases, the first terminal 201 is first connected some terminal simultaneously carries out data transmission, but the connection Terminal may be limited due to the transmittability transmission of itself so that in the terminal transmission data to first connecting, transmission speed Slowly it is time-consuming longer, so that the stand-by period of other-end also lengthens accordingly, reduce data transmission efficiency.
In embodiments of the present invention, the first terminal 201 can respectively with target terminal 01, target terminal 02, target Direct-connected communication connection is set up between terminal 03, target terminal 04, target terminal 05, for example, WiFi P2P communication connections are set up, or Person is using first terminal 201 as Wi-Fi hotspot, and other each terminals access the focus, realize each terminal and the first terminal Direct-connected communication between 201;Or the first terminal 201 passes through the short-range communication such as bluetooth, infrared, NFC and each target Direct-connected communication connection is set up between terminal.
In one embodiment, the first terminal 201 can receive the operation that user opens integrated switch, the integrated switch Can be used for opening the first terminal 201 be used to setting up the first connection and the second connection all transmission mode (such as bluetooth, WiFi etc.).After the integrated switch is opened according to the operation, the first terminal 101 can be scanned in scanning range Terminal that is interior and opening direct-connected communication function.The first terminal 101 includes the terminal scanned on display interface In list items, when receiving selection operation of the user on the list items, the mesh in list items is determined according to the selection operation Mark terminal set.
Wherein, the terminal that can be scanned in the list items including the first terminal 201, and the terminal that the scanning is arrived are each Self-corresponding transmission speed mark.Transmission speed mark can represent the transmission speed speed of the terminal scanned.
In one embodiment, when target terminal of the first terminal 201 in needs into goal set sends user data, Can be set up according to the time order and function order for the connection request for receiving target terminal and connect and send user data, i.e., this One terminal 201 first receives the connection request of which target terminal, just first sets up and is connected with which target terminal, and according to User data is transmitted in the connection.
In one embodiment, first terminal 201 is needing 5 target terminals into target terminal set 201 to send During user data, itself current data transmission state of the first terminal 201 is detected first, if the data transmission state can not The first terminal is enough supported to carry out (such as terminal quantity limitation when mass-sending of mass-sending user data to 5 target terminals simultaneously Deng), just obtain each self-corresponding link information of the 5 target terminal broadcast.
Wherein, the link information can include in first terminal 201 and target terminal set 202 5 target terminals it Between each self-corresponding second connection signal intensity (such as each self-corresponding signal when setting up bluetooth connection with 5 target terminals Intensity), each self-corresponding physical channel mark of 5 target terminals, and the number such as each self-corresponding system information of 5 terminals According to.
In one embodiment, the first terminal 201 can be using the second connection signal intensity as major parameter, and obtains Take each self-corresponding second connection signal intensity between 5 target terminals in target terminal set 202.The first terminal 201 determine each self-corresponding initial transmission ability parameter of 5 target terminals according to the second connection signal intensity first, such as Really the initial transmission ability parameter meets default difference condition, then can directly using the initial transmission ability parameter as this 5 Individual each self-corresponding transmittability parameter of target terminal.
In one embodiment, if the initial transmission ability parameter is unsatisfactory for default difference condition, first end End 101 can obtain the auxiliary parameters such as physical channel mark and the system information from the link information, and according to this Major parameter and the auxiliary parameter, determine each self-corresponding transmittability parameter of 5 target terminals.
In one embodiment, judge whether the initial transmission ability parameter meets default difference condition, can be pair The initial transmission ability parameter sorts.If the result of sequence is represented between the adjacent initial transmission ability parameter of sorting position Difference be in preset range, then the first terminal 201 may determine that the initial transmission ability parameter is unsatisfactory for presetting Difference condition.If the result of sequence represents that the difference between the adjacent initial transmission ability parameter of sorting position has part Or be all not in preset range, then the first terminal 201 may determine that the initial transmission ability parameter meets default Difference condition.
In one embodiment, the first terminal 201 can be obtained using the second connection signal intensity as major parameter To corresponding weight coefficient, e.g. 5;Then, the first terminal 201 can identify the physical channel and the system information is made For auxiliary parameter and the corresponding weight coefficient of each of which is got, the weight coefficient of such as physical channel mark is 4.
Wherein, the weight coefficient of the system information can have multiple, and the first terminal can be according in the system information System type and system version number are determined.In one embodiment, if system type and the system version of the target terminal 01 This number identical with the first terminal 201, then the weight coefficient of the system information of the target terminal 01 can think 3;If the mesh The system type for marking terminal 02 is different from the first terminal 201, then the weight coefficient of the system information of the target terminal 02 then may be used Think 2.
In one embodiment, the first terminal is according to 5 respective link informations of target terminal and the link information 5 target terminals are weighted corresponding weight coefficient, for example, the formula of weighted calculation is comprehensive grading=the second Signal intensity * 5+ physical channels mark * 4+ system informations * 3 is connected, and draws 5 respective comprehensive gradings of target terminal, from And determine the respective transmittability parameter of five target terminals.For example, the comprehensive grading of the target terminal 01 is 80, transmission Grade is B, and the comprehensive grading of the target terminal 02 is 70, and grade of transmission is C, and the comprehensive grading of the target terminal 03 is 82, is passed Defeated grade is B, and the comprehensive grading of target terminal 04 is 60, and grade of transmission is D, and the comprehensive grading of the target terminal 04 is 90, is passed Defeated grade is A.Above-mentioned comprehensive grading can be used as transmission energy directly as transmittability parameter, or above-mentioned grade of transmission Force parameter.
In one embodiment, the first terminal 201 can select grade of transmission to be second in B and the target terminal of the above Terminal, i.e. target terminal 01, target terminal 03 and target terminal 04 are second terminal, and then the terminal can be 3 with this Second terminal sets up the second connection (such as bluetooth connection) respectively, and transmits user data in second connection.Treat this After the user data transmission of two terminals is complete, the first terminal 201 is set up with target terminal 02 and target terminal 05 be connected again And transmit user data.
In one embodiment, the first terminal 201 can select second terminal from high to low according to comprehensive grading, or It is second terminal in the target terminal of necessarily scoring scope to select comprehensive grading.For example, first terminal 201 can select the model that scores Be trapped among 80 and more than 80 target terminal be second terminal, or, the first terminal can also according to comprehensive grading from high to low, The second terminal within terminal quantity limitation of the first terminal in mass-sending is chosen successively.
Referring to Fig. 3, being the embodiment of the present invention on the basis of the network architecture for data transmission and processing shown in Fig. 2 A kind of schematic flow sheet of the data transmission method provided.Data transmission method as shown in Figure 3, including following steps:
S201, first terminal need into target terminal set each terminal send user data when, by with it is described The first connection set up in target terminal set between each terminal obtains the connection of each terminal in the target terminal set Information.
It should be noted that the user data can be the number such as document, photo, video, audio frequency, address list, network address According to.Support to send the user data in the first terminal, the first terminal just each terminal can be sent out into target terminal set Give the user data.
It should be noted that needing into target terminal set before each terminal transmission user data, first end End can also set up first between each terminal in target terminal set and be connected.
Optionally, the first terminal passes through when needing each terminal transmission user data into target terminal set First set up between each terminal in the target terminal set is connected before the link information for obtaining each terminal, may be used also With including:Scanning range of the scanning in the first terminal is interior and opens the terminal of direct-connected communication function;In display interface Middle display terminal list, the list items of the terminal list include the terminal iidentification that the first terminal is scanned, Yi Jichuan Defeated speed mark;The selection operation on the list items is received, and is determined according to the selection operation in the list items Target terminal set
Wherein, first connection can be direct-connected communication connection, for example, WiFi P2P communications are set up, or by first eventually End is as Wi-Fi hotspot, and other each terminals access the focus, realize the direct-connected communication between each terminal and the first terminal; Or the first terminal is by setting up direct-connected communication link between the short-range communication such as bluetooth, infrared, NFC and each target terminal Connect.
In the specific implementation, the first terminal can pre-set an integrated switch, the integrated switch can be used for opening The part or all of transmission mode of the first terminal (such as bluetooth, WiFi).The first terminal is receiving user's opening collection Into switch operation when, automatically turn on first connection transmission mode and second connection transmission mode, it is possible to scanning arrive Terminal that is in scanning range and equally opening direct-connected communication function.
In one embodiment, the first terminal is included the terminal scanned in the list items on display interface, When receiving selection operation of the user on the list items, the target terminal set in list items is determined according to the selection operation.
Wherein, the terminal that the first terminal is scanned can be included in the list items, and the terminal that the scanning is arrived is each Corresponding transmission speed mark.Transmission speed mark can be used to indicate that the speed of the transmission speed for the terminal that the scanning is arrived, User can identify according to the transmission speed, know the transmission speed for the terminal that the scanning is arrived.
Wherein, the first terminal user data that each terminal is sent into target terminal set can be identical data, It can also be different data, be not intended to be limited in any herein.
Wherein, the link information can include the terminal iidentification of each terminal, the system information of each terminal, each terminal The signal intensity of the foundation transmission data cube computation (the i.e. second connection) of Pre-Evaluation, the physical channel parameters of each terminal (can be wrapped Include physical channel mark, physical channel transmission rate, anti-interference information etc.) etc..
S102, the first terminal obtain the biography of each terminal in the target terminal set according to the link information Delivery of energy force parameter.
It should be noted that the first terminal can enter according to the link information to each terminal in target terminal set Which transmittability parameter area row comprehensive grading, then fall at according to comprehensive grading, just the corresponding terminal of the comprehensive grading It is defined as the transmittability parameter.For example, transmittability parameter A scope is 90 to 100 points of comprehensive grading, transmits energy Force parameter B scope is 80 to 89 points of comprehensive grading, and transmittability parameter C scope is 70 to 79 points of comprehensive grading, with This analogizes, if the comprehensive grading of a certain terminal in target terminal set is 95 points, the corresponding transmittability of a certain terminal Parameter is just A.
Specifically, the first terminal carries out comprehensive grading according to the link information to each terminal in target terminal set Concrete mode, can be the parameters in the link information according to each terminal, according to parameters it is corresponding weighting be Count to be weighted, so as to obtain the comprehensive grading of each terminal.
S103, the first terminal select second terminal according to the transmittability parameter of each terminal, and pass through second The connection transmission user data.
Wherein, second connection includes the transmission channel different from the described first connection.
Wherein, before by the second connection transmission user data, the first terminal can also be built with the second terminal Vertical second connection.
It should be noted that first connection and second connection can be the connections set up based on different transmission mode, Such as first is connected as the bluetooth connection based on bluetooth transmission, and second connection is then the transmission based on Wi-Fi hotspot The WiFi connections of Model Establishment.
It should also be noted that, second connection can be after second terminal is selected by the first terminal, then According to the Connecting quantity of the first connection interaction and the newly-established connection of the second terminal.
In the specific implementation, the first terminal can select transmittability parameter in predetermined level model from target terminal set Terminal in enclosing is used as the second terminal, and then can set up second with the second terminal simultaneously is connected, and in second company Transmission user data is connected, to improve the transmission rate of first terminal.
Wherein, the first terminal can determine predetermined level scope according to the transmittability parameter of each terminal, and this is pre- If rate range can be the rate range of the rate range that user is set or terminal acquiescence.For example, the predetermined level Scope is B and its ratings above, then the first terminal can just select transmittability parameter in B from target terminal set and More than B grades of terminal is used as second terminal.
In some feasible embodiments, if the quantity of the second terminal exceeded the first terminal it is default while Send highest terminal quantity during data, then the first terminal can be with the high second terminal of prioritizing selection comprehensive grading, and leads to Cross the second connection and transmission user data.Or, if the quantity of the second terminal exceeded the first terminal it is default while Send highest terminal quantity during data, then the first terminal can also randomly select highest number of terminals from the second terminal The terminal of amount, and pass through the second connection transmission user data.
Wherein, above-mentioned comprehensive grading can also be directly as transmittability parameter, or above-mentioned grade of transmission conduct Transmittability parameter.
In embodiments of the present invention, first terminal is needing each terminal into target terminal set to send user data When, second terminal is selected from target terminal set according to the transmittability parameter of each terminal, and pass through the second connection The user data is transmitted, the side of user data can be transmitted by the high second terminal of prioritizing selection transmittability parameter Formula, saves transmission time, improves the efficiency of transmission of terminal.
Referring to Fig. 4, being the schematic flow sheet of another data transmission method provided in an embodiment of the present invention.Such as Fig. 4 institutes The data transmission method shown, including following steps:
S401, first terminal are detected currently when needing each terminal transmission user data into target terminal set Data transmission state.
It should be noted that the first terminal detects current data transmission state, can be the transmission of the first terminal Flow value required for the user data, or the first terminal may need the terminal quantity etc. while when sending data.
S402, the first terminal when current data transmission state is unsatisfactory for default mass-sending condition, by with institute State the link information that the first connection set up in target terminal set between each terminal obtains each terminal.
It should be noted that the default mass-sending condition can be configured by user, it can also be write from memory by the first terminal Recognize.Specifically, the terminal quantity that the default mass-sending condition is accessed when can be mass-sending is no more than 5, or can also be group Total flow value is no more than 100M etc. during hair, and certainly, its numerical value illustrated can be adjusted due to the performance of first terminal, It is not intended to be limited in any herein.
Specifically, the first terminal may determine that whether the current data mode meets default mass-sending condition first. If the current data mode is unsatisfactory for default mass-sending condition, then the first terminal can by with the target terminal collection The first connection set up between the terminal of each in conjunction obtains the link information of each terminal;If the current data mode is met Default mass-sending condition, then the first terminal just can set up second with each terminal in the target terminal set and be connected, And transmit user data in second connection.
For example, the first terminal can detect current data transmission state may need while sending data When terminal quantity be 6, the terminal quantity then accessed during the default mass-sending of the first terminal is no more than 5, at this moment, should First terminal it may determine that the current data transmission state is unsatisfactory for preparatory condition, just can by with target terminal set In the first connection for setting up between each terminal obtain the link information of each terminal.
Wherein, the link information can include major parameter and auxiliary parameter.
Optionally, first terminal can obtain each terminal in the target terminal set according to the link information Transmittability parameter, including:Major parameter is obtained from the link information;Determined respectively according to the major parameter of acquisition The initial transmission ability parameter of individual terminal;, will be described if the initial transmission ability parameter meets default difference condition Initial transmission ability parameter as each counterpart terminal transmittability parameter;If the initial transmission ability parameter is unsatisfactory for Default difference condition, then obtain auxiliary parameter from the link information;According to the major parameter and the auxiliary parameter, Determine the transmittability parameter of each counterpart terminal.
For example, the first terminal can get the major parameter from link information first, then will can be somebody's turn to do Then major parameter is ranked up, then directly as the initial transmission ability parameter of each terminal to the initial ability parameter The initial transmission ability parameter of adjacent position is subjected to difference operation according to the position of sequence, if the difference that computing is obtained all is located In preset range, then the first terminal just can consider that the initial transmission ability parameter is not enough to judge the transmission of counterpart terminal Ability, just can then obtain the auxiliary parameter of each terminal in target terminal set, and according to the major parameter and the auxiliary Parameter determines the transmittability parameter of each counterpart terminal.
In some feasible embodiments, if the difference that computing is obtained, which has, is partly or entirely not at the preset range It is interior, then the first terminal just can consider that the major parameter is enough to judge the transmittability of counterpart terminal, just can be first by this Beginning transmittability parameter directly performs S306 steps directly as transmittability parameter.
Optionally, the major parameter can include each corresponding between first terminal and each terminal in target terminal set Second connection signal intensity;The auxiliary parameter, can include the system information and/or thing of each terminal in target terminal set Manage channel logo.
Wherein, the weight coefficient identified for physical channel, can be based simply on the indicated thing of physical signalling mark Channel type is managed to be selected, for example, there is the channel logo of the WiFi indicated 5G frequencies in physical channel mark, and In the presence of the WiFi of instruction 2.4G frequencies channel logo type when, the first terminal can be directly by the channel mark of the 5G frequencies Know and identified as the physical channel in auxiliary parameter, and the auxiliary parameter selection for the physical channel mark of target terminal is higher First weight coefficient.In other embodiments, it can be determined in the method shown in figure 5 below.
It should be noted that the second connection signal intensity can be the first terminal and each end in target terminal set Signal intensity during the second connection is set up at end, and the signal intensity can be indicated by a specific numerical value, such as 3,5, 10 etc., signal intensity is higher, and the data are bigger.
It should also be noted that, the system information can be the letter of each terminal its own system in target terminal set, example System type, system version number etc. can such as be included.
It should also be noted that, physical channel mark can be and each corresponding, each terminal in target terminal set The physical channel mark matched somebody with somebody.Wherein, physical channel mark can have for each terminal in target terminal set Have multiple, the first terminal can obtain one of physical channel mark from this multiple physical channel mark and be used as connection The auxiliary parameter of information, its specific mode can refer to Fig. 5:
S501, from the target terminal set target terminal adaptation physical channel in, according to channel occupancy information, Channel transmission rate and anti-interference information carry out channel estimating score.
It should be noted that each terminal in the target terminal set can be used as the target terminal.Namely Say, the first terminal can be used as target terminal with each terminal in target terminal set and be performed shown in S501 and S502 The step of.
Wherein, the channel occupancy information, can refer to whether the physical channel being adapted to target terminal is occupied at present.Should Channel transmission rate, can refer to the transmission rate of physical channel being adapted to target terminal.The anti-interference information, can refer to The physical channel being adapted to target terminal resists the intensity of periphery interference source.
Specifically, the first terminal can be from the target terminal set each physical channel for being adapted to of target terminal In, compare channel occupancy information, channel transmission rate and the anti-interference information of each physical channel to carry out sum operation, obtain To channel estimating score.
For example, the physical channel being adapted to the target terminal has two, a physical channel for 2.4G frequency ranges, one The individual physical channel for 5G frequency ranges, the channel occupancy information of the physical channel of the 2.4G frequency ranges is vacant, is scored at 5, should The channel transmission rate of the physical channel of 2.4G frequency ranges is 2M/s, is scored at 3, the anti-interference letter of the physical channel of the 2.4G frequency ranges Breath is scored at 4, therefore, and the channel estimating point of the channel occupancy information of the physical channel of the 2.4G frequency ranges can think 12;The 5G The channel occupancy information of the physical channel of frequency range is occupied, is scored at 0, the channel transmission rate of the physical channel of the 5G frequency ranges For 20M/s, 6 are scored at, the anti-interference information of the physical channel of the 5G frequency ranges is scored at 5, therefore, the physical channel of the 5G frequency ranges Channel occupancy information channel estimating score can think 11.
In some feasible embodiments, the target terminal that the first terminal can also be from the target terminal set In each physical channel of adaptation, obtain the channel occupancy information score of each physical channel, channel transmission rate score and Anti-interference information score, then according to channel occupancy information, channel transmission rate and anti-interference information institute it is each it is self-corresponding plus Weight coefficient is weighted, and obtains channel estimating score.
For example, the physical channel being adapted to the target terminal has two, a physical channel for 2.4G frequency ranges, one The individual physical channel for 5G frequency ranges, the channel occupancy information of the physical channel of the 2.4G frequency ranges is vacant, is scored at 5, its is right The weight coefficient answered is 3;The channel transmission rate of the physical channel of the 2.4G frequency ranges is 2M/s, is scored at 3, its corresponding weighting Coefficient is 5;The anti-interference information of the physical channel of the 2.4G frequency ranges is scored at 4, and its corresponding weight coefficient is 2, therefore, should The channel estimating of the channel occupancy information of the physical channel of 2.4G frequency ranges point can think 5*3+3*5+4*2=38.The 5G frequency ranges Physical channel channel occupancy information to be occupied, be scored at 0, its corresponding weight coefficient is 3;The physics letter of the 5G frequency ranges The channel transmission rate in road is 20M/s, is scored at 5, and its corresponding weight coefficient is 4;The anti-of the physical channel of the 5G frequency ranges is done Disturb information and be scored at 5, its corresponding weight coefficient is 2, therefore, the channel of the channel occupancy information of the physical channel of the 5G frequency ranges Assess to divide and can think 0*3+5*4+2*5=30.
S502, physics channel logo selected as the auxiliary in the link information of the target terminal according to channel appraisal result Parameter.
It should be noted that physical channel mark can be the mark for identifying the physical channel that terminal is selected.
Specifically, the first terminal can be selected in channel appraisal result corresponding to channel scoring highest physical channel Physical channel mark is used as the auxiliary parameter in the link information of the target terminal.
The major parameter and each auxiliary parameter that S403, the first terminal are obtained in the link information are each corresponded to Weight coefficient.
Specifically, each self-corresponding the between each terminal during the major parameter is first terminal and target terminal set Two connection signal intensities, when the auxiliary parameter is the system information and physical channel mark of each terminal in target terminal set, The terminal can obtain this second connection signal intensity corresponding to weight coefficient, the weight coefficient corresponding to the system information, And the corresponding weight coefficient of physical channel mark.
It should be noted that the weight coefficient corresponding to the second connection signal intensity of each target terminal can be Identical value, the weight coefficient that the physical channel mark of each target terminal is corresponding can also be identical value.But at some In feasible embodiment, the weight coefficient corresponding to the above-mentioned second connection signal intensity can also be due to the difference of target terminal And it is different, similar, the corresponding weight coefficient of physical channel mark can also be each due to the difference of target terminal Differ, the present invention is not intended to be limited in any to this.
Wherein, system type and system version number can be included in the system information.
It should also be noted that, the first terminal can be according to the system type in the system information and the first terminal The similarities and differences between system type and the system version number of first terminal, and according to the system version number and the first terminal The similarities and differences between system version number obtain the weight coefficient corresponding to the system information, and its specific mode can refer to Fig. 6:
If the system class of the system type of S601, target terminal in the target terminal set and the first terminal Type is identical, and the system version number of the target terminal is identical with the system version number of the first terminal, then described first eventually End determines that the first system weight coefficient is used as the corresponding weight coefficient of system information in the auxiliary parameter.
It should be noted that the system type can include Android system type, apple system type, Saipan system type Etc., the system version number can be the current system version number of target terminal.
For example, if the system type of the first terminal is Android system type, the system version number of first terminal For 6.0.1, then the system type of the target terminal is also Android system type, and the system version number of the target terminal is also 6.0.1, then the first terminal can determine the first system weight coefficient (being, for example, 3) as the system information in the auxiliary parameter Corresponding weight coefficient.
If S602, the system type of the target terminal are identical with the system type of the first terminal, and the mesh The system version number for marking terminal is different from the first terminal, then the first terminal determines second system weight coefficient as institute State the corresponding weight coefficient of system information in auxiliary parameter.
For example, if the system type of the first terminal is Android system type, the system version number of first terminal For 6.0.1, then the system type of the target terminal is also Android system type, but the system version number of the target terminal is 5.0.1, then the first terminal can determine second system weight coefficient (being, for example, 2) as the system information in the auxiliary parameter Corresponding weight coefficient.
If S603, the system type of the target terminal are different from the system type of first terminal, described first eventually End determines that the 3rd system weight coefficient is used as the corresponding weight coefficient of system information in the auxiliary parameter.
For example, if the system type of the first terminal is the system of Android system type, the then target terminal Type is apple system type, then the first terminal can determine the first system weight coefficient (being, for example, 1) as auxiliary ginseng The corresponding weight coefficient of system information in number.
S404, the first terminal are weighted according to each weight coefficient to the major parameter and each auxiliary parameter Calculate, obtain the comprehensive grading of each terminal.
For example, the first terminal adds according to the respective link information of each target terminal is corresponding with the link information Weight coefficient the target terminal is weighted (the such as second connection signal intensity * 5+ physical channel mark * 4+ system letters Breath * 3), and draw the respective comprehensive grading of the target terminal.
S405, the first terminal determine the transmittability of each terminal in the target terminal set according to comprehensive grading Parameter.
Wherein, the comprehensive grading can also be used as this directly as the transmittability parameter with transmittability grade Transmittability parameter.
For example, transmittability grade A scope is 90 to 100 points of comprehensive grading, transmittability grade B scope It is 80 to 89 points of comprehensive grading, transmittability grade C scope is 70 to 79 points of comprehensive grading, by that analogy, if target The comprehensive grading of a certain terminal in terminal set is 95 points, then the corresponding transmittability grade of a certain terminal is just A.
S406, the first terminal select second terminal according to the transmittability parameter of each terminal, and pass through second The user data is transmitted in connection.
Wherein, second connection includes the transmission channel different from the described first connection.
In embodiments of the present invention, first terminal is needing each terminal into target terminal set to send user data When, detecting in the case that current data transmission state is unsatisfactory for mass-sending condition, just to each in target terminal set The major parameter and auxiliary parameter of terminal are weighted according to the corresponding weight coefficient of each of which, and determine each The transmittability parameter of individual terminal, second terminal is selected finally according to the transmittability parameter from target terminal set, and The user data is transmitted by the second connection, can be excellent by the way that each terminal in target terminal set is weighted First the high second terminal of selection transmittability parameter is transmitted the mode of user data, saves transmission time, improves terminal Efficiency of transmission.
Fig. 7 is referred to, Fig. 7 is a kind of schematic block diagram of data transmission device provided in an embodiment of the present invention, this implementation The data transmission device of example description, including:
Module 701 is set up, is connected for setting up first between each terminal in target terminal set;
First acquisition module 702, for when needing each terminal transmission user data into target terminal set, passing through First set up between each terminal in the target terminal set is connected each terminal in the acquisition target terminal set Link information.
Second acquisition module 703, for according to the link information, obtaining each terminal in the target terminal set Transmittability parameter.
Processing module 704, second terminal is selected for the transmittability parameter according to each terminal.
It is described to set up module 701, it is additionally operable to set up second with the second terminal and is connected.
The processing module 704, is additionally operable to connect by second and transmits the user data, second connection includes The transmission channel different from the described first connection.
Wherein, first acquisition module 702, the second acquisition module 703 and set up module 701 specifically can be with integrated or set Put in communication interface of terminal etc., the processing module 603, specifically can be with integrated or be arranged on the processor etc. of terminal.
Optionally, the first acquisition module 702, specifically for needing each terminal into target terminal set to send user During data, current data transmission state is detected;When current data transmission state is unsatisfactory for default mass-sending condition, pass through First set up between each terminal in the target terminal set is connected the link information for obtaining each terminal.
Optionally, described device also includes:Scan module 705, for scanning the scanning range in the first terminal Terminal that is interior and opening direct-connected communication function.
Display module 706, for the display terminal list in display interface, the list items of the terminal list include institute State the terminal iidentification that first terminal is scanned, and transmission speed mark.
Determining module 707, institute is determined for receiving the selection operation on the list items, and according to the selection operation State the target terminal set in list items.
Optionally, the link information includes:Major parameter and auxiliary parameter.
Optionally, second acquisition module 703, specifically for obtaining major parameter from the link information;According to The major parameter obtained determines the initial transmission ability parameter of each terminal;If the initial transmission ability parameter is expired The default difference condition of foot, then using the initial transmission ability parameter as each counterpart terminal transmittability parameter;If The initial transmission ability parameter is unsatisfactory for default difference condition, then obtains auxiliary parameter from the link information;According to The major parameter and the auxiliary parameter, determine the transmittability parameter of each counterpart terminal.
Optionally, the second acquisition module 703, it is each right specifically for obtaining the major parameter and each auxiliary parameter The weight coefficient answered;The major parameter and each auxiliary parameter are weighted according to each weight coefficient, obtain each The comprehensive grading of individual terminal;The transmittability parameter of each terminal in the target terminal set is determined according to comprehensive grading.
Optionally, the major parameter includes:Each self-corresponding second connects between each terminal in target terminal set Connect signal intensity.
The system information of each terminal and/or physical channel mark in the auxiliary parameter, including target terminal set.
Optionally, first acquisition module 702, specifically for being adapted to from the target terminal in the target terminal set Physical channel in, according to channel occupancy information, channel transmission rate and anti-interference information carry out channel estimating score;With evidence Channel appraisal result selects physics channel logo as the auxiliary parameter in the link information of the target terminal.
Optionally, the system information includes:System type, system version number.
Optionally, second acquisition module 703, if specifically for the target terminal in the target terminal set System type is identical with the first terminal, and the system version of the system version number of the target terminal and the first terminal It is number identical, then the first terminal determine the first system weight coefficient as the system information in the auxiliary parameter it is corresponding plus Weight coefficient;If the system type of the target terminal is identical with the system type of the first terminal, and the target terminal System version number and the first terminal system version difference, then the first terminal determine second system weight coefficient It is used as the corresponding weight coefficient of system information in the auxiliary parameter;If the system type of the target terminal and first is eventually The system type at end is different, then the first terminal determines that the 3rd system weight coefficient is believed as the system in the auxiliary parameter Cease corresponding weight coefficient.
In embodiments of the present invention, when needing each terminal transmission user data into target terminal set, according to this The transmittability parameter of each terminal selects second terminal from target terminal set, and transmits the use by second connection User data, can be saved and pass by way of the high second terminal of prioritizing selection transmittability parameter is transmitted user data The defeated time, improve the efficiency of transmission of terminal.
Fig. 8 is referred to, is a kind of schematic block diagram of terminal provided in an embodiment of the present invention.End described by the present embodiment End, including:At least one communication interface 1000;At least one processor 2000, such as CPU;At least one memory 3000;Extremely A few output equipment 4000, above-mentioned communication interface 1000, processor 2000, memory 3000 and output equipment 4000 are by total Line is connected.
It should be appreciated that in embodiments of the present invention, above-mentioned communication interface 1000 can be communicated with other-end Interface, can include radio-frequency module, bluetooth module, wireless network card etc., above-mentioned output equipment 4000 can include display (LCD Deng).
Above-mentioned processor 2000 can be CPU (Central Processing Unit, CPU), the processing Device can also be other general processors, digital signal processor (Digital Signal Processor, DSP), special collection Into circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Above-mentioned memory 3000 can include read-only storage and random access memory, and refer to the offer of processor 2000 Order and data.The a part of of memory 3000 can also include nonvolatile RAM.For example, memory 3000 is also Can be with the information of storage device type.
Specifically, above-mentioned communication interface 1000, for setting up the first company between each terminal in target terminal set Connect.
Above-mentioned processor 2000, for when needing each terminal transmission user data into target terminal set, passing through The first connection set up in communication interface 1000 and above-mentioned target terminal set between each terminal obtains above-mentioned target terminal collection The link information of the terminal of each in conjunction.
Above-mentioned processor 2000, is additionally operable to, according to above-mentioned link information, obtain each terminal in above-mentioned target terminal set Transmittability parameter, and second terminal is selected according to the transmittability parameter of each terminal.
Above-mentioned communication interface 1000, is additionally operable to set up second with the second terminal and is connected.
Above-mentioned communication interface 1000, for transmitting above-mentioned user data by the second connection.
Wherein, above-mentioned second connection includes the transmission channel different from the described first connection.
Optionally, above-mentioned processor 2000, is additionally operable in scanning range of the scanning in the first terminal and opens The terminal of direct-connected communication function;For the display terminal list in display interface, the list items of the terminal list include institute State the terminal iidentification that first terminal is scanned, and transmission speed mark;Receive the selection operation on the list items, and root The target terminal set in the list items is determined according to the selection operation.
Optionally, above-mentioned processor 2000, specifically for needing each terminal into target terminal set to send user During data, current data transmission state is detected;When current data transmission state is unsatisfactory for default mass-sending condition, pass through The first connection set up in communication interface 1000 and above-mentioned target terminal set between each terminal obtains the connection of each terminal Information.
Optionally, above-mentioned link information includes:Major parameter and auxiliary parameter.
Optionally, above-mentioned processor 2000, specifically for obtaining major parameter from the link information;According to acquisition The major parameter determines the initial transmission ability parameter of each terminal;If the initial transmission ability parameter meets default Difference condition, then using the initial transmission ability parameter as each counterpart terminal transmittability parameter;If described first Beginning transmittability parameter is unsatisfactory for default difference condition, then obtains auxiliary parameter from the link information;According to the master Parameter and the auxiliary parameter are wanted, the transmittability parameter of each counterpart terminal is determined.
Optionally, above-mentioned processor 2000, specifically for obtained from memory 3000 above-mentioned major parameter and each Each self-corresponding weight coefficient of auxiliary parameter, is added according to each weight coefficient to above-mentioned major parameter and each auxiliary parameter Power is calculated, and obtains the comprehensive grading of each terminal, and determine each terminal in above-mentioned target terminal set according to comprehensive grading Transmittability parameter.
Optionally, above-mentioned major parameter includes:It is each corresponding between first terminal and each terminal in target terminal set Second connection signal intensity;The system information and/or physics of each terminal in above-mentioned auxiliary parameter, including target terminal set Channel logo.
Optionally, above-mentioned processor 2000, specifically for the thing from the target terminal adaptation in above-mentioned target terminal set Manage in channel, channel estimating score is carried out according to channel occupancy information, channel transmission rate and anti-interference information, according to channel Appraisal result selects physics channel logo as the auxiliary parameter in the link information of the target terminal.
Optionally, said system information includes:System type, system version number.
Optionally, above-mentioned processor 2000, specifically for obtaining the system in above-mentioned auxiliary parameter by memory 3000 The corresponding weight coefficient of information.
Optionally, above-mentioned processor 2000, if specifically for the system of the target terminal in above-mentioned target terminal set Type is identical with above-mentioned first terminal, and the system version number of above-mentioned target terminal is identical with above-mentioned first terminal, then and above-mentioned One terminal determines the first system weight coefficient as the corresponding weight coefficient of system information in above-mentioned auxiliary parameter;If above-mentioned The system type of target terminal is identical with above-mentioned first terminal, and the system version number of above-mentioned target terminal and above-mentioned first terminal Difference, then above-mentioned first terminal determine second system weight coefficient as the corresponding weighting of system information in above-mentioned auxiliary parameter Coefficient;If the system type of above-mentioned target terminal is different from first terminal, above-mentioned first terminal determines that the 3rd system is weighted Coefficient is used as the corresponding weight coefficient of system information in above-mentioned auxiliary parameter.
In embodiments of the present invention, when needing each terminal transmission user data into target terminal set, according to this The transmittability parameter of each terminal selects second terminal from target terminal set, and transmits the user by the second connection Data, can save transmission by way of the high second terminal of prioritizing selection transmittability parameter is transmitted user data Time, improve the efficiency of transmission of terminal.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, when the computer program is executed by processor, it is possible to achieve:With it is each in target terminal set The first connection is set up between individual terminal;Need into target terminal set each terminal send user data when, by with institute State the company that the first connection set up in target terminal set between each terminal obtains each terminal in the target terminal set Connect information;According to the link information, the transmittability parameter of each terminal in the target terminal set is obtained;According to each The transmittability parameter of terminal selects second terminal;Second is set up with the second terminal to be connected, and is transmitted by the second connection The user data, second connection includes the transmission channel different from the described first connection.
It should be noted that the detailed process that the computer-readable recording medium is executed by processor is reference can be made to first implements Data transmission method described in example and second embodiment, will not be repeated here.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, for example The hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, for example institute State the plug-in type hard disk being equipped with terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is used to store described Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
It is described above, it is only some embodiments of the present invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (12)

1. a kind of data transmission method, it is characterised in that applied to first terminal, methods described includes:
First is set up between each terminal in target terminal set to be connected;
Need into target terminal set each terminal send user data when, by with each in the target terminal set The first connection set up between terminal obtains the link information of each terminal in the target terminal set;
According to the link information, the transmittability parameter of each terminal in the target terminal set is obtained, according to each end The transmittability parameter at end selects second terminal;
Second is set up with the second terminal to be connected, and the user data, second connection are transmitted by the described second connection Including the transmission channel different from the described first connection.
2. the method as described in claim 1, it is characterised in that send user needing each terminal into target terminal set During data, the connection letter for obtaining each terminal is connected by set up between each terminal in the target terminal set first Before breath, in addition to:
Scanning range of the scanning in the first terminal is interior and opens the terminal of direct-connected communication function;
The display terminal list in display interface, the list items of the terminal list include the end that the first terminal is scanned End mark and transmission speed mark;
The selection operation on the list items is received, and the target terminal in the list items is determined according to the selection operation Set.
3. method as claimed in claim 2, it is characterised in that described to need each terminal into target terminal set to send During user data, the acquisition target terminal is connected by set up between each terminal in the target terminal set first The link information of the terminal of each in set, including:
When needing each terminal transmission user data into target terminal set, current data transmission state is detected;
When current data transmission state is unsatisfactory for default mass-sending condition, by with each end in the target terminal set First connection set up between end obtains the link information of each terminal.
4. the method as described in any one of claims 1 to 3, it is characterised in that the link information includes:Major parameter and auxiliary Help parameter;
It is described that the transmittability parameter of each terminal in the target terminal set is obtained according to the link information, including:
Major parameter is obtained from the link information;
The initial transmission ability parameter of each terminal is determined according to the major parameter of acquisition;
If the initial transmission ability parameter meets default difference condition, using the initial transmission ability parameter as each The transmittability parameter of individual counterpart terminal;
If the initial transmission ability parameter is unsatisfactory for default difference condition, auxiliary ginseng is obtained from the link information Number;
According to the major parameter and the auxiliary parameter, the transmittability parameter of each counterpart terminal is determined.
5. the method as described in any one of claims 1 to 3, it is characterised in that the link information includes:Major parameter and auxiliary Help parameter;
It is described that the transmittability parameter of each terminal in the target terminal set is obtained according to the link information, including:
Obtain the major parameter and each self-corresponding weight coefficient of each auxiliary parameter;
The major parameter and each auxiliary parameter are weighted according to each weight coefficient, the comprehensive of each terminal is obtained Close scoring;
The transmittability parameter of each terminal in the target terminal set is determined according to comprehensive grading.
6. method as claimed in claim 5, it is characterised in that the major parameter includes:First terminal and target terminal collection Each self-corresponding second connection signal intensity between the terminal of each in conjunction;
The system information of each terminal and/or physical channel mark in the auxiliary parameter, including the target terminal set.
7. method as claimed in claim 6, it is characterised in that obtain physical channel mark as the auxiliary parameter of link information Including:
From the physical channel of the target terminal adaptation in the target terminal set, according to channel occupancy information, transmission Speed and anti-interference information carry out channel estimating score;
Physics channel logo is selected as the auxiliary parameter in the link information of the target terminal according to channel appraisal result.
8. method as claimed in claim 6, it is characterised in that the system information includes:System type, system version number;
Obtain in the major parameter and each self-corresponding weight coefficient of each auxiliary parameter, obtain in the auxiliary parameter The corresponding weight coefficient of system information, including:
If the system type of the target terminal in the target terminal set and identical, and the system version of the target terminal Number with system version number it is identical, it is determined that the first system weight coefficient is corresponding as the system information in the auxiliary parameter Weight coefficient;
If the system type of the target terminal with system type it is identical, and the system version number of the target terminal and System version difference, it is determined that second system weight coefficient is used as the corresponding weighting system of the system information in the auxiliary parameter Number;
If the system type of the target terminal is different from the system type of first terminal, it is determined that the 3rd system weight coefficient It is used as the corresponding weight coefficient of system information in the auxiliary parameter.
9. a kind of data transmission device, it is characterised in that including:
Module is set up, is connected for setting up first between each terminal in target terminal set;
First acquisition module, for need into target terminal set each terminal send user data when, by with it is described The first connection set up in target terminal set between each terminal obtains the connection of each terminal in the target terminal set Information;
Second acquisition module, for according to the link information, obtaining the transmission energy of each terminal in the target terminal set Force parameter;
Processing module, second terminal is selected for the transmittability parameter according to each terminal;
It is described to set up module, it is additionally operable to set up second with the second terminal and is connected;
The processing module, is additionally operable to connect by second and transmits the user data, second connection include with it is described The different transmission channel of first connection.
10. device as claimed in claim 9, it is characterised in that first acquisition module, specifically for needing to target When each terminal sends user data in terminal set, current data transmission state is detected, in current data transmission state When being unsatisfactory for default mass-sending condition, acquisition is connected by set up between each terminal in the target terminal set first The link information of each terminal.
It is the processor, logical 11. a kind of terminal, it is characterised in that including processor, communication interface, output equipment and memory Believe that interface, output equipment and memory are connected with each other, wherein, the memory is used to store application code, the processing Device is arranged to call described program code, performs the method as described in claim any one of 1-8.
12. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the computer program includes programmed instruction, and described program instruction makes the computing device such as when being executed by a processor Method described in claim any one of 1-8.
CN201710495966.0A 2017-06-26 2017-06-26 Data transmission method, device and terminal Expired - Fee Related CN107222847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710495966.0A CN107222847B (en) 2017-06-26 2017-06-26 Data transmission method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710495966.0A CN107222847B (en) 2017-06-26 2017-06-26 Data transmission method, device and terminal

Publications (2)

Publication Number Publication Date
CN107222847A true CN107222847A (en) 2017-09-29
CN107222847B CN107222847B (en) 2020-01-14

Family

ID=59950608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710495966.0A Expired - Fee Related CN107222847B (en) 2017-06-26 2017-06-26 Data transmission method, device and terminal

Country Status (1)

Country Link
CN (1) CN107222847B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257831A (en) * 2018-08-10 2019-01-22 维沃移动通信有限公司 The method and terminal of connection are established between a kind of terminal
CN111278001A (en) * 2019-01-18 2020-06-12 维沃软件技术有限公司 Terminal capability negotiation method, terminal equipment and network side equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244676A (en) * 2010-05-14 2011-11-16 Lg电子株式会社 Electronic device and method of sharing contents thereof with other devices
CN105472038A (en) * 2016-01-07 2016-04-06 腾讯科技(深圳)有限公司 Control method, control apparatus and control system for file transmission
CN105898838A (en) * 2016-03-29 2016-08-24 联想(北京)有限公司 Signal connection method, signal processing method, electronic equipment and electronic apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244676A (en) * 2010-05-14 2011-11-16 Lg电子株式会社 Electronic device and method of sharing contents thereof with other devices
CN105472038A (en) * 2016-01-07 2016-04-06 腾讯科技(深圳)有限公司 Control method, control apparatus and control system for file transmission
CN105898838A (en) * 2016-03-29 2016-08-24 联想(北京)有限公司 Signal connection method, signal processing method, electronic equipment and electronic apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257831A (en) * 2018-08-10 2019-01-22 维沃移动通信有限公司 The method and terminal of connection are established between a kind of terminal
CN109257831B (en) * 2018-08-10 2020-09-29 维沃移动通信有限公司 Method for establishing connection between terminals and terminal
CN111278001A (en) * 2019-01-18 2020-06-12 维沃软件技术有限公司 Terminal capability negotiation method, terminal equipment and network side equipment
CN111278001B (en) * 2019-01-18 2022-04-12 维沃移动通信有限公司 Terminal capability negotiation method, terminal equipment and network side equipment

Also Published As

Publication number Publication date
CN107222847B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN107277754A (en) The method and Bluetooth peripheral of a kind of bluetooth connection
CN105722249B (en) A kind of method, apparatus and terminal of switching connection
CN109670937A (en) Risk subscribers recognition methods, user equipment, storage medium and device
CN107241782A (en) Method for network access, mobile terminal and computer-readable recording medium
CN107590461A (en) Face identification method and Related product
CN107241771A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN106446841A (en) Fingerprint template matching order updating method and terminal
CN105431881A (en) Distributed locker service system, and control method therefor
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN110392414B (en) Wireless network connection method and device, terminal equipment and readable storage medium
CN104569623A (en) Method for detecting radiation intensity
CN107222898A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN105682009A (en) Mobile terminal and method for managing wireless signals
CN107222847A (en) A kind of data transmission method, device and terminal
CN107181825B (en) Online processing method of terminal equipment data
CN107277896B (en) Wifi hotspot management method, device and terminal device
CN108961449A (en) Attendance punch card method and attendance recorder
CN106897842A (en) A kind of data processing method based on demand response resource, apparatus and system
CN107318140A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107222937A (en) A kind of data transmission method, device and terminal
CN109379384A (en) Wireless network secure partition method, device and electronic equipment
CN109657892A (en) Machine Activity recognition method, apparatus, equipment and medium based on data analysis
CN107820298A (en) Wireless network management method, wireless network management device and intelligent terminal
CN106604363A (en) Wireless fidelity Wi-Fi scanning method and mobile terminal
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114

CF01 Termination of patent right due to non-payment of annual fee