CN112399484A - Data transmission method, device, storage medium and electronic equipment - Google Patents

Data transmission method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112399484A
CN112399484A CN202011270058.XA CN202011270058A CN112399484A CN 112399484 A CN112399484 A CN 112399484A CN 202011270058 A CN202011270058 A CN 202011270058A CN 112399484 A CN112399484 A CN 112399484A
Authority
CN
China
Prior art keywords
wireless access
data
access points
transmitted
load information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011270058.XA
Other languages
Chinese (zh)
Other versions
CN112399484B (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 CN202011270058.XA priority Critical patent/CN112399484B/en
Publication of CN112399484A publication Critical patent/CN112399484A/en
Application granted granted Critical
Publication of CN112399484B publication Critical patent/CN112399484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/08Load balancing or load distribution
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a data transmission method, a data transmission device, a storage medium and electronic equipment, wherein the method is applied to the electronic equipment and comprises the following steps: the method comprises the steps of respectively obtaining load information of a plurality of wireless access points currently connected with the electronic equipment, obtaining data to be transmitted, dividing the data to be transmitted into a plurality of subdata according to the load information of the plurality of wireless access points, respectively transmitting the plurality of subdata to the plurality of wireless access points through a multi-path transmission link, wherein the multi-path transmission link corresponds to the plurality of wireless access points one to one. The embodiment of the application can be simultaneously connected with a plurality of wireless access points, and divides and then distributes the transmission of the network data according to the load conditions of the plurality of wireless access points so as to realize reasonable distribution of the transmitted network data.

Description

Data transmission method, device, storage medium and electronic equipment
Technical Field
The present application belongs to the field of image processing technologies, and in particular, to a data transmission method, an apparatus, a storage medium, and an electronic device.
Background
With the development of mobile communication technology, users have an increasing demand for data communication, and when data transmission is performed on electronic devices on the market at present, data is generally transmitted through cellular mobile network communication or Wi-Fi communication and the like, and the electronic devices need to compete for wireless link resources with other devices in the same area.
In order to solve the above problems, an MPTCP (multi path TCP) function has been introduced, and compared with the conventional single path TCP, a plurality of link paths are used to transmit data when transmitting data, so as to improve the maximum resource utilization rate and increase redundancy, thereby significantly improving throughput. However, in the actual use process, the priority of the data transmitted in each sub-flow is the same, and the transmitted network data cannot be intelligently and reasonably distributed.
Disclosure of Invention
The application provides a data transmission method, a data transmission device, a storage medium and electronic equipment, which can reasonably distribute transmitted network data according to data types.
In a first aspect, an embodiment of the present application provides a data transmission method applied to an electronic device, where the method includes the following steps:
respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
acquiring data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and respectively transmitting the plurality of subdata to the plurality of wireless access points through multiplex transmission links, wherein the multiplex transmission links correspond to the plurality of wireless access points one to one.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to an electronic device, and the apparatus includes:
the acquisition module is used for respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
the dividing module is used for acquiring data to be transmitted and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and the transmission module is used for respectively transmitting the plurality of subdata to the plurality of wireless access points through a plurality of transmission links, and the plurality of transmission links correspond to the plurality of wireless access points one to one.
In a third aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above data transmission method.
In a fourth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory to perform the following steps:
respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
acquiring data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and respectively transmitting the plurality of subdata to the plurality of wireless access points through multiplex transmission links, wherein the multiplex transmission links correspond to the plurality of wireless access points one to one.
The data transmission method provided by the embodiment of the application can respectively obtain the load information of a plurality of wireless access points currently connected with the electronic equipment, obtain the data to be transmitted, divide the data to be transmitted into a plurality of subdata according to the load information of the plurality of wireless access points, respectively transmit the plurality of subdata to the plurality of wireless access points through the multi-path transmission link, and the multi-path transmission link corresponds to the plurality of wireless access points one to one. The embodiment of the application can be simultaneously connected with a plurality of wireless access points, and divides and then distributes the transmission of the network data according to the load conditions of the plurality of wireless access points so as to realize reasonable distribution of the transmitted network data.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a system framework diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of a data transmission method according to an embodiment of the present application
Fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a data transmission device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe 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 modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a system framework of an electronic device according to an embodiment of the present disclosure. The data Transmission method provided by the embodiment of the application is applied to an electronic device, the electronic device supports an MPTCP (multi path Transmission Control Protocol) function, the MPTCP is an extended evolution of the TCP, allows two communication parties to establish a plurality of TCP links for data Transmission at the same time, and when the two communication parties have a plurality of physical channels, the MPTCP realizes concurrent Transmission by establishing TCP subflows on the plurality of physical channels at the same time. Different scheduling strategies are adopted on the MPTCP substreams to realize different effects, an aggregation scheduling strategy is adopted to realize high throughput, and a redundancy scheduling strategy is adopted to realize low delay and high reliability. For example, a mobile phone is simultaneously connected to two APs (wireless access points) of a hot spot through MPTCP.
In the prior art, some electronic devices have dual-WiFi capability, so that multipath of dual-WiFi exists between a mobile phone and a router, and provides a bottom layer support of multipath for applying MPTCP, however, dual-WiFi in the prior art allocates different TCP data streams to main WiFi or secondary WiFi, and for a single data stream or single WiFi, single WiFi has a problem of large time delay fluctuation and poor performance under interference. On the basis of the double WiFi, if the capacity of the MPTCP is expanded, one data stream can be transmitted on the double WiFi at the same time, and the link performance between the mobile phone and the router can be well improved.
In fig. 1, an electronic device 101 may connect to a router 102 to use WiFi, a technology that allows the electronic device to connect to a wireless local area network, typically using the 2.4G UHF or 5G SHF ISM radio frequency bands. The electronic device 101 may be simultaneously connected to the plurality of routers 102 through MPTCP, so that the electronic device is respectively connected to the plurality of wireless access points through multiple transmission links, where the wireless access points may also open a hot spot function for other electronic devices 103, such as the electronic device 103, to serve as a wireless access point.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present disclosure. The data transmission method provided by the embodiment of the application is applied to the electronic equipment, and the specific flow can be as follows:
step 101, respectively obtaining load information of a plurality of wireless access points currently connected with the electronic device.
In this embodiment, the electronic device is respectively connected to the multiple wireless access points through multiple transmission links, where the multiple transmission links may be TCP sub-streams, such as two or more TCP sub-streams, that are simultaneously established on multiple physical channels by the electronic device through an MPTCP function. For example, two transmission links are taken as an example to describe, when multiple transmission links exist between the electronic device and multiple wireless access points, two transmission links may be selected from the multiple transmission links to connect, where the two transmission links may be WiFi links, such as 2.4G WiFi links and 5G WiFi links, respectively, and the two wireless access points may have the same SSID (Service Set Identifier) or different SSIDs. That is, the plurality of wireless access points to which the electronic device is currently connected includes a gateway device connected through a local area network protocol and/or a base station device connected through a mobile communication protocol. Further, when two transmission links are selected from the multiple transmission links to connect with the corresponding wireless access point, the selection may be performed according to parameter information of the transmission links, such as delay, transmission rate, packet loss rate, and the like of the transmission links.
The wireless access point may be an AP providing a wireless network access service, a terminal device hotspot, or the like. The wireless network includes, but is not limited to, a wireless local area network based on IEEE802.11 series standard protocols, for example, a wireless local area network based on IEEE802.11n protocol, which is known as a WiFi network, and a wireless device can access the corresponding wireless network through the wireless access point. In the subsequent embodiments of the present invention, a description is given by taking a wireless access point accessing a WiFi network as an example.
Further, after accessing to a plurality of wireless access points through a multi-transmission link, the load information of the plurality of wireless access points can be acquired respectively. The load information may include a memory idle rate, a CPU (Central Processing Unit) idle rate, and the like of each wireless access point.
In other embodiments, the load information may further include one or more of information of a current number of access devices, a maximum number of access devices, a current used bandwidth, a maximum bandwidth, and the like of each wireless access point. In the preferred embodiment of the present invention, the wireless access point device may notify the electronic device of information such as the current number of access devices, the maximum number of access devices, the current usage bandwidth, the maximum bandwidth, and the like, through the transmitted broadcast beacon frame and the probe response message of the response terminal.
The load information may include a wireless access device load rate, and may specifically be calculated according to the number of devices that have accessed the wireless access point, that is, using a formula: the radio access device load rate (the number of devices that have accessed the radio access point/the maximum number of devices that can be accessed by the radio access point) × 100% is calculated. The load information may further include a wireless access bandwidth load rate, and specifically, the load information may be calculated according to current bandwidth information of the wireless access point, that is, using a formula: the radio access bandwidth load rate (current used bandwidth of the radio access point/maximum bandwidth of the radio access point) × 100% is calculated. Further, the load information may also be obtained by performing comprehensive calculation according to the load rate of the wireless access device and the load rate of the wireless access bandwidth, for example, setting different weights according to the load rate of the wireless access device calculated according to the number of devices that have accessed the wireless access point and the load rate of the wireless access bandwidth calculated according to the current bandwidth information of the wireless access point, and performing weighted summation to obtain the load information.
It should be noted that, the calculation of the load rate of the wireless access device and the load rate of the wireless access bandwidth may be performed by the wireless access point and then transmitted to the electronic device, or may be calculated by the electronic device after receiving information such as the current number of access devices, the maximum number of access devices, the current usage bandwidth, and the maximum bandwidth sent by the wireless access point. Even the server connected to the wireless access point may obtain the information from the wireless access point, calculate the information, and send the information to the electronic device, which is not limited in this respect.
Preferably, the load information corresponding to the wireless access point may be periodically received from the wireless access point by the electronic device. The wireless access point reports load information to the electronic device periodically (e.g., once every 5 minutes, once every fifteen minutes, once every half hour, etc.). The electronic device may store the load information in a database according to identification information (such as SSID) of the wireless access point. When the electronic equipment receives or generates a load information acquisition request, the load information corresponding to the wireless access point is obtained by inquiring a database according to the identification information of the wireless access point included in the load information acquisition request.
In an embodiment, a load threshold may be preset to be a critical value for the normal operation of the wireless access point. And comparing the obtained load information of the plurality of currently connected wireless access points with the load threshold, and if the obtained load information is smaller than the load threshold, further executing the subsequent steps. For example, if the electronic device is currently connected with two wireless access points, namely a first wireless access point and a second wireless access point, through MPTCP, the load rates of the two wireless access points are obtained and then compared with the load threshold, if the load rate of the first wireless access point is smaller than the load threshold and the load rate of the second wireless access point is greater than the load threshold, the second wireless access point can be directly determined to be in an unavailable state, and at this time, the electronic device can only transmit data to the first wireless access point during subsequent data transmission. If the load rates of the first wireless access point and the second wireless access point are both less than the load threshold, step 102 may be continued.
Step 102, obtaining data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points.
In an embodiment, when the electronic device needs to transmit data, the data to be transmitted may be divided into a plurality of sub-data according to the load information of the plurality of wireless access points, so as to perform subsequent split transmission, thereby improving transmission efficiency. Before dividing the data to be transmitted, determining an application program corresponding to the data to be transmitted, and then judging whether the application program is a preset application program, wherein the preset application program can be some application programs with higher importance degree installed in the electronic equipment, and if so, executing the step of dividing the data to be transmitted. Therefore, the transmission efficiency can be effectively improved through the shunt transmission scheme provided by the application when the electronic equipment runs the preset application program and transmits the application data. And for other application programs with lower importance degrees, data division and shunt transmission are not needed, and equipment resources are saved. The preset application program may be configured in advance for the electronic device system, or may be set by the user himself, for example, the preset application program is added or deleted.
Further, considering that the foreground application is directly viewable by the user during the use of the electronic device, there is a higher demand for the efficiency of data transmission. Therefore, the preset application program can also be a foreground application program, after the data to be transmitted is obtained, whether the application program corresponding to the data to be transmitted is the application program is judged, and if yes, the step of dividing the data to be transmitted can be continuously executed.
In another embodiment, the data size of the data to be transmitted may be further obtained, and whether the data size is greater than a preset value is determined, where the preset value may be intelligently set by an electronic device system, for example, 200M, and if the data size is greater than the preset value, the data to be transmitted may be divided into a plurality of sub-data. For example, after a game application is opened, a game needs to update and download a 500M update package, and at this time, it is determined that the data volume of the game data is greater than a preset value, and then transmission efficiency can be greatly improved by dividing the data and then performing split transmission.
In the embodiment of the application, the data to be transmitted can be divided into a plurality of subdata according to the load information of the plurality of wireless access points, and the data to be transmitted can be divided into a plurality of subdata according to the division basis of the ratio of the load rates of the plurality of wireless access points, so that the subdata with smaller data volume can be transmitted through the wireless access points with higher load, and the subdata with larger data volume can be transmitted through the wireless access points with lower load.
For example, if the electronic device is currently connected to two wireless access points, namely a first wireless access point and a second wireless access point, through MPTCP, the obtained load rates of the two wireless access points are respectively 20% of the load rate of the first wireless access point and 80% of the load rate of the second wireless access point, and the ratio of the load rates is 2: at this time, the data to be transmitted may also be divided into two subdata according to the ratio, that is, the ratio of the data amount of the divided two word data is also 2: for example, if the amount of data to be transmitted is 100M, 20M of sub-data a and 80M of sub-data B can be obtained through division.
And 103, respectively transmitting the plurality of subdata to a plurality of wireless access points through a plurality of transmission links, wherein the plurality of transmission links correspond to the plurality of wireless access points one to one.
Continuing with the above example, after dividing 100M data to be transmitted into 20M sub-data a and 80M sub-data B, the sub-data B may be transmitted to the first wireless access point, and the sub-data a may be transmitted to the second wireless access point, so as to transmit sub-data with a smaller data amount through the wireless access point with a higher load, and transmit sub-data with a larger data amount through the wireless access point with a lower load. Data to be transmitted are reasonably distributed according to the load conditions of the wireless access points, and are transmitted in a shunting manner, so that the transmission efficiency is effectively improved.
In an embodiment, after the data to be transmitted is divided, a tag may be further added to the divided sub-data, where the tag may indicate a target wireless access point to which the sub-data needs to be transmitted, and for example, the tag may include an SSID of the target wireless access point.
As can be seen from the above, the data transmission method provided in the embodiment of the present application may respectively connect to a plurality of wireless access points through a multi-path transmission link, respectively obtain load information of the plurality of wireless access points currently connected, respectively obtain data to be transmitted, divide the data to be transmitted into a plurality of sub-data according to the load information of the plurality of wireless access points, and respectively transmit the plurality of sub-data to corresponding wireless access points through the multi-path transmission link. The embodiment of the application can be simultaneously connected with a plurality of wireless access points, and divides and then distributes the transmission of the network data according to the load conditions of the plurality of wireless access points so as to realize reasonable distribution of the transmitted network data.
The data transmission method of the present application will be further described below on the basis of the methods described in the above embodiments. Referring to fig. 3, fig. 3 is another schematic flow chart of a data transmission method according to an embodiment of the present application, where the data transmission method includes:
step 201, respectively obtaining load information of a plurality of currently connected wireless access points, where the load information includes bandwidth occupancy of the wireless access points or the number of devices accessed by the wireless access points.
In an embodiment, the electronic device is connected to the plurality of wireless access points respectively through a plurality of transmission links, where the plurality of transmission links may be TCP sub-streams, such as two or more TCP sub-streams, that are simultaneously established on a plurality of physical channels by the electronic device through the MPTCP function. The wireless access point may be an AP providing a wireless network access service, a terminal device hotspot, or the like.
After accessing to a plurality of wireless access points through a multiplex transmission link, the load information of the plurality of wireless access points can be respectively obtained. The load information may include a bandwidth occupancy of the wireless access point or a number of devices accessed by the wireless access point.
Further, the load information may further include information of a currently used bandwidth and a maximum bandwidth of each wireless access point, and then the bandwidth occupancy rate of the wireless access point is calculated. Of course, in other embodiments, the load information may also include a memory idle rate, a CPU (Central Processing Unit) idle rate, and the like of each wireless access point.
Preferably, the load information corresponding to the wireless access point may be periodically received from the wireless access point by the electronic device. The wireless access point reports load information to the electronic device periodically (e.g., once every 5 minutes, once every fifteen minutes, once every half hour, etc.).
Step 202, calculating the bandwidth occupancy rate of each of the plurality of wireless access points or a first ratio of the number of devices accessed by the plurality of wireless access points.
In an embodiment, if the load information includes information of a currently used bandwidth and a maximum bandwidth of the wireless access point, the bandwidth occupancy may be calculated accordingly. I.e. using the formula: bandwidth occupancy is calculated as (current used bandwidth of wireless access point/maximum bandwidth of wireless access point) × 100%. And then respectively calculating the respective bandwidth occupancy rates of the plurality of wireless access points to obtain a first proportion among the plurality of bandwidth occupancy rates.
For example, if the electronic device currently connects two wireless access points, namely a first wireless access point and a second wireless access point, through MPTCP, the bandwidth occupancy rates of the two wireless access points are respectively obtained as the bandwidth occupancy rate of the first wireless access point being 20% and the bandwidth occupancy rate of the second wireless access point being 80%, and the ratio of the bandwidth occupancy rates is 2: 8.
in another embodiment, the first ratio may also be calculated according to the number of devices accessed by each of the multiple wireless access points, for example, the number of access devices of the two wireless access points is 6 for the first wireless access point and 4 for the second wireless access point, respectively, and the ratio of the number of access devices is 6: 4.
step 203, calculating a second proportion of the data to be transmitted, which needs to be divided, according to the first proportion, and dividing the data to be transmitted into a plurality of subdata according to the second proportion.
In an embodiment, a second ratio, which is a data dividing ratio, may be calculated according to a reciprocal of the first ratio, and the data to be transmitted is divided into a plurality of sub-data according to the second ratio. For example, if the bandwidth occupancy rate of each of the first wireless access point and the second wireless access point or the first ratio of the number of devices accessed by the multiple wireless access points is 2: 8, calculating a second ratio of 8: 2, the data to be transmitted may also be divided into two sub-data according to the second ratio, for example, the data amount to be transmitted is 100M, and then 80M sub-data a and 20M sub-data B may be obtained through division.
In an embodiment, the transmission quality of the multiple wireless access points may be determined and scored according to load information, where the load information may include both the bandwidth occupancy of the wireless access points and the number of devices accessed. For example, the lower the bandwidth occupancy rate, the smaller the number of access devices, the better the communication quality is, and at this time, the higher the quality score is; the higher the bandwidth occupancy rate, the more access devices, the worse the communication quality, and the lower the quality score. Then, a first ratio among the quality scores of the plurality of wireless access points is obtained, and a second ratio for dividing the sub-data is calculated.
In this embodiment, the wireless access point with a higher quality score may be selected to transmit the sub data with a larger data size. For example, if the quality score of the first wireless access point is higher than the quality score of the second wireless access point, the sub data with a larger divided data amount may be transmitted to the first wireless access point. If the quality score of the first wireless access point is lower than that of the second wireless access point, the sub data with larger divided data volume can be transmitted to the second wireless access point. It can be understood that, if the quality score of the first wireless access point is the same as the quality score of the second wireless access point, the data to be transmitted may be equally divided and randomly transmitted to the first wireless access point and the second wireless access point.
That is, in this application embodiment, the load information includes the bandwidth occupancy rate of the wireless access point and the number of devices accessed, and the step of dividing the data to be transmitted into a plurality of sub-data according to the load information of the plurality of wireless access points includes:
performing aggregation analysis on the bandwidth occupancy rate of the wireless access point and the number of the accessed devices, and calculating a quality score according to an analysis result;
calculating a first ratio of quality scores of the plurality of wireless access points;
and calculating a second proportion of the data to be transmitted, which needs to be divided, according to the first proportion, and dividing the data to be transmitted into a plurality of subdata according to the second proportion.
Step 204, in the plurality of subdata, respectively determining a target wireless access point corresponding to each subdata according to the load information of the plurality of wireless access points.
Step 205, establishing a mapping relationship between the sub data and the corresponding target wireless access point.
In an embodiment, after the data to be transmitted is divided, a target wireless access point corresponding to the divided sub-data may be further determined according to load information of the wireless access point, where the target wireless access point may indicate a wireless access point to which the sub-data needs to be transmitted, and the target wireless access point may perform confirmation through an SSID of the wireless access point. Then, the mapping relation between the subdata and the SSID of the corresponding target wireless access point can be further established.
And step 206, respectively determining the target wireless access points corresponding to the plurality of subdata according to the mapping relation.
And step 207, transmitting the sub data through the transmission link corresponding to the target wireless access point.
For example, the first ratio of the first wireless access point to the second wireless access point is 2: 8, then the data can be obtained from 8: and 2, dividing the data to be transmitted, if the data to be transmitted is 100M, obtaining 80M subdata A and 20M subdata B after division, transmitting the subdata A to the first wireless access point, and transmitting the subdata B to the second wireless access point, so that the subdata with smaller data volume is transmitted through the wireless access point with higher load, and the subdata with larger data volume is transmitted through the wireless access point with lower load. Data to be transmitted are reasonably distributed according to the load conditions of the wireless access points, and are transmitted in a shunting manner, so that the transmission efficiency is effectively improved.
As can be seen from the above, the data transmission method provided in this embodiment of the present application may respectively connect to multiple wireless access points through multiple transmission links, respectively obtain load information of the multiple wireless access points currently connected, where the load information includes bandwidth occupancy of the wireless access points or the number of devices accessed by the wireless access points, calculate a first ratio of the bandwidth occupancy of each of the multiple wireless access points or the number of devices accessed by the multiple wireless access points, calculate a second ratio of the data to be transmitted that needs to be divided according to the first ratio, divide the data to be transmitted into multiple sub-data according to the second ratio, among the multiple sub-data, respectively determine a target wireless access point corresponding to each sub-data according to the load information of the multiple wireless access points, and establish a mapping relationship between the sub-data and the corresponding target wireless access point, the method comprises the steps of respectively determining target wireless access points corresponding to a plurality of subdata according to the mapping relation, and transmitting the subdata through transmission links corresponding to the target wireless access points.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure. The data transmission apparatus 30 is applied to an electronic device, and the electronic device is respectively connected to a plurality of wireless access points through a plurality of transmission links, and the apparatus includes:
an obtaining module 301, configured to obtain load information of a plurality of wireless access points currently connected to the electronic device respectively;
a dividing module 302, configured to obtain data to be transmitted, and divide the data to be transmitted into a plurality of sub data according to load information of the plurality of wireless access points;
a transmission module 303, configured to transmit the plurality of sub data to the plurality of wireless access points through multiple transmission links respectively, where the multiple transmission links correspond to the plurality of wireless access points one to one.
In an embodiment, with continuing reference to fig. 5, the load information includes bandwidth occupancy and/or number of access devices, and further, the partitioning module 302 may include:
a calculating submodule 3021, configured to calculate a data division ratio according to the load information;
the dividing submodule 3022 is configured to divide the data to be transmitted into a plurality of sub data according to the data dividing ratio.
In another embodiment, the calculating sub-module is further configured to perform aggregation analysis on the bandwidth occupancy rate of the wireless access point and the number of the accessed devices, calculate quality scores according to analysis results, and calculate a first ratio of the quality scores of the plurality of wireless access points;
the dividing submodule 3022 is further configured to calculate a second ratio, which needs to be divided, of the data to be transmitted according to the first ratio, and divide the data to be transmitted into a plurality of subdata according to the second ratio.
As can be seen from the above description, the data transmission apparatus 30 according to the embodiment of the present application can respectively obtain the load information of the multiple wireless access points currently connected to the electronic device, obtain the data to be transmitted, divide the data to be transmitted into multiple sub-data according to the load information of the multiple wireless access points, and respectively transmit the multiple sub-data to the multiple wireless access points through the multiple transmission links, where the multiple transmission links correspond to the multiple wireless access points one to one. The embodiment of the application can be simultaneously connected with a plurality of wireless access points, and divides and then distributes the transmission of the network data according to the load conditions of the plurality of wireless access points so as to realize reasonable distribution of the transmitted network data.
In the embodiment of the present application, the data transmission device and the data transmission method in the above embodiments belong to the same concept, and any method provided in the data transmission method embodiment may be run on the data transmission device, and a specific implementation process thereof is described in detail in the data transmission method embodiment, and is not described herein again.
The term "module" as used herein may be considered a software object executing on the computing system. The different components, modules, engines, and services described herein may be considered as implementation objects on the computing system. The apparatus and method described herein may be implemented in software, but may also be implemented in hardware, and are within the scope of the present application.
The embodiment of the present application also provides a storage medium, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above data transmission method.
An embodiment of the present application further provides an electronic device, such as a tablet computer, a mobile phone, and the like, where the electronic device includes a processor and a memory, where the memory stores multiple instructions, and the processor loads the instructions in the memory to perform the following steps:
respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
acquiring data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and respectively transmitting the plurality of subdata to the plurality of wireless access points through multiplex transmission links, wherein the multiplex transmission links correspond to the plurality of wireless access points one to one.
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.
Referring to fig. 6, the electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 400 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 400 by running or loading a computer program stored in the memory 402 and calling data stored in the memory 402, and processes the data, thereby monitoring the electronic device 400 as a whole.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the computer programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions, as follows:
respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
acquiring data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and respectively transmitting the plurality of subdata to the plurality of wireless access points through multiplex transmission links, wherein the multiplex transmission links correspond to the plurality of wireless access points one to one.
Referring also to fig. 7, in some embodiments, the electronic device 400 may further include: a display 403, radio frequency circuitry 404, audio circuitry 405, and a power supply 406. The display 403, the rf circuit 404, the audio circuit 405, and the power source 406 are electrically connected to the processor 401.
The display 403 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 403 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 404 may be used for transceiving rf signals to establish wireless communication with a network device or other electronic devices through wireless communication, and for transceiving signals with the network device or other electronic devices. In general, radio frequency circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
The audio circuit 405 may be used to provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 506 may convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal to an audio signal for output by the speaker.
The power supply 406 may be used to power various components of the electronic device 400. In some embodiments, power supply 406 may be logically coupled to processor 401 via a power management system, such that functions to manage charging, discharging, and power consumption management are performed via the power management system. The power supply 406 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 7, the electronic device 400 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
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.
It should be noted that, for the data transmission method in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process for implementing the data transmission method in the embodiment of the present application can be implemented by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution process, the process may include the process of the embodiment of the data transmission method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
In the data transmission device according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The data transmission method, the data transmission device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those 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 (10)

1. A data transmission method is applied to electronic equipment, and is characterized by comprising the following steps:
respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
acquiring data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and respectively transmitting the plurality of subdata to the plurality of wireless access points through multiplex transmission links, wherein the multiplex transmission links correspond to the plurality of wireless access points one to one.
2. The data transmission method according to claim 1, wherein the load information comprises bandwidth occupancy and/or number of access devices.
3. The method according to claim 1, wherein the dividing the data to be transmitted into a plurality of sub-data according to the load information of the plurality of wireless access points comprises:
calculating a data division ratio according to the load information;
and dividing the data to be transmitted into a plurality of subdata according to the data division ratio.
4. The data transmission method according to claim 1, wherein after dividing the data to be transmitted into a plurality of sub-data according to the load information of the plurality of wireless access points, the method further comprises:
respectively determining a target wireless access point corresponding to each subdata in the subdata according to the load information of the wireless access points;
and establishing a mapping relation between a plurality of subdata and the plurality of wireless access points.
5. The data transmission method according to claim 4, wherein the step of transmitting the plurality of sub data to the plurality of wireless access points via a multiplex transmission link respectively comprises:
and respectively transmitting the plurality of subdata to the plurality of wireless access points according to the mapping relation.
6. The data transmission method according to claim 1, wherein the plurality of wireless access points currently connected with the electronic device comprise a gateway device connected through a local area network protocol and/or a base station device connected through a mobile communication protocol.
7. A data transmission apparatus applied to an electronic device, the apparatus comprising:
the acquisition module is used for respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
the dividing module is used for acquiring data to be transmitted and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and the transmission module is used for respectively transmitting the plurality of subdata to the plurality of wireless access points through a plurality of transmission links, and the plurality of transmission links correspond to the plurality of wireless access points one to one.
8. The data transmission apparatus of claim 7, wherein the dividing module comprises:
the calculation submodule is used for calculating the data division proportion according to the load information;
and the division submodule is used for dividing the data to be transmitted into a plurality of subdata according to the data division proportion.
9. A storage medium having stored thereon a computer program, characterized in that, when the computer program is run on a computer, it causes the computer to execute a data transmission method according to any one of claims 1 to 5.
10. An electronic device comprising a processor and a memory, the memory storing a plurality of instructions, wherein the instructions in the memory are loaded by the processor for performing the steps of:
respectively acquiring load information of a plurality of wireless access points currently connected with the electronic equipment;
acquiring data to be transmitted, and dividing the data to be transmitted into a plurality of subdata according to the load information of the wireless access points;
and respectively transmitting the plurality of subdata to the plurality of wireless access points through multiplex transmission links, wherein the multiplex transmission links correspond to the plurality of wireless access points one to one.
CN202011270058.XA 2020-11-13 2020-11-13 Data transmission method and device, storage medium and electronic equipment Active CN112399484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011270058.XA CN112399484B (en) 2020-11-13 2020-11-13 Data transmission method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011270058.XA CN112399484B (en) 2020-11-13 2020-11-13 Data transmission method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112399484A true CN112399484A (en) 2021-02-23
CN112399484B CN112399484B (en) 2023-09-12

Family

ID=74600301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011270058.XA Active CN112399484B (en) 2020-11-13 2020-11-13 Data transmission method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112399484B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645283A (en) * 2021-07-29 2021-11-12 北京三快在线科技有限公司 Multilink communication method, device, storage medium and electronic equipment
CN113689270A (en) * 2021-10-25 2021-11-23 阿里云计算有限公司 Method for determining black product device, electronic device, storage medium, and program product
CN113810502A (en) * 2021-09-27 2021-12-17 远峰科技股份有限公司 Communication data transmission method, system, computer equipment and storage medium
CN115118675A (en) * 2022-06-17 2022-09-27 赛诺信致软件技术(北京)有限公司 Method and system for accelerating data stream transmission based on intelligent network card equipment
CN116887446A (en) * 2023-08-08 2023-10-13 深圳市盛安讯达数字技术有限公司 5G communication system, data communication method and nonvolatile storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517323A (en) * 2012-06-20 2014-01-15 华为技术有限公司 Data transmission method of wireless heterogeneous network, distribution apparatus, base station apparatus
CN105357718A (en) * 2015-11-06 2016-02-24 深圳市金立通信设备有限公司 Wireless network load balancing method, network equipment and terminal equipment
CN106130608A (en) * 2016-06-07 2016-11-16 华中科技大学 A kind of heterogeneous network converged framework processed based on double-deck cloud and data transmission method thereof
WO2017008701A1 (en) * 2015-07-10 2017-01-19 努比亚技术有限公司 Data transmission method, apparatus, and user device
CN107949035A (en) * 2017-11-30 2018-04-20 维沃移动通信有限公司 A kind of connection method of Wireless LAN, device and mobile terminal
CN107949019A (en) * 2017-10-24 2018-04-20 上海连尚网络科技有限公司 A kind of load-balancing method of wireless access point
CN108494681A (en) * 2018-02-05 2018-09-04 普联技术有限公司 Data flow transmission method, wireless telecom equipment and the storage medium of multilink
CN109618373A (en) * 2019-01-15 2019-04-12 Oppo广东移动通信有限公司 Link choosing method and relevant apparatus
CN109640329A (en) * 2018-12-14 2019-04-16 Oppo广东移动通信有限公司 Link aggregation implementation method and Related product
CN109729602A (en) * 2017-10-31 2019-05-07 中国移动通信有限公司研究院 A kind of link data processing method, device and computer storage medium
CN109803325A (en) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 Data distribution method, device, mobile terminal and storage medium
CN109889499A (en) * 2019-01-17 2019-06-14 Oppo广东移动通信有限公司 File transmitting method and relevant apparatus
CN109922504A (en) * 2019-03-27 2019-06-21 Oppo广东移动通信有限公司 Data distribution method and Related product
CN111836329A (en) * 2019-04-19 2020-10-27 Oppo广东移动通信有限公司 Data transmission method and related device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517323A (en) * 2012-06-20 2014-01-15 华为技术有限公司 Data transmission method of wireless heterogeneous network, distribution apparatus, base station apparatus
WO2017008701A1 (en) * 2015-07-10 2017-01-19 努比亚技术有限公司 Data transmission method, apparatus, and user device
CN105357718A (en) * 2015-11-06 2016-02-24 深圳市金立通信设备有限公司 Wireless network load balancing method, network equipment and terminal equipment
CN106130608A (en) * 2016-06-07 2016-11-16 华中科技大学 A kind of heterogeneous network converged framework processed based on double-deck cloud and data transmission method thereof
CN107949019A (en) * 2017-10-24 2018-04-20 上海连尚网络科技有限公司 A kind of load-balancing method of wireless access point
CN109729602A (en) * 2017-10-31 2019-05-07 中国移动通信有限公司研究院 A kind of link data processing method, device and computer storage medium
CN107949035A (en) * 2017-11-30 2018-04-20 维沃移动通信有限公司 A kind of connection method of Wireless LAN, device and mobile terminal
CN108494681A (en) * 2018-02-05 2018-09-04 普联技术有限公司 Data flow transmission method, wireless telecom equipment and the storage medium of multilink
CN109640329A (en) * 2018-12-14 2019-04-16 Oppo广东移动通信有限公司 Link aggregation implementation method and Related product
CN109618373A (en) * 2019-01-15 2019-04-12 Oppo广东移动通信有限公司 Link choosing method and relevant apparatus
CN109889499A (en) * 2019-01-17 2019-06-14 Oppo广东移动通信有限公司 File transmitting method and relevant apparatus
CN109803325A (en) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 Data distribution method, device, mobile terminal and storage medium
CN109922504A (en) * 2019-03-27 2019-06-21 Oppo广东移动通信有限公司 Data distribution method and Related product
CN111836329A (en) * 2019-04-19 2020-10-27 Oppo广东移动通信有限公司 Data transmission method and related device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645283A (en) * 2021-07-29 2021-11-12 北京三快在线科技有限公司 Multilink communication method, device, storage medium and electronic equipment
CN113810502A (en) * 2021-09-27 2021-12-17 远峰科技股份有限公司 Communication data transmission method, system, computer equipment and storage medium
CN113689270A (en) * 2021-10-25 2021-11-23 阿里云计算有限公司 Method for determining black product device, electronic device, storage medium, and program product
CN113689270B (en) * 2021-10-25 2022-04-01 阿里云计算有限公司 Method for determining black product device, electronic device, storage medium, and program product
CN115118675A (en) * 2022-06-17 2022-09-27 赛诺信致软件技术(北京)有限公司 Method and system for accelerating data stream transmission based on intelligent network card equipment
CN116887446A (en) * 2023-08-08 2023-10-13 深圳市盛安讯达数字技术有限公司 5G communication system, data communication method and nonvolatile storage medium

Also Published As

Publication number Publication date
CN112399484B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
CN112399484B (en) Data transmission method and device, storage medium and electronic equipment
CN110267327B (en) Service transmission method and device
CN112291816B (en) Data transmission method, device, storage medium and electronic equipment
US10499254B2 (en) Frequency spectrum coordination device and method, and device and method in wireless communication system
US11071092B2 (en) Response message transmission method and apparatus
CN110383870A (en) A kind of processing method and terminal of radio frequency resource
CN110913409B (en) Network configuration method, device and system
US20220264675A1 (en) System and method for processing data
CN112383948B (en) Data transmission method, device, storage medium and electronic equipment
CN104303460A (en) System and method to provision quality of service sensitive devices in wireless local area networks
CN112333835A (en) Carrier resource scheduling method and device
US8929315B2 (en) Method and system for coexistence between wireless communication networks
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
CN113727331B (en) 5G base station deployment method and device
CN114189938A (en) Carrier determining method, communication device, and storage medium
CN106851685B (en) Method and system for controlling bandwidth of mobile terminal
CN113068161B (en) Bluetooth low-energy-consumption communication method, device and system and storage medium
CN111278140B (en) Resource scheduling method and related product
CN110933758B (en) Interference coordination method and device, and base station
CN112333826A (en) Service admission method and device
CN112333690B (en) Data transmission method, device, storage medium, terminal and network access point equipment
CN109246760B (en) Wireless local area network load balancing method based on power control, wireless access device and wireless access equipment
US10735986B2 (en) Radio resource determining systems and methods
CN114666888B (en) NSA network registration method and related device
WO2024011575A1 (en) Systems and methods for conditional handover and extended reality capacity enhancements

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