WO2020098410A1 - Transmission control method and related apparatus - Google Patents

Transmission control method and related apparatus Download PDF

Info

Publication number
WO2020098410A1
WO2020098410A1 PCT/CN2019/109445 CN2019109445W WO2020098410A1 WO 2020098410 A1 WO2020098410 A1 WO 2020098410A1 CN 2019109445 W CN2019109445 W CN 2019109445W WO 2020098410 A1 WO2020098410 A1 WO 2020098410A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless network
data stream
application
data
network
Prior art date
Application number
PCT/CN2019/109445
Other languages
French (fr)
Chinese (zh)
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 WO2020098410A1 publication Critical patent/WO2020098410A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0284Traffic management, e.g. flow control or congestion control detecting congestion or overload during communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Definitions

  • This application relates to the technical field of electronic equipment, and in particular to a transmission control method and related devices.
  • a router In life, a router often connects multiple electronic devices during peak hours. In the prior art, when multiple electronic devices connected to the same router consume traffic at the same time, it is prone to jams, which reduces the user experience.
  • Embodiments of the present application provide a transmission control method and related devices, with a view to improving the flexibility and intelligence of network control, and thereby improving user experience.
  • an embodiment of the present application provides a transmission control method, which is applied to an electronic device, and the method includes:
  • a static link aggregation SLA operation is performed on the data stream.
  • an embodiment of the present application provides a transmission control device, which is applied to an electronic device.
  • the transmission control device includes a processing unit and a communication unit, wherein the processing unit is configured to detect a link of the first wireless network The time delay is greater than or equal to the preset link time delay, and the first router is controlled to start a second wireless network, and the first wireless network is one of a plurality of wireless networks enabled by the first router The network transfers access to the second wireless network through the communication unit, and performs a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where 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 storing 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 first router when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network
  • the network performs static link aggregation SLA operations on data streams.
  • the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission.
  • the control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
  • FIG. 1 is an exemplary 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 transmission control method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another transmission control 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 transmission control device provided by 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 function, vehicle-mounted devices, wearable devices, computing devices, or those connected to a wireless modem Other processing equipment, and various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), electronic equipment (terminal Pevice), etc.
  • UE User Equipment
  • MS Mobile Station
  • terminal Pevice electronic equipment
  • the electronic device 101 can be connected to a data network 103, and the data network is a communication network for transmitting data services;
  • Wi-Fi 102 Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network;
  • Bluetooth 104 a wireless technology standard, can achieve short-range data exchange between fixed equipment, mobile equipment and building personal area network (using 2.4-2.485GHz ISM band UHF radio waves) etc.
  • Link aggregation refers to enabling devices to use two or more network ports to access the Internet at the same time. For example, using link aggregation on a mobile phone while using wireless high-fidelity Wi-Fi and data networks for network access.
  • Wi-Fi wireless high-fidelity Wi-Fi
  • data networks for network access.
  • the connectivityService network scoring mechanism causes the data network to be disconnected.
  • the electronic device is connected to only one wireless network, the current network bandwidth resources will be tight and cause problems such as jams.
  • an embodiment of the present application proposes a transmission control method.
  • FIG. 2 is a schematic flowchart of a transmission control method provided by an embodiment of the present application, which is applied to an electronic device. As shown in FIG. 2, the transmission control method includes:
  • the electronic device detects that the link delay of the first wireless network is greater than or equal to the preset link delay, and controls the first router to start a second wireless network.
  • the first wireless network is a current working network, which is one of a plurality of wireless networks that can be enabled by the first router, and the second wireless network is currently in an inactive state and can be used by all The first router starts the wireless network.
  • the electronic device accesses the second wireless network.
  • the electronic device accessing the second wireless network may automatically access the second wireless network after the electronic device controls the first router to start a second wireless network.
  • the electronic device performs a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network.
  • the electronic device performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network may be: after the electronic device processes different data streams, it will pass through the first Part of the data stream transmitted by the wireless network is shunted to the second wireless network for transmission. For example, by presetting routing rules, data streams corresponding to applications of different priorities are distributed to different wireless networks.
  • the first router when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network
  • the network performs static link aggregation SLA operations on data streams.
  • the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission.
  • the control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
  • the performing a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: acquiring an application id of the data stream, the application id and the corresponding Uniquely corresponds to the application, the application id uniquely corresponds to the first wireless network or the second wireless network through a preset rule; when the application id uniquely corresponds to the first wireless network, according to the application id to offload the data stream to the first wireless network; or, when the application id uniquely corresponds to the second wireless network, to offload the data stream to the second wireless according to the application id The internet.
  • the data stream of an application contains the application id of the application.
  • the application id and the first wireless network or the The second wireless network uniquely corresponds through the routing rule.
  • the data flow corresponding to the same application can only pass through the same wireless network. Under the constraints of different routing rules, the data flow of different applications can be transmitted through different wireless networks through the routing rule.
  • the application id corresponding to iQiyi is 10008, add the routing rule to match the data packet with application id 10008 to access the network through the second wireless, then the data stream corresponding to iqiyi will be shunted to the second wireless network, and the corresponding application of Taobao
  • the id is 10007, and the data packet corresponding to the application id 10007 is added to the routing rule to match the data access through the first wireless network, and the data stream corresponding to Taobao is shunted to the second wireless network.
  • the electronic device can perform wireless network matching according to different applications, and distribute the data streams of different applications according to the application id of the application, so that the network control is more flexible and intelligent.
  • the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: when it is detected that the broadband demand of the application is greater than the demand threshold, Offload the data stream with the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, offload the data stream with the application to the second wireless network .
  • the data stream corresponding to the application is offloaded to the first wireless network, and when the broadband demand of the application is less than or equal to the demand threshold , Offload the data stream corresponding to the application to the second wireless network.
  • the correspondence between the size of the demand threshold of the application and the first wireless network and the second wireless network is not absolute. Here, it is only to reflect a way to realize data flow offloading according to the broadband requirements of the application.
  • the greater the broadband demand of an application the larger the transmission channel capacity of its allocated wireless network, in order to ensure that the data stream corresponding to the application can be quickly and successfully transmitted.
  • the channel pairs used by different wireless networks to transmit data streams Different data streams have different capacities, and different applications have different broadband requirements.
  • the broadband demand is greater. That is, the larger the transmission channel capacity required, the wireless network should be allocated for transmission.
  • the larger the capacity of the channel therefore, further, in practical applications, the wireless network can be allocated to the corresponding data stream according to the application broadband requirements and the capacity of the transmission channel of the wireless network.
  • the electronic device can allocate different wireless networks to perform data stream transmission according to the broadband requirements of different applications, thereby increasing the transmission speed of the data transmission.
  • the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: when it is detected that the priority of the application is greater than the priority threshold, Offload the data flow with the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, offload the data flow with the application to all Describe the second wireless network.
  • the priority of the application is used as a parameter for offloading the corresponding data stream. Therefore, the priority threshold can be set as needed. In this example, only the way of offloading the wireless network by the priority of the application is shown, and it needs to be explained. In general, under the same conditions, the higher the priority of the application, the better the channel should be adapted. It is understandable that when the data flow of the application matches the wireless network, the wireless network ’s Channel conditions. Match the application data stream with priority greater than the priority threshold to the high-quality channel, and let the high-quality channel perform data transmission, that is, perform the data transmission with the application data stream having the priority greater than the priority threshold and the wireless network with the high-quality channel.
  • An application data stream with a priority less than or equal to the priority threshold selects a wireless network with a poor channel for data transmission. For example, if the network channel of the second wireless network is better than the network channel of the first wireless network, the data flow of the application with a priority greater than the priority threshold is offloaded to the second wireless network.
  • the electronic device can perform a corresponding distribution according to the priority data flow of the application, which ensures the improvement of the data transmission speed.
  • the priority level includes at least one of the following: importance level and security level.
  • the priority level may be an importance level
  • the priority level may be a security level.
  • the data flow corresponding to the application may be offloaded according to the importance level corresponding to the application
  • the priority is a security level
  • the data stream corresponding to the application may also be offloaded to the corresponding wireless network according to the security level corresponding to the application.
  • the electronic device can allocate different networks according to the priority of the application, which ensures the improvement of the data transmission speed and the security of the network transmission.
  • the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: using a first data stream identifier or a first data stream identifier for different data streams, respectively Marking the second data stream identifier to obtain the corresponding first data stream or second data stream; offloading the first data stream to the first wireless network, and offloading the second data stream to the first 2.
  • Wireless network includes: using a first data stream identifier or a first data stream identifier for different data streams, respectively Marking the second data stream identifier to obtain the corresponding first data stream or second data stream; offloading the first data stream to the first wireless network, and offloading the second data stream to the first 2.
  • respectively marking different data streams with the first data stream identifier or the second data stream identifier may be marked according to the data stream or with the corresponding first data stream identifier or second data stream identifier according to the type of data stream,
  • the first data stream identifier has a unique correspondence with the first wireless network
  • the second data stream identifier has a unique correspondence with the second wireless network, that is, the first data stream can only pass through the first wireless network.
  • Network transmission, that is, the second data stream can only be transmitted through the second wireless network.
  • WeChat corresponds to a video data stream, a voice data stream, a picture text data stream, etc.
  • the video data stream corresponds to a first data stream identifier
  • voice data stream, picture text data stream and other data streams correspond to a second data stream identifier
  • the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: using the first for the data packets in the same data stream A data packet identifier or a second data packet identifier mark to obtain the corresponding first data packet or second data packet; offload the first data packet to the first wireless network, and offload the second data packet to all Describe the second wireless network.
  • data packets can be divided into local area network data packets and wide area network data packets.
  • local area network data packets the transmission and reception of data packets occur between electronic devices and electronic devices, such as between mobile phones and mobile phones, by negotiating shunt and aggregation rules .
  • the first data packet identification corresponds to the data flow in list 1, and the first data indicates that it corresponds to the first wireless network.
  • the second data packet identifier corresponds to the data flow in list 2, and the second data packet identifier corresponds to the second wireless network.
  • the data packet is sent and received by the mobile phone and the server.
  • Two wireless networks respectively use the first data packet identifier or the second data packet identifier to mark the data packets in the same data stream to obtain the corresponding First data packet or second data packet; offload the first data packet to the first wireless network, and offload the second data packet to the second wireless network, after which the server can identify the first data
  • the packet identifier and the second data packet identifier, and the first data packet and the second data packet are aggregated.
  • the server can synchronously identify and aggregate different data packets of the same data stream from different networks.
  • the electronic device can split the data stream according to the data packet and distribute it to different wireless networks, which improves the fluency of the network.
  • controlling the first router to start a second wireless network includes: when the plurality of wireless networks enabled by the first router includes two, controlling the first router to start The remaining second wireless network; or, when the plurality of wireless networks enabled by the first router includes 3 or more, controlling the first router to select a second wireless network.
  • controlling the first router to select a second wireless network may be selected according to parameters such as current bandwidth requirements, application priority, etc.
  • a second wireless network For example, a second wireless network that is higher than the current broadband demand and closest to the current broadband demand is selected from three wireless networks that can be enabled.
  • the detecting the link delay of the first wireless network includes: sending a network diagnostic tool to a preset external network URL to obtain link delay data of the first wireless network; calculating the network The link delay data obtains the link delay of the first wireless network.
  • the external network address may be one or more of Baidu website, Tencent website, and NetEase website.
  • FIG. 3 is a schematic flowchart of a transmission control 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 transmission control method includes:
  • the electronic device detects that the link delay of the first wireless network is greater than or equal to the preset link delay, and controls the first router to start a second wireless network.
  • the electronic device accesses the second wireless network.
  • the electronic device When detecting that the broadband demand of the application is greater than the demand threshold, the electronic device offloads the data stream of the application to the first wireless network.
  • the electronic device When detecting that the broadband demand of the application is less than or equal to the demand threshold, the electronic device offloads the data stream of the application to the second wireless network.
  • the first router when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network
  • the network performs static link aggregation SLA operations on data streams.
  • the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission.
  • the control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
  • FIG. 4 is a schematic flowchart of a transmission control 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 transmission control method includes:
  • the electronic device controls the first router to start a second wireless network when detecting that the link delay of the first wireless network is greater than or equal to the preset link delay.
  • the electronic device accesses the second wireless network.
  • the electronic device When detecting that the application id of the data stream uniquely corresponds to the first wireless network, the electronic device offloads the data stream to the first wireless network according to the application id.
  • the electronic device When detecting that the application id of the data stream uniquely corresponds to the second wireless network, the electronic device offloads the data stream to the second wireless network according to the application id.
  • the first router when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network
  • the network performs static link aggregation SLA operations on data streams.
  • the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission.
  • the control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
  • 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;
  • the link delay of the first wireless network is greater than or equal to the preset link delay, controlling the first router to start a second wireless network, and the first wireless network is enabled by the first router
  • One of the multiple wireless networks accesses the second wireless network, and performs a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network.
  • the first router when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network
  • the network performs static link aggregation SLA operations on data streams.
  • the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission.
  • the control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
  • the instructions in the program are specifically used to perform the following operations: When it is detected that the application id of the data stream uniquely corresponds to the first wireless network, the data stream is shunted to the first wireless network according to the application id; or, when the data stream is detected When the application id uniquely corresponds to the second wireless network, the data stream is offloaded to the second wireless network according to the application id.
  • the instructions in the program are specifically used to perform the following operations: When it is detected that the broadband demand of the application is greater than the demand threshold, offload the data stream of the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, the application The data stream is offloaded to the second wireless network.
  • the instructions in the program are specifically used to perform the following operations: When it is detected that the priority of the application is greater than the priority threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, the The application data stream is offloaded to the second wireless network.
  • the priority level includes at least one of the following: an importance level and a security level.
  • the instructions in the program are specifically used to perform the following operations: Respectively label different data streams with a first data stream identifier or a second data stream identifier to obtain a corresponding first data stream or second data stream; offload the first data stream to the first wireless network, and , Offload the second data stream to the second wireless network.
  • the instructions in the program are specifically used to perform the following operations: Respectively marking the data packets in the same data stream with the first data packet identifier or the second data packet identifier to obtain the corresponding first data packet or second data packet; offloading the first data packet to the first wireless network And, offload the second data packet to the second wireless network.
  • the instructions in the program are specifically used to perform the following operations: when the first router can enable multiple wireless When there are two networks, the first router is controlled to start the remaining one second wireless network; or, when there are three or more wireless networks enabled by the first router; the control station The first router selects a second wireless network according to current bandwidth requirements.
  • the instructions in the program are specifically used to perform the following operations: before detecting the link delay of the first wireless network, send a network diagnostic tool to a preset external network URL to obtain the first Link delay data of the wireless network, and calculating the link delay data of the network to obtain the link delay of the first wireless network.
  • 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 executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, 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 may be implemented in the form of hardware or software functional 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. In actual implementation, there may be another division manner.
  • FIG. 6 is a block diagram of the functional units of the transmission control device 600 involved in the embodiment of the present application.
  • the control device 600 is applied to electronic equipment, including a processing unit 601 and a communication unit 602, where,
  • the processing unit 601 when detecting that the link delay of the first wireless network is greater than or equal to a preset link delay, controls the first router to start a second wireless network, and the first wireless network is the One of a plurality of wireless networks that can be enabled by the first router, accesses the second wireless network through the communication unit 602, and according to the first wireless network and the second wireless network, for the data flow Perform static link aggregation SLA operations.
  • control 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 first router when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network
  • the network performs static link aggregation SLA operations on data streams.
  • the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission.
  • the control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
  • the processing unit 601 is specifically configured to detect the data stream When the application id of the first wireless network uniquely corresponds to the first wireless network, shunt the data stream to the first wireless network according to the application id; or, when the application id of the data stream is detected and the second When the wireless network corresponds uniquely, the data stream is offloaded to the second wireless network according to the application id.
  • the processing unit 601 is specifically configured to: When the demand is greater than the demand threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, offload the data flow of the application to all Describe the second wireless network.
  • the processing unit 601 is specifically configured to: When the level is greater than the priority threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, offload the data flow of the application to The second wireless network.
  • the priority level includes at least one of the following: an importance level and a security level.
  • the processing unit 601 is specifically configured to: respectively use different data streams Marking the first data stream identifier or the second data stream identifier to obtain the corresponding first data stream or second data stream; offloading the first data stream to the first wireless network, and dividing the second data stream The data stream is offloaded to the second wireless network.
  • the processing unit 601 is specifically configured to separately process the same data stream
  • the data packet in is marked with the first data packet identifier or the second data packet identifier to obtain the corresponding first data packet or second data packet; offloading the first data packet to the first wireless network, and
  • the second data packet is offloaded to the second wireless network.
  • the processing unit 601 is specifically configured to: when there are two wireless networks enabled by the first router, include two, Controlling the first router to start the remaining one second wireless network; or, when the plurality of wireless networks enabled by the first router includes 3 or more; the controlling the first router according to the current A second wireless network is selected for bandwidth requirements.
  • the processing unit 601 is specifically configured to: send a network diagnostic tool to a preset external network URL to obtain the link of the first wireless network Delay data, and calculating the network link delay data to obtain the link delay of the first wireless network.
  • 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 aforementioned computer includes electronic devices.
  • An embodiment of the present application also provides a computer program product, 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 couplings or direct couplings or communication connections may be indirect couplings or communication connections 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 may be implemented in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer readable memory.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, ReaP-Only Memory), random access memory (RAM, RanPom Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • 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, abbreviation: ROM), random access device (English: RanPom Access Memory, abbreviation: 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed by the embodiments of the present application are a transmission control method and a related apparatus, said method comprising: when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, controlling a first router to start a second wireless network, the first network being one wireless network among a plurality of wireless networks the first router is capable of enabling; accessing the second wireless network; according to the first wireless network and the second wireless network, performing a static link aggregation (SLA) operation on a data stream. The embodiments of the present application are advantageous to alleviating the pressure of a network at a time of peak traffic.

Description

传输控制方法及相关装置Transmission control method and related device 技术领域Technical field
本申请涉及电子设备技术领域,具体涉及一种传输控制方法及相关装置。This application relates to the technical field of electronic equipment, and in particular to a transmission control method and related devices.
背景技术Background technique
生活中,一个路由器在高峰时段往往会连接多个电子设备,现有技术中,当连接同一个路由器的多个电子设备同时消耗流量时,容易出现卡顿,降低了用户的体验度。In life, a router often connects multiple electronic devices during peak hours. In the prior art, when multiple electronic devices connected to the same router consume traffic at the same time, it is prone to jams, which reduces the user experience.
发明内容Summary of the invention
本申请实施例提供了一种传输控制方法及相关装置,以期提高网络控制的灵活性与智能性,进而提升用户体验度。Embodiments of the present application provide a transmission control method and related devices, with a view to improving the flexibility and intelligence of network control, and thereby improving user experience.
第一方面,本申请实施例提供一种传输控制方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a transmission control method, which is applied to an electronic device, and the method includes:
在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络;Detecting that the link delay of the first wireless network is greater than or equal to the preset link delay, controlling the first router to start a second wireless network, and the first wireless network is enabled by the first router One of the multiple wireless networks;
接入所述第二无线网络;Access to the second wireless network;
根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。According to the first wireless network and the second wireless network, a static link aggregation SLA operation is performed on the data stream.
第二方面,本申请实施例提供一种传输控制装置,应用于电子设备,所述传输控制装置包括处理单元和通信单元,其中,所述处理单元,用于在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,通过所述通信单元传递接入所述第二无线网络,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。In a second aspect, an embodiment of the present application provides a transmission control device, which is applied to an electronic device. The transmission control device includes a processing unit and a communication unit, wherein the processing unit is configured to detect a link of the first wireless network The time delay is greater than or equal to the preset link time delay, and the first router is controlled to start a second wireless network, and the first wireless network is one of a plurality of wireless networks enabled by the first router The network transfers access to the second wireless network through the communication unit, and performs a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where 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.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。According to a fourth aspect, 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. In one aspect, some or all of the steps described in any method.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。According to a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing 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.
可以看出,本申请实施例中,当电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,然后,接入所述第二无线网络,最后,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。可见,本申请实施例的电子设备针对当前网络所对应的路由器,能够根据该当前网络所对应的网络时延,控制路由器开启其他可用网络,将数据流分流到其他可用网络,相对于传统的传输控制方法能够减缓当前网络的高数据流压力,降低网络延迟,提升用户体验度。It can be seen that in the embodiment of the present application, when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network The network performs static link aggregation SLA operations on data streams. It can be seen that the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission. The control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1是本申请实施例提供的一种电子设备所处无线通信系统的示例系统架构图;FIG. 1 is an exemplary system architecture diagram of a wireless communication system in which an electronic device is provided according to an embodiment of the present application;
图2是本申请实施例提供的一种传输控制方法的流程示意图;2 is a schematic flowchart of a transmission control method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种传输控制方法的流程示意图;3 is a schematic flowchart of another transmission control method provided by an embodiment of the present application;
图4是本申请实施例提供的另一种传输控制方法的流程示意图;4 is a schematic flowchart of another transmission control method provided by an embodiment of the present application;
图5是本申请实施例提供的一种电子设备的结构示意图;5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图6是本申请实施例提供的一种传输控制装置的功能单元组成框图。6 is a block diagram of functional units of a transmission control device provided by an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first” and “second” in the description and claims of the present application and the above drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "embodiments" means that specific features, structures, or characteristics described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art understand explicitly and implicitly that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以是具备指纹识别能力的电子设备,该电子设备可以包括各种具有指纹识别功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),电子设备设备(terminal Pevice)等等。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 function, vehicle-mounted devices, wearable devices, computing devices, or those connected to a wireless modem Other processing equipment, and various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), electronic equipment (terminal Pevice), etc.
如图1所示,目前电子设备101可以连接数据网络103,数据网为用于传输数据业务的通信网;Wi-Fi 102,Wi-Fi是一种允许电子设备连接到一个无线局域网的技术;通常使用2.4G UHF或5G SHF ISM射频频段;以及蓝牙104,一种无线技术标准,可实现固定设备、移动设备和楼宇个人域网之间的短距离数据交换(使用2.4—2.485GHz的ISM波段的UHF无线电波)等。As shown in FIG. 1, at present, the electronic device 101 can be connected to a data network 103, and the data network is a communication network for transmitting data services; Wi-Fi 102, Wi-Fi is a technology that allows electronic devices to connect to a wireless local area network; Usually use 2.4G UHF or 5G SHF ISM radio frequency band; and Bluetooth 104, a wireless technology standard, can achieve short-range data exchange between fixed equipment, mobile equipment and building personal area network (using 2.4-2.485GHz ISM band UHF radio waves) etc.
链路聚合,是指使设备可以同时使用两个或者两个以上的网口同时进行上网,比如在手机上通过链路聚合的同时使用无线高保真Wi-Fi和数据网络来进行网络访问。目前,电子设备当使用Wi-Fi的时候,数据网络不可使用(connectivityService网络评分机制导致数据网络断开)。电子设备在仅接入一个无线网络的情况下,会因当前网络带宽资源紧张而引起卡顿等问题。Link aggregation refers to enabling devices to use two or more network ports to access the Internet at the same time. For example, using link aggregation on a mobile phone while using wireless high-fidelity Wi-Fi and data networks for network access. Currently, when electronic devices use Wi-Fi, the data network is unavailable (the connectivityService network scoring mechanism causes the data network to be disconnected). When the electronic device is connected to only one wireless network, the current network bandwidth resources will be tight and cause problems such as jams.
针对上述问题,本申请实施例提出一种传输控制方法,下面结合附图对本申请实施例进行详细介绍。In view of the above problems, an embodiment of the present application proposes a transmission control method. The following describes the embodiment of the present application in detail with reference to the accompanying drawings.
请参阅图2,图2是本申请实施例提供了一种传输控制方法的流程示意图,应用于电子设备,如图2所示,本传输控制方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a transmission control method provided by an embodiment of the present application, which is applied to an electronic device. As shown in FIG. 2, the transmission control method includes:
S201,电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络。S201. The electronic device detects that the link delay of the first wireless network is greater than or equal to the preset link delay, and controls the first router to start a second wireless network.
其中,所述第一无线网络为当前工作网络,是所述第一路由器所能够启用的多个无线网络中的一个无线网络,所述第二无线网络当前处于未启用状态,且是能够被所述第一路由器启动无线网络。Wherein, the first wireless network is a current working network, which is one of a plurality of wireless networks that can be enabled by the first router, and the second wireless network is currently in an inactive state and can be used by all The first router starts the wireless network.
S202,所述电子设备接入所述第二无线网络。S202. The electronic device accesses the second wireless network.
其中,所述电子设备接入所述第二无线网络可以在所述电子设备控制所述第一路由器启动一个第二无线网络后,自动接入该第二无线网络。Wherein, the electronic device accessing the second wireless network may automatically access the second wireless network after the electronic device controls the first router to start a second wireless network.
S203,所述电子设备根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。S203. The electronic device performs a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network.
其中,所述电子设备根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作可以是:电子设备对不同的数据流进行处理后,将原本通过第一无线网络进行传输的数据流中的部分数据流分流到第二无线网络进行传输。例如,通过预设路由规则,使不同优先级的应用所对应的数据流分流到不同的无线网络。Wherein, the electronic device performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network may be: after the electronic device processes different data streams, it will pass through the first Part of the data stream transmitted by the wireless network is shunted to the second wireless network for transmission. For example, by presetting routing rules, data streams corresponding to applications of different priorities are distributed to different wireless networks.
可以看出,本申请实施例中,当电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,然后,接入所述第二无线网络,最后,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。可见,本申请实施例的电子设备针对当前网络所对应的路由器,能够根据该当前网络所对应的网络时延,控制路由器开启其他可用网络,将数据流分流到其他可用网络,相对于传统的传输控制方法能够减缓当前网络的高数据流压力,降低网络延迟,提升用户体验度。It can be seen that in the embodiment of the present application, when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network The network performs static link aggregation SLA operations on data streams. It can be seen that the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission. The control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
在一个可能的示例中,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:获取数据流的应用id,所述应用id与相应的应用唯一对应,所述应用id与所述第一无线网络或者所述第二无线网络通过预设规则唯一对应;当所述应用id与所述第一无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第一无线网络;或者,当所述应用id与所述第二无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第二无线网络。In a possible example, the performing a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: acquiring an application id of the data stream, the application id and the corresponding Uniquely corresponds to the application, the application id uniquely corresponds to the first wireless network or the second wireless network through a preset rule; when the application id uniquely corresponds to the first wireless network, according to the application id to offload the data stream to the first wireless network; or, when the application id uniquely corresponds to the second wireless network, to offload the data stream to the second wireless according to the application id The internet.
其中,一个应用有且只有一个唯一对应应用id,一个应用的数据流含有该应用的应用id,通过在电子设备中预先添加路由规则,使所述应用id与所述第一无线网络或者所述第二无线网络通过该路由规则唯一对应。同一个应用对应的数据流只能通过同一个无线网络,不同的路由规则的约束下,不同的应用的数据流则能够通过该路由规则通过不同的无线网络进行传输。例如,爱奇艺对应的应用id是10008,添加路由规则匹配应用id为10008的数据包通过第二无线访问网络,则与爱奇艺对应的数据流分流到第二无线网络,淘宝对应的应用id是10007,添加路由规则匹配应用id为10007的数据包通过第一无线访问网络,则与淘宝对应的数据流分流到第二无线网络。Among them, there is one and only one unique application id for an application, and the data stream of an application contains the application id of the application. By adding a routing rule in the electronic device in advance, the application id and the first wireless network or the The second wireless network uniquely corresponds through the routing rule. The data flow corresponding to the same application can only pass through the same wireless network. Under the constraints of different routing rules, the data flow of different applications can be transmitted through different wireless networks through the routing rule. For example, if the application id corresponding to iQiyi is 10008, add the routing rule to match the data packet with application id 10008 to access the network through the second wireless, then the data stream corresponding to iqiyi will be shunted to the second wireless network, and the corresponding application of Taobao The id is 10007, and the data packet corresponding to the application id 10007 is added to the routing rule to match the data access through the first wireless network, and the data stream corresponding to Taobao is shunted to the second wireless network.
可见,本示例中,电子设备能够根据针对不同的应用进行无线网络匹配,将不同应用的数据流根据应用的应用id进行分流,让网络控制更加具有灵活性与智能性。It can be seen that in this example, the electronic device can perform wireless network matching according to different applications, and distribute the data streams of different applications according to the application id of the application, so that the network control is more flexible and intelligent.
在一个可能的示例中,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:在检测到应用的宽带需求大于需求阈值时,将与所述应用的数据流,分流到所述第一无线网络;或者,在检测到应用的宽带需求小于或者等于 需求阈值时,将与所述应用的数据流,分流到所述第二无线网络。In a possible example, the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: when it is detected that the broadband demand of the application is greater than the demand threshold, Offload the data stream with the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, offload the data stream with the application to the second wireless network .
其中,针对应用的宽带需求,当所述应用的宽带需求大于需求阈值时,将与所述应用对应的数据流分流到所述第一无线网络,当所述应用的宽带需求小于等于需求阈值时,将与所述应用对应的数据流分流到所述第二无线网络。需要说明的是,应用的需求阈值的大小与第一无线网络和第二无线网络的对应关系并不是绝对的,这里只是为了体现一种根据应用的宽带需求实现数据流分流的方式。一般而言,应用的宽带需求越大,其分配的无线网络的传输通道的容量越大,才能保证该应用对应的数据流能够快速成功的传输,不同的无线网络用来传输数据流的通道对数据流的容量不同,不同的应用的宽带需求也不同,当应用的数据流越大,宽带需求越大,也即是,其所需要的传输通道的容量越大,应当分配的无线网络的传输通道的容量越大,因此,进一步的,在实际应用中,可以具体根据应用宽带需求结合无线网络的传输通道的容量为相应的数据流分配无线网络。For the broadband demand of the application, when the broadband demand of the application is greater than the demand threshold, the data stream corresponding to the application is offloaded to the first wireless network, and when the broadband demand of the application is less than or equal to the demand threshold , Offload the data stream corresponding to the application to the second wireless network. It should be noted that the correspondence between the size of the demand threshold of the application and the first wireless network and the second wireless network is not absolute. Here, it is only to reflect a way to realize data flow offloading according to the broadband requirements of the application. Generally speaking, the greater the broadband demand of an application, the larger the transmission channel capacity of its allocated wireless network, in order to ensure that the data stream corresponding to the application can be quickly and successfully transmitted. The channel pairs used by different wireless networks to transmit data streams Different data streams have different capacities, and different applications have different broadband requirements. When the application data stream is larger, the broadband demand is greater. That is, the larger the transmission channel capacity required, the wireless network should be allocated for transmission. The larger the capacity of the channel, therefore, further, in practical applications, the wireless network can be allocated to the corresponding data stream according to the application broadband requirements and the capacity of the transmission channel of the wireless network.
可见,本示例中,电子设备对可以根据不同的应用的宽带需求分配不同的无线网络进行数据流的传输,提高数据传输的传输速度。It can be seen that in this example, the electronic device can allocate different wireless networks to perform data stream transmission according to the broadband requirements of different applications, thereby increasing the transmission speed of the data transmission.
在一个可能的示例中,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:当检测到应用的优先级大于优先级阈值时,将与所述应用的数据流,分流到所述第一无线网络;或者,当检测到应用的所述优先级小于或者等于所述优先级阈值时,将与所述应用的数据流分流到所述第二无线网络。In a possible example, the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: when it is detected that the priority of the application is greater than the priority threshold, Offload the data flow with the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, offload the data flow with the application to all Describe the second wireless network.
其中,应用的优先级是作为对应数据流进行分流的一种参数,因此,优先级阈值可以根据需要设置,而本示例中,只是展示出通过应用的优先级进行无线网络分流的方式,需要说明的是,一般而言,在同等条件下,优先级越高的应用,其适配的通道应该越优质,可以理解的是,在进行应用的数据流与无线网络匹配时,可以考虑无线网络的信道情况。将优先级大于优先级阈值的应用数据流与优质信道匹配,让优质信道进行数据传输,也即是将优先级大于优先级阈值的应用数据流与具有优质信道的无线网络进行数据传输,相应的,优先级小于或者等于所述优先级阈值的应用数据流选择具有较差信道的无线网络进行数据传输。举例来说,如果第二无线网络的网络信道较第一无线网络的网络信道优质,则将优先级大于优先级阈值的应用的数据流,分流到第二无线网络。Among them, the priority of the application is used as a parameter for offloading the corresponding data stream. Therefore, the priority threshold can be set as needed. In this example, only the way of offloading the wireless network by the priority of the application is shown, and it needs to be explained. In general, under the same conditions, the higher the priority of the application, the better the channel should be adapted. It is understandable that when the data flow of the application matches the wireless network, the wireless network ’s Channel conditions. Match the application data stream with priority greater than the priority threshold to the high-quality channel, and let the high-quality channel perform data transmission, that is, perform the data transmission with the application data stream having the priority greater than the priority threshold and the wireless network with the high-quality channel. , An application data stream with a priority less than or equal to the priority threshold selects a wireless network with a poor channel for data transmission. For example, if the network channel of the second wireless network is better than the network channel of the first wireless network, the data flow of the application with a priority greater than the priority threshold is offloaded to the second wireless network.
可见,本示例中,电子设备能够根据应用的优先级数据流进行相应的分流,保证了数据传输速度的提高。It can be seen that, in this example, the electronic device can perform a corresponding distribution according to the priority data flow of the application, which ensures the improvement of the data transmission speed.
在一个可能的示例中,其中,所述优先级包括以下至少一种:重要性等级、安全性等级。In a possible example, the priority level includes at least one of the following: importance level and security level.
其中,所述优先级可以是重要性等级,所述优先级可以是安全性等级,在所述优先级是重要性等级时,可以根据应用所对应的重要性等级将应用所对应的数据流分流到相应的无线网络,当所述优先级是安全性等级时,也可以根据应用所对应的安全性等级将应用所对应的数据流分流到相应的无线网络。Wherein, the priority level may be an importance level, and the priority level may be a security level. When the priority level is an importance level, the data flow corresponding to the application may be offloaded according to the importance level corresponding to the application To the corresponding wireless network, when the priority is a security level, the data stream corresponding to the application may also be offloaded to the corresponding wireless network according to the security level corresponding to the application.
可见,本示例中,电子设备能够根据应用的优先级分配不同的网络,保证了数据传输速度的提高以及提高了网络传输的安全性。It can be seen that in this example, the electronic device can allocate different networks according to the priority of the application, which ensures the improvement of the data transmission speed and the security of the network transmission.
在一个可能的示例中,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:分别对不同的数据流用第一数据流标识或者第二数据流标识进行标记,得到相应的第一数据流或者第二数据流;将所述第一数据流分流到所述第一无线网络,以及,将所述第二数据流分流到所述第二无线网络。In a possible example, the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: using a first data stream identifier or a first data stream identifier for different data streams, respectively Marking the second data stream identifier to obtain the corresponding first data stream or second data stream; offloading the first data stream to the first wireless network, and offloading the second data stream to the first 2. Wireless network.
其中,分别对不同的数据流用第一数据流标识或者第二数据流标识进行标记可以是根据数据流可以是根据数据流的种类用相应的第一数据流标识或者第二数据流标识进行标记,所述第一数据流标识与所述第一无线网络具有唯一对应关系,所述第二数据流标识与 所述第二无线网络具有唯一对应关系,即是第一数据流只能通过第一无线网络进行传输,即是第二数据流只能通过第二无线网络进行传输。举例来说,微信对应视频数据流,语音数据流,图片文字数据流等,其中,视频数据流对应第一数据流标识,语音数据流,图片文字数据流等数据流对应第二数据流标识,因此,视频数据流通过第一无线网络进行传输,语音数据流、图片文字数据流通过第二无线网络进行传输。Wherein, respectively marking different data streams with the first data stream identifier or the second data stream identifier may be marked according to the data stream or with the corresponding first data stream identifier or second data stream identifier according to the type of data stream, The first data stream identifier has a unique correspondence with the first wireless network, and the second data stream identifier has a unique correspondence with the second wireless network, that is, the first data stream can only pass through the first wireless network. Network transmission, that is, the second data stream can only be transmitted through the second wireless network. For example, WeChat corresponds to a video data stream, a voice data stream, a picture text data stream, etc., where the video data stream corresponds to a first data stream identifier, voice data stream, picture text data stream and other data streams correspond to a second data stream identifier, Therefore, the video data stream is transmitted through the first wireless network, and the voice data stream and the image text data stream are transmitted through the second wireless network.
在一个可能的示例中,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:分别对同一个数据流中的数据包用第一数据包标识或者第二数据包标识标记,得到相应的第一数据包或者第二数据包;将所述第一数据包分流到第一无线网络,以及,将所述第二数据包分流到所述第二无线网络。In a possible example, the performing static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes: using the first for the data packets in the same data stream A data packet identifier or a second data packet identifier mark to obtain the corresponding first data packet or second data packet; offload the first data packet to the first wireless network, and offload the second data packet to all Describe the second wireless network.
其中,数据包可以分为局域网数据包以及广域网数据包,针对局域网数据包,局域网中,数据包的收发发生在电子设备与电子设备之间,如手机与手机之间,通过协商分流与聚合规则,可以直接协商确定对不同的数据包利用不同的数据包标识标记,根据规则建立数据包标识列表,第一数据包标识对应列表1中的数据流,第一数据表示对应第一无线网络,第二数据包标识对应列表2中的数据流,第二数据包标识对应第二无线网络。针对广域网数据包,广域网中,数据包的收发是手机与服务器交互,2个无线网络,分别对同一个数据流中的数据包用第一数据包标识或者第二数据包标识标记,得到相应的第一数据包或者第二数据包;将所述第一数据包分流到第一无线网络,以及,将所述第二数据包分流到所述第二无线网络,之后,服务器能够识别第一数据包标识与第二数据包标识,并将第一数据包与第二数据包聚合,换句话说,服务器能够同步识别并聚合来自不同网络的相同数据流的不同数据包。Among them, data packets can be divided into local area network data packets and wide area network data packets. For local area network data packets, the transmission and reception of data packets occur between electronic devices and electronic devices, such as between mobile phones and mobile phones, by negotiating shunt and aggregation rules , You can directly negotiate to determine the use of different data packet identification tags for different data packets, and establish a data packet identification list according to the rules. The first data packet identification corresponds to the data flow in list 1, and the first data indicates that it corresponds to the first wireless network. The second data packet identifier corresponds to the data flow in list 2, and the second data packet identifier corresponds to the second wireless network. For WAN data packets, in the WAN, the data packet is sent and received by the mobile phone and the server. Two wireless networks respectively use the first data packet identifier or the second data packet identifier to mark the data packets in the same data stream to obtain the corresponding First data packet or second data packet; offload the first data packet to the first wireless network, and offload the second data packet to the second wireless network, after which the server can identify the first data The packet identifier and the second data packet identifier, and the first data packet and the second data packet are aggregated. In other words, the server can synchronously identify and aggregate different data packets of the same data stream from different networks.
可见,本示例中,电子设备能够基于将数据流根据数据包拆分,分流到不同的无线网络,提高了网络的流畅性。It can be seen that in this example, the electronic device can split the data stream according to the data packet and distribute it to different wireless networks, which improves the fluency of the network.
在一个可能的示例中,所述控制所述第一路由器启动一个第二无线网络,包括:当所述第一路由器所能够启用的多个无线网络包括2个时,控制所述第一路由器启动剩余的一个第二无线网络;或者,当所述第一路由器所能够启用的多个无线网络包括3个及3个以上时,控制所述第一路由器选取一个第二无线网络。In a possible example, the controlling the first router to start a second wireless network includes: when the plurality of wireless networks enabled by the first router includes two, controlling the first router to start The remaining second wireless network; or, when the plurality of wireless networks enabled by the first router includes 3 or more, controlling the first router to select a second wireless network.
其中,当所述第一路由器所能够启用的多个无线网络包括3个及3个以上时,控制所述第一路由器选取一个第二无线网络可以是根据当前带宽需求、应用优先级等参数选取一个第二无线网络。例如,从3个能够启用的多个无线网络选择一个高于当前宽带需求的且与当前宽带需求最接近的一个第二无线网络。Where, when the plurality of wireless networks enabled by the first router includes 3 or more, controlling the first router to select a second wireless network may be selected according to parameters such as current bandwidth requirements, application priority, etc. A second wireless network. For example, a second wireless network that is higher than the current broadband demand and closest to the current broadband demand is selected from three wireless networks that can be enabled.
在一个可能的示例中,所述检测第一无线网络的链路时延,包括:发送网络诊断工具至预设外网网址获取所述第一无线网络的链路时延数据;计算所述网络链路时延数据得到所述第一无线网络的链路时延。In a possible example, the detecting the link delay of the first wireless network includes: sending a network diagnostic tool to a preset external network URL to obtain link delay data of the first wireless network; calculating the network The link delay data obtains the link delay of the first wireless network.
其中,所述外网地址,可以是百度网址、腾讯网址、网易网址中的一个或者多个。Wherein, the external network address may be one or more of Baidu website, Tencent website, and NetEase website.
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种传输控制方法的流程示意图,应用于如图1所述的电子设备,如图所示,本传输控制方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to FIG. 3, which is a schematic flowchart of a transmission control 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 transmission control method includes:
S301,电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络。S301. The electronic device detects that the link delay of the first wireless network is greater than or equal to the preset link delay, and controls the first router to start a second wireless network.
S302,所述电子设备接入所述第二无线网络。S302. The electronic device accesses the second wireless network.
S303,所述电子设备在检测到应用的宽带需求大于需求阈值时,将所述应用的数据流,分流到所述第一无线网络。S303. When detecting that the broadband demand of the application is greater than the demand threshold, the electronic device offloads the data stream of the application to the first wireless network.
S304,所述电子设备在检测到应用的宽带需求小于或者等于需求阈值时,将所述应用 的数据流,分流到所述第二无线网络。S304. When detecting that the broadband demand of the application is less than or equal to the demand threshold, the electronic device offloads the data stream of the application to the second wireless network.
可以看出,本申请实施例中,当电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,然后,接入所述第二无线网络,最后,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。可见,本申请实施例的电子设备针对当前网络所对应的路由器,能够根据该当前网络所对应的网络时延,控制路由器开启其他可用网络,将数据流分流到其他可用网络,相对于传统的传输控制方法能够减缓当前网络的高数据流压力,降低网络延迟,提升用户体验度。It can be seen that in the embodiment of the present application, when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network The network performs static link aggregation SLA operations on data streams. It can be seen that the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission. The control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
与上述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种传输控制方法的流程示意图,应用于如图1所述的电子设备,如图所示,本传输控制方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to FIG. 4, which is a schematic flowchart of a transmission control 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 transmission control method includes:
S401,电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络。S401. The electronic device controls the first router to start a second wireless network when detecting that the link delay of the first wireless network is greater than or equal to the preset link delay.
S402,所述电子设备接入所述第二无线网络。S402. The electronic device accesses the second wireless network.
S403,所述电子设备当检测到所述数据流的应用id与所述第一无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第一无线网络。S403. When detecting that the application id of the data stream uniquely corresponds to the first wireless network, the electronic device offloads the data stream to the first wireless network according to the application id.
S404,所述电子设备当检测到所述数据流的应用id与所述第二无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第二无线网络。S404. When detecting that the application id of the data stream uniquely corresponds to the second wireless network, the electronic device offloads the data stream to the second wireless network according to the application id.
可以看出,本申请实施例中,当电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,然后,接入所述第二无线网络,最后,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。可见,本申请实施例的电子设备针对当前网络所对应的路由器,能够根据该当前网络所对应的网络时延,控制路由器开启其他可用网络,将数据流分流到其他可用网络,相对于传统的传输控制方法能够减缓当前网络的高数据流压力,降低网络延迟,提升用户体验度。It can be seen that in the embodiment of the present application, when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network The network performs static link aggregation SLA operations on data streams. It can be seen that the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission. The control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,如图所示,所述电子设备500包括应用处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在上述存储器520中,并且被配置由上述应用处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 2, FIG. 3 and FIG. 4 above, please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application. As shown in the figure, 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;
在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,接入所述第二无线网络,以及根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。Detecting that the link delay of the first wireless network is greater than or equal to the preset link delay, controlling the first router to start a second wireless network, and the first wireless network is enabled by the first router One of the multiple wireless networks, accesses the second wireless network, and performs a static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network.
可以看出,本申请实施例中,当电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,然后,接入所述第二无线网络,最后,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。可见,本申请实施例的电子设备针对当前网络所对应的路由器,能够根据该当前网络所对应的网络时延,控制路由器开启其他可用网络,将数据流分流到其他可用网络,相 对于传统的传输控制方法能够减缓当前网络的高数据流压力,降低网络延迟,提升用户体验度。It can be seen that in the embodiment of the present application, when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network The network performs static link aggregation SLA operations on data streams. It can be seen that the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission. The control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
在一个可能的示例中,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述程序中的指令具体用于执行以下操作:当检测到所述数据流的应用id与所述第一无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第一无线网络;或者,当检测到所述数据流的应用id与所述第二无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第二无线网络。In a possible example, in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the instructions in the program are specifically used to perform the following operations: When it is detected that the application id of the data stream uniquely corresponds to the first wireless network, the data stream is shunted to the first wireless network according to the application id; or, when the data stream is detected When the application id uniquely corresponds to the second wireless network, the data stream is offloaded to the second wireless network according to the application id.
在一个可能的示例中,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述程序中的指令具体用于执行以下操作:当在检测到应用的宽带需求大于需求阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,在检测到应用的宽带需求小于或者等于需求阈值时,将所述应用的数据流,分流到所述第二无线网络。In a possible example, in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the instructions in the program are specifically used to perform the following operations: When it is detected that the broadband demand of the application is greater than the demand threshold, offload the data stream of the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, the application The data stream is offloaded to the second wireless network.
在一个可能的示例中,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述程序中的指令具体用于执行以下操作:当检测到应用的优先级大于优先级阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,当检测到应用的优先级小于或者等于优先级阈值时,将所述应用的数据流分流到所述第二无线网络。In a possible example, in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the instructions in the program are specifically used to perform the following operations: When it is detected that the priority of the application is greater than the priority threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, the The application data stream is offloaded to the second wireless network.
在一个可能的示例中,所述优先级包括以下至少一种:重要性等级、安全性等级。In a possible example, the priority level includes at least one of the following: an importance level and a security level.
在一个可能的示例中,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述程序中的指令具体用于执行以下操作:分别对不同的数据流用第一数据流标识或者第二数据流标识进行标记,得到相应的第一数据流或者第二数据流;将所述第一数据流分流到所述第一无线网络,以及,将所述第二数据流分流到所述第二无线网络。In a possible example, in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the instructions in the program are specifically used to perform the following operations: Respectively label different data streams with a first data stream identifier or a second data stream identifier to obtain a corresponding first data stream or second data stream; offload the first data stream to the first wireless network, and , Offload the second data stream to the second wireless network.
在一个可能的示例中,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述程序中的指令具体用于执行以下操作:分别对同一个数据流中的数据包用第一数据包标识或者第二数据包标识标记,得到相应的第一数据包或者第二数据包;将所述第一数据包分流到第一无线网络,以及,将所述第二数据包分流到所述第二无线网络。In a possible example, in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the instructions in the program are specifically used to perform the following operations: Respectively marking the data packets in the same data stream with the first data packet identifier or the second data packet identifier to obtain the corresponding first data packet or second data packet; offloading the first data packet to the first wireless network And, offload the second data packet to the second wireless network.
在一个可能的示例中,在所述控制所述第一路由器启动一个第二无线网络方面,所述程序中的指令具体用于执行以下操作:当所述第一路由器所能够启用的多个无线网络包括2个时,控制所述第一路由器启动剩余的一个第二无线网络;或者,当所述第一路由器所能够启用的多个无线网络包括3个及3个以上时;所述控制所述第一路由器根据当前带宽需求选取一个第二无线网络。In a possible example, in terms of controlling the first router to start a second wireless network, the instructions in the program are specifically used to perform the following operations: when the first router can enable multiple wireless When there are two networks, the first router is controlled to start the remaining one second wireless network; or, when there are three or more wireless networks enabled by the first router; the control station The first router selects a second wireless network according to current bandwidth requirements.
在一个可能的示例中,所述程序中的指令具体用于执行以下操作:在所述检测第一无线网络的链路时延之前,发送网络诊断工具至预设外网网址获取所述第一无线网络的链路时延数据,以及,计算所述网络链路时延数据得到所述第一无线网络的链路时延。In a possible example, the instructions in the program are specifically used to perform the following operations: before detecting the link delay of the first wireless network, send a network diagnostic tool to a preset external network URL to obtain the first Link delay data of the wireless network, and calculating the link delay data of the network to obtain the link delay of the first wireless network.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solutions of the embodiments of the present application from the perspective of the execution process on the method side. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, 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 may be implemented in the form of hardware or software functional 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. In actual implementation, there may be another division manner.
图6是本申请实施例中所涉及的传输控制装置600的功能单元组成框图。该控制装置600应用于电子设备,包括处理单元601和通信单元602,其中,6 is a block diagram of the functional units of the transmission control device 600 involved in the embodiment of the present application. The control device 600 is applied to electronic equipment, including a processing unit 601 and a communication unit 602, where,
所述处理单元601,在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,通过所述通信单元602接入所述第二无线网络,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。The processing unit 601, when detecting that the link delay of the first wireless network is greater than or equal to a preset link delay, controls the first router to start a second wireless network, and the first wireless network is the One of a plurality of wireless networks that can be enabled by the first router, accesses the second wireless network through the communication unit 602, and according to the first wireless network and the second wireless network, for the data flow Perform static link aggregation SLA operations.
其中,所述控制装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。Wherein, the control 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, and the storage unit 603 may be a memory.
可以看出,本申请实施例中,当电子设备在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,然后,接入所述第二无线网络,最后,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。可见,本申请实施例的电子设备针对当前网络所对应的路由器,能够根据该当前网络所对应的网络时延,控制路由器开启其他可用网络,将数据流分流到其他可用网络,相对于传统的传输控制方法能够减缓当前网络的高数据流压力,降低网络延迟,提升用户体验度。It can be seen that in the embodiment of the present application, when the electronic device detects that the link delay of the first wireless network is greater than or equal to a preset link, the first router is controlled to start a second wireless network, the The first wireless network is one of a plurality of wireless networks enabled by the first router, and then accesses the second wireless network, and finally, according to the first wireless network and the second wireless network The network performs static link aggregation SLA operations on data streams. It can be seen that the electronic device according to the embodiment of the present application can control the router to turn on other available networks according to the network delay corresponding to the current network according to the network delay corresponding to the current network, and offload the data stream to other available networks, as compared with the traditional transmission. The control method can alleviate the high data flow pressure of the current network, reduce network delay, and improve user experience.
在一个可能的示例中,在根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元601具体用于当检测到所述数据流的应用id与所述第一无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第一无线网络;或者,当检测到所述数据流的应用id与所述第二无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第二无线网络。In a possible example, in terms of performing a static link aggregation SLA operation on a data stream according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to detect the data stream When the application id of the first wireless network uniquely corresponds to the first wireless network, shunt the data stream to the first wireless network according to the application id; or, when the application id of the data stream is detected and the second When the wireless network corresponds uniquely, the data stream is offloaded to the second wireless network according to the application id.
在一个可能的示例中,在根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元601具体用于:在检测到应用的宽带需求大于需求阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,在检测到应用的宽带需求小于或者等于需求阈值时,将所述应用的数据流,分流到所述第二无线网络。In a possible example, in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to: When the demand is greater than the demand threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, offload the data flow of the application to all Describe the second wireless network.
在一个可能的示例中,在根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元601具体用于:当检测到应用的优先级大于优先级阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,当检测到应用的优先级小于或者等于优先级阈值时,将所述应用的数据流分流到所述第二无线网络。In a possible example, in terms of performing a static link aggregation SLA operation on a data stream according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to: When the level is greater than the priority threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, offload the data flow of the application to The second wireless network.
在一个可能的示例中,所述优先级包括以下至少一种:重要性等级、安全性等级。In a possible example, the priority level includes at least one of the following: an importance level and a security level.
在一个可能的示例中,在根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元601具体用于:分别对不同的数据流用第一数据流标识或者第二数据流标识进行标记,得到相应的第一数据流或者第二数据流;将所述第一数据流分流到所述第一无线网络,以及,将所述第二数据流分流到所述第二无线网络。In a possible example, in terms of performing a static link aggregation SLA operation on a data stream according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to: respectively use different data streams Marking the first data stream identifier or the second data stream identifier to obtain the corresponding first data stream or second data stream; offloading the first data stream to the first wireless network, and dividing the second data stream The data stream is offloaded to the second wireless network.
在一个可能的示例中,在根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元601具体用于,分别对同一个数据流中的数 据包用第一数据包标识或者第二数据包标识标记,得到相应的第一数据包或者第二数据包;将所述第一数据包分流到第一无线网络,以及,将所述第二数据包分流到所述第二无线网络。In a possible example, in terms of performing a static link aggregation SLA operation on a data stream according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to separately process the same data stream The data packet in is marked with the first data packet identifier or the second data packet identifier to obtain the corresponding first data packet or second data packet; offloading the first data packet to the first wireless network, and The second data packet is offloaded to the second wireless network.
在一个可能的示例中,在控制所述第一路由器启动一个第二无线网络方面,所述处理单元601具体用于:当所述第一路由器所能够启用的多个无线网络包括2个时,控制所述第一路由器启动剩余的一个第二无线网络;或者,当所述第一路由器所能够启用的多个无线网络包括3个及3个以上时;所述控制所述第一路由器根据当前带宽需求选取一个第二无线网络。In a possible example, in terms of controlling the first router to start a second wireless network, the processing unit 601 is specifically configured to: when there are two wireless networks enabled by the first router, include two, Controlling the first router to start the remaining one second wireless network; or, when the plurality of wireless networks enabled by the first router includes 3 or more; the controlling the first router according to the current A second wireless network is selected for bandwidth requirements.
在一个可能的示例中,在检测第一无线网络的链路时延方面,所述处理单元601具体用于:发送网络诊断工具至预设外网网址获取所述第一无线网络的链路时延数据,以及,计算所述网络链路时延数据得到所述第一无线网络的链路时延。In a possible example, in terms of detecting the link delay of the first wireless network, the processing unit 601 is specifically configured to: send a network diagnostic tool to a preset external network URL to obtain the link of the first wireless network Delay data, and calculating the network link delay data to obtain the link delay of the first wireless network.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。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 aforementioned computer includes electronic devices.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application also provides a computer program product, 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.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described action sequence, Because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved actions and modules are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above-mentioned units is only a division of logical functions. In actual implementation, 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. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections 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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, 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 may be implemented in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,ReaP-Only Memory)、随机存取存储 器(RAM,RanPom Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, ReaP-Only Memory), random access memory (RAM, RanPom Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:ReaP-Only Memory,简称:ROM)、随机存取器(英文:RanPom Access Memory,简称:RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by a program instructing relevant hardware. 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, abbreviation: ROM), random access device (English: RanPom Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and the core idea of the present application; Those of ordinary skill in the art, according to the ideas of the present application, may have changes in specific implementations and application scopes. In summary, the content of this specification should not be construed as limiting the present application.

Claims (20)

  1. 一种传输控制方法,其特征在于,应用于电子设备,所述方法包括:A transmission control method, characterized in that it is applied to an electronic device, the method includes:
    在检测第一无线网络的链路时延大于或者等于预设链路时延时,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络;Detecting that the link delay of the first wireless network is greater than or equal to the preset link delay, controlling the first router to start a second wireless network, and the first wireless network is enabled by the first router One of the multiple wireless networks;
    接入所述第二无线网络;Access to the second wireless network;
    根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。According to the first wireless network and the second wireless network, a static link aggregation SLA operation is performed on the data stream.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:The method according to claim 1, wherein performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes:
    当检测到所述数据流的应用id与所述第一无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第一无线网络;或者,When it is detected that the application id of the data stream uniquely corresponds to the first wireless network, offload the data stream to the first wireless network according to the application id; or,
    当检测到所述数据流的应用id与所述第二无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第二无线网络。When it is detected that the application id of the data stream uniquely corresponds to the second wireless network, the data stream is offloaded to the second wireless network according to the application id.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:The method according to claim 1, wherein performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes:
    在检测到应用的宽带需求大于需求阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,When it is detected that the broadband demand of the application is greater than the demand threshold, offload the data stream of the application to the first wireless network; or,
    在检测到应用的宽带需求小于或者等于需求阈值时,将所述应用的数据流,分流到所述第二无线网络。When it is detected that the broadband demand of the application is less than or equal to the demand threshold, the data stream of the application is offloaded to the second wireless network.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:The method according to claim 1, wherein performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes:
    当检测到应用的优先级大于优先级阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,When it is detected that the priority of the application is greater than the priority threshold, offload the data flow of the application to the first wireless network; or,
    当检测到应用的优先级小于或者等于优先级阈值时,将所述应用的数据流分流到所述第二无线网络。When it is detected that the priority of the application is less than or equal to the priority threshold, the data stream of the application is offloaded to the second wireless network.
  5. 根据权利要求4所述的方法,其特征在于,所述优先级包括以下至少一种:重要性等级、安全性等级。The method according to claim 4, wherein the priority level includes at least one of the following: an importance level and a security level.
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:The method according to claim 1, wherein performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes:
    分别对不同的数据流用第一数据流标识或者第二数据流标识进行标记,得到相应的第一数据流或者第二数据流;Respectively mark different data streams with the first data stream identifier or the second data stream identifier to obtain the corresponding first data stream or second data stream;
    将所述第一数据流分流到所述第一无线网络,以及,将所述第二数据流分流到所述第二无线网络。Offload the first data stream to the first wireless network, and offload the second data stream to the second wireless network.
  7. 根据权利要求1所述的方法,其特征在于,所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作,包括:The method according to claim 1, wherein performing the static link aggregation SLA operation on the data stream according to the first wireless network and the second wireless network includes:
    分别对同一个数据流中的数据包用第一数据包标识或者第二数据包标识标记,得到相应的第一数据包或者第二数据包;Respectively marking the data packets in the same data stream with the first data packet identifier or the second data packet identifier to obtain the corresponding first data packet or second data packet;
    将所述第一数据包分流到第一无线网络,以及,将所述第二数据包分流到所述第二无线网络。Offload the first data packet to the first wireless network, and offload the second data packet to the second wireless network.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述控制所述第一路由器启动一个第二无线网络,包括:The method according to any one of claims 1-7, wherein the controlling the first router to start a second wireless network includes:
    当所述第一路由器所能够启用的多个无线网络包括2个时,控制所述第一路由器启动剩余的一个第二无线网络;或者,When the plurality of wireless networks enabled by the first router includes 2, control the first router to start the remaining one second wireless network; or,
    当所述第一路由器所能够启用的多个无线网络包括3个及3个以上时;所述控制所述第一路由器根据当前带宽需求选取一个第二无线网络。When the plurality of wireless networks enabled by the first router includes three or more than three; the controlling the first router to select a second wireless network according to current bandwidth requirements.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述检测第一无线网络的链路时延,包括:The method according to any one of claims 1-8, wherein the detecting the link delay of the first wireless network includes:
    发送网络诊断工具至预设外网网址,获取所述第一无线网络的链路时延数据;Send a network diagnostic tool to a preset external network website to obtain link delay data of the first wireless network;
    计算所述网络链路时延数据,得到所述第一无线网络的链路时延。Calculate the network link delay data to obtain the link delay of the first wireless network.
  10. 一种传输控制装置,其特征在于,应用于电子设备,所述传输控制装置包括处理单元和通信单元,其中,A transmission control device, characterized in that it is applied to electronic equipment, the transmission control device includes a processing unit and a communication unit, wherein,
    所述处理单元,检测第一无线网络的链路时延大于或者等于预设链路时延时,通过所述通信单元传递链路时延信号,控制所述第一路由器启动一个第二无线网络,所述第一无线网络为所述第一路由器所能够启用的多个无线网络中的一个无线网络,通过所述通信单元接入所述第二无线网络,根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作。The processing unit detects that the link delay of the first wireless network is greater than or equal to a preset link delay, transmits a link delay signal through the communication unit, and controls the first router to start a second wireless network , The first wireless network is one of a plurality of wireless networks enabled by the first router, and the second wireless network is accessed through the communication unit according to the first wireless network and The second wireless network performs a static link aggregation SLA operation on the data stream.
  11. 根据权利要求10所述的装置,其特征在于,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元具体用于:当检测到所述数据流的应用id与所述第一无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第一无线网络;或者,当检测到所述数据流的应用id与所述第二无线网络唯一对应时,根据所述应用id将所述数据流分流到所述第二无线网络。The apparatus according to claim 10, wherein in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the processing unit is specifically configured to : When it is detected that the application id of the data stream uniquely corresponds to the first wireless network, shunt the data stream to the first wireless network according to the application id; or, when the data stream is detected When the application id of the second wireless network corresponds to the second wireless network, the data stream is offloaded to the second wireless network according to the application id.
  12. 根据权利要求10所述的装置,其特征在于,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元具体用于:在检测到应用的宽带需求大于需求阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,在检测到应用的宽带需求小于或者等于需求阈值时,将所述应用的数据流,分流到所述第二无线网络。The apparatus according to claim 10, wherein in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the processing unit is specifically configured to : When it is detected that the broadband demand of the application is greater than the demand threshold, offload the data stream of the application to the first wireless network; or, when it is detected that the broadband demand of the application is less than or equal to the demand threshold, the application The data stream is offloaded to the second wireless network.
  13. 根据权利要求10所述的装置,其特征在于,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元具体用于:当检测到应用的优先级大于优先级阈值时,将所述应用的数据流,分流到所述第一无线网络;或者,当检测到应用的优先级小于或者等于优先级阈值时,将所述应用的数据流分流到所述第二无线网络。The apparatus according to claim 10, wherein in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the processing unit is specifically configured to : When it is detected that the priority of the application is greater than the priority threshold, offload the data flow of the application to the first wireless network; or, when it is detected that the priority of the application is less than or equal to the priority threshold, The data stream of the application is offloaded to the second wireless network.
  14. 根据权利要求13所述的装置,其特征在于,所述优先级包括以下至少一种:重要性等级、安全性等级。The apparatus according to claim 13, wherein the priority level includes at least one of the following: an importance level and a security level.
  15. 根据权利要求10所述的装置,其特征在于,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元具体用于:分别对不同的数据流用第一数据流标识或者第二数据流标识进行标记,得到相应的第一数据流或者第二数据流;以及将所述第一数据流分流到所述第一无线网络,以及,将所述第二数据流分流到所述第二无线网络。The apparatus according to claim 10, wherein in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the processing unit is specifically configured to : Respectively marking different data streams with the first data stream identifier or the second data stream identifier to obtain the corresponding first data stream or second data stream; and offloading the first data stream to the first wireless network And, offload the second data stream to the second wireless network.
  16. 根据权利要求10所述的装置,其特征在于,在所述根据所述第一无线网络和所述第二无线网络,针对数据流执行静态链路聚合SLA操作方面,所述处理单元具体用于:分别对同一个数据流中的数据包用第一数据包标识或者第二数据包标识标记,得到相应的第一数据包或者第二数据包;以及将所述第一数据包分流到第一无线网络,以及,将所述第二数据包分流到所述第二无线网络。The apparatus according to claim 10, wherein in terms of performing static link aggregation SLA operations on data streams according to the first wireless network and the second wireless network, the processing unit is specifically configured to : Respectively marking the data packets in the same data stream with the first data packet identifier or the second data packet identifier to obtain the corresponding first data packet or second data packet; and offloading the first data packet to the first A wireless network, and offload the second data packet to the second wireless network.
  17. 根据权利要求10所述的装置,其特征在于,在所述控制所述第一路由器启动一个第二无线网络方面,所述处理单元具体用于:当所述第一路由器所能够启用的多个无线网络包括2个时,控制所述第一路由器启动剩余的一个第二无线网络;或者,当所述第一路 由器所能够启用的多个无线网络包括3个及3个以上时;所述控制所述第一路由器根据当前带宽需求选取一个第二无线网络。The apparatus according to claim 10, wherein in terms of controlling the first router to start a second wireless network, the processing unit is specifically configured to: when the first router can enable multiple When there are two wireless networks, the first router is controlled to start the remaining one second wireless network; or, when there are three or more wireless networks enabled by the first router, the control is performed; the control The first router selects a second wireless network according to current bandwidth requirements.
  18. 根据权利要求10所述的装置,其特征在于,在所述检测第一无线网络的链路时延方面,所述处理单元具体用于:发送网络诊断工具至预设外网网址,获取所述第一无线网络的链路时延数据;以及计算所述网络链路时延数据,得到所述第一无线网络的链路时延。The apparatus according to claim 10, characterized in that, in terms of detecting the link delay of the first wireless network, the processing unit is specifically configured to: send a network diagnostic tool to a preset external network URL to obtain the Link delay data of the first wireless network; and calculating the link delay data of the network to obtain the link delay of the first wireless network.
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and are configured to be executed by the processor, The program includes instructions for performing the steps in the method according to any one of claims 1-9.
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
PCT/CN2019/109445 2018-11-16 2019-09-30 Transmission control method and related apparatus WO2020098410A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811373742.3A CN109362097B (en) 2018-11-16 2018-11-16 Transmission control method and related device
CN201811373742.3 2018-11-16

Publications (1)

Publication Number Publication Date
WO2020098410A1 true WO2020098410A1 (en) 2020-05-22

Family

ID=65332198

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/109445 WO2020098410A1 (en) 2018-11-16 2019-09-30 Transmission control method and related apparatus

Country Status (2)

Country Link
CN (1) CN109362097B (en)
WO (1) WO2020098410A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222279A (en) * 2021-12-31 2022-03-22 全球能源互联网研究院有限公司 Emergency command field global information transmission method and edge intelligent equipment

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109362097B (en) * 2018-11-16 2021-06-01 Oppo广东移动通信有限公司 Transmission control method and related device
CN109922504B (en) * 2019-03-27 2022-03-01 Oppo广东移动通信有限公司 Data distribution method and related product
CN111083763B (en) * 2019-12-17 2021-05-25 Oppo广东移动通信有限公司 Network control method, network control device, storage medium and electronic equipment
CN111278081B (en) * 2020-01-21 2022-04-22 Oppo广东移动通信有限公司 Network access control method and related device
CN111918317B (en) * 2020-07-27 2023-11-07 深圳市信锐网科技术有限公司 AP control method and device, wireless controller and storage medium
CN113099477B (en) * 2021-03-24 2022-11-11 Oppo广东移动通信有限公司 Time delay information processing method and related device
CN114125935A (en) * 2021-11-29 2022-03-01 展讯通信(上海)有限公司 Data link aggregation method and device, storage medium and aggregation equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607737A (en) * 2013-11-11 2014-02-26 北京邮电大学 Heterogeneous network service flow-dividing method and system
CN103944821A (en) * 2013-01-18 2014-07-23 友讯科技股份有限公司 Path selection method for mixing multiple heterogeneous networks
US9674094B1 (en) * 2014-03-13 2017-06-06 Marvell International Ltd. Method and apparatus for controlling transmission of packets over a link aggregation group
CN107306192A (en) * 2016-04-18 2017-10-31 中国移动通信集团广东有限公司 A kind of service data transmission method, device and system
CN108777666A (en) * 2018-08-23 2018-11-09 Oppo广东移动通信有限公司 The shunt method and relevant device of link aggregation
CN109362097A (en) * 2018-11-16 2019-02-19 Oppo广东移动通信有限公司 Transfer control method and relevant apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130288686A1 (en) * 2011-04-29 2013-10-31 Joey Chou Techniques to manage energy savings for interoperable radio access technology networks
US9071537B2 (en) * 2012-06-15 2015-06-30 Citrix Systems, Inc. Systems and methods for propagating health of a cluster node
CN105873115B (en) * 2015-01-23 2021-06-25 中兴通讯股份有限公司 Network resource adjustment method and terminal between access technology networks
CN107204923B (en) * 2017-05-24 2020-06-02 全讯汇聚网络科技(北京)有限公司 Protocol distribution method, system and router
US11234177B2 (en) * 2017-06-23 2022-01-25 Beijing Xiaomi Mobile Software Co., Ltd. Data offloading method and device, access point equipment and station
CN107277861A (en) * 2017-06-27 2017-10-20 广州坚和网络科技有限公司 A kind of distributed cut-in method of mobile whole network
CN108337699B (en) * 2018-01-23 2020-08-18 上海载德信息科技股份有限公司 Internet surfing method and device, mobile terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944821A (en) * 2013-01-18 2014-07-23 友讯科技股份有限公司 Path selection method for mixing multiple heterogeneous networks
CN103607737A (en) * 2013-11-11 2014-02-26 北京邮电大学 Heterogeneous network service flow-dividing method and system
US9674094B1 (en) * 2014-03-13 2017-06-06 Marvell International Ltd. Method and apparatus for controlling transmission of packets over a link aggregation group
CN107306192A (en) * 2016-04-18 2017-10-31 中国移动通信集团广东有限公司 A kind of service data transmission method, device and system
CN108777666A (en) * 2018-08-23 2018-11-09 Oppo广东移动通信有限公司 The shunt method and relevant device of link aggregation
CN109362097A (en) * 2018-11-16 2019-02-19 Oppo广东移动通信有限公司 Transfer control method and relevant apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222279A (en) * 2021-12-31 2022-03-22 全球能源互联网研究院有限公司 Emergency command field global information transmission method and edge intelligent equipment

Also Published As

Publication number Publication date
CN109362097A (en) 2019-02-19
CN109362097B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
WO2020098410A1 (en) Transmission control method and related apparatus
WO2020147627A1 (en) Link selection method and related apparatus
WO2020164520A1 (en) Data packet distribution method and apparatus, mobile terminal, and storage medium
WO2020164475A1 (en) Data distribution method and apparatus, mobile terminal, and storage medium
WO2020147606A1 (en) Wireless roaming method and device
WO2020143680A1 (en) Data transmission method and related apparatus
WO2020134721A1 (en) Data transmission method and related apparatus
WO2020207229A1 (en) Data transmission method and related apparatus
WO2020134720A1 (en) Data transmission control method and related product
WO2017050015A1 (en) Data transmission method and device and terminal
US20110113146A1 (en) Dynamic quality of service (qos) setup over wired and wireless networks
WO2020038132A1 (en) Data transmission method and related apparatus
US11627507B2 (en) Network handover method and apparatus
WO2020164351A1 (en) Link connection method and related apparatus
CN109526020B (en) Data transmission method and related product
CN109120524B (en) Link aggregation method and related equipment
CN110166414B (en) Communication method, device and system
WO2020098411A1 (en) Electromagnetic interference control method and related apparatus
US20150312382A1 (en) Switching a network connection from a first network protocol to a second network protocol
WO2019095381A1 (en) Service configuration method and related product
US9535638B2 (en) Directly transferring data between devices
WO2020114048A1 (en) Data transmission method and related apparatus
WO2020143579A1 (en) Link aggregation implementation method and related product
US10321494B2 (en) Method and apparatus for communicating in a wireless communication network
CN105325043A (en) Bearer setup apparatus and method

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

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

Country of ref document: EP

Kind code of ref document: A1