CN109362097B - Transmission control method and related device - Google Patents

Transmission control method and related device Download PDF

Info

Publication number
CN109362097B
CN109362097B CN201811373742.3A CN201811373742A CN109362097B CN 109362097 B CN109362097 B CN 109362097B CN 201811373742 A CN201811373742 A CN 201811373742A CN 109362097 B CN109362097 B CN 109362097B
Authority
CN
China
Prior art keywords
wireless network
data
application
router
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811373742.3A
Other languages
Chinese (zh)
Other versions
CN109362097A (en
Inventor
黄园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811373742.3A priority Critical patent/CN109362097B/en
Publication of CN109362097A publication Critical patent/CN109362097A/en
Priority to PCT/CN2019/109445 priority patent/WO2020098410A1/en
Application granted granted Critical
Publication of CN109362097B publication Critical patent/CN109362097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The embodiment of the application discloses a transmission control method and a related device, wherein the method comprises the following steps: the method comprises the steps that when the electronic equipment detects that the link delay of a first wireless network is larger than or equal to the preset link delay, the electronic equipment controls a first router to start a second wireless network, wherein the first network is one of a plurality of wireless networks which can be started by the first router; accessing a second wireless network; static link aggregation, SLA, operations are performed for a data flow according to a first wireless network and a second wireless network. The embodiment of the application is beneficial to relieving the pressure of the network during the peak time of the traffic.

Description

Transmission control method and related device
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a transmission control method and a related apparatus.
Background
In life, a router often can connect a plurality of electronic equipment in peak hour, and in the prior art, when a plurality of electronic equipment of connecting same router consumed the flow simultaneously, the card appeared easily, has reduced user's experience degree.
Disclosure of Invention
The embodiment of the application provides a transmission control method and a related device, aiming to improve the flexibility and intelligence of network control and further improve the 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:
when detecting that the link delay of a first wireless network is greater than or equal to the preset link delay, controlling the first router to start a second wireless network, wherein the first wireless network is one of a plurality of wireless networks which can be started by the first router;
accessing the second wireless network;
performing a static link aggregation, SLA, operation for a data flow according to the first wireless network and the second wireless network.
In a second aspect, an embodiment of the present application provides a transmission control apparatus, which is applied to an electronic device, and includes a processing unit and a communication unit, where the processing unit is configured to control a first router to start a second wireless network when detecting that a link delay of the first wireless network is greater than or equal to a preset link delay, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, pass through the communication unit to access the second wireless network, and perform a static link aggregation operation for an SLA data flow 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 executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in this embodiment of the application, when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, the first router is controlled to start a second wireless network, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, then the second wireless network is accessed, and finally, a static link aggregation SLA operation is performed on a data flow according to the first wireless network and the second wireless network. Therefore, for the router corresponding to the current network, the electronic device in the embodiment of the application can control the router to open other available networks according to the network delay corresponding to the current network, and the data stream is distributed to the other available networks.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a diagram of an example system architecture of a wireless communication system in which an electronic device according to an embodiment of the present application is located;
fig. 2 is a schematic flowchart of a transmission control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another transmission control method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another transmission control method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram of functional units of a transmission control apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device related to the embodiments of the present application may be an electronic device with fingerprint identification capability, and the electronic device may include various handheld devices with fingerprint identification function, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), electronic devices (terminal device), and so on.
As shown in fig. 1, an electronic device 101 may be connected to a data network 103, which is a communication network for transmitting data traffic; Wi-Fi 102, a technology that allows an electronic device to connect to a wireless local area network; the 2.4GUHF or 5GSHFISM radio frequency bands are typically used; and bluetooth 104, a wireless technology standard, that enables short-range data exchange (using UHF radio waves in the ISM band of 2.4-2.485 GHz) between fixed equipment, mobile equipment, and building personal area networks, among others.
Link aggregation refers to enabling a device to use two or more network ports to access the internet at the same time, for example, a mobile phone uses wireless high-fidelity Wi-Fi and a data network to access the network while performing link aggregation. Currently, when the electronic device uses Wi-Fi, the data network is not available (connectivisyservice network scoring mechanism causes the data network to disconnect). When the electronic device is only accessed to one wireless network, the current network bandwidth resource is in shortage, so that the electronic device is stuck and the like.
In view of the foregoing problems, an embodiment of the present application provides a transmission control method, and the following describes the embodiment of the present application in detail with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a schematic flowchart of a transmission control method applied to an electronic device according to an embodiment of the present application, and as shown in fig. 2, the transmission control method includes:
s201, when detecting that the link delay of the first wireless network is greater than or equal to the preset link delay, the electronic device controls the first router to start a second wireless network.
The first wireless network is a current working network and is one of a plurality of wireless networks which can be started by the first router, and the second wireless network is not started currently and can be started by the first router.
S202, the electronic equipment 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 the second wireless network.
S203, the electronic equipment executes static link aggregation SLA operation aiming at data flow according to the first wireless network and the second wireless network.
Wherein, according to the first wireless network and the second wireless network, the electronic device performing Static Link Aggregation (SLA) operation on data flows may be: after the electronic equipment processes different data streams, part of the data streams in the data streams which are originally transmitted through the first wireless network are divided into the second wireless network for transmission. For example, by presetting a routing rule, data streams corresponding to applications with different priorities are distributed to different wireless networks.
It can be seen that, in this embodiment of the application, when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, the first router is controlled to start a second wireless network, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, then the second wireless network is accessed, and finally, a static link aggregation SLA operation is performed on a data flow according to the first wireless network and the second wireless network. Therefore, for the router corresponding to the current network, the electronic device in the embodiment of the application can control the router to open other available networks according to the network delay corresponding to the current network, and the data stream is distributed to the other available networks.
In one possible example, the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network comprises: acquiring an application id of a data stream, wherein the application id is uniquely corresponding to a corresponding application, and the application id is uniquely corresponding to the first wireless network or the second wireless network through a preset rule; when the application id corresponds uniquely to the first wireless network, splitting the data flow to the first wireless network according to the application id; or, when the application id corresponds uniquely to the second wireless network, the data stream is distributed to the second wireless network according to the application id.
The method comprises the steps that one application has only one uniquely corresponding application id, the data stream of one application contains the application id of the application, and the application id is uniquely corresponding to the first wireless network or the second wireless network through a routing rule by adding the routing rule in the electronic equipment in advance. Data streams corresponding to the same application can only pass through the same wireless network, and under the constraint of different routing rules, data streams of different applications can be transmitted through different wireless networks through the routing rules. For example, if the application id corresponding to the ericsson is 10008, the data flow corresponding to the ericsson is split to the second wireless network if the routing rule is added and the data packet whose application id is 10008 passes through the second wireless access network, the application id corresponding to the pan is 10007, and the data flow corresponding to the pan is split to the second wireless network if the routing rule is added and the data packet whose application id is 10007 passes through the first wireless access network.
Therefore, in this example, the electronic device can perform wireless network matching according to different applications, and data streams of different applications are distributed according to application ids of the applications, so that network control is more flexible and intelligent.
In one possible example, the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network comprises: when detecting that the broadband requirement of the application is greater than a requirement threshold value, shunting the data flow of the application to the first wireless network; or when detecting that the broadband requirement of the application is less than or equal to the requirement threshold, shunting the data stream with the application to the second wireless network.
The method comprises the steps that for the broadband requirement of an application, when the broadband requirement of the application is larger than a requirement threshold value, data flow corresponding to the application is distributed to a first wireless network, and when the broadband requirement of the application is smaller than or equal to the requirement threshold value, the data flow corresponding to the application is distributed to a second wireless network. It should be noted that, the correspondence between the size of the requirement threshold of the application and the first wireless network and the second wireless network is not absolute, and here, the requirement threshold is only used to embody a way of implementing data stream splitting according to the broadband requirement of the application. Generally, the larger the broadband requirement of an application is, the larger the capacity of a transmission channel of a wireless network allocated to the application is, the more the data stream corresponding to the application can be guaranteed to be transmitted successfully and quickly, the different channels used by the wireless network to transmit the data stream have different capacities to the data stream, and the different broadband requirements are also different.
As can be seen, in this example, the electronic device transmits data streams to different wireless networks that can be allocated according to different broadband requirements of the application, so as to improve the transmission speed of data transmission.
In one possible example, the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network comprises: when detecting that the priority of the application is greater than a priority threshold, shunting the data flow of the application to the first wireless network; or, when it is detected that the priority of an application is less than or equal to the priority threshold, data flow with the application is shunted to the second wireless network.
The priority of the application is a parameter for offloading the corresponding data stream, and therefore, the priority threshold may be set as needed, but in this example, only a manner of offloading the wireless network by using the priority of the application is shown, it should be noted that, in general, under the same condition, an application with a higher priority has a better adapted channel, and it can be understood that, when the data stream of the application is matched with the wireless network, the channel condition of the wireless network may be considered. Matching the application data stream with the priority greater than the priority threshold with the high-quality channel, and enabling the high-quality channel to perform data transmission, namely performing data transmission on the application data stream with the priority greater than the priority threshold and the wireless network with the high-quality channel, and correspondingly selecting the wireless network with the poor channel to perform data transmission on the application data stream with the priority less than or equal to the priority threshold. 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 the priority greater than the priority threshold is shunted to the second wireless network.
Therefore, in this example, the electronic device can perform corresponding shunting according to the priority data stream of the application, thereby ensuring improvement of the data transmission speed.
In one possible example, wherein the priority comprises at least one of: importance level, security level.
The priority may be an importance level, the priority may be a security level, when the priority is an importance level, the data stream corresponding to the application may be distributed to the corresponding wireless network according to the importance level corresponding to the application, and when the priority is a security level, the data stream corresponding to the application may also be distributed to the corresponding wireless network according to the security level corresponding to the application.
As can be seen, in this example, the electronic device can allocate different networks according to the priority of the application, thereby ensuring an improvement in data transmission speed and improving the security of network transmission.
In one possible example, the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network comprises: respectively marking different data streams with first data stream identifications or second data stream identifications to obtain corresponding first data streams or second data streams; splitting the first data flow to the first wireless network and splitting the second data flow to the second wireless network.
The marking of the different data streams with the first data stream identifier or the second data stream identifier may be performed by using the corresponding first data stream identifier or the second data stream identifier according to the data stream type, where 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 be transmitted through the first wireless network, and that is, the second data stream can only be transmitted through the second wireless network. For example, the WeChat corresponds to a video data stream, a voice data stream, a picture text data stream, and the like, wherein the video data stream corresponds to a first data stream identifier, the voice data stream, the picture text data stream, and the like correspond to a second data stream identifier, and therefore, the video data stream is transmitted through a first wireless network, and the voice data stream and the picture text data stream are transmitted through a second wireless network.
In one possible example, the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network comprises: respectively marking the data packets in the same data stream by using a first data packet identifier or a second data packet identifier to obtain corresponding first data packets or second data packets; and shunting the first data packet to a first wireless network, and shunting the second data packet to the second wireless network.
The data packets may be divided into local area network data packets and wide area network data packets, and for the local area network data packets, in the local area network, the transceiving of the data packets occurs between the electronic device and the electronic device, such as between a mobile phone and a mobile phone, by negotiating the rules of distribution and aggregation, different data packet identification marks can be directly negotiated and determined to be used for different data packets, and a data packet identification list is established according to the rules, the first data packet identification corresponds to the data stream in the list 1, the first data indicates that the first wireless network corresponds to the first data packet identification, the second data packet identification corresponds to the data stream in the list 2, and the second data packet identification corresponds to the second wireless network. For a wide area network data packet, in a wide area network, data packet receiving and sending are realized by interaction of a mobile phone and a server, and 2 wireless networks respectively mark the data packets in the same data stream with a first data packet identifier or a second data packet identifier to obtain corresponding first data packets or second data packets; the server can identify the first data packet identifier and the second data packet identifier and aggregate the first data packet and the second data packet, in other words, the server can synchronously identify and aggregate different data packets of the same data stream from different networks.
Therefore, in this example, the electronic device can split the data stream according to the data packet and distribute the data stream to different wireless networks, so that the network smoothness is improved.
In one possible example, the controlling the first router to initiate a second wireless network includes: when the plurality of wireless networks which can be started by the first router comprises 2, controlling the first router to start a rest second wireless network; or when the plurality of wireless networks which can be enabled by the first router comprise 3 wireless networks and more than 3 wireless networks, controlling the first router to select a second wireless network.
When the number of wireless networks that can be enabled by the first router includes 3 or more than 3, controlling the first router to select a second wireless network may select a second wireless network according to parameters such as current bandwidth requirements and application priorities. For example, a second wireless network that is higher than and closest to the current broadband requirements is selected from the 3 enabled wireless networks.
In one possible example, the detecting the link latency of the first wireless network includes: sending a network diagnosis tool to a preset external network address to acquire link delay data of the first wireless network; and calculating the network link delay data to obtain the link delay of the first wireless network.
The external network address can be one or more of Baidu website, Tencent website and Internet Exit Website.
Referring to fig. 3, fig. 3 is a schematic flow chart of a transmission control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1, where as shown in the figure, the transmission control method includes:
s301, when detecting that the link delay of the first wireless network is greater than or equal to the preset link delay, the electronic device controls the first router to start a second wireless network.
S302, the electronic equipment accesses the second wireless network.
S303, when detecting that the broadband requirement of the application is greater than a requirement threshold value, the electronic device shunts the data flow of the application to the first wireless network.
S304, when detecting that the broadband requirement of the application is less than or equal to a requirement threshold value, the electronic device shunts the data stream of the application to the second wireless network.
It can be seen that, in this embodiment of the application, when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, the first router is controlled to start a second wireless network, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, then the second wireless network is accessed, and finally, a static link aggregation SLA operation is performed on a data flow according to the first wireless network and the second wireless network. Therefore, for the router corresponding to the current network, the electronic device in the embodiment of the application can control the router to open other available networks according to the network delay corresponding to the current network, and the data stream is distributed to the other available networks.
Referring to fig. 4, fig. 4 is a schematic flow chart of a transmission control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1, where as shown in the figure, the transmission control method includes:
s401, when detecting that the link delay of the first wireless network is greater than or equal to the preset link delay, the electronic device controls the first router to start a second wireless network.
S402, the electronic equipment accesses the second wireless network.
S403, when detecting that the application id of the data stream corresponds to the first wireless network only, the electronic device distributes the data stream to the first wireless network according to the application id.
S404, when detecting that the application id of the data stream corresponds to the second wireless network only, the electronic equipment distributes the data stream to the second wireless network according to the application id.
It can be seen that, in this embodiment of the application, when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, the first router is controlled to start a second wireless network, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, then the second wireless network is accessed, and finally, a static link aggregation SLA operation is performed on a data flow according to the first wireless network and the second wireless network. Therefore, for the router corresponding to the current network, the electronic device in the embodiment of the application can control the router to open other available networks according to the network delay corresponding to the current network, and the data stream is distributed to the other available networks.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device 500 according to 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, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for performing the following steps;
when detecting that the link delay of a first wireless network is larger than or equal to the delay of a preset link, controlling a first router to start a second wireless network, wherein the first wireless network is one of a plurality of wireless networks which can be started by the first router, accessing the second wireless network, and executing Static Link Aggregation (SLA) operation aiming at data flow according to the first wireless network and the second wireless network.
It can be seen that, in this embodiment of the application, when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, the first router is controlled to start a second wireless network, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, then the second wireless network is accessed, and finally, a static link aggregation SLA operation is performed on a data flow according to the first wireless network and the second wireless network. Therefore, for the router corresponding to the current network, the electronic device in the embodiment of the application can control the router to open other available networks according to the network delay corresponding to the current network, and the data stream is distributed to the other available networks.
In one possible example, in terms of the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network, the instructions in the program are specifically configured to: when detecting that an application id of the data flow corresponds uniquely to the first wireless network, offloading the data flow to the first wireless network according to the application id; or, when detecting that the application id of the data flow corresponds to the only one of the second wireless network, splitting the data flow to the second wireless network according to the application id.
In one possible example, in terms of the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network, the instructions in the program are specifically configured to: when detecting that the broadband requirement of the application is greater than a requirement threshold value, shunting the data flow of the application to the first wireless network; or when detecting that the broadband requirement of the application is less than or equal to a requirement threshold, shunting the data stream of the application to the second wireless network.
In one possible example, in terms of the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network, the instructions in the program are specifically configured to: when detecting that the priority of the application is greater than a priority threshold, shunting the data flow of the application to the first wireless network; or when detecting that the priority of the application is less than or equal to the priority threshold, distributing the data flow of the application to the second wireless network.
In one possible example, the priority includes at least one of: importance level, security level.
In one possible example, in terms of the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network, the instructions in the program are specifically configured to: respectively marking different data streams with first data stream identifications or second data stream identifications to obtain corresponding first data streams or second data streams; splitting the first data flow to the first wireless network and splitting the second data flow to the second wireless network.
In one possible example, in terms of the performing static link aggregation, SLA, operations for data flows according to the first wireless network and the second wireless network, the instructions in the program are specifically configured to: respectively marking the data packets in the same data stream by using a first data packet identifier or a second data packet identifier to obtain corresponding first data packets or second data packets; and shunting the first data packet to a first wireless network, and shunting the second data packet to the second wireless network.
In one possible example, in the aspect of controlling the first router to start a second wireless network, the instructions in the program are specifically configured to: when the plurality of wireless networks which can be started by the first router comprises 2, controlling the first router to start a rest second wireless network; or, when the plurality of wireless networks that the first router can enable includes 3 and more than 3; and controlling the first router to select a second wireless network according to the current bandwidth requirement.
In one possible example, the instructions in the program are specifically for performing the following: before detecting the link delay of the first wireless network, sending a network diagnosis tool to a preset external network address to acquire the link delay data of the first wireless network, and calculating the network link delay data to acquire the link delay of the first wireless network.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram showing functional units of a transmission control apparatus 600 according to an embodiment of the present application. The control device 600 is applied to an electronic apparatus, and includes a processing unit 601 and a communication unit 602, wherein,
the processing unit 601, when detecting that the link delay of a first wireless network is greater than or equal to a preset link delay, controls the first router to start a second wireless network, where the first wireless network is one of multiple wireless networks that can be enabled by the first router, accesses the second wireless network through the communication unit 602, and performs a static link aggregation SLA operation on a data flow according to the first wireless network and the second wireless network.
The control device 600 may further include a storage unit 603 for storing program codes and data of the electronic apparatus. The processing unit 601 may be a processor, the communication unit 602 may be a touch display screen or a transceiver, and the storage unit 603 may be a memory.
It can be seen that, in this embodiment of the application, when an electronic device detects that a link delay of a first wireless network is greater than or equal to a preset link delay, the first router is controlled to start a second wireless network, where the first wireless network is one of a plurality of wireless networks that can be enabled by the first router, then the second wireless network is accessed, and finally, a static link aggregation SLA operation is performed on a data flow according to the first wireless network and the second wireless network. Therefore, for the router corresponding to the current network, the electronic device in the embodiment of the application can control the router to open other available networks according to the network delay corresponding to the current network, and the data stream is distributed to the other available networks.
In one possible example, in terms of performing static link aggregation, SLA, operations for a data flow according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to, when detecting that an application id of the data flow corresponds uniquely to the first wireless network, offload the data flow to the first wireless network according to the application id; or, when detecting that the application id of the data flow corresponds to the only one of the second wireless network, splitting the data flow to the second wireless network according to the application id.
In one possible example, in terms of performing a static link aggregation SLA operation for a data flow according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to: when detecting that the broadband requirement of the application is greater than a requirement threshold value, shunting the data flow of the application to the first wireless network; or when detecting that the broadband requirement of the application is less than or equal to a requirement threshold, shunting the data stream of the application to the second wireless network.
In one possible example, in terms of performing a static link aggregation SLA operation for a data flow according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to: when detecting that the priority of the application is greater than a priority threshold, shunting the data flow of the application to the first wireless network; or when detecting that the priority of the application is less than or equal to the priority threshold, distributing the data flow of the application to the second wireless network.
In one possible example, the priority includes at least one of: importance level, security level.
In one possible example, in terms of performing a static link aggregation SLA operation for a data flow according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to: respectively marking different data streams with first data stream identifications or second data stream identifications to obtain corresponding first data streams or second data streams; splitting the first data flow to the first wireless network and splitting the second data flow to the second wireless network.
In a possible example, in terms of performing a static link aggregation SLA operation on a data flow according to the first wireless network and the second wireless network, the processing unit 601 is specifically configured to mark, by using a first packet identifier or a second packet identifier, data packets in the same data flow respectively to obtain corresponding first data packets or second data packets; and shunting the first data packet to a first wireless network, and shunting the second data packet to the second wireless network.
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 the plurality of wireless networks which can be started by the first router comprises 2, controlling the first router to start a rest second wireless network; or, when the plurality of wireless networks that the first router can enable includes 3 and more than 3; and controlling the first router to select a second wireless network according to the current bandwidth requirement.
In a possible example, in terms of detecting a link latency of a first wireless network, the processing unit 601 is specifically configured to: and sending a network diagnosis tool to a preset external network address to acquire the link delay data of the first wireless network, and calculating the network link delay data to acquire the link delay of the first wireless network.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A transmission control method is applied to a scene of an electronic device for a router corresponding to a current network, and comprises the following steps:
when detecting that the link delay of a first wireless network is greater than or equal to the preset link delay, controlling a first router to start a second wireless network, wherein the first wireless network is one of a plurality of wireless networks which can be started by the first router;
accessing the second wireless network;
performing a static link aggregation, SLA, operation for a data flow according to the first wireless network and the second wireless network, comprising:
when detecting that an application id of the data flow corresponds uniquely to the first wireless network, offloading the data flow to the first wireless network according to the application id; alternatively, the first and second electrodes may be,
when detecting that the application id of the data flow corresponds uniquely to the second wireless network, splitting the data flow to the second wireless network according to the application id.
2. The method of claim 1, wherein performing Static Link Aggregation (SLA) operations for data flows according to the first wireless network and the second wireless network comprises:
when detecting that the broadband requirement of the application is greater than a requirement threshold value, shunting the data flow of the application to the first wireless network; alternatively, the first and second electrodes may be,
and when detecting that the broadband requirement of the application is less than or equal to a requirement threshold value, shunting the data stream of the application to the second wireless network.
3. The method of claim 1, wherein performing Static Link Aggregation (SLA) operations for data flows according to the first wireless network and the second wireless network comprises:
when detecting that the priority of the application is greater than a priority threshold, shunting the data flow of the application to the first wireless network; alternatively, the first and second electrodes may be,
when detecting that the priority of the application is less than or equal to a priority threshold, shunting the data stream of the application to the second wireless network.
4. The method of claim 3, wherein the priority comprises at least one of: importance level, security level.
5. The method of claim 1, wherein performing Static Link Aggregation (SLA) operations for data flows according to the first wireless network and the second wireless network comprises:
respectively marking different data streams with first data stream identifications or second data stream identifications to obtain corresponding first data streams or second data streams;
splitting the first data flow to the first wireless network and splitting the second data flow to the second wireless network.
6. The method of claim 1, wherein performing Static Link Aggregation (SLA) operations for data flows according to the first wireless network and the second wireless network comprises:
respectively marking the data packets in the same data stream by using a first data packet identifier or a second data packet identifier to obtain corresponding first data packets or second data packets;
and shunting the first data packet to a first wireless network, and shunting the second data packet to the second wireless network.
7. The method according to any of claims 1-6, wherein said controlling the first router to initiate a second wireless network comprises:
when the plurality of wireless networks which can be started by the first router comprises 2, controlling the first router to start a rest second wireless network; alternatively, the first and second electrodes may be,
when the plurality of wireless networks enabled by the first router includes 3 and more than 3; and controlling the first router to select a second wireless network according to the current bandwidth requirement.
8. The method according to any of claims 1-6, wherein the detecting the link delay of the first wireless network comprises:
sending a network diagnosis tool to a preset external network address to acquire link delay data of the first wireless network;
and calculating the network link delay data to obtain the link delay of the first wireless network.
9. A transmission control device is applied to a scene of an electronic device for a router corresponding to a current network, and comprises a processing unit and a communication unit,
the processing unit detects that the link delay of a first wireless network is greater than or equal to a preset link delay, transmits a link delay signal through the communication unit, controls a first router to start a second wireless network, accesses the second wireless network through the communication unit, and executes Static Link Aggregation (SLA) operation for data flow according to the first wireless network and the second wireless network, wherein the first wireless network is one of a plurality of wireless networks which can be started by the first router;
in connection with the performing static link aggregation, SLA, operations for a data flow according to the first wireless network and the second wireless network, the processing unit is specifically configured to, when detecting that an application id of the data flow corresponds uniquely to the first wireless network, offload the data flow to the first wireless network according to the application id; or, when detecting that the application id of the data flow corresponds to the only one of the second wireless network, splitting the data flow to the second wireless network according to the application id.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-8.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-8.
CN201811373742.3A 2018-11-16 2018-11-16 Transmission control method and related device Active CN109362097B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN109362097A CN109362097A (en) 2019-02-19
CN109362097B true CN109362097B (en) 2021-06-01

Family

ID=65332198

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (8)

* 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
CN114222279A (en) * 2021-12-31 2022-03-22 全球能源互联网研究院有限公司 Emergency command field global information transmission method and edge intelligent equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204923A (en) * 2017-05-24 2017-09-26 全讯汇聚网络科技(北京)有限公司 A kind of agreement shunt method, system and router
CN107277861A (en) * 2017-06-27 2017-10-20 广州坚和网络科技有限公司 A kind of distributed cut-in method of mobile whole network
CN108337699A (en) * 2018-01-23 2018-07-27 上海载德信息科技有限公司 A kind of method, apparatus of online, mobile terminal and storage medium

Family Cites Families (10)

* 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
TWI492584B (en) * 2013-01-18 2015-07-11 D Link Corp The Path Selection Method of Hybrid Complex Heterogeneous Network
CN103607737B (en) * 2013-11-11 2016-08-24 北京邮电大学 A kind of heterogeneous-network service shunt 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
CN105873115B (en) * 2015-01-23 2021-06-25 中兴通讯股份有限公司 Network resource adjustment method and terminal between access technology networks
CN107306192B (en) * 2016-04-18 2020-12-18 中国移动通信集团广东有限公司 Service data transmission method, device and system
US11234177B2 (en) * 2017-06-23 2022-01-25 Beijing Xiaomi Mobile Software Co., Ltd. Data offloading method and device, access point equipment and station
CN108777666B (en) * 2018-08-23 2020-10-09 Oppo广东移动通信有限公司 Shunting method for link aggregation and related equipment
CN109362097B (en) * 2018-11-16 2021-06-01 Oppo广东移动通信有限公司 Transmission control method and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107204923A (en) * 2017-05-24 2017-09-26 全讯汇聚网络科技(北京)有限公司 A kind of agreement shunt method, system and router
CN107277861A (en) * 2017-06-27 2017-10-20 广州坚和网络科技有限公司 A kind of distributed cut-in method of mobile whole network
CN108337699A (en) * 2018-01-23 2018-07-27 上海载德信息科技有限公司 A kind of method, apparatus of online, mobile terminal and storage medium

Also Published As

Publication number Publication date
WO2020098410A1 (en) 2020-05-22
CN109362097A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN109362097B (en) Transmission control method and related device
CN109041262B (en) Data transmission method and related device
WO2020147627A1 (en) Link selection method and related apparatus
CN109618372B (en) Data transmission method and related device
RU2754681C2 (en) Communication method, base station and terminal device
CN109495880B (en) Data transmission method and related device
WO2020164520A1 (en) Data packet distribution method and apparatus, mobile terminal, and storage medium
CN110049505B (en) Data transmission method and related device
WO2020147606A1 (en) Wireless roaming method and device
WO2020134721A1 (en) Data transmission method and related apparatus
CN109274596B (en) Data transmission method and related device
EP3637824B1 (en) Measurement gap configuration method and device
CN109729556B (en) Link connection method and related device
CN109526020B (en) Data transmission method and related product
US9924530B2 (en) Data transmission method, apparatus, and system
CN109348514B (en) Method and terminal for controlling electromagnetic interference
CN105682149B (en) Data transmission method and equipment
CN109120524B (en) Link aggregation method and related equipment
WO2020125202A1 (en) Data transmission method and related apparatus
CN109587336B (en) Data transmission method and related device
CN111279773A (en) Service configuration method and related product
CN104968021B (en) Bandwidth control method and device in Bluetooth shared network
CN107484210A (en) A kind of data transmission method and device
KR20160050483A (en) Method for traffic path diversity in wireless communication system
CN110087225B (en) Message processing method and related device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant