WO2021083084A1 - 数据传输方法及电子设备 - Google Patents
数据传输方法及电子设备 Download PDFInfo
- Publication number
- WO2021083084A1 WO2021083084A1 PCT/CN2020/123725 CN2020123725W WO2021083084A1 WO 2021083084 A1 WO2021083084 A1 WO 2021083084A1 CN 2020123725 W CN2020123725 W CN 2020123725W WO 2021083084 A1 WO2021083084 A1 WO 2021083084A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- networks
- application
- electronic device
- target application
- target
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
Definitions
- the embodiments of the present application relate to the field of communication technologies, and in particular, to a data transmission method and electronic equipment.
- electronic devices such as smart phones or tablet computers can usually only transmit data of all currently running applications (ie applications) through one network (such as a wireless fidelity (Wireless Fidelity, wifi) network or mobile network) at the same time.
- a wireless fidelity (Wireless Fidelity, wifi) network or mobile network) such as a Wi-Fi module (or Wi-Fi network interface), which is used to support the electronic device to communicate with a Wi-Fi access point at the same time to transmit application information through a Wi-Fi network. data.
- the network interface currently used by the electronic device is usually the default network of the system. In this way, even if the electronic device runs a large number of applications, or the network quality of the system default network is poor, the electronic device will continue to use the system default network to transmit all application data. As a result, the flexibility of data transmission in the process of running the application of the electronic device will be poor.
- the embodiments of the present application provide a data transmission method and an electronic device to solve the problem of poor flexibility of data transmission in the process of running an application program by the electronic device.
- an embodiment of the present application provides a data transmission method.
- the method includes: when the electronic device is running the target application, using N first networks to transmit the data of the target application; wherein, the N first networks are The M networks in which the electronic device establishes a communication connection; the M networks include at least two Wi-Fi networks; M is a positive integer greater than or equal to 2, and N is a positive integer less than or equal to M.
- an embodiment of the present application also provides an electronic device, the electronic device includes: a transmission module; a transmission module for transmitting data of the target application using N first networks when the electronic device is running the target application ;
- N first networks are networks in M networks that currently establish communication connections with electronic devices;
- M networks include at least two Wi-Fi networks;
- M is a positive integer greater than or equal to 2, and N is less than Or a positive integer equal to M.
- an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
- the computer program When the computer program is executed by the processor, the following The steps of the data transmission method described in one aspect.
- an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the steps of the data transmission method as described in the first aspect are implemented. .
- the electronic device can be supported to establish communication connections with M networks at the same time, and the M networks include at least two Wi-Fi networks.
- the electronic device may use N first networks to transmit the data of the target application, and the number of the N first networks is one or more, and they are corresponding to the target application.
- Network not necessarily the default network of the system. In this way, the flexibility of using the network in the data transmission process of the electronic device is improved, and the possibility of a certain network being busy is reduced to a certain extent, and the stability of the running application of the electronic device is improved.
- FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application
- FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of this application.
- FIG. 3 is a schematic diagram of displaying content of an electronic device according to an embodiment of the application.
- FIG. 4 is a schematic structural diagram of a possible electronic device provided by an embodiment of this application.
- FIG. 5 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
- first and second in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of objects.
- first network and the second network are used to distinguish different networks, rather than to describe the specific order of the networks.
- the data transmission method provided in the embodiments of the present application can support the electronic device to establish communication connections with M networks at the same time, and the M networks include at least two Wi-Fi networks.
- the electronic device may use N first networks to transmit the data of the target application, and the number of the N first networks is one or more, and they are corresponding to the target application.
- Network not necessarily the default network of the system. In this way, the flexibility of using the network in the process of data transmission is improved, and the possibility of a certain network being busy is reduced to a certain extent, and the stability of the running application of the electronic device is improved.
- the electronic device in the embodiment of the present application may be a mobile electronic device or a non-mobile electronic device.
- Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks, or personal digital assistants (personal digital assistants, PDAs), etc.
- the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc.; the embodiment of the application does not specifically limit it.
- the execution subject may be an electronic device, or the central processing unit (CPU) of the electronic device, or the electronic device used to perform data transmission The control module of the method.
- an electronic device executes a data transmission method as an example to illustrate the data transmission method provided in the embodiment of the present application.
- the electronic device in the embodiment of the present application may be an electronic device with an operating system.
- the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
- the following takes the Android operating system as an example to introduce the software environment to which the data transmission method provided in the embodiments of the present application is applied.
- FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application.
- the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
- the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
- the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework. For example, applications such as system setting applications, system chat applications, and system camera applications. Applications such as third-party settings applications, third-party camera applications, and third-party chat applications.
- the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
- the library mainly provides various resources needed by the Android operating system.
- the Android operating system operating environment is used to provide a software environment for the Android operating system.
- the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
- the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
- a developer can develop a software program that implements the data transmission method provided by the embodiment of the application based on the system architecture of the Android operating system shown in FIG. 1, so that the data
- the transmission method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the data transmission method provided in the embodiment of the present application by running the software program in the Android operating system.
- the data transmission method provided in the embodiment of the present application will be described in detail below with reference to the flowchart of the data transmission method shown in FIG. 2.
- the logical sequence of the data transmission method provided by the embodiment of the present application is shown in the method flowchart, in some cases, the steps shown or described may be performed in a different order than here.
- the data transmission method shown in FIG. 2 may include S201' and S201:
- the electronic device uses N first networks to transmit data of the target application.
- the N first networks are the networks in the M networks where the electronic device currently establishes a communication connection;
- the M networks include at least two Wi-Fi networks; M is a positive integer greater than or equal to 2, and N is less than or equal to Positive integer of M.
- the M networks may include at least two Wi-Fi networks and mobile data networks.
- the Wi-Fi network provided in the embodiment of the present application may be a wireless fidelity (ie, wifi) network.
- the electronic device may include multiple network interfaces (or network modules), such as M network interfaces, and support the electronic device to connect to one network through each network interface to connect multiple networks (such as The above M networks).
- M network interfaces or network modules
- M network interfaces support the electronic device to connect to one network through each network interface to connect multiple networks (such as The above M networks).
- the electronic device allocates a network to the target application, and specifically allocates a network interface to the target application.
- the electronic device may allocate a network to the target application when it starts to run the target application.
- the network interface is an interface that can communicate with software, which can correspond to an actual hardware interface or a virtual interface of software. Specifically, the network interface is used to support the electronic device to perform data transmission and communication.
- the aforementioned N may be a preset value, such as 1 or 2.
- the specific value of N may be determined according to actual use requirements, which is not limited in the embodiment of the present application.
- At least two Wi-Fi networks can be connected to the electronic device provided in the embodiments of the present application, so that the electronic device can transmit data through at least two Wi-Fi networks at the same time; while the electronic device in the related technology includes only one Wi-Fi network interface, that is, electronic devices can only transmit data through one Wi-Fi network at a time.
- the electronic device when the electronic device currently establishes communication connections to M networks, it can use M networks to transmit data at the same time. Wherein, the electronic device can transmit data of the target application through N first networks corresponding to the target application.
- the foregoing M networks may include the system default network and other networks.
- the aforementioned N first networks may be the default networks of the system, or the other networks.
- the target application may include one or more applications.
- the target application is taken as an example for description.
- the target application is part or all of the applications currently running on the electronic device.
- the networks allocated by electronic devices for different applications may be the same or different.
- the N first networks allocated by the electronic device may change. That is, electronic devices can dynamically allocate different networks for different running applications to support different applications to use different networks to transmit data.
- the electronic device allocates the N first networks corresponding to the target application to the target application, which may be at least one network other than the system default network, so that the data of the target application is transmitted normally and the stability of the target application operation is ensured.
- throughput is used to indicate the amount of data transmitted in 1 second.
- the data transmission method provided in the embodiments of the present application can support the electronic device to establish communication connections with M networks at the same time, and the M networks include at least two Wi-Fi networks.
- the electronic device may use N first networks to transmit the data of the target application, and the number of the N first networks is one or more, and they are corresponding to the target application.
- Network not necessarily the default network of the system. In this way, the flexibility of using the network in the process of data transmission is improved, and the possibility of a certain network being busy is reduced to a certain extent, and the stability of the running application of the electronic device is improved.
- the above N first networks are determined according to the target mode; the target mode is used to indicate that the user-defined network is determined as the N first networks (Denoted as method 1); or, used to indicate that N first networks are determined according to the priority of the target application and the network quality of the M networks.
- the higher the priority, the better the network quality of the network used by the application (denoted as the method 2).
- the user-defined network may be a network required by the user, such as a network with the best current network quality.
- the electronic device can real-timely allocate networks for running applications according to changes in running applications and network quality of different networks, so that data of running applications can be transmitted through the redistributed network.
- applications with a higher priority are generally applications with higher user requirements, such as applications that users use more frequently, or applications that require higher operational stability. In this way, assigning applications with better network quality to applications with higher priority is beneficial to improving the stability of application operation.
- the network quality may be measured by the data transmission rate and/or data retransmission rate of the network.
- the data transmission rate of the network includes a Layer 2 retransmission rate and/or a Transmission Control Protocol (Transmission Control Protocol, TCP) retransmission rate
- the data retransmission rate of the network is a Layer 2 transmission rate
- the second layer retransmission refers to the situation that the electronic device uses the Wi-Fi module (ie Wi-Fi network) to send a data packet to the Wi-Fi wireless access point, and the electronic device does not receive the Wi-Fi for various reasons.
- the acknowledgment character (Acknowledgement, ACK) returned by the Fi wireless access point triggers the retransmission of the data packet.
- the second-layer retransmission rate refers to the proportion of the number of data packets retransmitted by the electronic device in a period of time to the number of all sent data packets.
- the second layer transmission rate refers to the transmission rate of data packets in the wireless medium.
- TCP retransmission refers to the situation where the TCP data packet sent by the electronic device does not receive the ACK packet returned by the server for various reasons, which triggers the retransmission of the TCP data packet.
- the TCP retransmission rate refers to the ratio of the number of TCP retransmitted packets to the total number of sent packets in a period of time.
- the electronic device adopts a socket to realize data transmission through the network.
- the socket is used to indicate that two programs (such as applications) on the network realize the exchange of data through a two-way communication connection, which is specifically used for the connection between the two ends of the communication.
- the socket is mainly used for communication between the application client of the electronic device and the remote server.
- the electronic device can determine the target mode of the N first networks corresponding to the target application in multiple ways, the flexibility of using the network during data transmission can be further improved.
- one application has one attribute parameter, and different application priorities are determined according to the attribute parameters of each application.
- one attribute parameter includes at least one of the following: whether the application is running in the foreground, whether the application is an application in a preset list, and the application type of the application.
- the priority of the target application is determined according to the target parameter; the target parameter includes at least one of the following: whether the target application is running in the foreground, whether the target application is an application in a preset list, and the application type of the target application.
- the target parameter is the attribute parameter of the target application.
- Example 1 when the target parameter includes whether the target application is running in the foreground (denoted as parameter 1), that is, when the target parameter is used to indicate whether the target application is running in the foreground, the electronic device can assign the highest network quality to the application running in the foreground.
- a good network allocates M networks other than this one among the M networks for applications running in the background.
- the application running in the foreground refers to the application that the user is interacting with and displayed in front of the screen.
- An application running in the background refers to an application that the user has not currently interacted with, is not displayed on the screen, but is still active.
- the electronic device For example, if the electronic device is running in the background and is downloading an application with a large amount of data (such as a movie), it will occupy the bandwidth of the network corresponding to the application running in the background; at this time, if the electronic device is also running online in the foreground
- the application of the game against the game because the application running in the foreground and the application running in the background use a different network, so that the application running in the foreground will not be affected by the downloading video of the application running in the background.
- Example 2 when the target parameter includes whether the target application is an application in the preset list (denoted as parameter 2), that is, the target parameter is used to indicate whether the target application is an application in the preset list, and the The priority of the application is higher than the priority of the application not in the preset list.
- the preset list may be user-defined or preset by the electronic device system.
- the preset list may include applications of certain application types, such as applications including online games and instant messaging.
- the user can manually control the electronic device to add some applications to the preset list.
- Example 3 when the target parameter includes the application type of the target application (denoted as parameter 3), that is, the target parameter is used to indicate the application type of the target application, if the electronic device runs multiple applications of different application types, the electronic device It is possible to assign different networks with successively lower network quality to different applications with successively lower priorities of application types. If the electronic device runs one or more applications of the same application type, the electronic device may allocate the same network to the multiple applications of the same application type, for example, allocate the network with the best network quality.
- parameter 3 the application type of the target application
- the electronic device may allocate the same network to the multiple applications of the same application type, for example, allocate the network with the best network quality.
- the application types may include instant messaging, news information, online games, video playback, etc.
- the application types provided in the embodiments of the present application include but are not limited to the types listed above. For example, the priorities of online games, video playback, instant messaging, and news applications are sequentially lowered.
- the electronic device may use one or more of the target parameters to determine the priority of the application (such as the target application).
- the target parameter including multiple parameters that affect the priority of the application refer to the relevant description of the priority of each target parameter affecting the application in the foregoing embodiment, which is here in the embodiment of the present application. Do not describe in detail.
- the N first networks are the second networks with the best network quality among the M networks; when the target application is In the case of running in the background, the N first networks are other networks among the M networks except the second network.
- the second network is the first one or more of the M networks with network quality from high to bottom.
- the applications running in the foreground and the applications in the preset list are all applications with high user demand, while the applications running in the background are applications with relatively low user demand. Therefore, when the target application is running in the foreground and is an application in the preset list, the electronic device allocates the second network with the best network quality to the target application; when the target application is running in the background, the electronic device is the target application Allocating networks other than the second network can improve the stability of running applications of electronic devices and at the same time increase the flexibility of using the network for data transmission.
- the data transmission method provided in the embodiment of the present application may further include S202 and S203 after the above S201:
- the electronic device uses N third networks to transmit data of the target application.
- the electronic device uses K fourth networks to transmit the data of the target application.
- the first condition includes: it is detected that the N networks with the highest network quality among the M networks have changed from N first networks to N third networks according to the first time interval consecutively preset times; K fourth networks are M In the networks except for the N third networks, K is a positive integer.
- the K fourth networks may be networks whose network quality is lower than that of the N third networks, or a network defaulted by the system.
- the foregoing first time interval may be 1 second (s), and the foregoing preset number of times may be 3.
- the electronic device can Redistribute the network for the target application, that is, update the N first networks to use the updated N first networks to transmit the data of the target application.
- the electronic device can update the N first networks corresponding to the target application in real time, even if the target application is switched from running in the background to running in the foreground, or the current target application adopts the N first networks When the network quality deteriorates, the electronic device can make the target application use the updated N first networks to continue to transmit data. In this way, the stability of the running application of the electronic device can be further improved, and the flexibility of using the network for data transmission can be improved.
- the data transmission method provided in the embodiment of the present application may further include S204 and S205.
- S204 and S205 may further include S204 and S205:
- the electronic device detects the network quality of each of the M networks according to the second time interval.
- the second time interval is greater than the first time interval.
- the foregoing second time interval may be 3 seconds (s).
- the electronic device detects each of the M networks according to the first time interval the quality of.
- the electronic device detects that the N networks with the highest network quality among the M networks are still the N first networks according to the first time interval for a predetermined number of consecutive times, it resumes detecting the M networks according to the second time interval.
- the network quality of each network Of course, the electronic device will not redistribute the network for the target application.
- the electronic device when the first condition is met, after the electronic device reallocates the network for the target application, the electronic device can resume detecting the network quality of each of the M networks according to the second time interval.
- the electronic device when the electronic device detects that the network with the highest network quality among the M networks has changed from the N first network to the N third network, the electronic device can change the detection time from the first network to the third network.
- the second time interval is switched to the shorter first time interval, which is beneficial for improving the electronic device to quickly redistribute the network to the target application.
- the method described before S201 further includes S206 and S207:
- the electronic device receives the user's first input.
- the first input is used to trigger the electronic device to determine the target mode to determine whether the target mode is the above-mentioned mode 1 or the above-mentioned mode 2.
- the N first networks are: the system default Wi-Fi network in the electronic device Fi network (denoted as the main Wi-Fi network), other Wi-Fi networks (denoted as secondary Wi-Fi networks) among the M networks except for the system default Wi-Fi network (denoted as secondary Wi-Fi networks), or mobile data networks.
- the aforementioned mode 2 includes mode 2a, mode 2b, and mode 2c.
- method 2a is used to instruct the electronic device to use the main Wi-Fi network as the network corresponding to the target application.
- Manner 2b is used to instruct the electronic device to use the secondary Wi-Fi network as the network corresponding to the target application.
- Manner 2c is used to instruct the electronic device to use the mobile network as the network corresponding to the target application.
- the user-defined network may include multiple types, when the electronic device allocates a user-defined network to the target application, the flexibility of using the network in the process of data transmission can be further improved.
- the electronic device may re-use the method 1 as the target method to reallocate the network to the target application.
- the screen of the electronic device may be implemented by a touch screen with display function and touch function.
- the touch screen may be used to receive user input, and respond to the input to the user.
- the content corresponding to the input is displayed.
- the above-mentioned first input may be touch screen input, fingerprint input, gravity input, key input, etc.
- the touch screen input is the user's input on the touch screen of the electronic device such as pressing input, long press input, sliding input, click input, hovering input (input by the user near the touch screen).
- Fingerprint input is the input of the user's sliding fingerprint, long-press fingerprint, single-click fingerprint, and double-click fingerprint to the fingerprint reader of the electronic device.
- Gravity input is the input of the user's shaking of the electronic device in a specific direction, a certain number of shaking, and the like.
- the key input corresponds to the user's input such as single-click input, double-click input, long-press input, and combination key input of the power button, volume button, and home button of the electronic device.
- the embodiment of the present application does not specifically limit the first input manner, and may be any achievable manner.
- the embodiment of the present application may provide a control for triggering a target determination method, such as a control for determining a target method for each application, or a control for determining a target method for all applications.
- a control for determining a target method for each application may be set near the icon of each application.
- the electronic device can display corresponding controls near the icon of each application under the trigger of the user.
- the foregoing first input may be a user's input to a control corresponding to the target application.
- the electronic device determines the target mode.
- the electronic device determines the target mode
- the electronic device when the electronic device starts to run the target application, the electronic device can start to allocate the network to the target application in the target mode, so that the electronic device can use the network transmission method determined according to the target mode to transmit the target application. data.
- the following takes the operation process shown in FIG. 3 as an example to describe the data transmission method provided in the embodiment of the present application.
- the electronic device displays an icon of application 1, an icon of application 2, an icon of application 3, and an icon of application 4 on the screen.
- the electronic device is displayed in the upper left corner of the application 1 icon
- the control K1-the control K4 are used to determine the target mode of the corresponding application, and the control K1-the control K4 can identify the target mode of the corresponding application.
- the electronic device can switch the target mode currently indicated by the control K1 to another target mode.
- the text " ⁇ " is displayed in the control K1, which is used to identify the target mode corresponding to the application 1 as mode 1.
- the text "main” is displayed in the control K1, which is used to indicate that the target mode corresponding to the application 1 is mode 2a.
- the text "auxiliary” is displayed in the control K1, which is used to indicate that the target mode corresponding to the application 1 is mode 2b.
- the text "number” displayed in the control K1 is used to indicate that the target mode corresponding to the application 1 is mode 2c.
- the electronic device switches the target mode identified by the control K1 in the order of mode 1, mode 2a, mode 2b, and mode 2c.
- the text displayed in the control K1 is switched in the order of "self”, “main”, “auxiliary” and “number”.
- control K2 for the detailed description of the control K2 to the control K4, please refer to the above-mentioned related description of the control K1, which will not be repeated here.
- the data transmission method provided in the embodiments of the present application can support the user to trigger the electronic device to select the target method corresponding to the target application through the first input, which is beneficial to further improve the use of network in the process of data transmission. Flexibility.
- FIG. 4 it is a schematic diagram of a possible structure of an electronic device 40 provided by an embodiment of this application.
- the electronic device 40 shown in FIG. 4 includes: the electronic device 40 includes: a transmission module 41; a transmission module 41 for transmitting data of the target application using N first networks when the electronic device 40 is running the target application; wherein,
- the N first networks are the networks of the M networks currently establishing communication connections with the electronic device 40;
- the M networks include at least two Wi-Fi networks; M is a positive integer greater than or equal to 2, and N is less than or equal to Positive integer of M.
- the N first networks are determined according to the target mode; the target mode is used to indicate that the user-defined network is determined as the N first networks; or, it is used to indicate the priority of the target application and the M networks
- the network quality determines the N first networks, and the higher the priority, the better the network quality of the network used by the application.
- the priority of the target application is determined according to the target parameter; the target parameter is used to indicate at least one of the following: whether the target application is running in the foreground, whether the target application is an application in a preset list, and the application type of the target application.
- the N first networks are the second networks with the best network quality among the M networks; when the target application is running in the background , The N first networks are the other networks except the second network among the M networks.
- the transmission module 41 is further configured to use N first networks to transmit the data of the target application, and if the first condition is met, if the target application is running in the foreground and is an application in the preset list, then N third networks are used to transmit the data of the target application; if the target application is running in the background, K fourth networks are used to transmit the data of the target application; the first condition includes: M are detected consecutively and preset times according to the first time interval The first N networks with the best network quality in the network change from N first networks to N third networks; among them, K fourth networks are networks other than N third networks among M networks, and K is Positive integer.
- the electronic device 40 further includes: a detection module; a detection module configured to detect the network quality of each of the M networks according to the second time interval; before detecting the network quality of the M networks with the best network quality
- the quality of each of the M networks is detected according to the first time interval; wherein, the second time interval is greater than the first time interval.
- the electronic device 40 provided in the embodiment of the present application can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
- the electronic device provided in the embodiments of the present application can support the electronic device to establish communication connections with M networks at the same time, and the M networks include at least two Wi-Fi networks.
- the electronic device may use N first networks to transmit the data of the target application, and the number of the N first networks is one or more, and they are corresponding to the target application.
- Network not necessarily the default network of the system. In this way, the flexibility of using the network in the data transmission process of the electronic device is improved, and the possibility of a certain network being busy is reduced to a certain extent, and the stability of the running application of the electronic device is improved.
- the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106 , User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
- a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106 , User input unit 107, interface unit 108, memory 109, processor 110, power supply 111 and other components.
- the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
- the radio frequency unit 101 is configured to use N first networks to transmit data of the target application when the electronic device 40 is running the target application; wherein, the N first networks are M that are currently communicating with the electronic device 40 Networks in the network; M networks include at least two Wi-Fi networks; M is a positive integer greater than or equal to 2, and N is a positive integer less than or equal to M.
- the electronic device provided in the embodiments of the present application can support the electronic device to establish communication connections with M networks at the same time, and the M networks include at least two Wi-Fi networks.
- the electronic device may use N first networks to transmit the data of the target application, and the number of the N first networks is one or more, and they are corresponding to the target application.
- Network not necessarily the default network of the system. In this way, the flexibility of using the network in the data transmission process of the electronic device is improved, and the possibility of a certain network being busy is reduced to a certain extent, and the stability of the running application of the electronic device is improved.
- the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
- the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 104 is used to receive audio or video signals.
- the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the data is processed.
- the processed image frame can be displayed on the display unit 106.
- the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
- the microphone 1042 can receive sound, and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
- the electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- the display unit 106 is used to display information input by the user or information provided to the user.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 107 includes a touch panel 1071 and other input devices 1072.
- the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
- the touch panel 1071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
- the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 107 may also include other input devices 1072.
- other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 1071 can be overlaid on the display panel 1061.
- the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 1061.
- the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 108 is an interface for connecting an external device and the electronic device 100.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
- the memory 109 can be used to store software programs and various data.
- the memory 109 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
- the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
- the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
- the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
- a power source 111 such as a battery
- the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
- the electronic device 100 includes some functional modules not shown, which will not be repeated here.
- an embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is executed by the processor 110
- an electronic device including a processor 110, a memory 109, a computer program stored in the memory 109 and capable of running on the processor 110, and the computer program is executed by the processor 110
- the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
- a computer program is stored.
- the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
Claims (14)
- 一种数据传输方法,所述方法包括:在电子设备运行目标应用的情况下,采用N个第一网络传输所述目标应用的数据;其中,所述N个第一网络为与所述电子设备建立通信连接的M个网络中的网络;所述M个网络包括至少两个Wi-Fi网络;M为大于或等于2的正整数,且N为小于或等于M的正整数。
- 根据权利要求1所述的方法,其中,所述N个第一网络为按照目标方式确定的;所述目标方式用于指示将用户自定义的网络确定为所述N个第一网络;或者,用于指示根据所述目标应用的优先级和所述M个网络的网络质量确定所述N个第一网络,优先级越高的应用所采用网络的网络质量越好。
- 根据权利要求2所述的方法,其中,所述目标应用的优先级根据目标参数确定;其中,所述目标参数包括以下至少一项:所述目标应用是否在前台运行,所述目标应用是否为预设列表中的应用,所述目标应用的应用类型。
- 根据权利要求3所述的方法,其中,在所述目标应用在前台运行且为所述预设列表中的应用的情况下,所述N个第一网络为所述M个网络中网络质量最好的第二网络;在所述目标应用在后台运行的情况下,所述N个第一网络为所述M个网络中除所述第二网络之外的其他网络。
- 根据权利要求3所述的方法,其中,所述采用N个第一网络传输所述目标应用的数据之后,所述方法还包括:在满足第一条件的情况下,若所述目标应用在前台运行且为所述预设列表中的应用,则采用N个第三网络传输所述目标应用的数据;若所述目标应用在后台运行,则采用K个第四网络传输所述目标应用的数据;所述第一条件包括:按照第一时间间隔连续预设次数检测到所述M个网络中网络质量最好的前N个网络由所述N个第一网络变化为所述N个第三网络;其中,所述K个第四网络为所述M个网络中除所述N个第三网络之外的网 络,K为正整数。
- 根据权利要求5所述的方法,其中,所述方法还包括:按照第二时间间隔,检测所述M个网络中的每个网络的网络质量;在检测到所述M个网络中网络质量最好的N个网络由所述N个第一网络变化为所述N个第三网络的情况下,按照所述第一时间间隔,检测所述M个网络中的每个网络的质量;其中,所述第二时间间隔大于所述第一时间间隔。
- 一种电子设备,所述电子设备包括:传输模块;所述传输模块,用于在所述电子设备运行目标应用的情况下,采用N个第一网络传输所述目标应用的数据;其中,所述N个第一网络为与所述电子设备当前建立通信连接的M个网络中的网络;所述M个网络包括至少两个Wi-Fi网络;M为大于或等于2的正整数,且N为小于或等于M的正整数。
- 根据权利要求7所述的电子设备,其中,所述N个第一网络为按照目标方式确定的;所述目标方式用于指示将用户自定义的网络确定为所述N个第一网络;或者,用于指示根据所述目标应用的优先级和所述M个网络的网络质量确定所述N个第一网络,优先级越高的应用所采用网络的网络质量越好。
- 根据权利要求7所述的电子设备,其中,所述目标应用的优先级根据目标参数确定;其中,所述目标参数用于指示以下至少一项:所述目标应用是否在前台运行,所述目标应用是否为预设列表中的应用,所述目标应用的应用类型。
- 根据权利要求9所述的电子设备,其中,在所述目标应用在前台运行且为所述预设列表中的应用的情况下,所述N个第一网络为所述M个网络中网络质量最好的第二网络;在所述目标应用在后台运行的情况下,所述N个第一网络为所述M个网络中除所述第二网络之外的其他网络。
- 根据权利要求9所述的电子设备,其中,所述传输模块,还用于采用所述N个第一网络传输所述目标应用的数据之后,在满足第一条件的情况下, 若所述目标应用在前台运行且为所述预设列表中的应用,则为采用N个第三网络传输所述目标应用的数据;若所述目标应用在后台运行,则采用K个第四网络传输所述目标应用的数据;所述第一条件包括:按照第一时间间隔连续预设次数检测到所述M个网络中网络质量最好的前N个网络由所述N个第一网络变化为所述N个第三网络;其中,所述K个第四网络为所述M个网络中除所述N个第三网络之外的网络,K为正整数。
- 根据权利要求11所述的电子设备,其中,所述电子设备还包括:检测模块;所述检测模块,用于按照第二时间间隔,检测所述M个网络中的每个网络的网络质量;在检测到所述M个网络中网络质量最好的前N个网络由所述传输模块使用的所述N个第一网络变化为所述N个第三网络的情况下,按照所述第一时间间隔,检测所述M个网络中的每个网络的质量;其中,所述第二时间间隔大于所述第一时间间隔。
- 一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的数据传输方法的步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的数据传输方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911055456.7A CN110944408B (zh) | 2019-10-31 | 2019-10-31 | 一种数据传输方法及电子设备 |
CN201911055456.7 | 2019-10-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021083084A1 true WO2021083084A1 (zh) | 2021-05-06 |
Family
ID=69906409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/123725 WO2021083084A1 (zh) | 2019-10-31 | 2020-10-26 | 数据传输方法及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110944408B (zh) |
WO (1) | WO2021083084A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114125923A (zh) * | 2021-11-23 | 2022-03-01 | 深圳市元征科技股份有限公司 | 数据传输方法、装置、电子设备及存储介质 |
CN114466397A (zh) * | 2021-07-30 | 2022-05-10 | 荣耀终端有限公司 | Tcp通信质量评估方法、装置及电子设备 |
CN114679758A (zh) * | 2022-03-08 | 2022-06-28 | 维沃移动通信有限公司 | 网络切换方法、装置、电子设备及可读存储介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113347089B (zh) * | 2021-07-05 | 2022-09-09 | 北京字跳网络技术有限公司 | 软件定义网络sdn系统、网络配置方法、装置和设备 |
CN113986378A (zh) * | 2021-10-26 | 2022-01-28 | 维沃移动通信有限公司 | 数据处理方法及装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130044603A1 (en) * | 2011-08-17 | 2013-02-21 | Verizon Patent And Licensing Inc. | Radio access network technology optimization based on application type |
CN105430701A (zh) * | 2015-10-28 | 2016-03-23 | 努比亚技术有限公司 | 无线网络智能控制方法及装置 |
WO2018000375A1 (zh) * | 2016-06-30 | 2018-01-04 | 华为技术有限公司 | 网络通道分配方法及装置 |
CN109803325A (zh) * | 2019-02-12 | 2019-05-24 | Oppo广东移动通信有限公司 | 数据分流方法、装置、移动终端及存储介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6252172B2 (ja) * | 2013-12-27 | 2017-12-27 | ブラザー工業株式会社 | 通信システム、通信装置、および情報処理プログラム |
CN106304276B (zh) * | 2016-07-29 | 2019-07-26 | 维沃移动通信有限公司 | 一种无线网络处理方法及移动终端 |
CN107889164B (zh) * | 2017-11-23 | 2021-03-09 | Oppo广东移动通信有限公司 | 无线局域网分流处理方法以及相关产品 |
CN110233937B (zh) * | 2019-07-30 | 2021-06-25 | 腾讯科技(深圳)有限公司 | 一种数据传输方法、装置、设备及存储介质 |
-
2019
- 2019-10-31 CN CN201911055456.7A patent/CN110944408B/zh active Active
-
2020
- 2020-10-26 WO PCT/CN2020/123725 patent/WO2021083084A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130044603A1 (en) * | 2011-08-17 | 2013-02-21 | Verizon Patent And Licensing Inc. | Radio access network technology optimization based on application type |
CN105430701A (zh) * | 2015-10-28 | 2016-03-23 | 努比亚技术有限公司 | 无线网络智能控制方法及装置 |
WO2018000375A1 (zh) * | 2016-06-30 | 2018-01-04 | 华为技术有限公司 | 网络通道分配方法及装置 |
CN109803325A (zh) * | 2019-02-12 | 2019-05-24 | Oppo广东移动通信有限公司 | 数据分流方法、装置、移动终端及存储介质 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114466397A (zh) * | 2021-07-30 | 2022-05-10 | 荣耀终端有限公司 | Tcp通信质量评估方法、装置及电子设备 |
CN114466397B (zh) * | 2021-07-30 | 2022-12-16 | 荣耀终端有限公司 | Tcp通信质量评估方法、装置及电子设备 |
CN114125923A (zh) * | 2021-11-23 | 2022-03-01 | 深圳市元征科技股份有限公司 | 数据传输方法、装置、电子设备及存储介质 |
CN114125923B (zh) * | 2021-11-23 | 2024-04-02 | 深圳市元征科技股份有限公司 | 数据传输方法、装置、电子设备及存储介质 |
CN114679758A (zh) * | 2022-03-08 | 2022-06-28 | 维沃移动通信有限公司 | 网络切换方法、装置、电子设备及可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110944408B (zh) | 2022-05-17 |
CN110944408A (zh) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021083084A1 (zh) | 数据传输方法及电子设备 | |
CN110752980B (zh) | 一种消息发送方法及电子设备 | |
WO2021197263A1 (zh) | 内容共享方法及电子设备 | |
WO2019154181A1 (zh) | 显示控制方法及移动终端 | |
CN109828732B (zh) | 一种显示控制方法及终端设备 | |
WO2021129762A1 (zh) | 应用分享方法、电子设备及计算机可读存储介质 | |
CN110062105B (zh) | 一种界面显示方法及终端设备 | |
CN110445924B (zh) | 网络任务执行方法及终端设备 | |
CN110058836B (zh) | 一种音频信号的输出方法及终端设备 | |
CN108762634B (zh) | 一种控制方法及终端 | |
WO2020215932A1 (zh) | 显示未读消息的方法及终端设备 | |
CN109976611B (zh) | 终端设备的控制方法及终端设备 | |
JP7309054B2 (ja) | マルチネットワークアクセス方法及び端末機器 | |
CN109407832B (zh) | 一种终端设备的控制方法及终端设备 | |
CN110489045B (zh) | 一种对象显示方法及终端设备 | |
CN108681427B (zh) | 一种访问权限控制的方法及终端设备 | |
WO2021093766A1 (zh) | 消息显示方法及电子设备 | |
US11392267B2 (en) | Icon display control method and terminal | |
CN110990172A (zh) | 一种应用分享方法、第一电子设备及计算机可读存储介质 | |
US20220394634A1 (en) | Power adjustment method and electronic device | |
CN109992192B (zh) | 一种界面显示方法及终端设备 | |
CN109597546B (zh) | 一种图标处理方法及终端设备 | |
CN108449490B (zh) | 一种终端控制方法及终端 | |
EP4132111A1 (en) | Data transmission method and electronic device | |
WO2021104162A1 (zh) | 显示方法及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20881074 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20881074 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20881074 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20881074 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/02/2023) |