[go: up one dir, main page]

CN109392018B - Data transmission method and related device - Google Patents

Data transmission method and related device Download PDF

Info

Publication number
CN109392018B
CN109392018B CN201811408407.2A CN201811408407A CN109392018B CN 109392018 B CN109392018 B CN 109392018B CN 201811408407 A CN201811408407 A CN 201811408407A CN 109392018 B CN109392018 B CN 109392018B
Authority
CN
China
Prior art keywords
data packet
transmitted
task identifier
application
identifier
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
CN201811408407.2A
Other languages
Chinese (zh)
Other versions
CN109392018A (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 CN201811408407.2A priority Critical patent/CN109392018B/en
Publication of CN109392018A publication Critical patent/CN109392018A/en
Application granted granted Critical
Publication of CN109392018B publication Critical patent/CN109392018B/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/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

本申请公开了一种数据传输方法及相关装置,应用于电子设备,所述电子设备启用多个无线通信链路,所述方法包括:获取待传输的第一数据包;检测所述第一数据包是否可以通过智能链路聚合SLA功能分流传输;若否,则确定所述第一数据包的初始设置的第一无线通信链路;通过所述第一无线通信链路传输所述第一数据包。本申请有利于在启用智能链路聚合SLA功能时,使得数据包可以通过特定的无线通信链路进行传输。

Figure 201811408407

The present application discloses a data transmission method and related apparatuses, which are applied to electronic equipment. The electronic equipment enables multiple wireless communication links. The method includes: acquiring a first data packet to be transmitted; detecting the first data Whether the packet can be offloaded and transmitted through the intelligent link aggregation SLA function; if not, determine the first wireless communication link of the initial setting of the first data packet; transmit the first data through the first wireless communication link Bag. The present application is beneficial to enable data packets to be transmitted through a specific wireless communication link when the intelligent link aggregation SLA function is enabled.

Figure 201811408407

Description

Data transmission method and related device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a data transmission method and a related apparatus.
Background
With the development of mobile communication technology, the demand of users for data communication is increasing, and when data transmission is performed on an intelligent terminal in the market at present, data is generally sent in a cellular mobile network communication mode or a Wi-Fi communication mode, and the intelligent terminal needs to compete for wireless link resources with other devices in the same area, so that the demand of users on surfing the internet is difficult to meet.
Disclosure of Invention
The embodiment of the application provides a data transmission method and a related device, so that when an intelligent link aggregation SLA function is started, a data packet can be transmitted through a specific wireless communication link.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to an electronic device, where the electronic device enables multiple wireless communication links, and the method includes:
acquiring a first data packet to be transmitted;
detecting whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function;
if not, determining a first wireless communication link of the initial setting of the first data packet;
transmitting the first data packet over the first wireless communication link.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, which is applied to an electronic device, and includes a processing unit and a communication unit, wherein,
the processing unit is used for acquiring a first data packet to be transmitted through the communication unit; and detecting whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function; the first wireless communication link is used for determining the initial setting of the first data packet if the first data packet is detected not to be distributively transmitted through the intelligent link aggregation SLA function; and for transmitting the first data packet over the first wireless communication link.
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 the embodiment of the present application, an electronic device first acquires a first data packet to be transmitted, then detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, then, if not, determines a first wireless communication link initially set for the first data packet, and finally, transmits the first data packet through the first wireless communication link. When the intelligent link aggregation SLA function is started, the electronic equipment can firstly detect whether a first data packet to be transmitted needs to be transmitted in a shunting way through the intelligent link aggregation SLA function, and when the detection result is negative, the first wireless communication link initially set by the first data packet is determined, and the first data packet is transmitted through the first wireless communication link, so that the transmission of the first data packet cannot be influenced by a shunting mechanism, and the reliability and the stability of data packet transmission can be improved under certain scenes.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
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 data transmission method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another data transmission method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another data transmission method provided in the 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 illustrating functional units of a data transmission apparatus according to an embodiment of the present disclosure.
Detailed description of the invention
In order to make the technical solutions better understood by those skilled in the art, 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 partial embodiments of the present application, but not all 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 following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying 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 according to the embodiment of the present application may be an electronic device with data transmission capability, and the electronic device may include various handheld devices with wireless communication functions, 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), terminal devices (terminal device), and the like.
The following describes embodiments of the present application in detail.
Smart Link Aggregation (SLA) refers to enabling a device to use two or more network ports to surf the internet at the same time, for example, after the SLA function of smart link Aggregation is enabled on a mobile phone, the mobile phone can use Wi-Fi and LTE to access the network at the same time. The android network system, when Wi-Fi is enabled, may cause the data network to be unavailable (connectivity Service network scoring mechanism causes the data network to be disconnected), and the intelligent link aggregation requires at least two or more available networks, so the precondition of Service-Level Agreement (abbreviated as SLA) is to make Wi-Fi and data network coexist. 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, typically using the 2.4G UHF or 5G SHF ISM radio frequency bands; bluetooth 104, a wireless technology standard, may also be connected, enabling short-range data exchange (using UHF radio waves in the ISM band of 2.4-2.485 GHz) between fixed devices, mobile devices and building personal area networks, etc.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data transmission method according to an embodiment of the present application, applied to an electronic device, where the electronic device enables a plurality of wireless communication links. The data transmission method comprises the following steps:
s201, the electronic equipment obtains a first data packet to be transmitted.
The first data packet may be a data packet generated by the local terminal of the electronic device; or the first data packet is a data packet to be forwarded and received by the electronic device. Therefore, the electronic equipment can not only transmit the data packet generated by the equipment, but also forward the data packet, and the diversity of data transmission tasks is ensured.
S202, the electronic equipment detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function.
When the electronic device can start the intelligent link aggregation SLA function, a plurality of data packets in the data stream can be distributed during data transmission, and the data packets are distributed to a plurality of wireless communication lines for transmission through a preset distribution strategy, so that the data transmission efficiency can be improved.
By setting, some specific data packets can be distributed and transmitted without the intelligent link aggregation SLA function, and when a first data packet to be transmitted is obtained, whether the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function needs to be detected firstly, so that a wireless communication link for transmitting the first data packet is determined.
S203, if it is detected that the first data packet cannot be distributed and transmitted through the intelligent link aggregation SLA function, the electronic device determines a first wireless communication link initially set for the first data packet.
The electronic equipment is enabled with a plurality of wireless communication links, and different marking mark values can be marked on the data packet, so that different routing tables can be inquired by matching different mark values, and the data packet can access the network from different interfaces.
For example, the electronic device enables a first wireless communication link and a second wireless communication link, a first mark value is matched with a first routing table, the first routing table corresponds to a network access interface of the first wireless communication link, a second mark value is matched with a second routing table, the second routing table corresponds to a network access interface of the second wireless communication link, a mark value of a first packet is obtained, and if the first wireless communication link initially set by the first packet detects that the mark value of the first packet is the first mark value, it can be determined that the first packet is transmitted by the first wireless communication link.
S204, the electronic equipment transmits the first data packet through the first wireless communication link.
It can be seen that, in the embodiment of the present application, an electronic device first acquires a first data packet to be transmitted, then detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, then, if not, determines a first wireless communication link initially set for the first data packet, and finally, transmits the first data packet through the first wireless communication link. When the intelligent link aggregation SLA function is started, the electronic equipment can firstly detect whether a first data packet to be transmitted needs to be transmitted in a shunting way through the intelligent link aggregation SLA function, and when the detection result is negative, the first wireless communication link initially set by the first data packet is determined, and the first data packet is transmitted through the first wireless communication link, so that the transmission of the first data packet cannot be influenced by a shunting mechanism, and the reliability and the stability of data packet transmission can be improved under certain scenes.
In one possible example, the detecting whether the first data packet can be offloaded for transmission by an intelligent link aggregation SLA function includes: acquiring a task identifier of the first data packet; if the task identifier is detected to be an identifier in a preset task identifier set, determining that the first data packet cannot be distributed and transmitted through an intelligent link aggregation SLA function; and if the task identifier is detected not to belong to the identifier in the preset task identifier set, determining that the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function.
When determining whether the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function, firstly acquiring a task identifier of the first data packet, and detecting whether the task identifier is an identifier in a preset task identifier set, if so, indicating that the first data packet cannot be distributed and transmitted through the intelligent link aggregation SLA function, and if not, indicating that the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function, wherein a user can add the task identifier to the data packet in advance, and the task identifier is the task identifier in the preset task identifier set, so that when the data packet with the task identifier is transmitted, the data packet can not be distributed and transmitted through the intelligent link aggregation SLA function.
In this example, when detecting whether the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function, only the task identifier of the first data packet needs to be acquired, and whether the task identifier of the first data packet is an identifier in a preset task identifier set is determined by judging whether the task identifier of the first data packet is an identifier in the preset task identifier set, so that whether the first data packet is distributed and transmitted through the intelligent link aggregation SLA is determined, and it is advantageous to determine a wireless communication link corresponding to the first data packet as quickly as possible.
In one possible example, before the obtaining the task identifier of the first data packet, the method further includes: receiving at least one task identifier sent by a server; and adding the at least one task identifier in the preset task identifier set.
As can be seen, in this example, the electronic device may receive at least one task identifier from the server, and add the at least one task identifier to a preset set of task identifiers, so that, when it is detected that a task identifier of a data packet is a task identifier in the at least one task identifier, the data packet may not be offloaded and transmitted through the intelligent link aggregation SLA function.
In one possible example, before the obtaining the task identifier of the first data packet, the method further includes: displaying a plurality of selectable task identifiers on a display screen; and adding the at least one selected task identifier in the preset task identifier set according to the selection operation of the user.
The method comprises the steps that a plurality of selectable task identifiers are displayed on a display screen, and a user can add at least one selected task identifier in a preset task identifier set through selection operation, so that the preset task identifier set is updated.
As can be seen, in this example, before the task identifier of the first data packet is obtained, a plurality of selectable task identifiers may be displayed on the display screen, so that the user may add at least one task identifier to the preset task identifier set, and thus, the user may dynamically add the task identifier when obtaining the task identifier of the first data packet, thereby implementing a more flexible transmission mode for selecting the data packet.
In one possible example, before the obtaining the task identifier of the first data packet, the method further includes: acquiring a plurality of application use records of a user, wherein each application use record comprises an application type, a use parameter and a used network; determining a first application used by a user at a high frequency according to the plurality of application use records; determining the number of application usage records using the same network in the application usage records of the first application; and if the number is larger than the preset number, generating the task identifier of the first application, and adding the task identifier of the first application in the preset task identifier set.
The electronic device can acquire a plurality of application use records of a user, wherein each application use record comprises an application type, such as a video application type, a shopping application type, a communication application type and the like, a use parameter, such as use time, use duration, use application scene and the like, and a use network, such as a WIFI network, a mobile network and the like.
The method comprises the steps of determining a first application used by a user at a high frequency according to a plurality of application use records, determining the number of the application use records using the same network in the application use records of the first application, generating a task identifier of the first application when the detected number is larger than a preset number, and conditioning the task identifier of the first application in a task identifier set.
For example, the first application has 100 application usage records, in these 100 application usage records china, 80 application usage records indicate that the first application uses the WIFI network to transmit the data packet, only 20 application usage records indicate that the first application uses the mobile network to transmit the data packet, and the preset number is 50, so that the task identifier of the first application is generated and added to the preset task identifier set, and thus, when the electronic device uses the first application, the data packet of the first application is transmitted only through the initially set wireless communication link without shunting transmission of the data packet of the first application through the intelligent link aggregation SLA function, and the wireless communication link initially set by the first application may be a wireless communication link corresponding to the WIFI network. .
It can be seen that, in this example, the first application with high frequency usage is determined by obtaining usage records of multiple applications of the electronic device, after determining the number of application usage records using the same network in the usage records of the first application, a task identifier of the first application may be generated, and after adding the task identifier of the first application to a preset task identifier set, the first application does not need to offload transmission packets through the intelligent link aggregation SLA function, and may perform transmission of the first packet through an initially set wireless communication link.
In one possible example, the task identification associates at least one of the following tasks: link quality measurement, video, telephony, gaming, payment.
As can be seen, in this example, when some data packets are not suitable for the split transmission of the intelligent link aggregation SLA function, a task identifier may be added to the data packets, for example, in application scenarios such as link quality measurement, video, call, game, and payment, the user experience may be affected by split transmission of the data packets, and the task identifier of the task is added to a preset task identifier set, so that when the data packets with the task identifiers are transmitted, the split transmission may not be performed through the intelligent link aggregation SLA function.
In one possible example, after detecting whether the first data packet can be offloaded for transmission by the intelligent link aggregation SLA function, the method further includes: if so, determining a link to be transmitted of the first data packet through an intelligent link aggregation SLA function, and marking a link identifier of the first data packet according to the link identifier of the link to be transmitted; and selecting a wireless communication link corresponding to the link identification of the first data packet to transmit the first data packet.
In this example, if it is detected that the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function, the link to be transmitted of the first data packet is determined through the intelligent link aggregation SLA function, the link identifier of the first data packet is marked according to the link identifier of the link to be transmitted, and the wireless communication link corresponding to the link identifier of the first data packet is selected to transmit the first data packet, so that distributed and transmitted data is achieved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a data transmission method according to an embodiment of the present application, and the method is applied to an electronic device, where the electronic device enables multiple wireless communication links. As shown in the figure, the data transmission method includes:
s301, the electronic equipment obtains a first data packet to be transmitted.
S302, the electronic equipment acquires the task identifier of the first data packet.
And S303, if the electronic equipment detects that the task identifier is an identifier in a preset task identifier set, determining that the first data packet cannot be transmitted in a shunting manner through an intelligent link aggregation SLA function.
S304, the electronic equipment determines the initially set first wireless communication link of the first data packet.
S305, the electronic device transmits the first data packet through the first wireless communication link.
It can be seen that, in the embodiment of the present application, an electronic device first acquires a first data packet to be transmitted, then detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, then, if not, determines a first wireless communication link initially set for the first data packet, and finally, transmits the first data packet through the first wireless communication link. When the intelligent link aggregation SLA function is started, the electronic equipment can firstly detect whether a first data packet to be transmitted needs to be transmitted in a shunting way through the intelligent link aggregation SLA function, and when the detection result is negative, the first wireless communication link initially set by the first data packet is determined, and the first data packet is transmitted through the first wireless communication link, so that the transmission of the first data packet cannot be influenced by a shunting mechanism, and the reliability and the stability of data packet transmission can be improved under certain scenes.
In addition, when detecting whether the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function, only the task identifier of the first data packet needs to be acquired, and whether the task identifier of the first data packet is the identifier in the preset task identifier set is determined by judging whether the task identifier of the first data packet is the identifier in the preset task identifier set, so that whether the first data packet is distributed and transmitted through the intelligent link aggregation SLA is determined, and the wireless communication link corresponding to the first data packet is determined as fast as possible.
Referring to fig. 4, fig. 4 is a schematic flowchart of a data transmission method provided in an embodiment of the present application, and the method is applied to an electronic device, where the electronic device enables multiple wireless communication links, consistent with the embodiments shown in fig. 2 and fig. 3. As shown in the figure, the data transmission method includes:
s401, the electronic equipment displays a plurality of selectable task identifiers on a display screen.
S402, the electronic equipment adds the at least one selected task identifier in the preset task identifier set according to the selection operation of the user.
S403, the electronic equipment acquires a first data packet to be transmitted.
S404, the electronic equipment acquires the task identifier of the first data packet.
S405, if the electronic device detects that the task identifier is an identifier in a preset task identifier set, it is determined that the first data packet cannot be transmitted in a shunting manner through an intelligent link aggregation SLA function.
S406, the electronic device determines the initially set first wireless communication link of the first data packet.
S407, the electronic device transmits the first data packet through the first wireless communication link.
It can be seen that, in the embodiment of the present application, an electronic device first acquires a first data packet to be transmitted, then detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, then, if not, determines a first wireless communication link initially set for the first data packet, and finally, transmits the first data packet through the first wireless communication link. When the intelligent link aggregation SLA function is started, the electronic equipment can firstly detect whether a first data packet to be transmitted needs to be transmitted in a shunting way through the intelligent link aggregation SLA function, and when the detection result is negative, the first wireless communication link initially set by the first data packet is determined, and the first data packet is transmitted through the first wireless communication link, so that the transmission of the first data packet cannot be influenced by a shunting mechanism, and the reliability and the stability of data packet transmission can be improved under certain scenes.
In addition, when detecting whether the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function, only the task identifier of the first data packet needs to be acquired, and whether the task identifier of the first data packet is the identifier in the preset task identifier set is determined by judging whether the task identifier of the first data packet is the identifier in the preset task identifier set, so that whether the first data packet is distributed and transmitted through the intelligent link aggregation SLA is determined, and the wireless communication link corresponding to the first data packet is determined as fast as possible.
In addition, before the task identifier of the first data packet is acquired, a plurality of selectable task identifiers can be displayed on the display screen, so that a user can add at least one task identifier to a preset task identifier set, and the user can select a transmission mode of the data packet more flexibly after acquiring the task identifier of the first data packet.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of an electronic device 500 provided in the embodiments of the present application, where the electronic device 500 runs one or more application programs and an operating system, as shown in the figure, the electronic device 500 includes a 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 processor 510, and the one or more programs 521 include instructions for performing the following steps;
acquiring a first data packet to be transmitted;
detecting whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function;
if not, determining a first wireless communication link of the initial setting of the first data packet;
transmitting the first data packet over the first wireless communication link.
It can be seen that, in the embodiment of the present application, an electronic device first acquires a first data packet to be transmitted, then detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, then, if not, determines a first wireless communication link initially set for the first data packet, and finally, transmits the first data packet through the first wireless communication link. When the intelligent link aggregation SLA function is started, the electronic equipment can firstly detect whether a first data packet to be transmitted needs to be transmitted in a shunting way through the intelligent link aggregation SLA function, and when the detection result is negative, the first wireless communication link initially set by the first data packet is determined, and the first data packet is transmitted through the first wireless communication link, so that the transmission of the first data packet cannot be influenced by a shunting mechanism, and the reliability and the stability of data packet transmission can be improved under certain scenes.
In one possible example, in the aspect of the detecting whether the first data packet can be offloaded for transmission by the intelligent link aggregation SLA function, the instructions in the program are specifically configured to perform the following operations: acquiring a task identifier of the first data packet; if the task identifier is detected to be an identifier in a preset task identifier set, determining that the first data packet cannot be distributed and transmitted through an intelligent link aggregation SLA function; and if the task identifier is detected not to belong to the identifier in the preset task identifier set, determining that the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function.
In one possible example, before obtaining the task identifier of the first data packet, the instructions in the program are specifically configured to perform the following operations: receiving at least one task identifier sent by a server; and adding the at least one task identifier in the preset task identifier set.
In one possible example, before obtaining the task identifier of the first data packet, the instructions in the program are specifically configured to perform the following operations: displaying a plurality of selectable task identifiers on a display screen; and adding the at least one selected task identifier in the preset task identifier set according to the selection operation of the user.
In one possible example, before obtaining the task identifier of the first data packet, the instructions in the program are specifically configured to perform the following operations: acquiring a plurality of application use records of a user, wherein each application use record comprises an application type, a use parameter and a used network; determining a first application used by a user at a high frequency according to the plurality of application use records; determining the number of application usage records using the same network in the application usage records of the first application; and if the number is larger than the preset number, generating the task identifier of the first application, and adding the task identifier of the first application in the preset task identifier set.
In one possible example, the task identification associates at least one of the following tasks: link quality measurement, video, telephony, gaming, payment.
In one possible example, after detecting whether the first data packet can be offloaded for transmission by the intelligent link aggregation SLA function, the instructions in the program are specifically configured to perform the following operations: if so, determining a link to be transmitted of the first data packet through an intelligent link aggregation SLA function, and marking a link identifier of the first data packet according to the link identifier of the link to be transmitted; and selecting a wireless communication link corresponding to the link identification of the first data packet to transmit the first data packet.
The above embodiments mainly introduce the scheme of the embodiments of the present application 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 would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. 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 of functional units of a data transmission device 600 according to an embodiment of the present application. The data transmission apparatus 600 is applied to an electronic device, and includes a processing unit 601 and a communication unit 602, wherein,
the processing unit 601 is configured to obtain a first data packet to be transmitted through the communication unit 602; and detecting whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function; the first wireless communication link is used for determining the initial setting of the first data packet if the first data packet is detected not to be distributively transmitted through the intelligent link aggregation SLA function; and for transmitting the first data packet over the first wireless communication link.
The data transmission apparatus 600 may further include a storage unit 603 for storing program codes and data of the electronic device. 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 the embodiment of the present application, an electronic device first acquires a first data packet to be transmitted, then detects whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, then, if not, determines a first wireless communication link initially set for the first data packet, and finally, transmits the first data packet through the first wireless communication link. When the intelligent link aggregation SLA function is started, the electronic equipment can firstly detect whether a first data packet to be transmitted needs to be transmitted in a shunting way through the intelligent link aggregation SLA function, and when the detection result is negative, the first wireless communication link initially set by the first data packet is determined, and the first data packet is transmitted through the first wireless communication link, so that the transmission of the first data packet cannot be influenced by a shunting mechanism, and the reliability and the stability of data packet transmission can be improved under certain scenes.
In one possible example, in the aspect of the detecting whether the first data packet can be offloaded for transmission by the intelligent link aggregation SLA function, the processing unit 601 is specifically configured to: acquiring a task identifier of the first data packet; and if the task identifier is detected to be an identifier in a preset task identifier set, determining that the first data packet cannot be distributed and transmitted through an intelligent link aggregation SLA function; and if the task identifier is detected not to belong to the identifier in the preset task identifier set, determining that the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function.
In a possible example, before the task identifier of the first data packet is obtained, the processing unit 601 is specifically configured to: receiving at least one task identifier sent by a server; and the task identifier is used for adding the at least one task identifier in the preset task identifier set.
In a possible example, before the task identifier of the first data packet is obtained, the processing unit 601 is specifically configured to: displaying a plurality of selectable task identifiers on a display screen; and the task identifier selection module is used for adding the selected at least one task identifier in the preset task identifier set according to the selection operation of the user.
In a possible example, before the task identifier of the first data packet is obtained, the processing unit 601 is specifically configured to: acquiring a plurality of application use records of a user, wherein each application use record comprises an application type, a use parameter and a used network; and a first application for determining high frequency usage of the user according to the plurality of application usage records; and means for determining a number of application usage records of the first application that use the same network; and the task identifier generator is used for generating the task identifier of the first application if the number is larger than a preset number, and adding the task identifier of the first application in the preset task identifier set.
In one possible example, the task identification associates at least one of the following tasks: link quality measurement, video, telephony, gaming, payment.
In a possible example, after detecting whether the first data packet can be offloaded for transmission by the intelligent link aggregation SLA function, the processing unit 601 is specifically configured to: if so, determining a link to be transmitted of the first data packet through an intelligent link aggregation SLA function, and marking a link identifier of the first data packet according to the link identifier of the link to be transmitted; and the wireless communication link corresponding to the link identification of the first data packet is selected to transmit the first data packet.
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: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
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 (8)

1.一种数据传输方法,其特征在于,应用于电子设备,所述电子设备启用多个无线通信链路,所述方法包括:1. A data transmission method, characterized in that it is applied to an electronic device that enables multiple wireless communication links, the method comprising: 获取待传输的第一数据包;Obtain the first data packet to be transmitted; 检测所述第一数据包是否可以通过智能链路聚合SLA功能分流传输,包括:获取所述第一数据包的任务标识;若检测到所述任务标识为预设的任务标识集合中的标识,则确定所述第一数据包不可以通过智能链路聚合SLA功能分流传输;若检测到所述任务标识不属于预设的任务标识集合中的标识,则确定所述第一数据包可以通过智能链路聚合SLA功能分流传输;Detecting whether the first data packet can be split and transmitted through the intelligent link aggregation SLA function, comprising: acquiring a task identifier of the first data packet; if it is detected that the task identifier is an identifier in a preset task identifier set, Then it is determined that the first data packet cannot be distributed and transmitted through the intelligent link aggregation SLA function; if it is detected that the task identification does not belong to the identification in the preset task identification set, then it is determined that the first data packet can be transmitted through the intelligent link. Link aggregation SLA function offload transmission; 若否,则确定所述第一数据包的初始设置的第一无线通信链路;If not, determining the first wireless communication link of the initial setting of the first data packet; 通过所述第一无线通信链路传输所述第一数据包;transmitting the first data packet over the first wireless communication link; 获取所述第一数据包的任务标识之前,所述方法还包括:Before acquiring the task identifier of the first data packet, the method further includes: 获取用户的多个应用使用记录,每个应用使用记录包括应用类型、使用参数和使用的网络;根据所述多个应用使用记录,确定用户高频使用的第一应用;确定所述第一应用的应用使用记录中使用相同网络的应用使用记录的数量;若所述数量大于预设数量,则生成所述第一应用的任务标识,并在所述预设的任务标识集合中添加所述第一应用的任务标识。Acquire multiple application usage records of the user, where each application usage record includes application type, usage parameters and used network; determine the first application frequently used by the user according to the multiple application usage records; determine the first application The number of application usage records that use the same network in the application usage records; if the number is greater than the preset number, then generate the task identifier of the first application, and add the first An application task identifier. 2.根据权利要求1所述的方法,其特征在于,所述获取所述第一数据包的任务标识之前,所述方法还包括:2. The method according to claim 1, characterized in that before acquiring the task identifier of the first data packet, the method further comprises: 接收来自服务器发送的至少一个任务标识;Receive at least one task identifier sent from the server; 在所述预设的任务标识集合中添加所述至少一个任务标识。The at least one task identification is added to the preset task identification set. 3.根据权利要求1所述的方法,其特征在于,所述获取所述第一数据包的任务标识之前,所述方法还包括:3. The method according to claim 1, wherein before acquiring the task identifier of the first data packet, the method further comprises: 在显示屏上显示多个可选的任务标识;Display multiple optional task identifiers on the display; 根据用户的选取操作在所述预设的任务标识集合中添加被选取的至少一个任务标识。At least one selected task identification is added to the preset task identification set according to the user's selection operation. 4.根据权利要求1-3任一项所述的方法,其特征在于,所述任务标识关联以下任务中的至少一种:链路质量测量、视频、通话、游戏、支付。4. The method according to any one of claims 1-3, wherein the task identifier is associated with at least one of the following tasks: link quality measurement, video, call, game, and payment. 5.根据权利要求1所述的方法,其特征在于,所述检测所述第一数据包是否可以通过智能链路聚合SLA功能分流传输之后,所述方法还包括:5. The method according to claim 1, wherein after detecting whether the first data packet can be distributed and transmitted through an intelligent link aggregation SLA function, the method further comprises: 若是,则通过智能链路聚合SLA功能确定所述第一数据包的待传输链路,并根据所述待传输链路的链路标识标记所述第一数据包的链路标识;If so, determine the link to be transmitted of the first data packet through the intelligent link aggregation SLA function, and mark the link identifier of the first data packet according to the link identifier of the to-be-transmitted link; 选择所述第一数据包的链路标识对应的无线通信链路传输所述第一数据包。The wireless communication link corresponding to the link identifier of the first data packet is selected to transmit the first data packet. 6.一种数据传输装置,其特征在于,应用于电子设备,所述数据传输装置包括处理单元和通信单元,其中,6. A data transmission device, characterized in that, applied to electronic equipment, the data transmission device comprises a processing unit and a communication unit, wherein, 所述处理单元,用于通过所述通信单元获取待传输的第一数据包;以及用于检测所述第一数据包是否可以通过智能链路聚合SLA功能分流传输,包括:获取所述第一数据包的任务标识,若检测到所述任务标识为预设的任务标识集合中的标识,则确定所述第一数据包不可以通过智能链路聚合SLA功能分流传输,若检测到所述任务标识不属于预设的任务标识集合中的标识,则确定所述第一数据包可以通过智能链路聚合SLA功能分流传输;以及用于若检测到所述第一数据包不可以通过智能链路聚合SLA功能分流传输,则确定所述第一数据包的初始设置的第一无线通信链路;以及用于通过所述第一无线通信链路传输所述第一数据包;获取所述第一数据包的任务标识之前,还包括:获取用户的多个应用使用记录,每个应用使用记录包括应用类型、使用参数和使用的网络,根据所述多个应用使用记录,确定用户高频使用的第一应用,确定所述第一应用的应用使用记录中使用相同网络的应用使用记录的数量,若所述数量大于预设数量,则生成所述第一应用的任务标识,并在所述预设的任务标识集合中添加所述第一应用的任务标识。The processing unit is configured to obtain the first data packet to be transmitted through the communication unit; and is configured to detect whether the first data packet can be offloaded and transmitted through the intelligent link aggregation SLA function, including: obtaining the first data packet The task identifier of the data packet, if it is detected that the task identifier is an identifier in a preset task identifier set, it is determined that the first data packet cannot be split and transmitted through the intelligent link aggregation SLA function, if the task identifier is detected The identifier does not belong to the identifier in the preset task identifier set, then it is determined that the first data packet can be distributed and transmitted through the intelligent link aggregation SLA function; and used for detecting that the first data packet cannot pass through the intelligent link. If the aggregated SLA function is offloaded and transmitted, the first wireless communication link of the initial setting of the first data packet is determined; and the first data packet is transmitted through the first wireless communication link; and the first data packet is obtained. Before the task identification of the data package, it also includes: acquiring multiple application usage records of the user, each application usage record including the application type, usage parameters, and used network, and determining, according to the multiple application usage records, which are frequently used by the user. The first application determines the number of application usage records that use the same network in the application usage records of the first application, and if the number is greater than a preset number, generates a task identifier of the first application, and generates a task identifier of the first application in the preset number. The task identifier of the first application is added to the set task identifier set. 7.一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-5任一项所述的方法中的步骤的指令。7. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured by the processor Executing, the program includes instructions for performing the steps in the method of any of claims 1-5. 8.一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-5任一项所述的方法。8. A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201811408407.2A 2018-11-23 2018-11-23 Data transmission method and related device Active CN109392018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811408407.2A CN109392018B (en) 2018-11-23 2018-11-23 Data transmission method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811408407.2A CN109392018B (en) 2018-11-23 2018-11-23 Data transmission method and related device

Publications (2)

Publication Number Publication Date
CN109392018A CN109392018A (en) 2019-02-26
CN109392018B true CN109392018B (en) 2021-04-16

Family

ID=65429598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811408407.2A Active CN109392018B (en) 2018-11-23 2018-11-23 Data transmission method and related device

Country Status (1)

Country Link
CN (1) CN109392018B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677623B (en) * 2019-10-15 2021-09-10 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium
CN113950041A (en) * 2020-07-17 2022-01-18 华为技术有限公司 A data transmission method, user equipment and base station

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252459A (en) * 2008-03-24 2008-08-27 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN102215530A (en) * 2011-05-27 2011-10-12 上海华为技术有限公司 Data flow transmission method and related equipment and system
CN105472659A (en) * 2014-08-07 2016-04-06 中国电信股份有限公司 Method and system for allocating wireless resource between nodes
CN105898794A (en) * 2016-04-08 2016-08-24 努比亚技术有限公司 Device and method of transmitting data
CN106559170A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Multi-channel data transmission method, device, network node and mobile terminal
CN106559806A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Double-channel data transmission method, device, network node and mobile terminal
EP3174338A1 (en) * 2014-07-24 2017-05-31 Kyocera Corporation User terminal and base station

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252459A (en) * 2008-03-24 2008-08-27 中兴通讯股份有限公司 Method for setting protocol state of chain circuit terminal port and supervising method thereof
CN102215530A (en) * 2011-05-27 2011-10-12 上海华为技术有限公司 Data flow transmission method and related equipment and system
EP3174338A1 (en) * 2014-07-24 2017-05-31 Kyocera Corporation User terminal and base station
CN105472659A (en) * 2014-08-07 2016-04-06 中国电信股份有限公司 Method and system for allocating wireless resource between nodes
CN106559170A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Multi-channel data transmission method, device, network node and mobile terminal
CN106559806A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Double-channel data transmission method, device, network node and mobile terminal
CN105898794A (en) * 2016-04-08 2016-08-24 努比亚技术有限公司 Device and method of transmitting data

Also Published As

Publication number Publication date
CN109392018A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN109495880B (en) Data transmission method and related device
CN109618373B (en) Link selection method and related device
CN109618372B (en) Data transmission method and related device
CN110049505B (en) Data transmission method and related device
US11696207B2 (en) Data transmission method, electronic device, and computer readable storage medium
CN109743783B (en) Data transmission control method and related products
CN109889499B (en) Message sending method and related device
CN109274596B (en) Data transmission method and related device
CN109587336B (en) Data transmission method and related device
CN106793090B (en) The selection method and system of D2D direct communication resources
CN109362097B (en) Transmission control method and related device
WO2020134721A1 (en) Data transmission method and related apparatus
CN112105058B (en) Link connection method and related device
CN109547469B (en) Data transmission method and related device
CN109526020A (en) Data transmission method and Related product
CN109392018B (en) Data transmission method and related device
EP3477997B1 (en) Method for controlling data transmission, device, and storage medium
CN109803454B (en) Data transmission control method and related product
US11903060B2 (en) User interface (UI) display control method, electronic device, and storage medium
CN110087225B (en) Message processing method and related device
CN114258158A (en) Aggregation configuration method, device and terminal
CN109451596B (en) Data transmission method and related device
CN112385253B (en) Network state display method and device
CN108990039B (en) Data transmission method and related device
CN109743456B (en) Data transmission 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