CN109803454B - Data transmission control method and related product - Google Patents

Data transmission control method and related product Download PDF

Info

Publication number
CN109803454B
CN109803454B CN201910111503.9A CN201910111503A CN109803454B CN 109803454 B CN109803454 B CN 109803454B CN 201910111503 A CN201910111503 A CN 201910111503A CN 109803454 B CN109803454 B CN 109803454B
Authority
CN
China
Prior art keywords
data transmission
transmission request
terminal device
data
link
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
CN201910111503.9A
Other languages
Chinese (zh)
Other versions
CN109803454A (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 CN201910111503.9A priority Critical patent/CN109803454B/en
Publication of CN109803454A publication Critical patent/CN109803454A/en
Priority to PCT/CN2020/074908 priority patent/WO2020164522A1/en
Application granted granted Critical
Publication of CN109803454B publication Critical patent/CN109803454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

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

Abstract

The embodiment of the application discloses a data transmission control method and a related product, which are applied to electronic equipment, wherein the electronic equipment establishes a first Wi-Fi link with at least one first terminal device and establishes a second Wi-Fi link with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both links in a Soft wireless access point Soft AP mode, and the method comprises the following steps: receiving a first data transmission request from the at least one first terminal device over the first Wi-Fi link and a second data transmission request from the at least one second terminal device over the second Wi-Fi link; determining a processing order of the first data transmission request and the second data transmission request; and processing the first data transmission request and the second data transmission request according to the processing sequence. The embodiment of the application is beneficial to improving the data transmission efficiency of the electronic equipment.

Description

Data transmission control method and related product
Technical Field
The present application relates to the field of electronic communications technologies, and in particular, to a data transmission control method and a related product.
Background
At present, electronic equipment in the market supports data transmission through a cellular network module, and also can realize data transmission through a local area network communication module such as a Wireless Fidelity (Wi-Fi) module, a Bluetooth module and the like, for example, after a user starts a soft access Point (softaccess Point, SoftAP) mode of a Wi-Fi function of a mobile phone end, the mobile phone can be switched from a mobile network working mode to a Wi-Fi working mode, and scan an accessible Wireless access Point (access Point, AP) for network access.
Disclosure of Invention
The embodiment of the application provides a data transmission control method and a related product, aiming at improving the data transmission efficiency of electronic equipment.
In a first aspect, an embodiment of the present application provides a data transmission control method, where an electronic device establishes a first Wi-Fi link with at least one first terminal device and establishes a second Wi-Fi link with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both links in a Soft wireless access point Soft AP mode, where the method includes:
receiving a first data transmission request from the at least one first terminal device over the first Wi-Fi link and a second data transmission request from the at least one second terminal device over the second Wi-Fi link;
determining a processing order of the first data transmission request and the second data transmission request;
and processing the first data transmission request and the second data transmission request according to the processing sequence.
In a second aspect, an embodiment of the present application provides a data transmission control apparatus, which is applied to an electronic device, where the electronic device establishes a first Wi-Fi link with at least one first terminal device and a second Wi-Fi link with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both links in Soft AP mode of a Soft wireless access point, the data transmission control apparatus includes a processing unit and a communication unit, and the communication unit includes a Wi-Fi module for establishing the first Wi-Fi link and the second Wi-Fi link, where,
the processing unit is configured to receive a first data transmission request from the at least one first terminal device via the first Wi-Fi link, and receive a second data transmission request from the at least one second terminal device via the second Wi-Fi link; and for determining a processing order of the first data transmission request and the second data transmission request; and for processing the first data transmission request and the second data transmission request in the processing order.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in this embodiment of the present application, the electronic device first receives a first data transmission request from the at least one first terminal device through the first Wi-Fi link and receives a second data transmission request from the at least one second terminal device through the second Wi-Fi link, and then determines a processing order of the first data transmission request and the second data transmission request, and finally processes the first data transmission request and the second data transmission request according to the processing order. Therefore, under the condition that the electronic equipment is enabled to have the double Wi-Fi function, the electronic equipment and at least one first terminal equipment and at least one second terminal equipment can form a double Wi-Fi link topology which is not interfered with each other, so that independent data receiving and sending of double Wi-Fi links can be achieved, meanwhile, a first data transmission request and a second data transmission request can be sequentially processed according to the sequence, internet surfing requests of the first terminal equipment and the second terminal equipment are processed in a time-sharing mode, and compared with the existing electronic equipment which can only be based on a single Wi-Fi link, the data transmission capacity of the electronic equipment is remarkably improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a data transmission control method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a block diagram of functional units of a data transmission control device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes an application processor AP110, a baseband chip base modem120, a cellular module 130, a cellular antenna 131, a Wi-Fi module 140, a first Wi-Fi antenna 141, and a second Wi-Fi antenna 142, where the application processor 110 is connected to the baseband chip 120, the baseband chip 120 is connected to the cellular module 130 and the Wi-Fi module 140, the cellular module 130 is connected to the cellular antenna 131, and the Wi-Fi module 140 is connected to the first Wi-Fi antenna 141 and the second Wi-Fi antenna 142. In a specific implementation, after the Wi-Fi module 140 is enabled by the electronic device, the electronic device may switch between a single Wi-Fi operating mode and a dual Wi-Fi operating mode, where the single Wi-Fi operating mode specifically includes a workstation Station mode, a hotspot Soft AP mode, and a peer-to-peer P2P mode, and the dual Wi-Fi operating mode specifically includes any one of the following: station mode + Station mode, Station mode + Soft AP mode, Soft AP mode + P2P mode, Soft AP mode + Soft AP mode, Soft AP mode + P2P mode, P2P mode + P2P mode. Since the Wi-Fi radio frequency part is connected to the first Wi-Fi antenna 141 and the second Wi-Fi antenna 142, the hardware can support data transmission of 2 paths of Wi-Fi links, that is, one path of data is transmitted through the first Wi-Fi antenna 141 and the second Wi-Fi antenna 142, respectively.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data transmission control method provided in an embodiment of the present application, and is applied to the electronic device shown in fig. 1, where the electronic device establishes a first Wi-Fi link with at least one first terminal device and establishes a second Wi-Fi link with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both links in Soft wireless access point Soft AP mode; as shown in the figure, the data transmission control method includes:
s201, the electronic device receives a first data transmission request from the at least one first terminal device through the first Wi-Fi link, and receives a second data transmission request from the at least one second terminal device through the second Wi-Fi link.
The electronic equipment works in a Soft AP mode and a Soft AP mode under a double-WI-FI mode, a first data transmission request and a second data transmission request can be respectively received through two WI-FIs, and the transmission frequency band of a first WI-Fi link is different from the transmission frequency band of a second WI-Fi link and is not interfered. For example, a first Wi-Fi link may be configured in a 2.4Gwi-Fi band and a second Wi-Fi link may be configured in a 5G Wi-Fi band.
Since the electronic device enables two WI-FI hotspots, at least one first terminal device in the first terminal device set can be set to be preferentially connected with the first WI-FI link, and at least one second terminal device in the second terminal device set can be set to be limitedly connected with the second WI-FI link. For example, a user may add smart home devices to a first set of terminal devices, such that a first terminal device, such as a television, an air conditioner, a washing machine, etc., may be preferentially connected to a first WI-FI link, and add digital products to a second set of terminal devices, such that a second terminal device, such as a mobile phone, a tablet, a bluetooth headset, etc., may be preferentially connected to a second WI-FI link, thereby facilitating the user to perform classification management on the smart home devices and the digital devices through an electronic device.
S202, the electronic equipment determines the processing sequence of the first data transmission request and the second data transmission request.
After receiving a first data transmission request of at least one first terminal device through a first WI-FI link and receiving a second data transmission request of at least one second terminal device through a second WI-FI link, two situations may exist, wherein the first situation is that the first terminal device and the second terminal device do not have internet access requirements, namely, only simple local area network services; the second situation is that the first terminal device and/or the second terminal device have internet surfing requirements. Therefore, the electronic device needs to determine the processing order according to the first data transmission request and the second data transmission request, i.e., to process the first data transmission request first or to process the second data transmission disconnection request first.
The method mainly aims at the second situation, namely under the situation that both a first terminal and a second terminal device have internet surfing requirements, only one cellular module is needed to be started when the local terminal of the electronic device surfs the internet, the cellular module interacts with a base station to realize the internet surfing, so that only one cellular module can be used for internet surfing services at the same time after the first terminal device and the second terminal device are transferred through a WI-FI template at the same time, namely, one of a first data transmission request and a second data transmission request needs to be queued, and the cellular module is time division multiplexed.
S203, the electronic device processes the first data transmission request and the second data transmission request according to the processing sequence.
The capabilities of the first Wi-Fi link and the second Wi-Fi link in dimensions such as an encryption mode, a transmission rate, an attenuation speed and an anti-interference capability are different, and the electronic device can divide the terminal device into a first terminal device and a second terminal device according to the differences so as to transmit data of the terminal devices adapted to different Wi-Fi links.
It can be seen that, in this embodiment of the present application, the electronic device first receives a first data transmission request from the at least one first terminal device through the first Wi-Fi link and receives a second data transmission request from the at least one second terminal device through the second Wi-Fi link, and then determines a processing order of the first data transmission request and the second data transmission request, and finally processes the first data transmission request and the second data transmission request according to the processing order. Therefore, under the condition that the electronic equipment is enabled to have the double Wi-Fi function, the electronic equipment and at least one first terminal equipment and at least one second terminal equipment can form a double Wi-Fi link topology which is not interfered with each other, so that independent data receiving and sending of double Wi-Fi links can be achieved, meanwhile, a first data transmission request and a second data transmission request can be sequentially processed according to the sequence, internet surfing requests of the first terminal equipment and the second terminal equipment are processed in a time-sharing mode, and compared with the existing electronic equipment which can only be based on a single Wi-Fi link, the data transmission capacity of the electronic equipment is remarkably improved.
In one possible example, the determining a processing order of the first data transmission request and the second data transmission request includes: acquiring a pre-stored priority list of the terminal equipment; determining the device priority of the at least one first terminal device and the at least one second terminal device according to the terminal device priority list; and determining the processing sequence of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device.
The method comprises the steps of obtaining a pre-stored terminal equipment priority list, determining the equipment priority of each first terminal equipment in at least one first terminal equipment and the equipment priority of each second terminal equipment in at least one second terminal equipment, and accordingly determining the processing sequence of a first data transmission request and a second data transmission request.
As can be seen, in this example, the priority list of the terminal devices is pre-stored in the electronic device, and therefore, when the electronic device receives data transmission requests from at least one first terminal device and at least one second terminal device, it may be determined whether to preferentially process the first data transmission request or preferentially process the second data transmission request according to the device priorities, so as to improve data transmission efficiency.
In one possible example, the determining the processing order of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device includes: when detecting that the device priority of a target first terminal device with the highest device priority in the at least one first terminal device is higher than the device priority of a target second terminal device with the highest device priority in the at least one second terminal device, determining that the processing sequence is to process the first data transmission request first and then process the second data transmission request; or, when it is detected that the device priority of the target second terminal device with the highest device priority in the at least one second terminal device is higher than the device priority of the target first terminal device with the highest device priority in the at least one first terminal device, it is determined that the processing sequence is to process the second data transmission request first and then process the first data transmission request.
After determining the priority of each first terminal device in the at least one first terminal device and the priority of each first terminal device in the at least one second terminal device, the device priority of a target first terminal device with the highest device priority in the at least one first terminal device and the target second terminal device with the highest device priority in the at least one second terminal device may be determined, and when it is detected that the device priority of the target first terminal device with the highest device priority in the at least one first terminal device is higher than the device priority of the target second terminal device with the highest device priority in the at least one second terminal device, the processing order is determined to process the first data transmission request and then process the second data transmission request, or when it is detected that the device priority of the target second terminal device with the highest device priority in the at least one second terminal device is higher than the device priority of the at least one first terminal device When the device priority of the target first terminal device with the highest device priority in the devices is determined, the processing sequence is determined to be that the second data transmission request is processed first, and then the first data transmission request is processed
For example, the device priorities of 3 first terminal devices in the at least one first terminal device are 3, 5, and 2, respectively, and the device priorities of 2 second terminal devices in the at least one second terminal device are 1 and 4, respectively, so that the electronic device can process the first data transmission request of the at least one first terminal device preferentially and then process the second data transmission request of the at least one second terminal device.
As can be seen, in this example, the priority list of the terminal devices is pre-stored in the electronic device, and therefore, when the electronic device receives data transmission requests from at least one first terminal device and at least one second terminal device, it may be determined whether to preferentially process the first data transmission request or preferentially process the second data transmission request according to the terminal device with the highest device priority among the first terminal device and the second terminal device, so as to improve data transmission efficiency.
In one possible example, the determining a processing order of the first data transmission request and the second data transmission request includes: determining a first data volume corresponding to the first data transmission request and a second data volume corresponding to the second data transmission request; and when the first data volume is detected to be smaller than the second data volume, determining to process the first data transmission request preferentially.
After receiving the first data transmission request and the second data transmission request, the electronic device may determine a first data volume corresponding to the first data transmission request and a second data volume corresponding to the second data transmission request, and when it is detected that the first data volume is smaller than the first data volume, process the first data transmission request first and then process the second data transmission request, or when it is detected that the second data volume is smaller than the first data volume, process the second data transmission request first and then process the first data transmission request.
As can be seen, in this example, when a large amount of data needs to be transmitted, the electronic device processes the first data transmission request corresponding to the smaller data amount first, and processes the second data transmission request corresponding to the larger data amount, which is beneficial to improving data transmission efficiency and reducing queuing waiting time.
In one possible example, the facilitating processing the first data transmission request and the second data transmission request according to the processing includes: after first data is transmitted with the first terminal equipment through the first Wi-Fi link, second data is transmitted with the second terminal equipment through the second Wi-Fi link; or after second data is transmitted with the second terminal equipment through the second Wi-Fi link, first data is transmitted with the first terminal equipment through the first Wi-Fi link.
When both the first terminal device and the second terminal device need to surf the internet, the queuing sequence can be determined according to the parameter information corresponding to the first data transmission request and the second data transmission request when the queuing is needed for processing the first data transmission request and the second data transmission request because only the cellular module can be time division multiplexed.
As can be seen, in this example, since the first WI-FI link may relay the internet access request of the first terminal device, and the second WI-FI link may relay the internet access request of the second terminal device, but the cellular module cannot process the internet access requests of the first terminal device and the second terminal device in parallel, the internet access request is processed through time division multiplexing, which is beneficial to improving data transmission efficiency.
In one possible example, the first data includes at least one of: local data of the electronic equipment, data received by the electronic equipment from a first network side, local data of the at least one first terminal equipment, and data received by the at least one first terminal equipment from a second network side; the second data includes at least one of: local data of the electronic device, data received by the electronic device from the first network side, local data of the at least one second terminal device, and data received by the at least one second terminal device from the third network side.
The local data comprises various types of data such as files, pictures, audio and video which are pre-stored in a local storage space, and the data at the network side refers to various types of data acquired by the equipment through networks except the current Wi-Fi network such as a cellular network and a Bluetooth network.
Therefore, in this example, various types of data can be flexibly transmitted between the electronic device and the opposite-end device of the Wi-FI link, and the comprehensiveness of data transmission is improved.
In one possible example, the first data includes at least one of: the local data of the electronic device, the local data of the first terminal device, and the second data includes at least one of: local data of the electronic equipment and local data of the second terminal equipment; the electronic device supports only local area network data transmission over the first Wi-Fi link and the second Wi-Fi link.
When the first terminal device and the second terminal device do not have the internet surfing requirement, the electronic device only supports local area network data transmission through the first Wi-Fi link and the second Wi-Fi link, so that the electronic device does not need to support synchronous work of the Wi-Fi module and other radio frequency modules, namely when the electronic device starts the Wi-Fi module, the electronic device can sleep or close the other radio frequency modules.
Therefore, in this example, when the electronic device enables the dual Wi-Fi function, the privacy and the security are strong under the condition of only supporting the transmission of local area network data, so that the information is effectively prevented from being uploaded, and the privacy and the security of data transmission are improved.
In one possible example, the method further comprises: enabling a dual Wi-Fi working mode of the Wi-Fi module of the electronic equipment; establishing the first Wi-Fi link with the at least one first terminal device; establishing the second Wi-Fi link with the at least one second terminal device.
In a specific implementation, the protocol process of the electronic device for establishing the first Wi-FI link and the second Wi-FI link may refer to an existing Soft AP pairing mechanism of the Wi-FI Soft wireless access point, which is not described herein again.
Furthermore, the triggering conditions and implementation procedures for enabling the dual Wi-Fi operation mode of the electronic device may be various and are not limited herein.
For example, the electronic device may provide a dedicated function button for enabling a dual Wi-FI operating mode, and when it is detected that a user clicks the function button, the electronic device is enabled, and a terminal device that can be paired is searched, and the user selects the terminal device to pair, or the local terminal of the electronic device automatically filters the terminal device that meets a preset condition to pair, or the local terminal of the electronic device directly connects to the paired terminal device.
For another example, the electronic device may identify, based on the scene, when it is identified that the current usage scene is a preset scene in which the dual Wi-Fi operation mode needs to be enabled, the home terminal automatically enables the dual Wi-Fi operation mode, searches for terminal devices that can be paired, and selects a terminal device for pairing by a user, or automatically screens terminal devices that meet preset conditions by the home terminal of the electronic device for pairing, or directly connects the paired terminal devices by the home terminal of the electronic device.
For another example, the electronic device may enable the dual Wi-Fi operating mode after confirming that the enable request is responded based on an enable request of the peer device, and pair and connect with the peer device, or automatically screen the terminal devices meeting the preset conditions by the home terminal of the electronic device for pairing, or directly connect the paired terminal devices by the home terminal of the electronic device.
Therefore, in this example, the electronic device can flexibly start a dual Wi-Fi working mode, establish the first and second Wi-Fi links, and implement multilink data transmission by the Soft wireless access point Soft AP, thereby improving the efficiency and flexibility of data transmission.
In one possible example, the functions supported by the electronic device over the first and second Wi-Fi links include at least one of: the mobile phone has the functions of moving, file mutual transmission, game, network sharing and one-way control aiming at the at least one terminal device.
The above processing mechanism is described in detail below with reference to some exemplary application scenarios.
Scene 1, in an intelligent home scene, assuming that electronic equipment is a smart phone of a user, a first terminal device is a smart television in a living room, a second terminal device is a tablet personal computer of the user, a dual Wi-Fi function button is arranged on the smart phone, the user can click the function button to start the dual Wi-Fi function of a Wi-Fi module after arriving at home, when electronic equipment respectively establishes a first Wi-Fi link with the smart television and establishes a second Wi-Fi circuit with the tablet personal computer, if the smart television and the tablet personal computer do not have internet access requirements, the smart television can send television program information of a home terminal to the smart phone, and the tablet personal computer can send data such as photos, files and the like of the home terminal to the smart phone; if the smart television and the tablet personal computer have internet surfing requirements, after the smart phone receives a first data transmission request of the smart television and a second data transmission request of the tablet personal computer, internet surfing priorities of the tablet personal computer and the smart television are judged, the first data transmission request and the second data transmission request are sequenced according to the priorities, and if the priorities of the tablet personal computer are larger than the priorities of the smart television, the first data transmission request is processed preferentially, and the second data transmission request is processed.
In a mobile phone moving scene, assuming that the electronic device is a new mobile phone of a user, the first terminal device is a first old mobile phone of the user, the second terminal device is a second old mobile phone of the user, the new mobile phone starts a dual Wi-FI connection function of the Wi-FI module and starts to scan pairable devices, the new and old mobile phones are paired and connected through a password and the like, and then a first Wi-FI link and a second Wi-FI link are created.
Scene 3, in a double-link network sharing scene, it is assumed that the electronic device is a master mobile phone with a local phone card, the first terminal device is a first mobile phone, the second terminal device is a second mobile phone, and the first mobile phone and the second mobile phone can be in paired connection with the master mobile phone when the first mobile phone and the second mobile phone do not have internet surfing capability in a current region, the master mobile phone and the first mobile phone establish a first Wi-Fi link, the master mobile phone and the second mobile phone establish a second Wi-Fi link, so that the master mobile phone can share a network for the first mobile phone and the second mobile phone, and simultaneously support a conflict processing mechanism of multiple internet surfing requests at the same time period, that is, the first mobile phone and the second mobile phone need to queue up for internet surfing, when the first mobile phone is on internet surfing, the second mobile phone cannot surf the internet, and when the second mobile phone is on internet, the first mobile phone cannot surf the internet.
In accordance with the embodiment shown in fig. 2, please refer to fig. 3, fig. 3 is a schematic structural diagram of an electronic device 300 according to an embodiment of the present application, and as shown in the drawing, the electronic device 300 includes an application processor 310, a memory 320, a communication interface 330, and one or more programs 321, where the one or more programs 321 are stored in the memory 320 and configured to be executed by the application processor 310, and the one or more programs 321 include instructions for performing the following steps;
receiving a first data transmission request from the at least one first terminal device over the first Wi-Fi link and a second data transmission request from the at least one second terminal device over the second Wi-Fi link;
determining a processing order of the first data transmission request and the second data transmission request;
and processing the first data transmission request and the second data transmission request according to the processing sequence.
It can be seen that, in this embodiment of the present application, the electronic device first receives a first data transmission request from the at least one first terminal device through the first Wi-Fi link and receives a second data transmission request from the at least one second terminal device through the second Wi-Fi link, and then determines a processing order of the first data transmission request and the second data transmission request, and finally processes the first data transmission request and the second data transmission request according to the processing order. Therefore, under the condition that the electronic equipment is enabled to have the double Wi-Fi function, the electronic equipment and at least one first terminal equipment and at least one second terminal equipment can form a double Wi-Fi link topology which is not interfered with each other, so that independent data receiving and sending of double Wi-Fi links can be achieved, meanwhile, a first data transmission request and a second data transmission request can be sequentially processed according to the sequence, internet surfing requests of the first terminal equipment and the second terminal equipment are processed in a time-sharing mode, and compared with the existing electronic equipment which can only be based on a single Wi-Fi link, the data transmission capacity of the electronic equipment is remarkably improved.
In one possible example, the determining a processing order of the first data transmission request and the second data transmission request includes: acquiring a pre-stored priority list of the terminal equipment; determining the device priority of the at least one first terminal device and the at least one second terminal device according to the terminal device priority list; and determining the processing sequence of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device.
In one possible example, the determining the processing order of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device includes: when detecting that the device priority of a target first terminal device with the highest device priority in the at least one first terminal device is higher than the device priority of a target second terminal device with the highest device priority in the at least one second terminal device, determining that the processing sequence is to process the first data transmission request first and then process the second data transmission request; or, when it is detected that the device priority of the target second terminal device with the highest device priority in the at least one second terminal device is higher than the device priority of the target first terminal device with the highest device priority in the at least one first terminal device, it is determined that the processing sequence is to process the second data transmission request first and then process the first data transmission request.
In one possible example, the determining a processing order of the first data transmission request and the second data transmission request includes: determining a first data volume corresponding to the first data transmission request and a second data volume corresponding to the second data transmission request; and when the first data volume is detected to be smaller than the second data volume, determining to process the first data transmission request preferentially.
In one possible example, the facilitating processing the first data transmission request and the second data transmission request according to the processing includes: after first data is transmitted with the first terminal equipment through the first Wi-Fi link, second data is transmitted with the second terminal equipment through the second Wi-Fi link; or after second data is transmitted with the second terminal equipment through the second Wi-Fi link, first data is transmitted with the first terminal equipment through the first Wi-Fi link.
In one possible example, the first data includes at least one of: local data of the electronic equipment, data received by the electronic equipment from a first network side, local data of the at least one first terminal equipment, and data received by the at least one first terminal equipment from a second network side; the second data includes at least one of: local data of the electronic device, data received by the electronic device from the first network side, local data of the at least one second terminal device, and data received by the at least one second terminal device from the third network side.
In one possible example, the first data includes at least one of: local data of the electronic device, local data of the at least one first terminal device, and the second data includes at least one of: local data of the electronic device, local data of the at least one second terminal device; the electronic device supports only local area network data transmission over the first Wi-Fi link and the second Wi-Fi link.
In one possible example, the method further comprises: enabling a dual Wi-Fi working mode of the Wi-Fi module of the electronic equipment; establishing the first Wi-Fi link with the at least one first terminal device; establishing the second Wi-Fi link with the at least one second terminal device.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 4 is a block diagram of functional units of a data transmission control apparatus 400 according to an embodiment of the present application. The data transmission control device 400 is applied to an electronic device, the electronic device establishes a first Wi-Fi link with at least one first terminal device and a second Wi-Fi link with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both links in Soft wireless access point Soft AP mode, the data transmission control device 400 includes a processing unit 410 and a communication unit 420, the communication unit 420 includes a Wi-Fi module for establishing the first Wi-Fi link and the second Wi-Fi link, wherein,
the processing unit 410 is configured to receive a first data transmission request from the at least one first terminal device through the first Wi-Fi link, and receive a second data transmission request from the at least one second terminal device through the second Wi-Fi link; and for determining a processing order of the first data transmission request and the second data transmission request; and for processing the first data transmission request and the second data transmission request in the processing order.
The processing unit 410 may be an application processor and a baseband chip, or a SoC, and the data transmission control apparatus 400 further includes a storage unit 430, where the storage unit 430 may be a memory.
It can be seen that, in this embodiment of the present application, the electronic device first receives a first data transmission request from the at least one first terminal device through the first Wi-Fi link and receives a second data transmission request from the at least one second terminal device through the second Wi-Fi link, and then determines a processing order of the first data transmission request and the second data transmission request, and finally processes the first data transmission request and the second data transmission request according to the processing order. Therefore, under the condition that the electronic equipment is enabled to have the double Wi-Fi function, the electronic equipment and at least one first terminal equipment and at least one second terminal equipment can form a double Wi-Fi link topology which is not interfered with each other, so that independent data receiving and sending of double Wi-Fi links can be achieved, meanwhile, a first data transmission request and a second data transmission request can be sequentially processed according to the sequence, internet surfing requests of the first terminal equipment and the second terminal equipment are processed in a time-sharing mode, and compared with the existing electronic equipment which can only be based on a single Wi-Fi link, the data transmission capacity of the electronic equipment is remarkably improved.
In one possible example, in terms of the determining the processing order of the first data transmission request and the second data transmission request, the processing unit 410 is specifically configured to: acquiring a pre-stored priority list of the terminal equipment; and is configured to determine device priorities of the at least one first terminal device and the at least one second terminal device according to the terminal device priority list; and the processing sequence of the first data transmission request and the second data transmission request is determined according to the device priority of the at least one first terminal device and the at least one second terminal device.
In a possible example, in terms of the determining the processing order of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device, the processing unit 410 is specifically configured to: when detecting that the device priority of a target first terminal device with the highest device priority in the at least one first terminal device is higher than the device priority of a target second terminal device with the highest device priority in the at least one second terminal device, determining that the processing sequence is to process the first data transmission request first and then process the second data transmission request; or, when it is detected that the device priority of the target second terminal device with the highest device priority in the at least one second terminal device is higher than the device priority of the target first terminal device with the highest device priority in the at least one first terminal device, it is determined that the processing sequence is to process the second data transmission request first and then process the first data transmission request.
In one possible example, in terms of the determining the processing order of the first data transmission request and the second data transmission request, the processing unit 410 is specifically configured to: determining a first data volume corresponding to the first data transmission request and a second data volume corresponding to the second data transmission request; and the data processing device is used for determining to process the first data transmission request preferentially when the first data volume is detected to be smaller than the second data volume.
In one possible example, in terms of the processing the first data transmission request and the second data transmission request successfully according to the processing, the processing unit 410 is specifically configured to: after first data is transmitted with the first terminal equipment through the first Wi-Fi link, second data is transmitted with the second terminal equipment through the second Wi-Fi link; or after second data is transmitted with the second terminal equipment through the second Wi-Fi link, first data is transmitted with the first terminal equipment through the first Wi-Fi link.
In one possible example, the first data includes at least one of: local data of the electronic equipment, data received by the electronic equipment from a first network side, local data of the at least one first terminal equipment, and data received by the at least one first terminal equipment from a second network side; the second data includes at least one of: local data of the electronic device, data received by the electronic device from the first network side, local data of the at least one second terminal device, and data received by the at least one second terminal device from the third network side.
In one possible example, the first data includes at least one of: local data of the electronic device, local data of the at least one first terminal device, and the second data includes at least one of: local data of the electronic device, local data of the at least one second terminal device; the electronic device supports only local area network data transmission over the first Wi-Fi link and the second Wi-Fi link.
In one possible example, the processing unit 410 is further configured to: enabling a dual Wi-Fi working mode of the Wi-Fi module of the electronic equipment; establishing the first Wi-Fi link with the at least one first terminal device; establishing the second Wi-Fi link with the at least one second terminal device.
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 (11)

1. A data transmission method is applied to electronic equipment, the electronic equipment comprises a cellular module, the electronic equipment establishes a first Wi-Fi link with at least one first terminal device and establishes a second Wi-Fi link with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both links in a Soft wireless access point Soft AP mode, and the method comprises the following steps:
receiving a first data transmission request from the at least one first terminal device through the first Wi-Fi link, and receiving a second data transmission request from the at least one second terminal device through the second Wi-Fi link, wherein the first data transmission request and the second data transmission request both include an internet surfing request;
determining a processing order of the first data transmission request and the second data transmission request;
and processing the first data transmission request and the second data transmission request according to the processing sequence.
2. The method of claim 1, wherein determining the processing order of the first data transmission request and the second data transmission request comprises:
acquiring a pre-stored priority list of the terminal equipment;
determining the device priority of the at least one first terminal device and the at least one second terminal device according to the terminal device priority list;
and determining the processing sequence of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device.
3. The method according to claim 2, wherein the determining the processing order of the first data transmission request and the second data transmission request according to the device priority of the at least one first terminal device and the at least one second terminal device comprises:
when detecting that the device priority of a target first terminal device with the highest device priority in the at least one first terminal device is higher than the device priority of a target second terminal device with the highest device priority in the at least one second terminal device, determining that the processing sequence is to process the first data transmission request first and then process the second data transmission request; alternatively, the first and second electrodes may be,
when detecting that the device priority of the target second terminal device with the highest device priority in the at least one second terminal device is higher than the device priority of the target first terminal device with the highest device priority in the at least one first terminal device, determining that the processing sequence is to process the second data transmission request first and then process the first data transmission request.
4. The method of claim 1, wherein determining the processing order of the first data transmission request and the second data transmission request comprises:
determining a first data volume corresponding to the first data transmission request and a second data volume corresponding to the second data transmission request;
and when the first data volume is detected to be smaller than the second data volume, determining to process the first data transmission request preferentially.
5. The method according to any of claims 1-4, wherein said facilitating the processing of the first data transmission request and the second data transmission request according to the processing comprises:
after first data is transmitted with the first terminal equipment through the first Wi-Fi link, second data is transmitted with the second terminal equipment through the second Wi-Fi link; or the like, or, alternatively,
and after second data is transmitted with the second terminal equipment through the second Wi-Fi link, first data is transmitted with the first terminal equipment through the first Wi-Fi link.
6. The method of claim 5, wherein the first data comprises at least one of:
local data of the electronic equipment, data received by the electronic equipment from a first network side, local data of the at least one first terminal equipment, and data received by the at least one first terminal equipment from a second network side;
the second data includes at least one of:
local data of the electronic device, data received by the electronic device from the first network side, local data of the at least one second terminal device, and data received by the at least one second terminal device from the third network side.
7. The method of claim 5, wherein the first data comprises at least one of: local data of the electronic device, local data of the at least one first terminal device, and the second data includes at least one of: local data of the electronic device, local data of the at least one second terminal device;
the electronic device supports only local area network data transmission over the first Wi-Fi link and the second Wi-Fi link.
8. The method of any of claims 1-4, 6, and 7, further comprising:
enabling a dual Wi-Fi working mode of the Wi-Fi module of the electronic equipment;
establishing the first Wi-Fi link with the at least one first terminal device;
establishing the second Wi-Fi link with the at least one second terminal device.
9. A data transmission control device is applied to an electronic device, the electronic device comprises a cellular module, the electronic device establishes a first Wi-Fi link with at least one first terminal device and a second Wi-Fi link with at least one second terminal device, the first Wi-Fi link and the second Wi-Fi link are both links of a Soft wireless access point Soft AP mode, the data transmission control device comprises a processing unit and a communication unit, the communication unit comprises a Wi-Fi module for establishing the first Wi-Fi link and the second Wi-Fi link, wherein,
the processing unit is configured to receive a first data transmission request from the at least one first terminal device through the first Wi-Fi link, and receive a second data transmission request from the at least one second terminal device through the second Wi-Fi link, where the first data transmission request and the second data transmission request both include an internet access request; and for determining a processing order of the first data transmission request and the second data transmission request; and for processing the first data transmission request and the second data transmission request in the processing order.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-8.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-8.
CN201910111503.9A 2019-02-12 2019-02-12 Data transmission control method and related product Active CN109803454B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910111503.9A CN109803454B (en) 2019-02-12 2019-02-12 Data transmission control method and related product
PCT/CN2020/074908 WO2020164522A1 (en) 2019-02-12 2020-02-12 Data transmission control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910111503.9A CN109803454B (en) 2019-02-12 2019-02-12 Data transmission control method and related product

Publications (2)

Publication Number Publication Date
CN109803454A CN109803454A (en) 2019-05-24
CN109803454B true CN109803454B (en) 2021-09-21

Family

ID=66562172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910111503.9A Active CN109803454B (en) 2019-02-12 2019-02-12 Data transmission control method and related product

Country Status (2)

Country Link
CN (1) CN109803454B (en)
WO (1) WO2020164522A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803454B (en) * 2019-02-12 2021-09-21 Oppo广东移动通信有限公司 Data transmission control method and related product
CN115209393A (en) * 2021-04-12 2022-10-18 华为技术有限公司 Data transmission method, system, electronic device and storage medium
CN115396986A (en) * 2021-05-25 2022-11-25 成都极米科技股份有限公司 Method, device, equipment and storage medium for controlling data transmission by soft access point

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459526B (en) * 2008-12-15 2010-10-13 北京航空航天大学 Projector sharing conference system based on service discovery
CN103428725A (en) * 2013-08-08 2013-12-04 福州瑞芯微电子有限公司 Method and system for controlling data traffic on mobile device
CN105592491A (en) * 2015-09-25 2016-05-18 深圳市美贝壳科技有限公司 Method for coexistence of AP mode and P2P mode of dual-WIFI module
CN105592504A (en) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 Multi-wifi module transmission method, transmission device and terminal
CN105915984A (en) * 2015-12-12 2016-08-31 乐视致新电子科技(天津)有限公司 Remote controller and WIFIMirocast conflict solving method and system
CN106376054A (en) * 2016-08-29 2017-02-01 上海纽菲斯信息科技有限公司 Dual-wifi system and network connection control method of mobile device
CN108307432A (en) * 2017-09-29 2018-07-20 努比亚技术有限公司 WiFi control methods, mobile terminal and computer readable storage medium
CN207665117U (en) * 2017-09-15 2018-07-27 浙江学海教育科技有限公司 It is a kind of wirelessly to throw screen device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101689621B1 (en) * 2015-07-22 2016-12-27 (주)피타소프트 Image recording device having function for dual wifi access mode and image sharing system having the said device
CN109803454B (en) * 2019-02-12 2021-09-21 Oppo广东移动通信有限公司 Data transmission control method and related product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459526B (en) * 2008-12-15 2010-10-13 北京航空航天大学 Projector sharing conference system based on service discovery
CN103428725A (en) * 2013-08-08 2013-12-04 福州瑞芯微电子有限公司 Method and system for controlling data traffic on mobile device
CN105592504A (en) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 Multi-wifi module transmission method, transmission device and terminal
CN105592491A (en) * 2015-09-25 2016-05-18 深圳市美贝壳科技有限公司 Method for coexistence of AP mode and P2P mode of dual-WIFI module
CN105915984A (en) * 2015-12-12 2016-08-31 乐视致新电子科技(天津)有限公司 Remote controller and WIFIMirocast conflict solving method and system
CN106376054A (en) * 2016-08-29 2017-02-01 上海纽菲斯信息科技有限公司 Dual-wifi system and network connection control method of mobile device
CN207665117U (en) * 2017-09-15 2018-07-27 浙江学海教育科技有限公司 It is a kind of wirelessly to throw screen device and system
CN108307432A (en) * 2017-09-29 2018-07-20 努比亚技术有限公司 WiFi control methods, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
WO2020164522A1 (en) 2020-08-20
CN109803454A (en) 2019-05-24

Similar Documents

Publication Publication Date Title
CN109640310B (en) Data transmission control method and related product
CN109743783B (en) Data transmission control method and related product
CN109618373B (en) Link selection method and related device
EP3697054B1 (en) Method for data transmission with two wi-fi links and related products
JP6888113B2 (en) Communication methods and terminals for implementing dual SIM dual active
US11696207B2 (en) Data transmission method, electronic device, and computer readable storage medium
JP6529186B2 (en) Data transmission method and terminal
CN106851782B (en) Data transmission method and device
JP7229387B2 (en) Method, terminal, system and network access equipment for receiving and transmitting data in wireless LAN
CN109803454B (en) Data transmission control method and related product
CN108282846B (en) Service request processing method and device
CN109526020B (en) Data transmission method and related product
EP3512118A1 (en) Method and device for transmitting response message
CN110177384B (en) Access method, device, wireless access point and readable storage medium
EP4258710A1 (en) Method for transmitting data in near field, device and system
CN105451368B (en) Communication method and device
CN107222937B (en) Data transmission method, device and terminal
CN109392018B (en) Data transmission method and related device
TWI684381B (en) Communication method, terminal equipment and network equipment for terminal equipment in equipment
EP3905736A1 (en) Device discovery method, apparatus, and system
CN108990039B (en) Data transmission method and related device
CN112055372A (en) Client front-end equipment and working method thereof
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN104427001B (en) External memory, data file sending/receiving system and method
CN113747421B (en) Method, equipment and system for controlling terminal regression under mobile network sharing mechanism

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