WO2020134721A1 - 数据传输方法及相关装置 - Google Patents

数据传输方法及相关装置 Download PDF

Info

Publication number
WO2020134721A1
WO2020134721A1 PCT/CN2019/119471 CN2019119471W WO2020134721A1 WO 2020134721 A1 WO2020134721 A1 WO 2020134721A1 CN 2019119471 W CN2019119471 W CN 2019119471W WO 2020134721 A1 WO2020134721 A1 WO 2020134721A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission link
data
link
transmission
preset
Prior art date
Application number
PCT/CN2019/119471
Other languages
English (en)
French (fr)
Inventor
黄园
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020134721A1 publication Critical patent/WO2020134721A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • H04L1/0017Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement
    • H04L1/0018Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement based on latency requirement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the present application relates to the technical field of electronic equipment, in particular to a data transmission method and related devices.
  • Embodiments of the present application provide a data transmission method and related devices, with a view to improving the efficiency and stability of data transmission, and thereby improving user experience.
  • an embodiment of the present application provides a data transmission method, which is applied to an electronic device, and the method includes:
  • the target application including a game application
  • the data of the target application is shunted through the first transmission link and the second transmission link.
  • an embodiment of the present application provides a data transmission apparatus, which is applied to an electronic device.
  • the data transmission apparatus includes a processing unit and a communication unit, wherein the processing unit determines that the target application is transmitted through the first transmission link Data, the target application includes a game application, the data signal of the target application is transmitted through the communication unit, and the round-trip delay RTT of the first transmission link is detected; when it is detected that the RTT is greater than or equal to a preset RTT, Enable a second transmission link; shunt transmission of data of the target application through the first transmission link and the second transmission link.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
  • the above program includes instructions for performing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application.
  • the computer program causes the computer to execute the first embodiment of the present application.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in any method of the first aspect.
  • the computer program product may be a software installation package.
  • the electronic device of the embodiment of the present application when the electronic device determines to transmit the data of the target application through the first transmission link, the target application includes the game application; then, the round-trip delay RTT of the first transmission link is detected; When it is detected that the RTT is greater than or equal to the preset RTT, the second transmission link is enabled; finally, the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application can control the electronic device to enable other transmission links according to the network delay of the current transmission link for the application data transmission, and shunt the transmission of the application data. Compared with the traditional data transmission method, It can avoid the application from being stuck due to poor network quality during the running process, improve the transmission efficiency and stability of application data, and then improve the user experience.
  • FIG. 1 is an example system architecture diagram of a wireless communication system in which an electronic device is provided according to an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
  • FIG. 2a is a corresponding diagram of the relationship between RSSI and the first quality deduction point provided by an embodiment of the present application
  • 2b is a correspondence diagram between a PLR and a second quality deduction point provided by an embodiment of the present application
  • 2c is a corresponding diagram of a relationship between RTT and the third quality deduction point provided by an embodiment of the present application
  • 2d is a correspondence diagram between the quality score of a Wi-Fi link and the link quality provided by an embodiment of the present application;
  • FIG. 3 is a schematic flowchart of another data transmission method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a block diagram of functional units of a data transmission device according to an embodiment of the present application.
  • the electronic device involved in the embodiments of the present application may be an electronic device with fingerprint recognition capability, and the electronic device may include various handheld devices with fingerprint recognition functions, vehicle-mounted devices, wearable devices, computing devices, or those connected to a wireless modem Other processing equipment, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), electronic equipment (Terminal Device, TD), etc.
  • UE User Equipment
  • MS Mobile Station
  • TD Electronic Equipment
  • Link aggregation means that the device can use two or more network ports to surf the Internet at the same time, for example, through link aggregation on a mobile phone, and use a wireless transmission system (Wireless Fidelity, Wi-Fi) and a mobile network to network at the same time access.
  • Wi-Fi Wireless Fidelity
  • Android network system when Wi-Fi is used, will make the mobile network unusable (ConnectivityService network scoring mechanism causes the data network to be disconnected), and link aggregation requires at least two or more available networks, so the service level
  • SLA Service-Level Agreement
  • the electronic device 101 can be connected to a mobile network 103, which is a communication network used to transmit data services; it can be connected to a Wi-Fi hotspot 102, which allows electronic devices to access a wireless local area network Generally, 2.4G UHF or 5G SHF ISM radio frequency bands are used.
  • FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to an electronic device. As shown in FIG. 2, the data transmission method includes:
  • the electronic device determines to transmit data of the target application through the first transmission link.
  • the electronic device may be a mobile communication device, such as a smart phone, a tablet computer, etc.
  • the first transmission link is the only transmission link currently transmitting target application data, which may be a transmission established with the mobile network side
  • the link may also be a Wi-Fi transmission link
  • the target application may be a game application, such as King Glory, League of Legends, or a communication application, or a ticket purchase application, which is not specifically limited.
  • the specific method for the electronic device to determine that the data of the target application is transmitted through the first transmission link may be: the electronic device obtains the data through the first transmission link, parses the data to obtain the application identifier corresponding to the data, and applies the application The identifier is matched with the preset application identifier. If the matching is successful, it is determined that the data transmitted through the first transmission link is the data of the target application. This process is also a process of determining that the target application is running.
  • the electronic device detects a round-trip delay RTT of the first transmission link.
  • the electronic device detecting the round-trip time (RTT) of the first transmission link may adopt an active measurement method or a passive measurement method.
  • the electronic device may detect A packet is injected into the first transmission link, the probe packet records the transmission status in the first transmission link, and the electronic device obtains the network performance data by parsing the probe packet to obtain the first transmission link RTT. It may also be that the electronic device uses a monitoring device or tool to analyze the network characteristics by capturing the data packet transferred by the first transmission link to obtain the RTT of the first transmission link.
  • the second transmission link is a transmission link that can be enabled by the electronic device, but is currently in an inactive state, and the second transmission link may be a transmission link established with the mobile network side or Wi-Fi
  • the Fi transmission link is not limited.
  • the preset RTT is a delay that will not cause the display interface of the application to freeze.
  • the preset RTT may be 200 ms
  • the electronic device may detect the RTT of the transmission link transmitting the current application data according to the preset period.
  • the RTT of the transmission link is greater than or equal to 200 ms, the first Two transmission links.
  • the electronic device shunts and transmits the data of the target application through the first transmission link and the second transmission link.
  • the electronic device offloading and transmitting the data of the target application through the first transmission link and the second transmission link may be: offload different types or different sizes of data to different through a preset offload strategy Transmission link.
  • the electronic device may distribute part of the data originally transmitted through the first transmission link to the second transmission link for transmission after processing different data of the target application, which is not limited.
  • the electronic device of the embodiment of the present application when the electronic device determines to transmit the data of the target application through the first transmission link, the target application includes the game application; then, the round-trip delay RTT of the first transmission link is detected; When it is detected that the RTT is greater than or equal to the preset RTT, the second transmission link is enabled; finally, the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application can control the electronic device to enable other transmission links according to the network delay of the current transmission link for the application data transmission, and shunt the transmission of the application data. Compared with the traditional data transmission method, It can avoid the application from being stuck due to poor network quality during the running process, improve the transmission efficiency and stability of application data, and then improve the user experience.
  • the first transmission link is a Wi-Fi link of a first Wi-Fi hotspot enabled by a first router, the first router supports a dual hotspot function;
  • the second transmission link is enabled Road, including: sending a request message to enable the second Wi-Fi hotspot to the first router; receiving a hotspot start notification message from the first router, accessing the second Wi-Fi hotspot to establish a second transmission link.
  • the hotspot start notification message may be the pre-connection information of the second Wi-Fi hotspot, including the name and password input information of the second Wi-Fi hotspot, and the hotspot start notification message may also be the connection information of the second Wi-Fi hotspot, Including the name and connection status information of the second Wi-Fi hotspot, the access to the second Wi-Fi hotspot to establish the second transmission link may be accessed when it is detected that the user inputs the correct connection password
  • the second Wi-Fi hotspot to establish the second transmission link, or after obtaining the historical hotspot connection record, the second Wi-Fi hotspot may be automatically accessed according to the historical hotspot connection record to establish the second transmission link, Not limited here.
  • the electronic device when the currently connected link is a Wi-Fi link, the electronic device can access the other Wi-Fi hotspot to establish other transmission links, and pass the application data through different Wi-Fi
  • the link performs offload transmission to improve the flexibility and intelligence of data transmission.
  • the method further includes: according to a preset link quality scoring strategy, determining the first quality score of the first transmission link and the first A second quality score of the second transmission link; when the first quality score is greater than the preset score and the second quality score is less than or equal to the preset score, the second transmission link transmits The data is switched to the first transmission link for transmission, or, when the first quality score is less than or equal to the preset score and the second quality score is greater than the preset score, the first The data transmitted by the transmission link is switched to the second transmission link for transmission; when both the first quality score and the second quality score are less than or equal to the preset score, the cellular network of the electronic device is enabled And establish a third transmission link with the mobile network side, and switch the data transmitted by the first transmission link and the second transmission link to the third transmission link for transmission.
  • a preset link quality scoring strategy determining the first quality score of the first transmission link and the first A second quality score of the second transmission link; when the first quality score is greater than the preset score and the second quality score
  • the preset score is 50 points
  • the quality score of the first Wi-Fi hotspot transmission link is 60 points
  • the quality score of the second Wi-Fi hotspot transmission link is 50 points
  • the second Wi-Fi The data transmitted by the hotspot transmission link is switched to the first Wi-Fi hotspot transmission link for transmission.
  • the electronic device is enabled.
  • the cellular network module and establishes a third transmission link with the mobile network side, switches the data transmitted by the first and second Wi-Fi hotspot transmission links to the third transmission link for transmission, and so on.
  • the link quality scoring strategy may specifically be: acquiring the received signal strength indication (ReceivedSignalStrengthIndication, RSSI) of the Wi-Fi transmission link to be tested, and obtaining the first quality deduction of the transmission link according to the RSSI Obtain the link layer packet loss rate (Packet Loss Rate) of the transmission link, and obtain the second quality penalty of the transmission link according to the PLR; obtain the RTT of the transmission link, according to the RTT Obtain the third quality deduction of the transmission link; obtain the quality score of the Wi-Fi transmission link according to the first, second, and third quality deductions, wherein the RSSI of the transmission link to be tested is obtained , PLR and RTT can be performed at the same time or in succession, but there is no specific order.
  • the quality deduction is divided into the quality scores of Wi-Fi transmission link deduction.
  • FIG. 2a is a correspondence diagram between the relationship between RSSI and the first quality deduction, when RSSI is less than or equal to -85db, the first quality deduction is 30, when RSSI is greater than -85db and less than Or equal to -75db, the first quality deduction is 20, when the RSSI is greater than -75db and less than or equal to -65db, the first quality deduction is 10.
  • FIG. 2b is a correspondence diagram between the relationship between PLR and the second quality deduction.
  • the second quality deduction When PLR is greater than or equal to 0.75, the second quality deduction is 30, when PLR is greater than or equal to 0.5 and less than 0.75, The second quality deduction is 20, the PLR is greater than or equal to 0.25 and less than 0.5, and the second quality deduction is 10.
  • the third quality deduction is 20.
  • the third quality deduction is 10 points.
  • the quality score of the Wi-Fi link may be obtained according to a preset period, for example, re-acquired every 3s.
  • the quality of the Wi-Fi link can be determined according to the quality score of the Wi-Fi transmission link, as shown in FIG. 2d.
  • FIG. 2d is a relationship between the quality score of the Wi-Fi link and the link quality.
  • the transmission link can be switched according to the quality score.
  • the electronic device can determine the quality of its Wi-Fi link according to the quality score for the Wi-Fi transmission link, and then can make some offload strategies based on the Wi-Fi quality score to make the data transmission method more diverse Change.
  • the first transmission link is a transmission link established with the mobile network side;
  • the enabling of the second transmission link includes: enabling the Wi-Fi network module of the electronic device, and passing The Wi-Fi network module accesses one Wi-Fi transmission link to establish a second transmission link.
  • the electronic device can access the Wi-Fi hotspot to establish other transmission links according to the currently connected link as a mobile network link, and pass the application data through the network link corresponding to the mobile network and Wi -Fi link performs offload transmission, making data transmission more flexible and changeable.
  • the method further includes: determining a quality score of the second transmission link according to a preset link quality scoring strategy; when the quality score When it is less than or equal to the preset score, the data transmitted by the second transmission link is switched to the first transmission link for transmission.
  • the data transmitted by the Wi-Fi transmission link is switched to the transmission link established with the mobile network side. transmission.
  • the first transmission link is a Wi-Fi link of a Wi-Fi hotspot enabled by the first router; the enabling of the second transmission link includes: enabling a cellular network of the electronic device Module and establish a second transmission link with the mobile network side.
  • the data transmitted by the Wi-Fi transmission link is switched to the transmission link established with the mobile network side. transmission.
  • the method further includes: determining a quality score of the first transmission link according to a preset link quality scoring strategy; when the quality score When it is less than or equal to the preset score, the data transmitted by the first transmission link is switched to the second transmission link for transmission.
  • offloading the data of the target application through the first transmission link and the second transmission link includes: dividing the data of the target application into first data and second data; Acquiring the first link identifier of the first transmission link and the second link identifier of the second transmission link; using the first link identifier to mark the first data, using the second link The road identification marks the second data; the first data is transmitted through the first transmission link, and the second data is transmitted through the second transmission link.
  • the first link identifier has a unique correspondence with the first transmission link
  • the second link identifier has a unique correspondence with the second transmission link
  • the first data can only pass
  • the first transmission link transmits, that is, the second data can only be transmitted through the first transmission link.
  • the data dividing the target application into the first data and the second data may be data divided according to the type of data of the target application, for example, video data is divided into the first data, and voice data, picture text data is divided into the second data, No specific restrictions.
  • the game application corresponds to video data, voice data, image text data, etc., wherein the video data is marked with a first link identifier, and the data stream such as voice data stream, image text data stream is marked with a second link identifier.
  • the video data of the game application is transmitted through the first transmission link, and the voice data, picture and text data are transmitted through the second transmission link.
  • the electronic device can realize data offload transmission according to the type of application data transmitted, which improves the fluency of data transmission.
  • offloading the data of the target application through the first transmission link and the second transmission link includes: acquiring a broadband demand value of the target application; according to the broadband demand value Divide the data to obtain first data and second data; obtain the first link identifier of the first transmission link and the second link identifier of the second transmission link; use the first link identifier Marking the first data, marking the second data using the second link identifier; transmitting the first data through the first transmission link, and transmitting the second through the second transmission link data.
  • the greater the broadband demand of an application the greater the capacity of its allocated transmission link to ensure that the data corresponding to the application can be quickly and successfully transmitted.
  • Different applications have different broadband requirements, and different transmission links are used to The data transmission channel has different data capacity.
  • the larger the applied data the greater the broadband demand. That is, the larger the transmission link capacity required, the larger the transmission link capacity that should be allocated.
  • transmission links can be allocated for corresponding data according to the application broadband requirements and the capacity of the transmission links.
  • the application data is divided into the data to obtain the first data and the second data, and finally the first transmission The link transmits the first data, and the second data is transmitted through the second transmission link, so as to realize the successful transmission of the application data.
  • the electronic device can allocate different transmission links according to the broadband requirements of different applications to transmit the data stream, thereby increasing the transmission speed of the data transmission.
  • FIG. 3 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1, as shown in the figure ,
  • the data transmission method includes:
  • the electronic device determines to transmit data of the target application through the first transmission link.
  • the electronic device detects the round-trip delay RTT of the first transmission link.
  • the electronic device determines a first quality score of the first transmission link and/or a second quality score of the second transmission link according to a preset link quality scoring strategy.
  • the electronic device switches the transmission link according to the first quality score and/or the second quality score for data transmission.
  • the electronic device of the embodiment of the present application when the electronic device determines to transmit the data of the target application through the first transmission link, the target application includes the game application; then, the round-trip delay RTT of the first transmission link is detected; When it is detected that the RTT is greater than or equal to the preset RTT, the second transmission link is enabled; finally, the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application can control the electronic device to enable other transmission links according to the network delay of the current transmission link for the application data transmission, and shunt the transmission of the application data. Compared with the traditional data transmission method, It can avoid the application from being stuck due to poor network quality during the running process, improve the transmission efficiency and stability of application data, and then improve the user experience.
  • the electronic device can determine the quality of its Wi-Fi link based on the quality score for the Wi-Fi transmission link, and then can do some offload strategies based on the Wi-Fi quality score to make data transmission more diversified.
  • FIG. 4 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1, as shown ,
  • the data transmission method includes:
  • the electronic device determines to transmit data of the target application through the first transmission link.
  • the electronic device detects the round-trip delay RTT of the first transmission link.
  • the electronic device divides the data of the target application into first data and second data.
  • the electronic device obtains a first link identifier of the first transmission link and a second link identifier of the second transmission link.
  • the electronic device uses the first link identifier to mark the first data, and uses the second link identifier to mark the second data.
  • the electronic device transmits the first data through the first transmission link, and transmits the second data through the second transmission link.
  • the electronic device of the embodiment of the present application when the electronic device determines to transmit the data of the target application through the first transmission link, the target application includes the game application; then, the round-trip delay RTT of the first transmission link is detected; When it is detected that the RTT is greater than or equal to the preset RTT, the second transmission link is enabled; finally, the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application can control the electronic device to enable other transmission links according to the network delay of the current transmission link for the application data transmission, and shunt the transmission of the application data. Compared with the traditional data transmission method, It can avoid the application from being stuck due to poor network quality during the running process, improve the transmission efficiency and stability of application data, and then improve the user experience.
  • the electronic device can realize data shunt transmission according to the type of application data transmitted, which improves the smoothness of data transmission.
  • FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application.
  • the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the one or more programs 521 are stored in the above-mentioned memory 520 and are configured to be executed by the above-mentioned application processor 510,
  • the one or more programs 521 include instructions for performing the following steps; determining to transmit data of a target application through a first transmission link, the target application including a game application; detecting round-trip delay of the first transmission link RTT; when it is detected that the RTT is greater than or equal to a preset RTT, enable a second transmission link; shunt transmission of data of the target application through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application when the electronic device determines to transmit the data of the target application through the first transmission link, the target application includes the game application; then, the round-trip delay RTT of the first transmission link is detected; When it is detected that the RTT is greater than or equal to the preset RTT, the second transmission link is enabled; finally, the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application can control the electronic device to enable other transmission links according to the network delay of the current transmission link for the application data transmission, and shunt the transmission of the application data. Compared with the traditional data transmission method, It can avoid the application from being stuck due to poor network quality during the running process, improve the transmission efficiency and stability of application data, and then improve the user experience.
  • the first transmission link is a Wi-Fi link of a first Wi-Fi hotspot enabled by a first router, and the first router supports a dual hotspot function; when the second transmission is enabled
  • the instructions in the program are specifically used to perform the following operations: send a request message to enable the second Wi-Fi hotspot to the first router; and receive a hotspot start notification message from the first router, and then connect Into the second Wi-Fi hotspot to establish a second transmission link.
  • the first transmission link is a transmission link established with the mobile network side; in terms of enabling the second transmission link, the instructions in the program are specifically used to perform the following operations: enabling A Wi-Fi network module of the electronic device, and accessing a Wi-Fi transmission link through the Wi-Fi network module to establish a second transmission link.
  • the instructions in the program are also used to perform the following operations: after the second transmission link is enabled, according to a preset link quality scoring strategy, determine the first transmission link A first quality score and a second quality score of the second transmission link; when the first quality score is greater than the preset score and the second quality score is less than or equal to the preset score, the The data transmitted by the second transmission link is switched to the first transmission link for transmission, or, when the first quality score is less than or equal to the preset score, the second quality score is greater than the preset
  • the first transmission link is a transmission link established with the mobile network side; in terms of enabling the second transmission link, the instructions in the program are specifically used to perform the following operations: enabling A Wi-Fi network module of the electronic device, and accessing a Wi-Fi transmission link through the Wi-Fi network module to establish a second transmission link.
  • the instructions in the program are also used to perform the following operations: after the second transmission link is enabled, determine the second transmission link's performance according to a preset link quality scoring strategy Quality score; when the quality score is less than or equal to the preset score, the data transmitted by the second transmission link is switched to the first transmission link for transmission.
  • the first transmission link is a Wi-Fi link of a Wi-Fi hotspot enabled by the first router; in terms of enabling the second transmission link, the one or more programs 521 Including instructions for performing the following steps: determining the quality score of the first transmission link according to a preset link quality scoring strategy; when the quality score is less than or equal to the preset score, the The data transmitted by a transmission link is switched to the second transmission link for transmission.
  • the one or more programs 521 include steps for performing the following Of instructions: dividing the data of the target application into first data and second data; acquiring the first link identifier of the first transmission link and the second link identifier of the second transmission link; using the The first link identifier marks the first data, the second link identifier is used to mark the second data; the first data is transmitted through the first transmission link, and the second data is transmitted through the second The transmission link transmits the second data.
  • the one or more programs 521 include steps for performing the following Instructions: acquiring the broadband demand value of the target application; dividing the data according to the broadband demand value to obtain first data and second data; acquiring the first link identifier of the first transmission link and the first Second link identifier of two transmission links; use the first link identifier to mark the first data, use the second link identifier to mark the second data; transmit through the first transmission link The first data, and the second data is transmitted through the second transmission link.
  • the electronic device includes a hardware structure and/or a software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driven hardware depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
  • the embodiments of the present application may divide the functional unit of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions, and there may be other division manners in actual implementation.
  • FIG. 6 is a block diagram of the functional units of the data transmission device 600 involved in the embodiment of the present application.
  • the data transmission device 600 is applied to electronic equipment, including a processing unit 601 and a communication unit 602, where,
  • the processing unit 601 determines that data of a target application is transmitted through the first transmission link, the target application includes a game application; detects a round-trip delay RTT of the first transmission link; when it is detected that the RTT is greater than or equal to When the RTT is preset, the second transmission link is enabled; the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the data transmission device 600 may further include a storage unit 603 for storing program codes and data of electronic devices.
  • the processing unit 601 may be a processor
  • the communication unit 602 may be a touch screen or a transceiver
  • the storage unit 603 may be a memory.
  • the electronic device of the embodiment of the present application when the electronic device determines to transmit the data of the target application through the first transmission link, the target application includes the game application; then, the round-trip delay RTT of the first transmission link is detected; When it is detected that the RTT is greater than or equal to the preset RTT, the second transmission link is enabled; finally, the data of the target application is shunted and transmitted through the first transmission link and the second transmission link.
  • the electronic device of the embodiment of the present application can control the electronic device to enable other transmission links according to the network delay of the current transmission link for the application data transmission, and shunt the transmission of the application data. Compared with the traditional data transmission method, It can avoid the application from being stuck due to poor network quality during the running process, improve the transmission efficiency and stability of application data, and then improve the user experience.
  • the first transmission link is a Wi-Fi link of a first Wi-Fi hotspot enabled by a first router, and the first router supports a dual hotspot function; when the second transmission is enabled
  • the processing unit 601 is specifically configured to send a request message for enabling a second Wi-Fi hotspot to the first router; receive a hotspot start notification message from the first router, and access the second Wi-Fi -Fi hotspot to establish a second transmission link.
  • the processing unit 601 is further configured to: after the second transmission link is enabled, determine a first quality score of the first transmission link according to a preset link quality scoring strategy And a second quality score of the second transmission link;
  • the data transmitted by the second transmission link is switched to the first transmission link Perform transmission, or, when the first quality score is less than or equal to the preset score and the second quality score is greater than the preset score, switch the data transmitted by the first transmission link to the Transmit on the second transmission link; when both the first quality score and the second quality score are less than or equal to the preset score, enable the cellular network module of the electronic device and establish a third with the mobile network side
  • the transmission link switches the data transmitted by the first transmission link and the second transmission link to the third transmission link for transmission.
  • the first transmission link is a Wi-Fi link of a Wi-Fi hotspot enabled by the first router; in terms of enabling the second transmission link, the processing unit 601 is specifically configured to : Enable the Wi-Fi network module of the electronic device, and access a Wi-Fi transmission link through the Wi-Fi network module to establish a second transmission link.
  • the processing unit 601 is further configured to: after the second transmission link is enabled, determine a quality score of the second transmission link according to a preset link quality scoring strategy; When the quality score is less than or equal to the preset score, the data transmitted by the second transmission link is switched to the first transmission link for transmission.
  • the first transmission link is a Wi-Fi link of a Wi-Fi hotspot enabled by the first router; in terms of enabling the second transmission link, the processing unit 601 is specifically configured to : Activate the cellular network module of the electronic device and establish a second transmission link with the mobile network side.
  • the processing unit 601 is specifically configured to: divide the target application Is the first data and the second data; acquiring the first link identifier of the first transmission link and the second link identifier of the second transmission link; using the first link identifier to mark The first data, marking the second data with the second link identifier; transmitting the first data through the first transmission link, and transmitting the second data through the second transmission link.
  • the processing unit 601 is specifically configured to: obtain the target application Broadband demand value; divide the data according to the broadband demand value to obtain first data and second data; obtain the first link identifier of the first transmission link and the second link of the second transmission link Road identification; using the first link identification to mark the first data, using the second link identification to mark the second data; transmitting the first data through the first transmission link, and, The second data is transmitted through the second transmission link.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments ,
  • the above computer includes electronic equipment.
  • Embodiments of the present application also provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to perform any of the methods described in the foregoing method embodiments Some or all steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the above-mentioned units is only a division of logical functions.
  • there may be other division methods for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software function unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
  • the technical solution of the present application may essentially be a part that contributes to the prior art or all or part of the technical solution may be embodied in the form of a software product, and the computer software product is stored in a memory,
  • Several instructions are included to enable a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the aforementioned memory includes various media that can store program codes, such as U disk, read-only memory (ROM, ReaP-Only Memory), random access memory (RAM, RanPom Access Memory), mobile hard disk, magnetic disk, or optical disk.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-only memory (English: ReaP-Only Memory, referred to as: ROM), random access device (English: RanPom Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
  • ROM Read-only memory
  • RAM Random access device
  • magnetic disk or optical disk etc.

Landscapes

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

Abstract

本申请实施例公开了数据传输方法及相关装置,方法包括:电子设备确定通过第一传输链路传输目标应用的数据,目标应用包括游戏应用;检测第一传输链路的往返延时RTT;在检测到RTT大于或者等于预设RTT时,启用第二传输链路;通过第一传输链路和第二传输链路分流传输目标应用的数据。本申请实施例有利于提高电子设备数据传输的效率和稳定性。

Description

数据传输方法及相关装置 技术领域
本申请涉及电子设备技术领域,具体涉及一种数据传输方法及相关装置。
背景技术
生活中,一个电子设备在同一时段往往会运行多个应用的程序,现有技术中,用户使用应用时,传输应用数据的网络的信号差的情况下,容易出现卡顿,降低了用户的体验度。
发明内容
本申请实施例提供了一种数据传输方法及相关装置,以期提高数据传输的效率和稳定性,进而提升用户体验度。
第一方面,本申请实施例提供一种数据传输方法,应用于电子设备,所述方法包括:
确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;
检测所述第一传输链路的往返延时RTT;
在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;
通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
第二方面,本申请实施例提供一种数据传输装置,应用于电子设备,所述数据传输装置包括处理单元和通信单元,其中,所述处理单元,确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用,通过所述通信单元传递目标应用的数据信号,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,本申请实施例中,当电子设备确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;然后,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;最后,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。可见,本申请实施例的电子设备针对应用的数据传输,能够根据当前传输链路的网络时延,控制电子设备启用其他传输链路,并分流传输应用的数据,相对于传统的数据传输方法,能够避免应用在运行的过程中因网络质量差而卡顿,提高应用数据的传输效率与稳定性,进而提升用户体验度。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技 术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种电子设备所处无线通信系统的示例系统架构图;
图2是本申请实施例提供的一种数据传输方法的流程示意图;
图2a是本申请实施例提供的一种RSSI与第一质量扣分之间的关系对应图;
图2b是本申请实施例提供的一种PLR与第二质量扣分之间的关系对应图;
图2c是本申请实施例提供的一种RTT与第三质量扣分之间的关系对应图;
图2d是本申请实施例提供的一种Wi-Fi链路的质量分数与链路质量之间的关系对应图;
图3是本申请实施例提供的另一种数据传输方法的流程示意图;
图4是本申请实施例提供的另一种数据传输方法的流程示意图;
图5是本申请实施例提供的一种电子设备的结构示意图;
图6是本申请实施例提供的一种数据传输装置的功能单元组成框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本申请实施例所涉及到的电子设备可以是具备指纹识别能力的电子设备,该电子设备可以包括各种具有指纹识别功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),电子设备(Terminal Device,TD)等等。
链路聚合,是指使设备可以同时使用两个或者两个以上的网口进行上网,比如,在手机上通过链路聚合,同时使用无线传输系统(Wireless Fidelity,Wi-Fi)和移动网络进行网络访问。android网络系统,在Wi-Fi被使用的时候,会导致移动网络不可使用(ConnectivityService网络评分机制导致数据网络断开),而链路聚合至少需要两个或两个以上的可用网络,所以服务等级协议(Service-Level Agreement,SLA)的前提条件就是要使Wi-Fi和移动网络共存。
如图1所示,目前,电子设备101可以连接移动网络103,移动网络是用来传输数据业务的通信网;可以连接Wi-Fi热点102,Wi-Fi热点102允许电子设备接入一个无线局域网,通常使用2.4G UHF或5G SHF ISM射频频段等。
本申请实施例提出一种数据传输方法,下面结合附图对本申请实施例进行详细介绍。
请参阅图2,图2是本申请实施例提供了一种数据传输方法的流程示意图,应用于电 子设备,如图2所示,本数据传输方法包括:
S201,电子设备确定通过第一传输链路传输目标应用的数据。
其中,所述电子设备可以是移动通信设备,如智能手机、平板电脑,等等,所述第一传输链路为当前传输目标应用数据的唯一传输链路,可以是与移动网络侧建立的传输链路,也可以是Wi-Fi传输链路,所述目标应用可以是游戏应用,如王者荣耀、英雄联盟,也可以是通信应用,还可以是购票应用,不作具体限定。
其中,电子设备确定通过第一传输链路传输目标应用的数据的具体方式可以是:电子设备获取通过第一传输链路的数据,从所述数据中解析得到数据对应的应用标识,将该应用标识与预设的应用标识进行匹配,在匹配成功的情况下,则确定该通过第一传输链路传输数据为目标应用的数据,该过程也即是确定目标应用正在运行的过程。
S202,所述电子设备检测所述第一传输链路的往返延时RTT。
所述电子设备检测所述第一传输链路的往返延时(Round-Trip Time,RTT)可以是采用主动测量的方式,也可以采用被动测量的方式,具体实现中,可以是电子设备将探测包注入到所述第一传输链路中,该探测包记录了在所述第一传输链路中的传递情况,电子设备通过解析探测包来获取网络性能数据,得到所述第一传输链路的RTT。也可以是电子设备使用监测设备或工具,通过捕获所述第一传输链路所传递的数据包来分析网络特性,得到所述第一传输链路的RTT。
S203,在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路。
其中,该第二传输链路是该电子设备能够启用的,但当前处于未启用状态的传输链路,该第二传输链路可以是与移动网络侧建立的传输链路,也可以是Wi-Fi传输链路,对此不作限定。
其中,预设RTT为不会造成应用的显示界面卡顿的时延。
具体实现中,例如,预设RTT可以为200ms,所述电子设备可以根据预设的周期检测传输当前应用数据的传输链路的RTT,当传输链路的RTT大于或者等于200ms时,就启用第二传输链路。
S204,所述电子设备通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
其中,所述电子设备通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据可以是:通过预设分流策略,将不同种类或者不同大小的数据分流到不同的传输链路进行传输。具体实现中,可以是电子设备对目标应用的不同的数据进行处理后,将原本通过第一传输链路进行传输的数据中的部分数据分流到第二传输链路进行传输,不作限定。
可以看出,本申请实施例中,当电子设备确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;然后,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;最后,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。可见,本申请实施例的电子设备针对应用的数据传输,能够根据当前传输链路的网络时延,控制电子设备启用其他传输链路,并分流传输应用的数据,相对于传统的数据传输方法,能够避免应用在运行的过程中因网络质量差而卡顿,提高应用数据的传输效率与稳定性,进而提升用户体验度。
在一个可能的示例中,所述第一传输链路为第一路由器启用的第一Wi-Fi热点的Wi-Fi链路,所述第一路由器支持双热点功能;所述启用第二传输链路,包括:向所述第一路由器发送启用第二Wi-Fi热点的请求消息;接收来自所述第一路由器的热点开启通知消息,接入所述第二Wi-Fi热点以建立第二传输链路。
其中,热点开启通知消息可以第二Wi-Fi热点的预连接信息,包括所述第二Wi-Fi热点的名称以及密码输入信息,热点开启通知消息也可以第二Wi-Fi热点的连接信息,包括所述第二Wi-Fi热点的名称以及连接状态信息,所述接入所述第二Wi-Fi热点以建立第二传输链路可以是在检测到用户输入正确连接密码的情况下接入该第二Wi-Fi热点以建立第二传输链路,也可以是在获取到历史热点连接记录后,根据历史热点连接记录自动接入该第二Wi-Fi热点以建立第二传输链路,在此不作限定。
可见,本示例中,电子设备能够在当前连接的链路为Wi-Fi链路时,接入所述其他Wi-Fi热点以建立其他传输链路,将将应用的数据通过不同的Wi-Fi链路进行分流传输,提高数据传输的灵活性与智能性。
在一个可能的示例中,所述启用第二传输链路之后,所述方法还包括:根据预设的链路质量打分策略,确定所述第一传输链路的第一质量分数和所述第二传输链路的第二质量分数;当所述第一质量分数大于所述预设分数,所述第二质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输,或者,当所述第一质量分数小于或者等于所述预设分数,所述第二质量分数大于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输;当所述第一质量分数与所述第二质量分数均小于或者等于所述预设分数,启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第三传输链路,将所述第一传输链路以及所述第二传输链路传输的数据切换到所述第三传输链路进行传输。
其中,当所述第一、第二质量分数均大于所述预设分数时,对所述第一传输链路与所述第二传输链路不作任何链路切换处理,即通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
举例来说,预设分数为50分,当第一Wi-Fi热点传输链路的质量分数为60分,第二Wi-Fi热点传输链路的质量分数为50分,将第二Wi-Fi热点传输链路传输的数据切换到所述第一Wi-Fi热点传输链路进行传输,当第一、第二Wi-Fi热点传输链路的质量分数均为50,则启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第三传输链路,将第一、第二Wi-Fi热点传输链路传输的数据切换到所述第三传输链路进行传输,等等。
其中,链路质量打分策略具体可以是:获取待测Wi-Fi传输链路的接收的信号强度指示(Received Signal Strength Indication,RSSI),根据所述RSSI得到该传输链路的第一质量扣分;获取该传输链路的链路层丢包率(Packet Loss Rate,PLR),根据所述PLR得到所述传输链路的第二质量扣分;获取该传输链路的RTT,根据所述RTT得到所述传输链路的第三质量扣分;根据所述第一、第二以及第三质量扣分得到所述Wi-Fi传输链路的质量分数,其中,获取待测传输链路的RSSI、PLR、RTT可同时进行,也可以先后进行,但没有特定的先后顺序,其中,质量扣分为Wi-Fi传输链路被扣的质量分数。
其中,如图2a所示,图2a为一种RSSI与第一质量扣分之间的关系对应图,当RSSI小于或者等于-85db,第一质量扣分为30,当RSSI大于-85db且小于或者等于-75db,第一质量扣分为20,当RSSI大于-75db且小于或者等于-65db,第一质量扣分为10。如图2b所示,图2b为一种PLR与第二质量扣分之间的关系对应图,当PLR大于或者等于0.75,第二质量扣分为30,当PLR大于或者等于0.5且小于0.75,第二质量扣分为20,PLR大于或者等于0.25且小于0.5,第二质量扣分为10,其中,PLR的计算方式可以PLR=(sum-z)/sum,sum表示Wi-Fi链路在一段时间内总共发包数,z成功发包数;如图2c所示,图2c为一种RTT与第三质量扣分之间的关系对应图,当RTT大于或者等于250ms,第三质量扣分为30,当RTT大于或者等于200ms且小于250ms,第三质量扣分为20,当RTT大于或者等于150ms且小于200ms,第三质量扣分为10分,所述待测Wi-Fi传输链路的质量分数 与所述第一质量扣分、第二质量扣分以及第三质量扣分的对应关系为:Y=100-X1-X2-X3,Y为Wi-Fi传输链路的质量分数,100为Wi-Fi质量分数默认分数,X1为第一质量扣分,X2为第二质量扣分,X3为第三质量扣分。其中,Wi-Fi链路的质量分数可以是根据预设周期获取,比如,每3s重新获取一次。
进一步的,可以根据Wi-Fi传输链路的质量分数确定Wi-Fi链路质量,如图2d所示,图2d为一种Wi-Fi链路的质量分数score与链路质量之间的关系对应图,当score大于50且小于或者等于60时,Wi-Fi链路质量差,当score大于40且小于或者等于50时,Wi-Fi链路质量比较差,当score小于或者等于40时,Wi-Fi链路质量非常差,进而,还可以根据质量分数做传输链路切换操作。
可见,本示例中,电子设备能够根据针对Wi-Fi传输链路,通过质量分数来确定其Wi-Fi链路质量,进而可以根据Wi-Fi质量分数做一些分流策略,使数据传输方式更加多元化。
在一个可能的示例中,所述第一传输链路为与移动网络侧建立的传输链路;所述启用第二传输链路,包括:启用所述电子设备的Wi-Fi网络模块,并通过所述Wi-Fi网络模块接入一个Wi-Fi传输链路以建立第二传输链路。
可见,本示例中,电子设备能够根据在当前连接的链路为移动网络链路,接入Wi-Fi热点以建立其他传输链路,将将应用的数据通过移动网络对应的网络链路以及Wi-Fi链路进行分流传输,让数据传输更加具有灵活多变。
在一个可能的示例中,所述启用第二传输链路之后,所述方法还包括:根据预设的链路质量打分策略,确定所述第二传输链路的质量分数;当所述质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输。
其中,当所述质量分数大于所述预设分数时,对所述第一传输链路与所述第二传输链路不作任何链路切换处理,即通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
举例来说,当预设分数为60时,在Wi-Fi传输链路的质量分数为50分时,则将Wi-Fi传输链路传输的数据切换到与移动网络侧建立的传输链路进行传输。
在一个可能的示例中,所述第一传输链路为第一路由器启用的Wi-Fi热点的Wi-Fi链路;所述启用第二传输链路,包括:启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第二传输链路。
举例来说,当预设分数为70时,在Wi-Fi传输链路的质量分数为60分时,则将Wi-Fi传输链路传输的数据切换到与移动网络侧建立的传输链路进行传输。
在一个可能的示例中,所述启用第二传输链路之后,所述方法还包括:根据预设的链路质量打分策略,确定所述第一传输链路的质量分数;当所述质量分数小于或者等于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输。
其中,当所述质量分数大于所述预设分数时,对所述第一传输链路与所述第二传输链路不作任何链路切换处理,即通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
在一个可能的示例中,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据,包括:划分所述目标应用的数据为第一数据和第二数据;获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
其中,所述第一链路标识与所述第一传输链路具有唯一对应关系,所述第二链路标识 与所述第二传输链路具有唯一对应关系,最终,第一数据只能通过第一传输链路进行传输,即是第二数据只能通过第一传输链路进行传输。划分所述目标应用的数据为第一数据和第二数据可以是根据目标应用的数据的种类划分数据,例如,视频数据划分为第一数据,将语音数据、图片文字数据划分为第二数据,不作具体限定。
举例来说,游戏应用对应视频数据,语音数据,图片文字数据等,其中,将视频数据用第一链路标识标记,语音数据流,图片文字数据流等数据流用第二链路标识标记,最终,该游戏应用的视频数据通过第一传输链路进行传输,语音数据、图片文字数据通过第二传输链路进行传输。
可见,本示例中,电子设备能够根据传输的应用数据的种类,实现数据的分流传输,提升了数据传输的流畅性。
在一个可能的示例中,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据,包括:获取所述目标应用的宽带需求值;根据所述宽带需求值划分所述数据得到第一数据和第二数据;获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
一般而言,应用的宽带需求越大,其分配的传输链路的容量越大,才能保证该应用对应的数据能够快速成功的传输,不同的应用的宽带需求不同,不同的传输链路用来传输数据的通道对数据的容量不同,当应用的数据越大,宽带需求越大,也即是,其所需要的传输链路的容量越大,应当分配的传输链路的容量越大,因此,进一步的,在实际应用中,可以具体根据应用宽带需求结合传输链路的容量为相应的数据分配传输链路。
举例来说,当应用的宽带需求大于所述第一传输链路和所述第二传输链路的容量时,将应用数据划分所述数据得到第一数据和第二数据,最终通过第一传输链路传输第一数据,通过第二传输链路传输第二数据,以实现应用数据的成功传输。
可见,本示例中,电子设备对可以根据不同的应用的宽带需求分配不同的传输链路进行数据流的传输,提高数据传输的传输速度。
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种数据传输方法的流程示意图,应用于如图1所述的电子设备,如图所示,本数据传输方法包括:
S301,电子设备确定通过第一传输链路传输目标应用的数据。
S302,所述电子设备检测所述第一传输链路的往返延时RTT。
S303,在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路。
S304,所述电子设备根据预设的链路质量打分策略,确定所述第一传输链路的第一质量分数和/或所述第二传输链路的第二质量分数。
S305,所述电子设备根据所述第一质量分数和/或第二质量分数切换传输链路进行数据传输。
可以看出,本申请实施例中,当电子设备确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;然后,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;最后,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。可见,本申请实施例的电子设备针对应用的数据传输,能够根据当前传输链路的网络时延,控制电子设备启用其他传输链路,并分流传输应用的数据,相对于传统的数据传输方法,能够避免应用在运行的过程中因网络质量差而卡顿,提高应用数据的传输效率与稳定性,进而提升用户体验度。
此外,电子设备能够根据针对Wi-Fi传输链路,通过质量分数来确定其Wi-Fi链路质量,进而可以根据Wi-Fi质量分数做一些分流策略,使数据传输更加多元化。
与上述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种数据传输方法的流程示意图,应用于如图1所述的电子设备,如图所示,本数据传输方法包括:
S401,电子设备确定通过第一传输链路传输目标应用的数据。
S402,所述电子设备检测所述第一传输链路的往返延时RTT。
S403,在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路。
S404,所述电子设备划分所述目标应用的数据为第一数据和第二数据。
S405,所述电子设备获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识。
S406,所述电子设备使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据。
S407,所述电子设备通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
可以看出,本申请实施例中,当电子设备确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;然后,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;最后,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。可见,本申请实施例的电子设备针对应用的数据传输,能够根据当前传输链路的网络时延,控制电子设备启用其他传输链路,并分流传输应用的数据,相对于传统的数据传输方法,能够避免应用在运行的过程中因网络质量差而卡顿,提高应用数据的传输效率与稳定性,进而提升用户体验度。
此外,电子设备能够根据传输的应用数据的种类,实现数据的分流传输,提升了数据传输的流畅性。
与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,如图所示,所述电子设备500包括应用处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在上述存储器520中,并且被配置由上述应用处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令;确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
可以看出,本申请实施例中,当电子设备确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;然后,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;最后,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。可见,本申请实施例的电子设备针对应用的数据传输,能够根据当前传输链路的网络时延,控制电子设备启用其他传输链路,并分流传输应用的数据,相对于传统的数据传输方法,能够避免应用在运行的过程中因网络质量差而卡顿,提高应用数据的传输效率与稳定性,进而提升用户体验度。
在一个可能的示例中,所述第一传输链路为第一路由器启用的第一Wi-Fi热点的Wi-Fi链路,所述第一路由器支持双热点功能;在所述启用第二传输链路方面,所述程序中的指令具体用于执行以下操作:向所述第一路由器发送启用第二Wi-Fi热点的请求消息;以及 接收来自所述第一路由器的热点开启通知消息,接入所述第二Wi-Fi热点以建立第二传输链路。
在一个可能的示例中,所述第一传输链路为与移动网络侧建立的传输链路;在所述启用第二传输链路方面,所述程序中的指令具体用于执行以下操作:启用所述电子设备的Wi-Fi网络模块,并通过所述Wi-Fi网络模块接入一个Wi-Fi传输链路以建立第二传输链路。
在一个可能的示例中,所述程序中的指令还用于执行以下操作:在所述启用第二传输链路之后,根据预设的链路质量打分策略,确定所述第一传输链路的第一质量分数和所述第二传输链路的第二质量分数;当所述第一质量分数大于所述预设分数,所述第二质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输,或者,当所述第一质量分数小于或者等于所述预设分数,所述第二质量分数大于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输;当所述第一质量分数与所述第二质量分数均小于或者等于所述预设分数,启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第三传输链路,将所述第一传输链路以及所述第二传输链路传输的数据切换到所述第三传输链路进行传输。
在一个可能的示例中,所述第一传输链路为与移动网络侧建立的传输链路;在所述启用第二传输链路方面,所述程序中的指令具体用于执行以下操作:启用所述电子设备的Wi-Fi网络模块,并通过所述Wi-Fi网络模块接入一个Wi-Fi传输链路以建立第二传输链路。
在一个可能的示例中,所述程序中的指令还用于执行以下操作:在所述启用第二传输链路之后,根据预设的链路质量打分策略,确定所述第二传输链路的质量分数;当所述质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输。
在一个可能的示例中,所述第一传输链路为第一路由器启用的Wi-Fi热点的Wi-Fi链路;在所述启用第二传输链路方面,所述一个或多个程序521包括用于执行以下步骤的指令:根据预设的链路质量打分策略,确定所述第一传输链路的质量分数;当所述质量分数小于或者等于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输。
在一个可能的示例中,在所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据方面,所述一个或多个程序521包括用于执行以下步骤的指令:划分所述目标应用的数据为第一数据和第二数据;获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
在一个可能的示例中,在所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据方面,所述一个或多个程序521包括用于执行以下步骤的指令:获取所述目标应用的宽带需求值;根据所述宽带需求值划分所述数据得到第一数据和第二数据;获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技 术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图6是本申请实施例中所涉及的数据传输装置600的功能单元组成框图。该数据传输装置600应用于电子设备,包括处理单元601和通信单元602,其中,
所述处理单元601,确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
其中,所述数据传输装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。
可以看出,本申请实施例中,当电子设备确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;然后,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;最后,通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。可见,本申请实施例的电子设备针对应用的数据传输,能够根据当前传输链路的网络时延,控制电子设备启用其他传输链路,并分流传输应用的数据,相对于传统的数据传输方法,能够避免应用在运行的过程中因网络质量差而卡顿,提高应用数据的传输效率与稳定性,进而提升用户体验度。
在一个可能的示例中,所述第一传输链路为第一路由器启用的第一Wi-Fi热点的Wi-Fi链路,所述第一路由器支持双热点功能;在所述启用第二传输链路方面,所述处理单元601具体用于向所述第一路由器发送启用第二Wi-Fi热点的请求消息;接收来自所述第一路由器的热点开启通知消息,接入所述第二Wi-Fi热点以建立第二传输链路。
在一个可能的示例中,所述处理单元601还用于:在所述启用第二传输链路之后,根据预设的链路质量打分策略,确定所述第一传输链路的第一质量分数和所述第二传输链路的第二质量分数;
当所述第一质量分数大于所述预设分数,所述第二质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输,或者,当所述第一质量分数小于或者等于所述预设分数,所述第二质量分数大于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输;当所述第一质量分数与所述第二质量分数均小于或者等于所述预设分数,启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第三传输链路,将所述第一传输链路以及所述第二传输链路传输的数据切换到所述第三传输链路进行传输。
在一个可能的示例中,所述第一传输链路为第一路由器启用的Wi-Fi热点的Wi-Fi链路;在所述启用第二传输链路方面,所述处理单元601具体用于:启用所述电子设备的Wi-Fi网络模块,并通过所述Wi-Fi网络模块接入一个Wi-Fi传输链路以建立第二传输链路。
在一个可能的示例中,所述处理单元601还用于:在所述启用第二传输链路之后,根据预设的链路质量打分策略,确定所述第二传输链路的质量分数;当所述质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传 输。
在一个可能的示例中,所述第一传输链路为第一路由器启用的Wi-Fi热点的Wi-Fi链路;在所述启用第二传输链路方面,所述处理单元601具体用于:启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第二传输链路。
在一个可能的示例中,在所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据方面,所述处理单元601具体用于:划分所述目标应用的数据为第一数据和第二数据;获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
在一个可能的示例中,在所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据方面,所述处理单元601具体用于:获取所述目标应用的宽带需求值;根据所述宽带需求值划分所述数据得到第一数据和第二数据;获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说 对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,ReaP-Only Memory)、随机存取存储器(RAM,RanPom Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:ReaP-Only Memory,简称:ROM)、随机存取器(英文:RanPom Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种数据传输方法,其特征在于,应用于电子设备,所述方法包括:
    确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用;
    检测所述第一传输链路的往返延时RTT;
    在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;
    通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
  2. 根据权利要求1所述的方法,其特征在于,所述第一传输链路为第一路由器启用的第一Wi-Fi热点的Wi-Fi链路,所述第一路由器支持双热点功能;所述启用第二传输链路,包括:
    向所述第一路由器发送启用第二Wi-Fi热点的请求消息;
    接收来自所述第一路由器的热点开启通知消息,接入所述第二Wi-Fi热点以建立第二传输链路。
  3. 根据权利要求2所述的方法,其特征在于,所述启用第二传输链路之后,所述方法还包括:
    根据预设的链路质量打分策略,确定所述第一传输链路的第一质量分数和所述第二传输链路的第二质量分数;
    当所述第一质量分数大于所述预设分数,所述第二质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输,或者,当所述第一质量分数小于或者等于所述预设分数,所述第二质量分数大于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输;
    当所述第一质量分数与所述第二质量分数均小于或者等于所述预设分数,启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第三传输链路,将所述第一传输链路以及所述第二传输链路传输的数据切换到所述第三传输链路进行传输。
  4. 根据权利要求1所述的方法,其特征在于,所述第一传输链路为与移动网络侧建立的传输链路;所述启用第二传输链路,包括:
    启用所述电子设备的Wi-Fi网络模块,并通过所述Wi-Fi网络模块接入一个Wi-Fi传输链路以建立第二传输链路。
  5. 根据权利要求4所述的方法,其特征在于,所述启用第二传输链路之后,所述方法还包括:
    根据预设的链路质量打分策略,确定所述第二传输链路的质量分数;
    当所述质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输。
  6. 根据权利要求1所述的方法,其特征在于,所述第一传输链路为第一路由器启用的Wi-Fi热点的Wi-Fi链路;所述启用第二传输链路,包括:
    启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第二传输链路。
  7. 根据权利要求6所述的方法,其特征在于,所述启用第二传输链路之后,所述方法还包括:
    根据预设的链路质量打分策略,确定所述第一传输链路的质量分数;
    当所述质量分数小于或者等于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据,包括:
    划分所述目标应用的数据为第一数据和第二数据;
    获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;
    使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;
    通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
  9. 根据权利要求1-7任一项所述的方法,其特征在于,所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据,包括:
    获取所述目标应用的宽带需求值;
    根据所述宽带需求值划分所述数据得到第一数据和第二数据;
    获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;
    使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;
    通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
  10. 一种数据传输装置,其特征在于,应用于电子设备,所述数据传输装置包括处理单元和通信单元,其中,
    所述处理单元,确定通过第一传输链路传输目标应用的数据,所述目标应用包括游戏应用,通过所述通信单元传递目标应用的数据信号,检测所述第一传输链路的往返延时RTT;在检测到所述RTT大于或者等于预设RTT时,启用第二传输链路;通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据。
  11. 根据权利要求10所述的装置,其特征在于,所述第一传输链路为第一路由器启用的第一Wi-Fi热点的Wi-Fi链路,所述第一路由器支持双热点功能;在所述启用第二传输链路方面,所述处理单元具体用于:通过所述通信单元向所述第一路由器发送启用第二Wi-Fi热点的请求消息;以及通过所述通信单元接收来自所述第一路由器的热点开启通知消息,接入所述第二Wi-Fi热点以建立第二传输链路。
  12. 根据权利要求11所述的装置,其特征在于,所述处理单元启用第二传输链路之后,还用于:根据预设的链路质量打分策略,确定所述第一传输链路的第一质量分数和所述第二传输链路的第二质量分数;以及当所述第一质量分数大于所述预设分数,所述第二质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输,或者,当所述第一质量分数小于或者等于所述预设分数,所述第二质量分数大于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输;以及当所述第一质量分数与所述第二质量分数均小于或者等于所述预设分数,启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第三传输链路,将所述第一传输链路以及所述第二传输链路传输的数据切换到所述第三传输链路进行传输。
  13. 根据权利要求10所述的装置,其特征在于,所述第一传输链路为与移动网络侧建立的传输链路;在所述启用第二传输链路方面,所述处理单元具体用于:启用所述电子设备的Wi-Fi网络模块,并通过所述Wi-Fi网络模块接入一个Wi-Fi传输链路以建立第二传输链路。
  14. 根据权利要求13所述的装置,其特征在于,所述处理单元启用第二传输链路之后,还用于:根据预设的链路质量打分策略,确定所述第二传输链路的质量分数;以及当所述质量分数小于或者等于所述预设分数时,将所述第二传输链路传输的数据切换到所述第一传输链路进行传输。
  15. 根据权利要求10所述的装置,其特征在于,所述第一传输链路为第一路由器启用的Wi-Fi热点的Wi-Fi链路;在所述启用第二传输链路方面,所述处理单元具体用于:启用所述电子设备的蜂窝网络模块,并与移动网络侧建立第二传输链路。
  16. 根据权利要求15所述的装置,其特征在于,所述处理单元启用第二传输链路之后,还用于:根据预设的链路质量打分策略,确定所述第一传输链路的质量分数;以及当所述质量分数小于或者等于所述预设分数时,将所述第一传输链路传输的数据切换到所述第二传输链路进行传输。
  17. 根据权利要求10-16任一项所述的装置,其特征在于,在所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据方面,所述处理单元具体用于:划分所述目标应用的数据为第一数据和第二数据;以及获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;以及使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;以及通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
  18. 根据权利要求10-16任一项所述的装置,其特征在于,在所述通过所述第一传输链路和所述第二传输链路分流传输所述目标应用的数据方面,所述处理单元具体用于:获取所述目标应用的宽带需求值;以及根据所述宽带需求值划分所述数据得到第一数据和第二数据;以及获取所述第一传输链路的第一链路标识和所述第二传输链路的第二链路标识;以及使用所述第一链路标识标记所述第一数据,使用所述第二链路标识标记所述第二数据;以及通过所述第一传输链路传输所述第一数据,以及,通过所述第二传输链路传输第二数据。
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2019/119471 2018-12-25 2019-11-19 数据传输方法及相关装置 WO2020134721A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811592032.X 2018-12-25
CN201811592032.XA CN109587719A (zh) 2018-12-25 2018-12-25 数据传输方法及相关装置

Publications (1)

Publication Number Publication Date
WO2020134721A1 true WO2020134721A1 (zh) 2020-07-02

Family

ID=65932558

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/119471 WO2020134721A1 (zh) 2018-12-25 2019-11-19 数据传输方法及相关装置

Country Status (2)

Country Link
CN (1) CN109587719A (zh)
WO (1) WO2020134721A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587719A (zh) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN110049505B (zh) * 2019-04-08 2021-08-24 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN110290544A (zh) * 2019-05-24 2019-09-27 菜鸟智能物流控股有限公司 数据传输装置和方法以及电子设备
CN112153094B (zh) * 2019-06-28 2024-03-19 Oppo广东移动通信有限公司 电子设备之间的数据传输控制方法和装置
WO2021128251A1 (zh) * 2019-12-27 2021-07-01 拉克诺德(深圳)科技有限公司 基于多通道的终端数据无线传输方法、装置、设备及介质
CN113840313B (zh) * 2020-06-24 2024-02-06 深圳市万普拉斯科技有限公司 移动终端的网络模式控制方法、装置和计算机设备
CN112291816B (zh) * 2020-11-13 2023-03-24 Oppo广东移动通信有限公司 数据传输方法、装置、存储介质及电子设备
CN112888055B (zh) * 2021-02-02 2023-08-22 维沃移动通信有限公司 Wi-Fi上行数据发送方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2890066A2 (en) * 2013-12-26 2015-07-01 Sony Corporation Electronic device and coordination device and method for implementing coordinated transmission between the same
CN109041262A (zh) * 2018-08-23 2018-12-18 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN109067571A (zh) * 2018-07-24 2018-12-21 Oppo广东移动通信有限公司 电子装置及其网络配置方法、存储介质
CN109587719A (zh) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 数据传输方法及相关装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578528A (zh) * 2016-01-08 2016-05-11 努比亚技术有限公司 数据接口分流方法、装置及终端设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2890066A2 (en) * 2013-12-26 2015-07-01 Sony Corporation Electronic device and coordination device and method for implementing coordinated transmission between the same
CN109067571A (zh) * 2018-07-24 2018-12-21 Oppo广东移动通信有限公司 电子装置及其网络配置方法、存储介质
CN109041262A (zh) * 2018-08-23 2018-12-18 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN109587719A (zh) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 数据传输方法及相关装置

Also Published As

Publication number Publication date
CN109587719A (zh) 2019-04-05

Similar Documents

Publication Publication Date Title
WO2020134721A1 (zh) 数据传输方法及相关装置
WO2020147627A1 (zh) 链路选取方法及相关装置
WO2020164520A1 (zh) 数据包分流方法、装置、移动终端及存储介质
CN109362097B (zh) 传输控制方法及相关装置
CN109041262B (zh) 数据传输方法及相关装置
WO2020207229A1 (zh) 数据传输方法及相关装置
WO2020143680A1 (zh) 数据传输方法及相关装置
US11711711B2 (en) Method for configuring measurement gap, access network device and terminal
CN109495880B (zh) 数据传输方法及相关装置
JP6529186B2 (ja) データ送信方法および端末
WO2020125202A1 (zh) 数据传输方法及相关装置
CN109274596B (zh) 数据传输方法及相关装置
CN109120524B (zh) 链路聚合方法及相关设备
US11546800B2 (en) Data processing method and terminal
WO2020078199A1 (zh) 链路连接方法及相关装置
WO2020164351A1 (zh) 链路连接方法及相关装置
WO2020164521A1 (zh) 数据包分配方法、装置、移动终端及存储介质
US11252610B2 (en) Method and apparatus for remapping QoS flow, and computer storage medium
WO2020048355A1 (zh) 用户界面ui显示控制方法及装置
CN109392018B (zh) 数据传输方法及相关装置
CN109451596B (zh) 数据传输方法及相关装置
WO2019140650A1 (zh) 一种终端上报信息的方法及装置、计算机存储介质
WO2017181648A1 (zh) 一种网络切换方法、装置和终端、存储介质
CN111510263A (zh) 一种重映射方法、终端和网络侧设备
US12010747B2 (en) Method for link connection, electronic device and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1