WO2020164522A1 - 数据传输控制方法及相关产品 - Google Patents

数据传输控制方法及相关产品 Download PDF

Info

Publication number
WO2020164522A1
WO2020164522A1 PCT/CN2020/074908 CN2020074908W WO2020164522A1 WO 2020164522 A1 WO2020164522 A1 WO 2020164522A1 CN 2020074908 W CN2020074908 W CN 2020074908W WO 2020164522 A1 WO2020164522 A1 WO 2020164522A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
data transmission
data
transmission request
link
Prior art date
Application number
PCT/CN2020/074908
Other languages
English (en)
French (fr)
Inventor
柯世兴
黄园
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020164522A1 publication Critical patent/WO2020164522A1/zh

Links

Images

Classifications

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

Definitions

  • This application relates to the field of electronic technology, and in particular to a data transmission control method and related products.
  • Wi-Fi Wireless Fidelity
  • Bluetooth Bluetooth
  • users enable Wi-Fi on mobile phones.
  • the mobile phone After the Fi-enabled soft wireless access point (SoftAcessPoint, SoftAP) mode, the mobile phone will switch from the mobile network working mode to the Wi-Fi working mode, and scan the wireless access point (AP) that can be accessed. Network access.
  • SoftAcessPoint SoftAP
  • the embodiments of the present application provide a data transmission control method and related products, in order to improve the data transmission efficiency of electronic devices.
  • an embodiment of the present application provides a data transmission control method.
  • 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.
  • Fi link, and the first Wi-Fi link and the second Wi-Fi link are both soft wireless access point Soft AP mode links, the method includes:
  • the first data transmission request and the second data transmission request are processed according to the processing sequence.
  • an embodiment of the present application provides a data transmission control device, which is applied to an electronic device, and the electronic device establishes a first Wi-Fi link with at least one first terminal device and establishes a first Wi-Fi link with at least one second terminal device There is a second Wi-Fi link, and the first Wi-Fi link and the second Wi-Fi link are both soft wireless access points Soft AP mode links,
  • the data transmission control device It 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, 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 from the at least one terminal device through the second Wi-Fi link A second data transmission request of a second terminal device; and used to determine the processing sequence of the first data transmission request and the second data transmission request; and used to process the first data transmission according to the processing sequence Request and the second data transmission request.
  • embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
  • the above-mentioned program includes instructions for executing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute In one aspect, some or all of the steps described in any method.
  • embodiments of the present application provide 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 execute For example, some or all of the steps described in any method of the first aspect.
  • the computer program product may be a software installation package.
  • the electronic device first receives the first data transmission request from the at least one first terminal device through the first Wi-Fi link, and through the second Wi-Fi link Receiving the second data transmission request from the at least one second terminal device, secondly, determining the processing sequence of the first data transmission request and the second data transmission request, and finally processing the second data transmission request according to the processing sequence The first data transmission request and the second data transmission request.
  • the electronic device when the dual Wi-Fi function is enabled, can form a non-interfering dual Wi-Fi link topology with at least one first terminal device and at least one second terminal device, thereby enabling dual Wi-Fi
  • the independent data transmission and reception of the link can also process the first data transmission request and the second data transmission request in sequence, and the time-sharing processing of the first terminal device and the second terminal device’s Internet request, compared with the existing only based on Electronic devices with a single Wi-Fi link significantly improve the data transmission capabilities of electronic devices.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a data transmission control method provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 4 is a block diagram of functional units of a data transmission control device provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 includes an application processor AP110, a baseband chip baseband modem 120, a cellular module 130, a cellular antenna 131, and Wi-Fi.
  • the Wi-Fi module 140 can switch between single Wi-Fi working mode and dual Wi-Fi working mode.
  • the single Wi-Fi working mode specifically includes the workstation station mode and the hot spot Soft AP mode and point-to-point P2P mode
  • dual Wi-Fi working modes specifically include any 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.
  • the hardware can support data transmission of 2 Wi-Fi links, that is, through the first Wi-Fi link respectively.
  • a Wi-Fi antenna 141 and the second Wi-Fi antenna 142 transmit one channel of data.
  • FIG. 2 is a schematic flowchart of a data transmission control method provided by an embodiment of the present application, which is applied to the electronic device as shown in FIG. 1, and the electronic device is established with at least one first terminal device.
  • Wi-Fi link, a second Wi-Fi link is established with at least one second terminal device, and the first Wi-Fi link and the second Wi-Fi link are both soft wireless access Click the link in Soft AP mode; as shown in the figure, this data transmission control method includes:
  • 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 first data transmission request from the at least one second terminal device through the second Wi-Fi link. The second data transmission request of the terminal device.
  • the electronic device in this application works in the Soft AP mode + Soft AP mode in the dual WI-FI mode, and can receive the first data transmission request and the second data transmission request through two WI-FIs.
  • the transmission frequency band of the Fi link is different from the transmission frequency band of the second Wi-Fi link without interference.
  • the first Wi-Fi link can be configured in the 2.4G Wi-Fi frequency band
  • the second Wi-Fi link can be configured in the 5G Wi-Fi frequency band.
  • the electronic device since the electronic device has enabled two WI-FI hotspots, it can be set that at least one first terminal device in the first terminal device set is connected to the first WI-FI link first, and at least one of the second terminal device sets A second terminal device is limited to the second WI-FI link.
  • users can add smart home devices to the first terminal device set, so that first terminal devices such as TVs, air conditioners, and washing machines can be connected to the first WI-FI link first, and digital products can be added to the second terminal device set
  • second terminal devices such as mobile phones, tablets, and Bluetooth headsets can be preferentially connected to the second WI-FI link, thereby facilitating users to classify and manage smart home devices and digital devices through electronic devices.
  • S202 The electronic device determines a processing sequence of the first data transmission request and the second data transmission request.
  • the electronic device needs to determine the processing sequence according to the first data transmission request and the second data transmission request, that is, whether to process the first data transmission request first or process the second data transmission request first.
  • this application mainly refers to the second case, that is, when both the first terminal and the second terminal device have Internet access requirements, since the cellular module needs to be turned on when the electronic device is connected to the Internet, the cellular module interacts with the base station to achieve Internet access. There is only one cellular module. Therefore, at the same time, only one of the first terminal device and the second terminal device can use the cellular module for Internet access after being transferred through the WI-FI template at the same time, that is, the first data transmission request and the second terminal device. One of the data transmission requests needs to be queued to time-division multiplex the cellular module.
  • S203 The electronic device processes the first data transmission request and the second data transmission request according to the processing sequence.
  • the terminal device is divided into a first terminal device and a second terminal device to transmit data of terminal devices that are adapted to different Wi-Fi links.
  • the electronic device first receives the first data transmission request from the at least one first terminal device through the first Wi-Fi link, and through the second Wi-Fi link Receiving the second data transmission request from the at least one second terminal device, secondly, determining the processing sequence of the first data transmission request and the second data transmission request, and finally processing the second data transmission request according to the processing sequence The first data transmission request and the second data transmission request.
  • the electronic device when the dual Wi-Fi function is enabled, can form a non-interfering dual Wi-Fi link topology with at least one first terminal device and at least one second terminal device, thereby enabling dual Wi-Fi
  • the independent data transmission and reception of the link can also process the first data transmission request and the second data transmission request in sequence, and the time-sharing processing of the first terminal device and the second terminal device’s Internet request, compared with the existing only based on Electronic devices with a single Wi-Fi link significantly improve the data transmission capabilities of electronic devices.
  • the determining the processing sequence of the first data transmission request and the second data transmission request includes: obtaining a pre-stored terminal device priority list; and determining according to the terminal device priority list The device priorities of the at least one first terminal device and the at least one second terminal device; determine the first terminal device according to the device priorities of the at least one first terminal device and the at least one second terminal device The processing sequence of the data transmission request and the second data transmission request.
  • the device priority of each first terminal device in at least one first terminal device and the device priority of each second terminal device in at least one second terminal device are determined, thus, the processing sequence of the first data transmission request and the second data transmission request is determined.
  • the priority list of the terminal device pre-stored in the electronic device therefore, when the electronic device receives a data transmission request from at least one first terminal device and at least one second terminal device, it can be based on the device priority , Determine whether to prioritize the first data transmission request or the second data transmission request, thereby improving the data transmission efficiency.
  • the processing of the first data transmission request and the second data transmission request is determined according to the device priorities of the at least one first terminal device and the at least one second terminal device
  • the sequence includes: detecting that the device priority of the target first terminal device with the highest device priority among the at least one first terminal device is higher than that of the target second terminal device with the highest device priority among the at least one second terminal device
  • the processing sequence is determined to be that the first data transmission request is processed first, and then the second data transmission request; or, the device priority is detected in the at least one second terminal device
  • the processing sequence is to process the second terminal device first. Data transmission request, and then process the first data transmission request.
  • the device in at least one first terminal device can be determined The device priority of the first terminal device with the highest priority and the target second terminal device with the highest device priority among at least one second terminal device. The target with the highest device priority among the at least one first terminal device is detected first.
  • the processing sequence is to process the first data transmission request first, and then Process the second data transmission request, or detect that the device priority of the target second terminal device with the highest device priority among the at least one second terminal device is higher than the device priority of the at least one first terminal device
  • the processing sequence is to process the second data transmission request first, and then process the first data transmission request.
  • the device priorities of three first terminal devices in at least one first terminal device are 3, 5, and 2, respectively, and the device priorities of two second terminals in at least one second terminal device are 1, respectively. 4. Therefore, the electronic device may preferentially process the first data transmission request of at least one first terminal device, and then process the second data transmission request of at least one second terminal device.
  • the priority list of the terminal device is pre-stored in the electronic device. Therefore, when the electronic device receives a data transmission request from at least one first terminal device and at least one second terminal device, the The terminal device with the highest device priority among the device and the second terminal device determines whether to preferentially process the first data transmission request or the second data transmission request, thereby improving data transmission efficiency.
  • the determining the processing sequence of the first data transmission request and the second data transmission request includes: determining the first data volume and the second data volume corresponding to the first data transmission request The second data volume corresponding to the data transmission request; when it is detected that the first data volume is less than the second data volume, it is determined that the first data transmission request is processed preferentially.
  • the electronic device can determine the first data volume corresponding to the first data transmission request and the second data volume corresponding to the second data transmission request, and after detecting the first data transmission request When a data volume is less than the first data volume, the first data transmission request is processed first, and then the second data transmission request is processed, or when the second data volume is detected to be less than the first data volume, the second data transmission is processed first Request, and then process the first data transmission request.
  • the electronic device when a large amount of data needs to be transmitted, the electronic device first processes the first data transmission request corresponding to a smaller amount of data, and processes the second data transmission request corresponding to a larger amount of data. This is beneficial to improve data transmission. Efficiency, reducing waiting time in the queue.
  • the smoothly processing the first data transmission request and the second data transmission request according to the processing includes: communicating with the first terminal device through the first Wi-Fi link After the first data is transmitted, the second data is transmitted to the second terminal device through the second Wi-Fi link; or, the second data is transmitted to the second terminal device through the second Wi-Fi link. After the data is received, the first data is transmitted with the first terminal device through the first Wi-Fi link.
  • the processing of the first data transmission request and the second data transmission request needs to be queued.
  • the parameter information corresponding to the request and the second data transmission request determines the queuing order.
  • the first WI-FI link can transfer the Internet request of the first terminal device
  • the second WI-FI link can transfer the Internet request of the second terminal device, but the cellular module cannot process the first terminal in parallel
  • the Internet access request of the device and the second terminal device therefore, the Internet access request is processed through time division multiplexing, which is beneficial to improve the data transmission efficiency.
  • the first data includes at least one of the following: local data of the electronic device, data from the first network side received by the electronic device, and local data of the at least one first terminal device.
  • Data, data from the second network side received by the at least one first terminal device; the second data includes at least one of the following: local data of the electronic device, and data received by the electronic device from the first Data on the 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.
  • local data includes various types of data pre-stored in the local storage space, such as files, pictures, audios, videos, etc.
  • the data on the network side refers to the devices through cellular networks, Bluetooth networks, and other networks other than the current Wi-Fi network.
  • the first data includes at least one of the following: local data of the electronic device, local data of the first terminal device, and the second data includes at least one of the following: Local data of the electronic device, local data of the second terminal device; the electronic device only supports the transmission of local area network data through the first Wi-Fi link and the second Wi-Fi link.
  • the electronic device when the first terminal device and the second terminal device do not have Internet access requirements, the electronic device only supports the transmission of local area network data through the first Wi-Fi link and the second Wi-Fi link, so the electronic device does not need Supports the synchronization of Wi-Fi module and other radio frequency modules, that is, when the Wi-Fi module is enabled on the electronic device, it can sleep or shut down other radio frequency modules.
  • the privacy and security are relatively strong when only supporting the transmission of LAN data, which can effectively prevent information from being transmitted, and improve the privacy and security of data transmission.
  • the method further includes: enabling the dual Wi-Fi working mode of the Wi-Fi module of the electronic device; 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 protocol process for the electronic device to establish the first Wi-FI link and the second Wi-FI link can refer to the existing Wi-Fi soft wireless access point Soft AP pairing mechanism, which will not be repeated here.
  • trigger conditions and implementation processes for the electronic device to enable the dual Wi-Fi working mode can be various, and there is no unique limitation here.
  • an electronic device may provide a dedicated function button for enabling dual Wi-FI working mode, which is activated when the user clicks on the function button, and searches for pairable terminal devices.
  • the user selects the terminal device for pairing, or
  • the local end of the electronic device automatically screens terminal devices that meet preset conditions for pairing, or the local end of the electronic device directly connects to a paired terminal device.
  • the electronic device can recognize based on the scene.
  • the local end automatically enables the dual Wi-Fi working mode and searches for pairable
  • the user selects the terminal device for pairing, or the local end of the electronic device automatically selects the terminal devices that meet the preset conditions for pairing, or the local end of the electronic device directly connects to the paired terminal device.
  • the electronic device can be based on the activation request of the opposite device, and after confirming the response to the activation request, enable the dual Wi-Fi working mode, and pair and connect with the opposite device, or the electronic device can automatically filter the pre-compliance. Set the conditional terminal device to pair, or the electronic device itself directly connects to the terminal device that has been paired.
  • the electronic device can flexibly enable the dual Wi-Fi working mode, establish the first and second Wi-FI links, and use the soft wireless access point Soft AP to achieve multi-link data transmission and improve data transmission. Efficiency and flexibility.
  • the functions supported by the electronic device through the first Wi-Fi link and the second Wi-Fi link include at least one of the following: mobile phone moving, file transfer, game, network Sharing and one-way control functions for the at least one terminal device.
  • Scenario 1 In the smart home scenario, assume that the electronic device is the user's smart phone, the first terminal device is the smart TV in the living room, and the second terminal device is the user's tablet computer.
  • the smart phone is equipped with dual Wi-Fi functions Button, the user can click the function button to enable the dual Wi-Fi function of the Wi-Fi module after arriving home.
  • the smart TV can send local TV program information to the smart phone, and the tablet can send local photos, files and other data to the smart phone; if the smart TV and tablet have Internet access requirements .
  • the smart phone receives the first data transmission request of the smart TV and the second data transmission request of the tablet computer, it will determine the Internet access priority of the tablet computer and the smart TV, and combine the first data transmission request and the second data transmission request according to the priority.
  • the data transmission requests are sorted. If the priority of the tablet computer is greater than the priority of the smart TV, the first data transmission request is processed first, and the second data transmission request is processed.
  • Scenario 2 In the mobile phone moving scenario, suppose the electronic device is the user's new mobile phone, the first terminal device is the user's first old mobile phone, the second terminal device is the user's second old mobile phone, and the new mobile phone is enabled with the Wi-FI module Dual Wi-Fi connection function, and start to scan for pairable devices. After the new and old mobile phones are paired and connected through passwords, etc., the first and second Wi-Fi links are created. When the first and second old mobile phones are both connected to the new mobile phone After the Wi-Fi communication link is established, the first part of data can be transmitted through the first Wi-Fi link, and the second part of data can be transmitted through the second Wi-Fi link. The data transmission can be parallel transmission. , Improve the efficiency of data transmission.
  • Scenario 3 In the dual-link network sharing scenario, suppose the electronic device is the main mobile phone installed with the local calling card, the first terminal device is the first mobile phone, the second terminal device is the second mobile phone, and the first mobile phone and the second mobile phone are in When there is no Internet access in the current area, you can pair and connect with the main mobile phone.
  • the main mobile phone establishes the first Wi-Fi link with the first mobile phone, and the main mobile phone establishes the second Wi-Fi link with the second mobile phone.
  • One mobile phone and the second mobile phone share the network and support the conflict handling mechanism of simultaneous multiple Internet access requests. That is, the first mobile phone and the second mobile phone need to line up to access the Internet. When the first mobile phone is online, the second mobile phone cannot access the Internet. When the mobile phone is online, the first mobile phone cannot go online.
  • FIG. 3 is a schematic structural diagram of an electronic device 300 provided by an embodiment of the present application.
  • the electronic device 300 includes an application processor 310 , A memory 320, a communication interface 330, and one or more programs 321, wherein the one or more programs 321 are stored in the above-mentioned memory 320 and are configured to be executed by the above-mentioned application processor 310, and the one or more The program 321 includes instructions for performing the following steps;
  • the first data transmission request and the second data transmission request are processed according to the processing sequence.
  • the electronic device first receives the first data transmission request from the at least one first terminal device through the first Wi-Fi link, and through the second Wi-Fi link Receiving the second data transmission request from the at least one second terminal device, secondly, determining the processing sequence of the first data transmission request and the second data transmission request, and finally processing the second data transmission request according to the processing sequence The first data transmission request and the second data transmission request.
  • the electronic device when the dual Wi-Fi function is enabled, can form a non-interfering dual Wi-Fi link topology with at least one first terminal device and at least one second terminal device, thereby enabling dual Wi-Fi
  • the independent data transmission and reception of the link can also process the first data transmission request and the second data transmission request in sequence, and the time-sharing processing of the first terminal device and the second terminal device’s Internet request, compared with the existing only based on Electronic devices with a single Wi-Fi link significantly improve the data transmission capabilities of electronic devices.
  • the determining the processing sequence of the first data transmission request and the second data transmission request includes: obtaining a pre-stored terminal device priority list; and determining according to the terminal device priority list The device priorities of the at least one first terminal device and the at least one second terminal device; determine the first terminal device according to the device priorities of the at least one first terminal device and the at least one second terminal device The processing sequence of the data transmission request and the second data transmission request.
  • the processing of the first data transmission request and the second data transmission request is determined according to the device priorities of the at least one first terminal device and the at least one second terminal device
  • the sequence includes: detecting that the device priority of the target first terminal device with the highest device priority among the at least one first terminal device is higher than that of the target second terminal device with the highest device priority among the at least one second terminal device
  • the processing sequence is determined to be that the first data transmission request is processed first, and then the second data transmission request; or, the device priority is detected in the at least one second terminal device
  • the processing sequence is to process the second terminal device first. Data transmission request, and then process the first data transmission request.
  • the determining the processing sequence of the first data transmission request and the second data transmission request includes: determining the first data volume and the second data volume corresponding to the first data transmission request The second data volume corresponding to the data transmission request; when it is detected that the first data volume is less than the second data volume, it is determined that the first data transmission request is processed preferentially.
  • the smoothly processing the first data transmission request and the second data transmission request according to the processing includes: communicating with the first terminal device through the first Wi-Fi link After the first data is transmitted, the second data is transmitted to the second terminal device through the second Wi-Fi link; or, the second data is transmitted to the second terminal device through the second Wi-Fi link. After the data is received, the first data is transmitted with the first terminal device through the first Wi-Fi link.
  • the first data includes at least one of the following: local data of the electronic device, data from the first network side received by the electronic device, and local data of the at least one first terminal device.
  • Data, data from the second network side received by the at least one first terminal device; the second data includes at least one of the following: local data of the electronic device, and data received by the electronic device from the first Data on the 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 first data includes at least one of the following: 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 the following: The local data of the electronic device, the local data of the at least one second terminal device; the electronic device only supports the transmission of local area network data through the first Wi-Fi link and the second Wi-Fi link.
  • the method further includes: enabling the dual Wi-Fi working mode of the Wi-Fi module of the electronic device; 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 functions supported by the electronic device through the first Wi-Fi link and the second Wi-Fi link include at least one of the following: mobile phone moving, file transfer, game, network Sharing and one-way control functions for the at least one terminal device.
  • the electronic device includes hardware structures and/or software modules corresponding to each function.
  • this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application may divide the electronic device into functional units according to the foregoing method examples.
  • each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 4 is a block diagram of the functional unit composition of the data transmission control device 400 involved in an embodiment of the present application.
  • the data transmission control apparatus 400 is applied to an electronic device that has a first Wi-Fi link established with at least one first terminal device, and a second Wi-Fi link established with at least one second terminal device, and The first Wi-Fi link and the second Wi-Fi link are both soft wireless access point Soft AP mode links, and 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 from the second Wi-Fi link A second data transmission request of at least one second terminal device; and used to determine the processing sequence of the first data transmission request and the second data transmission request; and used to process the first data according to the processing sequence A transmission request and the second data transmission request.
  • the processing unit 410 may be an application processor and a baseband chip, or a system-on-chip SoC.
  • the data transmission control device 400 further includes a storage unit 430, and the storage unit 430 may be a memory.
  • the electronic device first receives the first data transmission request from the at least one first terminal device through the first Wi-Fi link, and through the second Wi-Fi link Receiving the second data transmission request from the at least one second terminal device, secondly, determining the processing sequence of the first data transmission request and the second data transmission request, and finally processing the second data transmission request according to the processing sequence The first data transmission request and the second data transmission request.
  • the electronic device when the dual Wi-Fi function is enabled, can form a non-interfering dual Wi-Fi link topology with at least one first terminal device and at least one second terminal device, thereby enabling dual Wi-Fi
  • the independent data transmission and reception of the link can also process the first data transmission request and the second data transmission request in sequence, and the time-sharing processing of the first terminal device and the second terminal device’s Internet request, compared with the existing only based on Electronic devices with a single Wi-Fi link significantly improve the data transmission capabilities of electronic devices.
  • the processing unit 410 is specifically configured to: obtain a pre-stored terminal device priority list; and Used to determine 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 used to determine 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; The device priority of a second terminal device determines the processing sequence of the first data transmission request and the second data transmission request.
  • the processing unit 410 is specifically configured to: detect that the device priority of the target first terminal device with the highest device priority among the at least one first terminal device is higher than that of the at least one second terminal device When the device priority of the target second terminal device with the highest device priority is determined, the processing sequence is determined to be to process the first data transmission request first, and then process the second data transmission request; or, when the at least When the device priority of the target second terminal device with the highest device priority among the second terminal devices is higher than the device priority of the target first terminal device with the highest device priority among the at least one first terminal device, it is determined that the The processing sequence is to process the second data transmission request first, and then process the first data transmission request.
  • the processing unit 410 is specifically configured to: determine the processing sequence corresponding to the first data transmission request The first data volume and the second data volume corresponding to the second data transmission request; and for determining that the first data transmission request is processed preferentially when it is detected that the first data volume is less than the second data volume .
  • the processing unit 410 is specifically configured to: pass the first Wi-Fi After the first data is transmitted between the link and the first terminal device, the second data is transmitted with the second terminal device through the second Wi-Fi link; or, the second data is transmitted with the second Wi-Fi link through the second Wi-Fi link. After the second terminal device transmits the second data, the first data is transmitted with the first terminal device through the first Wi-Fi link.
  • the first data includes at least one of the following: local data of the electronic device, data from the first network side received by the electronic device, and local data of the at least one first terminal device.
  • Data, data from the second network side received by the at least one first terminal device; the second data includes at least one of the following: local data of the electronic device, and data received by the electronic device from the first Data on the 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 first data includes at least one of the following: 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 the following: The local data of the electronic device, the local data of the at least one second terminal device; the electronic device only supports the transmission of local area network data through the first Wi-Fi link and the second Wi-Fi link.
  • the processing unit 410 is further configured to: enable the dual Wi-Fi working mode of the Wi-Fi module of the electronic device; and establish the first Wi-Fi with the at least one first terminal device Link; establishing the second Wi-Fi link with the at least one second terminal device.
  • the functions supported by the electronic device through the first Wi-Fi link and the second Wi-Fi link include at least one of the following: mobile phone moving, file transfer, game, network Sharing and one-way control functions for the at least one terminal device.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment ,
  • the aforementioned computer includes electronic equipment.
  • the embodiments of the present application also provide a computer program product.
  • the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program.
  • the above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method.
  • the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
  • the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other various media that can store program codes.
  • the program can be stored in a computer-readable memory, and the memory can include: flash disk , Read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.

Landscapes

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

Abstract

本申请实施例公开了一种数据传输控制方法及相关产品,应用于电子设备,电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且第一Wi-Fi链路和第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路,方法包括:通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。本申请实施例有利于提高电子设备的数据传输效率。

Description

数据传输控制方法及相关产品 技术领域
本申请涉及电子技术领域,尤其涉及一种数据传输控制方法及相关产品。
背景技术
目前市面上的电子设备支持通过蜂窝网络模块实现数据传输,也可以通过局域网通信模块如无线高保真(Wireless Fidelity,Wi-Fi)模块、蓝牙Bluetooth模块等实现数据传输,如用户启用手机端的Wi-Fi功能的软无线访问接入点(SoftAcessPoint,SoftAP)模式后,手机会从移动网络工作模式切换到Wi-Fi工作模式,并扫描可以接入的无线访问接入点(Acess Point,AP)进行网络接入。
发明内容
本申请实施例提供了一种数据传输控制方法及相关产品,以期提高电子设备的数据传输效率。
第一方面,本申请实施例提供一种数据传输控制方法,所述电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且所述第一Wi-Fi链路和所述第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路,所述方法包括:
通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;
确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;
按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
第二方面,本申请实施例提供一种数据传输控制装置,应用于电子设备,所述电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且所述第一Wi-Fi链路和所述第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路,所述数据传输控制装置包括处理单元和通信单元,所述通信单元包括用于建 立所述第一Wi-Fi链路和所述第二Wi-Fi链路的Wi-Fi模块,其中,
所述处理单元,用于通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;以及用于确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;以及用于按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,本申请实施例中,电子设备首先通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求,其次,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,最后,按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。可见,电子设备在启用双Wi-Fi功能的情况下,能够与至少一个第一终端设备和至少一个第二终端设备形成互不干扰的双Wi-Fi链路拓扑,从而可以实现双Wi-Fi链路的独立数据收发,同时还可以按照顺序依次处理第一数据传输请求和第二数据传输请求,分时处理第一终端设备和第二终端设备的上网请求,相比于现有仅能够基于单Wi-Fi链路的电子设备,显著提高电子设备的数据传输能力。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种电子设备的结构示意图;
图2是本申请实施例提供的一种数据传输控制方法的流程示意图;
图3是本申请实施例提供的一种电子设备的结构示意图;
图4是本申请实施例提供的一种数据传输控制装置的功能单元组成框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
下面对本申请实施例进行详细介绍。
请参阅图1,图1是本申请实施例提供了一种电子设备100的结构示意图,所述电子设备100包括应用处理器AP110、基带芯片baseband modem120、蜂窝模块130、蜂窝天线131、Wi-Fi模块140、第一Wi-FI天线141、第二Wi-Fi天线142,其中,所述处理器110连接所述基带芯片120,所述基带芯片120连接所述蜂窝模块130和所述Wi-Fi模块140,所述蜂窝模块130连接所述蜂窝天线131,所述Wi-FI模块140连接所述第一Wi-FI天线141和所述第二Wi-Fi天线142。具体实现中,电子设备启用Wi-Fi模块140后,可以在单 Wi-Fi工作模式和双Wi-Fi工作模式之间进行切换,其中,单Wi-FI工作模式具体包括工作站Station模式、热点Soft AP模式以及点对点P2P模式,双Wi-Fi工作模式具体包括以下任意一种:Station模式+Station模式,Station模式+Soft AP模式,Soft AP模式+P2P模式,Soft AP模式+Soft AP模式,Soft AP模式+P2P模式,P2P模式+P2P模式。由于Wi-Fi射频部分连接有所述第一Wi-FI天线141和所述第二Wi-Fi天线142,故而硬件上可以支持2路Wi-Fi链路的数据传输,即分别通过所述第一Wi-FI天线141和所述第二Wi-Fi天线142传输一路数据。
请参阅图2,图2是本申请实施例提供了一种数据传输控制方法的流程示意图,应用于如图1所述的电子设备,所述电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且所述第一Wi-Fi链路和所述第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路;如图所示,本数据传输控制方法包括:
S201,电子设备通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求。
其中,本申请中的电子设备工作在双WI-FI模式下的Soft AP模式+Soft AP模式,可以通过两路WI-FI分别接收到第一数据传输请求和第二数据传输请求,第一Wi-Fi链路的传输频段与第二Wi-Fi链路的传输频段不同且无干扰。例如,第一Wi-Fi链路可以配置在2.4GWi-Fi频段,第二Wi-Fi链路可以配置在5G Wi-Fi频段。
其中,由于电子设备启用了两个WI-FI热点,因此,可设定第一终端设备集合中的至少一个第一终端设备优先连接第一WI-FI链路,第二终端设备集合中的至少一个第二终端设备有限连接第二WI-FI链路。例如,可以用户可以将智能家居设备添加到第一终端设备集合,如此电视、空调、洗衣机等第一终端设备可以优先连接到第一WI-FI链路,将数码产品添加到第二终端设备集合,如此手机、平板、蓝牙耳机等第二终端设备可以优先连接到第二WI-FI链路,从而方便用户通过电子设备对智能家居设备和数码设备进行分类管理。
S202,所述电子设备确定所述第一数据传输请求和所述第二数据传输请求的处理顺序。
其中,在通过第一WI-FI链路接收到至少一个第一终端设备的第一数据传输请求,以及通过第二WI-FI链路接收到至少一个第二终端设备的第二数据传输请求后,可能存在两 种情况,第一种情况是第一终端设备和第二终端设备无上网需求,即仅仅是简单的局域网服务;第二种情况是第一终端设备和/或第二终端设备均有上网需求。因此,电子设备需要根据第一数据传输请求和第二数据传输请求确定处理顺序,即先处理第一数据传输请求还是先处理第二数据传输去请求。
其中,本申请主要指针对第二种情况,即第一终端和第二终端设备均有上网需求的情况下,由于电子设备本端上网时需要开启蜂窝模块,通过蜂窝模块与基站交互实现上网,蜂窝模块只有一个,因此,同一时刻下,第一终端设备和第二终端设备中同一时刻下只有一个可以通过WI-FI模板中转后使用蜂窝模块进行上网业务,即第一数据传输请求和第二数据传输请求中有一个需要排队,从而时分复用蜂窝模块。
S203,所述电子设备按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
其中,所述第一Wi-Fi链路和所述第二Wi-Fi链路在加密方式、传输速率、衰减速度、抗干扰能力等维度的能力会有差异性,电子设备可以根据上述差异性,将终端设备分为第一终端设备和第二终端设备,以将适配不同Wi-Fi链路的终端设备的数据进行传输。
可以看出,本申请实施例中,电子设备首先通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求,其次,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,最后,按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。可见,电子设备在启用双Wi-Fi功能的情况下,能够与至少一个第一终端设备和至少一个第二终端设备形成互不干扰的双Wi-Fi链路拓扑,从而可以实现双Wi-Fi链路的独立数据收发,同时还可以按照顺序依次处理第一数据传输请求和第二数据传输请求,分时处理第一终端设备和第二终端设备的上网请求,相比于现有仅能够基于单Wi-Fi链路的电子设备,显著提高电子设备的数据传输能力。
在一个可能的示例中,所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:获取预存的终端设备优先级列表;根据所述终端设备优先级列表,确定所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级;根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序。
其中,通过获取预存的终端设备优先级列表,确定至少一个第一终端设备中每个第一终端设备的设备优先级,以及至少一个第二终端设备中每个第二终端设备的设备优先级,从而,确定第一数据传输请求和第二数据传输请求的处理顺序。
可见,本示例中,电子设备中预存的终端设备的优先级列表,因此,当电子设备接收到来自至少一个第一终端设备以及至少一个第二终端设备的数据传输请求时,可以根据设备优先级,确定优先处理第一数据传输请求还是优先处理第二数据传输请求,从而提高数据传输效率。
在一个可能的示例中,所述根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:在检测到所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级高于所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级时,确定所述处理顺序为先处理所述第一数据传输请求,再处理所述第二数据传输请求;或者,在检测到所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级高于所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级时,确定所述处理顺序为先处理所述第二数据传输请求,再处理所述第一数据传输请求。
其中,在确定至少一个第一终端设备中每个第一终端设备的优先级以及至少一个第二终端设备中每个第一终端设备的优先级后,即可确定至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级和至少一个第二终端设备中设备优先级最高的目标第二终端设备,在检测到至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级高于所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级时,确定所述处理顺序为先处理所述第一数据传输请求,再处理所述第二数据传输请求,或者,在检测到所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级高于所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级时,确定所述处理顺序为先处理所述第二数据传输请求,再处理所述第一数据传输请求。
举例说明,至少一个第一终端设备中的3个第一终端设备的设备优先级分别是3、5、2,至少一个第二终端设备中的2个第二终端的设备优先级分别是1、4,因此,电子设备可优先处理至少一个第一终端设备的第一数据传输请求,再处理至少一个第二终端设备的 第二数据传输请求。
可见,本示例中,电子设备中预存的终端设备的优先级列表,因此,当电子设备接收到来自至少一个第一终端设备以及至少一个第二终端设备的数据传输请求时,可以根据第一终端设备和第二终端设备中设备优先级最高的终端设备,确定优先处理第一数据传输请求还是优先处理第二数据传输请求,从而提高数据传输效率。
在一个可能的示例中,所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:确定所述第一数据传输请求对应的第一数据量和所述第二数据传输请求对应的第二数据量;在检测到所述第一数据量小于所述第二数据量时,确定优先处理所述第一数据传输请求。
其中,电子设备在接收到第一数据传输请求和第二数据传输请求后,可确定第一数据传输请求对应的第一数据量以及第二数据传输请求对应的第二数据量,在检测到第一数据量小于第一数据量时,则先处理第一数据传输请求,再处理第二数据传输请求,或者,在检测到第二数据量小于第一数据量时,则先处理第二数据传输请求,再处理第一数据传输请求。
可见,本示例中,在需要传输大量数据时,电子设备先处理对应数据量较小的第一数据传输请求,在处理对应数据量较大的第二数据传输请求,如此,有利于提高数据传输效率,减少排队等待时间。
在一个可能的示例中,所述按照所述处理顺利处理所述第一数据传输请求和所述第二数据传输请求,包括:通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据后,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据;或,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据后,通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据。
其中,第一终端设备和第二终端设备都需要上网的情况下,由于只能时分复用蜂窝模块,因此在处理第一数据传输请求和第二数据传输请求需要排队,可根据第一数据传输请求和第二数据传输请求对应的参数信息,确定排队顺序。
可见,本示例中,由于第一WI-FI链路可以中转第一终端设备的上网请求,第二WI-FI链路可以中转第二终端设备的上网请求,但是蜂窝模块无法并行处理第一终端设备和第二终端设备的上网请求,因此通过时分复用来处理上网请求,有利于提高数据传输效率。
在一个可能的示例中,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自第一网络侧的数据、所述至少一个第一终端设备的本地数据、所述至少一个第一终端设备接收的来自第二网络侧的数据;所述第二数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自所述第一网络侧的数据、所述至少一个第二终端设备的本地数据、所述至少一个第二终端设备接收的来自第三网络侧的数据。
其中,本地数据包括预先存储在本地存储空间的文件、图片、音频、视频等各种类型的数据,网络侧的数据是指设备通过蜂窝网络、蓝牙网络等除当前Wi-Fi网络之外的网络获取到的各种类型的数据。
可见,本示例中,电子设备与Wi-FI链路的对端设备之间能够灵活的传输各种类型的数据,提高数据传输的全面性。
在一个可能的示例中,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述第一终端设备的本地数据,且所述第二数据包括以下至少一种:所述电子设备的本地数据、所述第二终端设备的本地数据;所述电子设备仅支持通过所述第一Wi-Fi链路和所述第二Wi-Fi链路传输局域网数据。
其中,在第一终端设备和第二终端设备没有上网需求时,电子设备仅支持通过所述第一Wi-Fi链路和所述第二Wi-Fi链路传输局域网数据,故而该电子设备无需支持Wi-Fi模块与其他射频模块的同步工作,即电子设备启用Wi-Fi模块时,可以休眠或者关闭其他射频模块。
可见,本示例中,电子设备启用双Wi-Fi功能时,在仅支持传输局域网数据的情况下,私密性和安全性较强,可以有效避免信息外传,提高数据传输隐私性和安全性。
在一个可能的示例中,所述方法还包括:启用所述电子设备Wi-Fi模块的双Wi-Fi工作模式;与所述至少一个第一终端设备建立所述第一Wi-Fi链路;与所述至少一个第二终端设备建立所述第二Wi-Fi链路。
具体实现中,电子设备建立第一Wi-FI链路和第二Wi-FI链路的协议过程可以参照现有Wi-Fi软无线访问接入点Soft AP配对机制,此处不再赘述。
此外,电子设备启用双Wi-Fi工作模式的触发条件和实现过程可以是多种多样的,此处不做唯一限定。
举例来说,电子设备可以提供用于启用双Wi-FI工作模式的专属功能按钮,检测到用 户点击该功能按钮时启用,并搜索可配对的终端设备,由用户选择终端设备进行配对,或者由电子设备本端自动筛选符合预设条件的终端设备进行配对,或者由电子设备本端直接连接已配对过的终端设备。
又举例来说,电子设备可以基于场景识别,当识别出当前使用场景处于预设的需要启用双Wi-Fi工作模式的场景时,本端自动启用双Wi-Fi工作模式,并搜索可配对的终端设备,由用户选择终端设备进行配对,或者由电子设备本端自动筛选符合预设条件的终端设备进行配对,或者由电子设备本端直接连接已配对过的终端设备。
再举例来说,电子设备可以基于对端设备的启用请求,并在确认响应该启用请求后启用双Wi-Fi工作模式,并与对端设备配对连接,或者由电子设备本端自动筛选符合预设条件的终端设备进行配对,或者由电子设备本端直接连接已配对过的终端设备。
可见,本示例中,电子设备可以灵活的启用双Wi-Fi工作模式,建立第一和第二Wi-FI链路,以软无线访问接入点Soft AP实现多链路数据传输,提高数据传输的效率和灵活性。
在一个可能的示例中,所述电子设备通过所述第一Wi-Fi链路和所述第二Wi-Fi链路支持的功能包括以下至少一种:手机搬家、文件互传、游戏、网络共享、以及针对所述至少一个终端设备的单向控制功能。
下面结合一些典型应用场景对上述处理机制进行详细说明。
场景1,在智能家居场景中,假设电子设备为用户的智能手机,第一终端设备为客厅的智能电视,第二终端设备为用户的平板电脑,该智能手机上设置有双Wi-Fi的功能按钮,用户到家后可以点击功能按钮启用Wi-Fi模块的双Wi-FI功能,当电子设别分别与智能电视建立第一Wi-Fi链路,与平板电脑建立第二Wi-Fi电路后,若智能电视和平板电脑没有上网需求时,智能电视可以向智能手机发送本端的电视节目信息,平板电脑可以向智能手机发送本端的照片、文件等数据;若智能电视和平板电脑都有上网需求时,当智能手机接收到智能电视的第一数据传输请求以及平板电脑的第二数据传输请求后,会判断平板电脑和智能电视的上网优先级,并根据优先级将第一数据传输请求和第二数据传输请求进行排序,若平板电脑的优先级大于智能电视的优先级,则优先处理第一数据传输请求,在处理第二数据传输请求。
场景2,在手机搬家场景中,假设电子设备为用户的新手机,第一终端设备为用户的第一旧手机,第二终端设备为用户的第二旧手机,新手机开启Wi-FI模块的双Wi-FI连接 功能,并开始扫描可配对的设备,新旧手机通过密码等方式配对连接后,创建第一第二Wi-Fi链路,当第一旧手机和第二旧手机都和新手机建立WI-FI通信链路后,可以分别通过第一Wi-Fi链路传输第一部分数据,通过第二Wi-Fi链路传输第二部分数据,其中,数据的传输可以是并行传输的,如此,提高了数据传输的效率。
场景3,在双链路网络共享场景中,假设电子设备为安装有本地电话卡的主手机,第一终端设备为第一手机,第二终端设备为第二手机,第一手机和第二手机在当前地域无上网能力时,可以与主手机配对连接,主手机与第一手机建立第一Wi-Fi链路,主手机与第二手机建立第二Wi-Fi链路,则主手机可以为第一手机和第二手机共享网络,同时支持同时段多上网请求的冲突处理机制,即第一手机和第二手机需要排队上网,当第一手机在上网时,第二手机无法上网,当第二手机在上网时,第一手机无法上网。
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种电子设备300的结构示意图,如图所示,所述电子设备300包括应用处理器310、存储器320、通信接口330以及一个或多个程序321,其中,所述一个或多个程序321被存储在上述存储器320中,并且被配置由上述应用处理器310执行,所述一个或多个程序321包括用于执行以下步骤的指令;
通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;
确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;
按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
可以看出,本申请实施例中,电子设备首先通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求,其次,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,最后,按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。可见,电子设备在启用双Wi-Fi功能的情况下,能够与至少一个第一终端设备和至少一个第二终端设备形成互不干扰的双Wi-Fi链路拓扑,从而可以实现双Wi-Fi链路的独立数据收发,同时还可以按照顺序依次处理第一数据传输请求和第二数据传输请求,分时处理第一终端设备和第二终端设备的上网请求,相比于现有仅能够基于单Wi-Fi 链路的电子设备,显著提高电子设备的数据传输能力。
在一个可能的示例中,所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:获取预存的终端设备优先级列表;根据所述终端设备优先级列表,确定所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级;根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序。
在一个可能的示例中,所述根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:在检测到所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级高于所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级时,确定所述处理顺序为先处理所述第一数据传输请求,再处理所述第二数据传输请求;或者,在检测到所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级高于所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级时,确定所述处理顺序为先处理所述第二数据传输请求,再处理所述第一数据传输请求。
在一个可能的示例中,所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:确定所述第一数据传输请求对应的第一数据量和所述第二数据传输请求对应的第二数据量;在检测到所述第一数据量小于所述第二数据量时,确定优先处理所述第一数据传输请求。
在一个可能的示例中,所述按照所述处理顺利处理所述第一数据传输请求和所述第二数据传输请求,包括:通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据后,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据;或,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据后,通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据。
在一个可能的示例中,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自第一网络侧的数据、所述至少一个第一终端设备的本地数据、所述至少一个第一终端设备接收的来自第二网络侧的数据;所述第二数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自所述第一网络侧的数据、所述至少一个第二终端设备的本地数据、所述至少一个第二终端设备接收的来自第三网络侧的数据。
在一个可能的示例中,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第一终端设备的本地数据,且所述第二数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第二终端设备的本地数据;所述电子设备仅支持通过所述第一Wi-Fi链路和所述第二Wi-Fi链路传输局域网数据。
在一个可能的示例中,所述方法还包括:启用所述电子设备Wi-Fi模块的双Wi-Fi工作模式;与所述至少一个第一终端设备建立所述第一Wi-Fi链路;与所述至少一个第二终端设备建立所述第二Wi-Fi链路。
在一个可能的示例中,所述电子设备通过所述第一Wi-Fi链路和所述第二Wi-Fi链路支持的功能包括以下至少一种:手机搬家、文件互传、游戏、网络共享、以及针对所述至少一个终端设备的单向控制功能。
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图4是本申请实施例中所涉及的数据传输控制装置400的功能单元组成框图。该数据传输控制装置400应用于电子设备,所述电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且所述第一Wi-Fi链路和所述第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路,所述数据传输控制装置400包括处理单元410和通信单元420,所述通信单元420包括用于建立所述第一Wi-Fi链路和 所述第二Wi-Fi链路的Wi-Fi模块,其中,
所述处理单元410,用于通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;以及用于确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;以及用于按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
其中,所述处理单元410可以是应用处理器和基带芯片,或者系统级芯片SoC,所述数据传输控制装置400还包括存储单元430,所述存储单元430可以是存储器。
可以看出,本申请实施例中,电子设备首先通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求,其次,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,最后,按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。可见,电子设备在启用双Wi-Fi功能的情况下,能够与至少一个第一终端设备和至少一个第二终端设备形成互不干扰的双Wi-Fi链路拓扑,从而可以实现双Wi-Fi链路的独立数据收发,同时还可以按照顺序依次处理第一数据传输请求和第二数据传输请求,分时处理第一终端设备和第二终端设备的上网请求,相比于现有仅能够基于单Wi-Fi链路的电子设备,显著提高电子设备的数据传输能力。
在一个可能的示例中,在所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序方面,所述处理单元410具体用于:获取预存的终端设备优先级列表;以及用于根据所述终端设备优先级列表,确定所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级;以及用于根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序。
在一个可能的示例中,在所述根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序方面,所述处理单元410具体用于:在检测到所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级高于所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级时,确定所述处理顺序为先处理所述第一数据传输请求,再处理所述第二数据传输请求;或者,在检测到所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级高于所述至少一个第一终端设备中设备优先级最高的 目标第一终端设备的设备优先级时,确定所述处理顺序为先处理所述第二数据传输请求,再处理所述第一数据传输请求。
在一个可能的示例中,在所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序方面,所述处理单元410具体用于:确定所述第一数据传输请求对应的第一数据量和所述第二数据传输请求对应的第二数据量;以及用于在检测到所述第一数据量小于所述第二数据量时,确定优先处理所述第一数据传输请求。
在一个可能的示例中,在所述按照所述处理顺利处理所述第一数据传输请求和所述第二数据传输请求方面,所述处理单元410具体用于:通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据后,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据;或,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据后,通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据。
在一个可能的示例中,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自第一网络侧的数据、所述至少一个第一终端设备的本地数据、所述至少一个第一终端设备接收的来自第二网络侧的数据;所述第二数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自所述第一网络侧的数据、所述至少一个第二终端设备的本地数据、所述至少一个第二终端设备接收的来自第三网络侧的数据。
在一个可能的示例中,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第一终端设备的本地数据,且所述第二数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第二终端设备的本地数据;所述电子设备仅支持通过所述第一Wi-Fi链路和所述第二Wi-Fi链路传输局域网数据。
在一个可能的示例中,所述处理单元410还用于:启用所述电子设备Wi-Fi模块的双Wi-Fi工作模式;与所述至少一个第一终端设备建立所述第一Wi-Fi链路;与所述至少一个第二终端设备建立所述第二Wi-Fi链路。
在一个可能的示例中,所述电子设备通过所述第一Wi-Fi链路和所述第二Wi-Fi链路支持的功能包括以下至少一种:手机搬家、文件互传、游戏、网络共享、以及针对所述至少一个终端设备的单向控制功能。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法 的部分或全部步骤,上述计算机包括电子设备。
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个 人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种数据传输控制方法,其特征在于,应用于电子设备,所述电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且所述第一Wi-Fi链路和所述第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路,所述方法包括:
    通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;
    确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;
    按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
  2. 根据权利要求1所述的方法,其特征在于,所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:
    获取预存的终端设备优先级列表;
    根据所述终端设备优先级列表,确定所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级;
    根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:
    在检测到所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级高于所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级时,确定所述处理顺序为先处理所述第一数据传输请求,再处理所述第二数据传输请求;或者,
    在检测到所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级高于所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级时,确定所述处理顺序为先处理所述第二数据传输请求,再处理所述第一数据传输请求。
  4. 根据权利要求1所述的方法,其特征在于,所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序,包括:
    确定所述第一数据传输请求对应的第一数据量和所述第二数据传输请求对应的第二数据量;
    在检测到所述第一数据量小于所述第二数据量时,确定优先处理所述第一数据传输请求。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述按照所述处理顺利处理所述第一数据传输请求和所述第二数据传输请求,包括:
    通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据后,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据;或,
    通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据后,通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据。
  6. 根据权利要求5所述的方法,其特征在于,所述第一数据包括以下至少一种:
    所述电子设备的本地数据、所述电子设备接收的来自第一网络侧的数据、所述至少一个第一终端设备的本地数据、所述至少一个第一终端设备接收的来自第二网络侧的数据;
    所述第二数据包括以下至少一种:
    所述电子设备的本地数据、所述电子设备接收的来自所述第一网络侧的数据、所述至少一个第二终端设备的本地数据、所述至少一个第二终端设备接收的来自第三网络侧的数据。
  7. 根据权利要求5所述的方法,其特征在于,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第一终端设备的本地数据,且所述第二数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第二终端设备的本地数据;
    所述电子设备仅支持通过所述第一Wi-Fi链路和所述第二Wi-Fi链路传输局域网数据。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    启用所述电子设备Wi-Fi模块的双Wi-Fi工作模式;
    与所述至少一个第一终端设备建立所述第一Wi-Fi链路;
    与所述至少一个第二终端设备建立所述第二Wi-Fi链路。
  9. 根据权利要求8所述的方法,其特征在于,所述电子设备通过所述第一Wi-Fi链路和所述第二Wi-Fi链路支持的功能包括以下至少一种:手机搬家、文件互传、游戏、网络共享、以及针对所述至少一个终端设备的单向控制功能。
  10. 一种数据传输控制装置,其特征在于,应用于电子设备,所述电子设备与至少一个第一终端设备建立有第一Wi-Fi链路,与至少一个第二终端设备建立有第二Wi-Fi链路,且所述第一Wi-Fi链路和所述第二Wi-Fi链路均为软无线访问接入点Soft AP模式的链路,所述数据传输控制装置包括处理单元和通信单元,所述通信单元包括用于建立所述第一Wi-Fi链路和所述第二Wi-Fi链路的Wi-Fi模块,其中,
    所述处理单元,用于通过所述第一Wi-Fi链路接收来自所述至少一个第一终端设备的第一数据传输请求,以及通过所述第二Wi-Fi链路接收来自所述至少一个第二终端设备的第二数据传输请求;以及用于确定所述第一数据传输请求和所述第二数据传输请求的处理顺序;以及用于按照所述处理顺序处理所述第一数据传输请求和所述第二数据传输请求。
  11. 根据权利要求10所述的数据传输控制装置,其特征在于,在所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序方面,所述处理单元具体用于:获取预存的终端设备优先级列表;以及用于根据所述终端设备优先级列表,确定所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级;以及用于根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序。
  12. 根据权利要求11所述的数据传输控制装置,其特征在于,在所述根据所述至少一个第一终端设备和所述至少一个第二终端设备的设备优先级,确定所述第一数据传输请求和所述第二数据传输请求的处理顺序方面,所述处理单元具体用于:在检测到所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级高于所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级时,确定所述处理顺序为先处理所述第一数据传输请求,再处理所述第二数据传输请求;或者,在检测到所述至少一个第二终端设备中设备优先级最高的目标第二终端设备的设备优先级高于所述至少一个第一终端设备中设备优先级最高的目标第一终端设备的设备优先级时,确定所述处理顺序为先处理所述第二数据传输请求,再处理所述第一数据传输请求。
  13. 根据权利要求10所述的数据传输控制装置,其特征在于,在所述确定所述第一数据传输请求和所述第二数据传输请求的处理顺序方面,所述处理单元具体用于:确定所述第一数据传输请求对应的第一数据量和所述第二数据传输请求对应的第二数据量;以及用于在检测到所述第一数据量小于所述第二数据量时,确定优先处理所述第一数据传输请求。
  14. 根据权利要求10-13任一项所述的数据传输控制装置,其特征在于,在所述按照所述处理顺利处理所述第一数据传输请求和所述第二数据传输请求方面,所述处理单元具体用于:通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据后,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据;或,通过所述第二Wi-Fi链路与所述第二终端设备传输第二数据后,通过所述第一Wi-Fi链路与所述第一终端设备传输第一数据。
  15. 根据权利要求14所述的数据传输控制装置,其特征在于,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自第一网络侧的数据、所述至少一个第一终端设备的本地数据、所述至少一个第一终端设备接收的来自第二网络侧的数据;所述第二数据包括以下至少一种:所述电子设备的本地数据、所述电子设备接收的来自所述第一网络侧的数据、所述至少一个第二终端设备的本地数据、所述至少一个第二终端设备接收的来自第三网络侧的数据。
  16. 根据权利要求14所述的数据传输控制装置,其特征在于,所述第一数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第一终端设备的本地数据,且所述第二数据包括以下至少一种:所述电子设备的本地数据、所述至少一个第二终端设备的本地数据;所述电子设备仅支持通过所述第一Wi-Fi链路和所述第二Wi-Fi链路传输局域网数据。
  17. 根据权利要求10-16任一项所述的数据传输控制装置,其特征在于,所述处理单元具体用于:启用所述电子设备Wi-Fi模块的双Wi-Fi工作模式;以及用于与所述至少一个第一终端设备建立所述第一Wi-Fi链路;以及用于与所述至少一个第二终端设备建立所述第二Wi-Fi链路。
  18. 根据权利要求17所述的数据传输控制装置,其特征在于,所述电子设备通过所述第一Wi-Fi链路和所述第二Wi-Fi链路支持的功能包括以下至少一种:手机搬家、文件互传、游戏、网络共享、以及针对所述至少一个终端设备的单向控制功能。
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2020/074908 2019-02-12 2020-02-12 数据传输控制方法及相关产品 WO2020164522A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910111503.9 2019-02-12
CN201910111503.9A CN109803454B (zh) 2019-02-12 2019-02-12 数据传输控制方法及相关产品

Publications (1)

Publication Number Publication Date
WO2020164522A1 true WO2020164522A1 (zh) 2020-08-20

Family

ID=66562172

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/074908 WO2020164522A1 (zh) 2019-02-12 2020-02-12 数据传输控制方法及相关产品

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209393A (zh) * 2021-04-12 2022-10-18 华为技术有限公司 数据传输方法、系统、电子设备及存储介质
CN115396986A (zh) * 2021-05-25 2022-11-25 成都极米科技股份有限公司 软接入点控制数据传输的方法、装置、设备及存储介质
CN115209393B (zh) * 2021-04-12 2024-07-05 华为技术有限公司 数据传输方法、系统、电子设备及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109803454B (zh) * 2019-02-12 2021-09-21 Oppo广东移动通信有限公司 数据传输控制方法及相关产品

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592504A (zh) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 多wifi模块的传输方法、传输装置和终端
CN105915984A (zh) * 2015-12-12 2016-08-31 乐视致新电子科技(天津)有限公司 遥控器和WIFIMirocast冲突解决方法和系统
US20170021875A1 (en) * 2015-07-22 2017-01-26 Pittasoft Co., Ltd. Image recording device for vehicle with dual wi-fi access function and image sharing system using the same
CN106376054A (zh) * 2016-08-29 2017-02-01 上海纽菲斯信息科技有限公司 一种移动设备的双wifi系统及网络连接控制方法
CN108307432A (zh) * 2017-09-29 2018-07-20 努比亚技术有限公司 WiFi控制方法、移动终端及计算机可读存储介质
CN207665117U (zh) * 2017-09-15 2018-07-27 浙江学海教育科技有限公司 一种无线投屏装置和系统
CN109803454A (zh) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 数据传输控制方法及相关产品

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459526B (zh) * 2008-12-15 2010-10-13 北京航空航天大学 基于服务发现的投影仪共享会议系统
CN103428725A (zh) * 2013-08-08 2013-12-04 福州瑞芯微电子有限公司 一种移动设备上数据流量控制的方法及其系统
CN105592491B (zh) * 2015-09-25 2018-12-04 深圳市美贝壳科技有限公司 双wifi模块的ap模式和p2p模式共存的方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592504A (zh) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 多wifi模块的传输方法、传输装置和终端
US20170021875A1 (en) * 2015-07-22 2017-01-26 Pittasoft Co., Ltd. Image recording device for vehicle with dual wi-fi access function and image sharing system using the same
CN105915984A (zh) * 2015-12-12 2016-08-31 乐视致新电子科技(天津)有限公司 遥控器和WIFIMirocast冲突解决方法和系统
CN106376054A (zh) * 2016-08-29 2017-02-01 上海纽菲斯信息科技有限公司 一种移动设备的双wifi系统及网络连接控制方法
CN207665117U (zh) * 2017-09-15 2018-07-27 浙江学海教育科技有限公司 一种无线投屏装置和系统
CN108307432A (zh) * 2017-09-29 2018-07-20 努比亚技术有限公司 WiFi控制方法、移动终端及计算机可读存储介质
CN109803454A (zh) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 数据传输控制方法及相关产品

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209393A (zh) * 2021-04-12 2022-10-18 华为技术有限公司 数据传输方法、系统、电子设备及存储介质
CN115209393B (zh) * 2021-04-12 2024-07-05 华为技术有限公司 数据传输方法、系统、电子设备及存储介质
CN115396986A (zh) * 2021-05-25 2022-11-25 成都极米科技股份有限公司 软接入点控制数据传输的方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN109803454A (zh) 2019-05-24
CN109803454B (zh) 2021-09-21

Similar Documents

Publication Publication Date Title
CN109640310B (zh) 数据传输控制方法及相关产品
JP6915079B2 (ja) デュアルカード・デュアルスタンバイ・デュアルパスを実装する通信方法及び端末
WO2020164349A1 (zh) 数据传输控制方法及相关产品
WO2020134720A1 (zh) 数据传输控制方法及相关产品
WO2020147627A1 (zh) 链路选取方法及相关装置
US11197335B2 (en) Method for data transmission and related products
US10560929B2 (en) Resource request method and system, device, and network side node
WO2020216059A1 (zh) 网络资源共享方法及相关装置
EP2384046A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
JP2018157583A (ja) 無線通信装置および無線通信方法
EP4258710A1 (en) Method for transmitting data in near field, device and system
WO2020164522A1 (zh) 数据传输控制方法及相关产品
CN105451368B (zh) 一种通信方法及设备
JP2017531336A (ja) トランキング通信サービス処理方法、コアネットワーク装置、及びue、記憶媒体
TWI724139B (zh) 基於設備到設備的通訊方法和終端
TWI684381B (zh) 裝置到裝置中終端裝置的通訊方法、終端裝置和網路裝置
US11146935B2 (en) Short range wireless communication device and method
JP2023500081A (ja) データ伝送方法
CN105191460A (zh) 一种信息传输方法、设备及系统
CN116684216B (zh) 一种通信方法、可读介质和电子设备
WO2023217089A1 (zh) 数据传输方法、装置、设备、系统及存储介质
WO2022227587A1 (zh) 共享业务的建立方法及相关产品
WO2023004703A1 (zh) 数据传输方法及通信装置
WO2022246616A1 (zh) 数据传输方法及通信装置
WO2021114149A1 (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: 20756176

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: 20756176

Country of ref document: EP

Kind code of ref document: A1