Nothing Special   »   [go: up one dir, main page]

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

Data transmission control method and related product Download PDF

Info

Publication number
CN109743783B
CN109743783B CN201910111501.XA CN201910111501A CN109743783B CN 109743783 B CN109743783 B CN 109743783B CN 201910111501 A CN201910111501 A CN 201910111501A CN 109743783 B CN109743783 B CN 109743783B
Authority
CN
China
Prior art keywords
data
channel
terminal
link
electronic device
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
CN201910111501.XA
Other languages
Chinese (zh)
Other versions
CN109743783A (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 CN201910111501.XA priority Critical patent/CN109743783B/en
Publication of CN109743783A publication Critical patent/CN109743783A/en
Priority to PCT/CN2020/071803 priority patent/WO2020164349A1/en
Application granted granted Critical
Publication of CN109743783B publication Critical patent/CN109743783B/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
    • 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 comprises a Wi-Fi chip, the Wi-Fi chip comprises a first Wi-Fi channel and a second Wi-Fi channel, the first Wi-Fi channel works in a SOFT access point (SOFT) AP mode, the second Wi-Fi channel works in an end-to-end P2P mode, and the method comprises the following steps: and carrying out data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel. The embodiment of the application is beneficial to expanding the data transmission capability 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 workstation Station 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 scans an accessible hotspot (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 expanding the data transmission function of electronic equipment.
In a first aspect, an embodiment of the present application provides a data transmission control method, which is applied to an electronic device, where the electronic device includes a Wi-Fi chip, the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, and the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, and the second Wi-Fi channel operates in an end-to-end P2P mode, where the method includes:
and carrying out data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel.
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 includes a Wi-Fi chip, the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, the second Wi-Fi channel operates in an end-to-end P2P mode, the data transmission control apparatus includes a processing unit and a communication unit, the communication unit includes a Wi-Fi module in a Wi-Fi link for establishing the first Wi-Fi channel and the second Wi-Fi channel, where,
the processing unit is used for carrying out data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the electronic device includes a Wi-Fi chip, where the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, and the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, and the second Wi-Fi channel operates in an end-to-end P2P mode, where the electronic device is capable of performing data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel. Therefore, under the condition that the Wi-Fi function is started, the electronic equipment and at least one terminal device can form a double-Wi-Fi link topology which is not interfered with each other, so that fusion data receiving and sending or independent data receiving and sending of double Wi-Fi links can be achieved, and compared with the existing electronic equipment which can only be based on Wi-Fi links, 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 electronic device according to the embodiment of the present application may be a single earphone or a pair of earphones (including 2 earphones worn on the left ear and the right ear, respectively) with wireless communication capability, and the electronic device may support wired or wireless charging, for example, may be placed in a dedicated charging box for charging, and may support functions such as conversation and music after being connected to an electronic device such as a Mobile phone, and the electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem with wireless communication function, and various forms of User Equipment (UE), a Mobile Station (Mobile Station, MS), a terminal device (terminal device), and the like.
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 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: 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 includes a Wi-Fi chip, the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, and the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, and the second Wi-Fi channel operates in an end-to-end P2P mode; as shown in the figure, the data transmission control method includes:
s201, the electronic equipment performs data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel.
Wherein the Wi-Fi channel comprises a radio frequency circuit and an antenna.
It can be seen that, in the embodiment of the present application, the electronic device includes a Wi-Fi chip, where the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, and the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, and the second Wi-Fi channel operates in an end-to-end P2P mode, where the electronic device is capable of performing data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel. Therefore, under the condition that the Wi-Fi function is started, the electronic equipment and at least one terminal device can form a double-Wi-Fi link topology which is not interfered with each other, so that fusion data receiving and sending or independent data receiving and sending of double Wi-Fi links can be achieved, and compared with the existing electronic equipment which can only be based on Wi-Fi links, the data transmission capacity of the electronic equipment is remarkably improved.
In one possible example, the at least one terminal device comprises only a first terminal; the data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel includes: creating a first Wi-Fi link with the first terminal through the first Wi-Fi channel; creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel; first data is transmitted with the first terminal through the first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
Wherein the first Wi-Fi link and the second Wi-Fi link can be configured in a 2.4Gwi-Fi frequency band and a 5G Wi-Fi frequency band, respectively.
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 equipment can classify data to be transmitted according to the differences so as to transmit data adaptive to different Wi-Fi links, so that shunt transmission of the data to be transmitted is achieved.
In a specific implementation, the electronic device may send first data to the first terminal device through the first Wi-Fi link, and may also receive the first data from the first terminal device.
As can be seen, in this example, when the electronic device and the single terminal device establish two Wi-Fi links at the same time, the data to be transmitted can be transmitted in a shunting manner through the two Wi-Fi links, so that the flexibility and efficiency of data transmission performed by the electronic device are improved.
In one possible example, the at least one terminal device comprises at least a first terminal and a second terminal; the data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel includes: creating at least one first Wi-Fi link with the at least one first terminal over the first Wi-Fi channel; creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel; first data is transmitted with the corresponding first terminal through each first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
The at least one terminal device is also a device supporting dual Wi-Fi functionality, and may be specifically the same as the electronic device in type. In specific implementation, a first Wi-Fi link and a second Wi-Fi link are established between the electronic device and at least one terminal device through a Wi-Fi channel, so that data to be transmitted can be divided into the Wi-Fi links according to a preset strategy to perform shunt transmission, and the specific preset strategy is not limited uniquely, such as according to the quality of the Wi-Fi links or according to the data type.
As can be seen, in this example, when the electronic device is connected to multiple terminal devices through the dual Wi-Fi function, the corresponding Wi-Fi link can be established through the respective Wi-Fi channel to perform data transmission, so that the flexibility and efficiency of data transmission performed by the electronic device are improved.
In one possible example, the first data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from a first network side, the local data of the first terminal equipment, and the data received by the first terminal equipment from a second network side;
the second data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from the first network side, the local data of the second terminal equipment, and the data received by the second terminal equipment 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 electronic device supports only transmission of local area network data over the first Wi-Fi channel and the second Wi-Fi channel; 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: the local data of the electronic equipment and the local data of the second terminal equipment.
The electronic equipment only supports local area network data transmission through the first Wi-Fi channel and the second Wi-Fi channel, so that the electronic equipment does not need to support synchronous work of the Wi-Fi module and other radio frequency modules, namely the electronic equipment can sleep or close other radio frequency modules when the Wi-Fi module is started.
Therefore, in this example, when the electronic device starts the dual Wi-Fi function, since only the local area network data transmission is supported, the privacy and the security are strong, the information can be effectively prevented from being transmitted, and the privacy and the security of data transmission are improved.
In one possible example, the electronic device supports sharing a mobile network over the first Wi-Fi channel or the second Wi-Fi channel; the first data comprises data received by the electronic device from the first network side and at least one of: the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
The electronic equipment supports synchronous work of the Wi-Fi module and the cellular module due to the fact that the electronic equipment supports sharing of a mobile network through the first Wi-Fi link or the second Wi-Fi link, namely when the electronic equipment enables the Wi-Fi module, the cellular module can be enabled synchronously, cellular data can be transmitted only through one Wi-Fi link, and the cellular data does not support shunt transmission on the two Wi-Fi links.
As can be seen, in this example, when the electronic device enables the dual Wi-Fi function, it is supported to provide a network sharing function for the peer device passing through the first Wi-Fi channel or the second Wi-Fi channel, so as to improve intelligence and flexibility of data transmission of the electronic device.
In one possible example, the electronic device supports sharing a mobile network over the first Wi-Fi channel and the second Wi-Fi channel; the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes the data from the first network side and at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
The electronic equipment supports synchronous work of the Wi-Fi module and the cellular module due to the fact that the electronic equipment supports sharing of a mobile network through the first Wi-Fi link and the second Wi-Fi link, namely when the electronic equipment enables the Wi-Fi module, the cellular module can be enabled synchronously, and cellular data can be transmitted in a shunting mode through the two Wi-Fi links.
As can be seen, in this example, when the electronic device enables the dual Wi-Fi function, the network sharing function is supported to be provided for the peer device of each Wi-Fi channel, so that the intelligence and flexibility of data transmission of the electronic device are further improved.
In one possible example, before the transmitting first data with the first terminal over the first Wi-Fi link and second data with the first terminal over the second Wi-Fi link, the method further comprises: determining that the first Wi-Fi link is used to transmit the first data; determining that the second Wi-Fi link is used to transmit the second data.
In specific implementation, the policy of the electronic device for shunting the data to be transmitted to the first and second Wi-Fi links may be various, and is not limited herein. The comprehensive determination can be specifically carried out on the basis of the link capability of the Wi-Fi link and the data characteristics of the data to be transmitted.
Therefore, in this example, the electronic device configures the data to be transmitted, so as to implement shunt transmission and improve the efficiency of data transmission.
Optionally, 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 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.
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 the dual Wi-Fi operating mode, detect that the user enables the dual Wi-Fi operating mode when clicking the function button, search for a terminal device that can be paired, select the terminal device by the user for pairing, automatically screen the terminal device that meets a preset condition by the local terminal of the electronic device for pairing, or directly connect the paired terminal device by the local terminal of the electronic 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.
As can be seen, in this example, the electronic device may flexibly enable the dual Wi-Fi operating mode, establish the first and second Wi-Fi links, and implement multilink data transmission in the SOFT AP mode and the P2P mode, thereby improving efficiency and flexibility of data transmission.
The above processing mechanism is described in detail below with reference to some exemplary application scenarios.
Scene 1, in the vehicle-mounted scene, the electronic device is a smart phone of a user, the first terminal device is a vehicle-mounted central control system, the second terminal device is a tablet personal computer of the user, the smart phone is provided with a double Wi-Fi function button, the user can click the function button to start the double Wi-Fi functions of the Wi-Fi module, namely start the SOFT AP mode and the P2P mode, the mobile phone scans the devices which can be paired and comprises the vehicle-mounted central control system and the tablet personal computer, the device name is displayed in a scanning device interface of a display screen, the user selects the vehicle-mounted central control system and the tablet personal computer, the smart phone adds the vehicle-mounted central control system into a hot spot based on the selection of the user, establishes a first Wi-Fi link, the smart phone establishes a second Wi-Fi link with the tablet personal computer, and then the user can send music or voice map pre-downloaded by the local terminal to the vehicle-mounted central control system, and simultaneously, sending files such as pictures, videos and the like to the tablet personal computer.
In addition, when the smart phone transmits music data to the vehicle-mounted central control system, the music data can be played while being transmitted, and after the fact that the transmission of pictures and video files transmitted on the second Wi-Fi link is completed is detected, a part of the music data can be split and distributed to the second Wi-Fi link to be transmitted, so that the music data can be transmitted to the vehicle-mounted central control system more quickly, and the music can be guaranteed to be played stably.
Scene 2, in a mobile phone game scene, assuming that an electronic device is a user mobile phone, a target terminal device is a tablet computer of the user, a dual Wi-Fi function button is arranged on the smart mobile phone, the user can click the function button to start the dual Wi-Fi function of a Wi-Fi module before starting a game, the mobile phone scans the devices which can be paired to include the tablet computer, detects that the tablet computer sends a file or a picture to the mobile phone, but the mobile phone is in the game scene at the moment, creates a first Wi-Fi link and a second Wi-Fi link at the moment, divides the data of the local terminal into a first part and a second part according to a preset shunting strategy, respectively transmits the first part of data through the first Wi-Fi link, transmits the second part of data through the second Wi-Fi link, namely the first Wi-Fi link transmits the file or the picture, and the second Wi-Fi link is used for transmitting game data, the file receiving method and the file receiving device ensure that the file can be normally received under the condition of normal operation of the game. The preset splitting policy may be in various specific forms, such as dividing according to a data type, dividing according to a storage address, dividing according to a storage time, dividing according to a user setting, and the like, which is not limited herein.
Scene 3, in the single-link network sharing scene, assuming that the electronic device is a mobile phone of a first user, the first terminal device is a mobile phone of a second user, the first user and the second user are in a friendship, and the second terminal device is a notebook computer of the user, the first user can set the mobile phone to start a dual Wi-Fi connection function of the Wi-Fi module, pair-connect with the mobile phone of the second user to create a first Wi-Fi link, pair-connect with the notebook computer to create a second Wi-Fi link, further, the first user can set the first Wi-Fi link through the mobile phone to support the network sharing function, and set an opposite-end device, namely a mobile phone internet access limiting policy of the second user, so as to ensure that the second user can chat and watch videos on internet, and the like on one hand, and ensure that the use range of the second user does not affect the normal use of the first user on the other hand, meanwhile, the mobile phone can realize mutual transmission of local data with the notebook computer through the second Wi-Fi link, such as pictures or videos taken by the mobile phone, and the pictures or the photos can be transmitted to the notebook computer end in real time for storage and editing, so that the situation that the use efficiency is influenced due to the fact that the mobile phone temporarily uses too much storage space because of the stacking of the pictures and the videos is avoided.
In addition, if the parent mobile phone detects multiple internet access requests at the same time period, the multiple internet access requests need to be sequenced, so that network resource request failure caused by internet access conflict is avoided, and the sequencing strategies for the multiple internet access requests may be various, such as sequencing based on an initiator of the internet access request, or sequencing based on service types associated with the internet access request, and the like, which is not limited uniquely here.
In a scenario 4 of a dual-link network sharing scenario, it is assumed that an electronic device is a master mobile phone equipped with a local phone card, a first terminal device is a first mobile phone, a second terminal device is a second mobile phone, and the first and second mobile phones may be paired with the master mobile phone when there is no internet surfing capability in a current region, the master mobile phone establishes a first Wi-Fi link with the first mobile phone, and the master mobile phone establishes a second Wi-Fi link with the second mobile phone, so that the master mobile phone may share a network for the first and second mobile phones while supporting a conflict handling mechanism for multiple internet surfing requests at the same time period, and a specific policy of the conflict handling mechanism may be various, such as ordering based on an initiator of an internet surfing request, ordering based on service types associated with the internet surfing request, and the like, and the only limitation is not made here.
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;
and carrying out data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel.
It can be seen that, in the embodiment of the present application, the electronic device includes a Wi-Fi chip, where the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, and the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, and the second Wi-Fi channel operates in an end-to-end P2P mode, where the electronic device is capable of performing data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel. Therefore, under the condition that the Wi-Fi function is started, the electronic equipment and at least one terminal device can form a double-Wi-Fi link topology which is not interfered with each other, so that fusion data receiving and sending or independent data receiving and sending of double Wi-Fi links can be achieved, and compared with the existing electronic equipment which can only be based on Wi-Fi links, the data transmission capacity of the electronic equipment is remarkably improved.
In one possible example, the at least one terminal device comprises only a first terminal; the data transmission is performed with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel, and the instruction in the program is specifically configured to perform the following operations: creating a first Wi-Fi link with the first terminal through the first Wi-Fi channel; creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel; first data is transmitted with the first terminal through the first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
In one possible example, the at least one terminal device comprises at least a first terminal and a second terminal; the data transmission is performed with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel, and the instruction in the program is specifically configured to perform the following operations: creating at least one first Wi-Fi link with the at least one first terminal over the first Wi-Fi channel; creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel; first data is transmitted with the corresponding first terminal through each first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
In one possible example, the first data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from a first network side, the local data of the first terminal, and the data received by the first terminal from a second network side;
the second data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from the first network side, the local data of the second terminal, and the data received by the second terminal from the third network side.
In one possible example, the electronic device supports only transmission of local area network data over the first Wi-Fi channel and the second Wi-Fi channel;
the first data includes at least one of: local data of the electronic device, local data of the first terminal, and the second data includes at least one of: local data of the electronic device, and local data of the second terminal.
In one possible example, the electronic device supports sharing a mobile network over the first Wi-Fi channel or the second Wi-Fi channel;
the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
In one possible example, the electronic device supports sharing a mobile network over the first Wi-Fi channel and the second Wi-Fi channel;
the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes the data from the first network side and at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
In one possible example, the instructions in the program are further specifically configured to, prior to transmitting first data with the first terminal over the first Wi-Fi link and second data with the first terminal over the second Wi-Fi link: determining that the first Wi-Fi link is used to transmit the first data; determining that the second Wi-Fi link is used to transmit the second data.
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 comprises a Wi-Fi chip, the Wi-Fi chip comprises a first Wi-Fi channel and a second Wi-Fi channel, the first Wi-Fi channel is operated in a SOFT access point SOFT AP mode, the second Wi-Fi channel is operated in an end-to-end P2P mode, the data transmission control device 400 comprises a processing unit 410 and a communication unit 420, the communication unit 420 comprises a Wi-Fi module used for establishing a Wi-Fi link of the first Wi-Fi channel and the second Wi-Fi channel, wherein,
the processing unit 410 is configured to perform data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel.
The processing unit 410 may be an application processor and a baseband chip, or a system on chip 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 the embodiment of the present application, the electronic device includes a Wi-Fi chip, where the Wi-Fi chip includes a first Wi-Fi channel and a second Wi-Fi channel, and the first Wi-Fi channel operates in a SOFT access point SOFT AP mode, and the second Wi-Fi channel operates in an end-to-end P2P mode, where the electronic device is capable of performing data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel. Therefore, under the condition that the Wi-Fi function is started, the electronic equipment and at least one terminal device can form a double-Wi-Fi link topology which is not interfered with each other, so that fusion data receiving and sending or independent data receiving and sending of double Wi-Fi links can be achieved, and compared with the existing electronic equipment which can only be based on Wi-Fi links, the data transmission capacity of the electronic equipment is remarkably improved.
In one possible example, the at least one terminal device comprises only a first terminal; in the aspect of performing data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel, the processing unit 410 is specifically configured to: creating a first Wi-Fi link with the first terminal through the first Wi-Fi channel; creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel; first data is transmitted with the first terminal through the first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
In one possible example, the at least one terminal device comprises at least a first terminal and a second terminal; in the aspect of performing data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel, the processing unit 410 is specifically configured to: creating at least one first Wi-Fi link with the at least one first terminal over the first Wi-Fi channel; creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel; first data is transmitted with the corresponding first terminal through each first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
In one possible example, the first data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from a first network side, the local data of the first terminal equipment, and the data received by the first terminal equipment from a second network side;
the second data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from the first network side, the local data of the second terminal equipment, and the data received by the second terminal equipment from the third network side.
In one possible example, the electronic device supports only transmission of local area network data over the first Wi-Fi channel and the second Wi-Fi channel;
the first data includes at least one of: local data of the electronic device, local data of the first terminal, and the second data includes at least one of: local data of the electronic device, and local data of the second terminal.
In one possible example, the electronic device supports sharing a mobile network over the first Wi-Fi channel or the second Wi-Fi channel;
the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
In one possible example, the electronic device supports sharing a mobile network over the first Wi-Fi channel and the second Wi-Fi channel;
the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes the data from the first network side and at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
In one possible example, the processing unit 410 is further configured to, before the transmitting first data with the first terminal over the first Wi-Fi link and second data with the first terminal over the second Wi-Fi link: determining that the first Wi-Fi link is used to transmit the first data; and to determine that the second Wi-Fi link is used to transmit the second data.
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 control method is applied to an electronic device, the electronic device comprises a Wi-Fi chip and a cellular module, the Wi-Fi chip comprises a first Wi-Fi channel and a second Wi-Fi channel, the first Wi-Fi channel works in a SOFT access point (SOFT AP) mode, the second Wi-Fi channel works in an end-to-end (P2P) mode, and the method comprises the following steps:
enabling a dual Wi-Fi working mode of a Wi-Fi chip of the electronic equipment, and enabling the cellular module;
establishing a Wi-Fi link with at least one terminal device through the first Wi-Fi channel;
establishing a Wi-Fi link with at least one terminal device through the second Wi-Fi channel;
data transmission is carried out with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel, and the data transmission method comprises the following steps: receiving an internet surfing request of the at least one terminal device, processing the internet surfing request according to a preset strategy to obtain a processing result, and performing data transmission with the at least one terminal device through a Wi-Fi link corresponding to the first Wi-Fi channel and a Wi-Fi link corresponding to the second Wi-Fi channel according to the processing result;
the electronic device supports a network sharing function provided for the opposite-end device through the first Wi-Fi channel and/or the second Wi-Fi channel, and transmits cellular data through a Wi-Fi link corresponding to the first Wi-Fi channel or the second Wi-Fi channel, or performs shunt transmission on the cellular data through a Wi-Fi link corresponding to the first Wi-Fi channel and the second Wi-Fi channel.
2. The method of claim 1, wherein the at least one terminal device comprises only a first terminal; the data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel includes:
creating a first Wi-Fi link with the first terminal through the first Wi-Fi channel;
creating a second Wi-Fi link with the first terminal through the second Wi-Fi channel;
first data is transmitted with the first terminal through the first Wi-Fi link, and second data is transmitted with the first terminal through the second Wi-Fi link.
3. The method of claim 1, wherein the at least one terminal device comprises at least a first terminal and a second terminal; the data transmission with at least one terminal device through the first Wi-Fi channel and the second Wi-Fi channel includes:
creating at least one first Wi-Fi link with the at least one first terminal over the first Wi-Fi channel;
creating a second Wi-Fi link with the second terminal through the second Wi-Fi channel;
and transmitting first data with the corresponding first terminal through each first Wi-Fi link, and transmitting second data with the second terminal through the second Wi-Fi link.
4. The method of claim 3, wherein the first data comprises at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from a first network side, the local data of the first terminal, and the data received by the first terminal from a second network side;
the second data includes at least one of:
the local data of the electronic equipment, the data received by the electronic equipment from the first network side, the local data of the second terminal, and the data received by the second terminal from the third network side.
5. The method of claim 4, wherein the electronic device supports only local area network data transmission over the first Wi-Fi channel and the second Wi-Fi channel;
the first data includes at least one of: local data of the electronic device, local data of the first terminal, and the second data includes at least one of: local data of the electronic device, and local data of the second terminal.
6. The method of claim 4, wherein the electronic device supports sharing a mobile network over the first Wi-Fi channel or the second Wi-Fi channel;
the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
7. The method of claim 4, wherein the electronic device supports sharing a mobile network over the first Wi-Fi channel and the second Wi-Fi channel;
the first data comprises data from the first network side and at least one of: the local data of the electronic device, the local data of the first terminal, and the data from the second network side, and the second data includes the data from the first network side and at least one of: the local data of the electronic equipment, the local data of the second terminal and the data from the third network side.
8. The method of any of claims 2-7, wherein prior to the transmitting first data with the first terminal over the first Wi-Fi link and second data with the first terminal over the second Wi-Fi link, the method further comprises:
determining that the first Wi-Fi link is used to transmit the first data;
determining that the second Wi-Fi link is used to transmit the second data.
9. A data transmission control device is applied to an electronic device, the electronic device comprises a Wi-Fi chip and a cellular module, the Wi-Fi chip comprises a first Wi-Fi channel and a second Wi-Fi channel, the first Wi-Fi channel works in a SOFT access point (SOFT AP) mode, the second Wi-Fi channel works in an end-to-end (P2P) mode, the data transmission control device comprises a processing unit and a communication unit, the communication unit comprises a Wi-Fi module used for establishing a Wi-Fi link of the first Wi-Fi channel and the second Wi-Fi channel, wherein,
the processing unit is used for enabling a dual Wi-Fi working mode of a Wi-Fi chip of the electronic equipment and enabling the cellular module; the terminal equipment is used for establishing a Wi-Fi link with at least one terminal equipment through the first Wi-Fi channel; the terminal equipment is used for establishing a Wi-Fi link with at least one terminal equipment through the second Wi-Fi channel; and the terminal equipment is used for carrying out data transmission with at least one terminal equipment through the first Wi-Fi channel and the second Wi-Fi channel;
the processing unit is specifically configured to receive an internet access request of the at least one terminal device, process the internet access request according to a preset policy to obtain a processing result, and perform data transmission with the at least one terminal device through a Wi-Fi link corresponding to the first Wi-Fi channel and a Wi-Fi link corresponding to the second Wi-Fi channel according to the processing result;
the electronic device supports a network sharing function provided for the opposite-end device through the first Wi-Fi channel and/or the second Wi-Fi channel, and transmits cellular data through a Wi-Fi link corresponding to the first Wi-Fi channel or the second Wi-Fi channel, or performs shunt transmission on the cellular data through a Wi-Fi link corresponding to the first Wi-Fi channel and the second Wi-Fi channel.
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.
CN201910111501.XA 2019-02-12 2019-02-12 Data transmission control method and related product Active CN109743783B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910111501.XA CN109743783B (en) 2019-02-12 2019-02-12 Data transmission control method and related product
PCT/CN2020/071803 WO2020164349A1 (en) 2019-02-12 2020-01-13 Data transmission control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910111501.XA CN109743783B (en) 2019-02-12 2019-02-12 Data transmission control method and related product

Publications (2)

Publication Number Publication Date
CN109743783A CN109743783A (en) 2019-05-10
CN109743783B true CN109743783B (en) 2021-11-02

Family

ID=66367308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910111501.XA Active CN109743783B (en) 2019-02-12 2019-02-12 Data transmission control method and related product

Country Status (2)

Country Link
CN (1) CN109743783B (en)
WO (1) WO2020164349A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109673001A (en) * 2019-02-12 2019-04-23 Oppo广东移动通信有限公司 Data transfer control method and Related product
CN110233937B (en) * 2019-07-30 2021-06-25 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN110493633A (en) * 2019-08-19 2019-11-22 武汉蓝星科技股份有限公司 A kind of image and audio separated transmission system, method and mobile terminal
CN110519865B (en) * 2019-08-20 2021-04-13 Oppo广东移动通信有限公司 Network interface processing method and related equipment
CN114025410A (en) * 2020-01-08 2022-02-08 华为技术有限公司 Method and device for establishing network connection and electronic equipment
CN113747496B (en) * 2020-05-29 2024-02-09 中国电信股份有限公司 Switching method, network equipment and system in multi-connection network
CN112073995B (en) * 2020-09-03 2023-09-12 Oppo广东移动通信有限公司 Data transmission method and device, storage medium and electronic equipment
CN112055123B (en) * 2020-09-14 2021-05-11 无锡正旗通信技术有限公司 WiFi intercom system
CN115314856A (en) * 2021-05-06 2022-11-08 上海擎感智能科技有限公司 Connection method, connection device, electronic device, medium, and system for electronic device
CN115632746B (en) * 2022-12-22 2023-04-18 深圳沛喆微电子有限公司 Method for improving stability of transmission channel by WiFi6 intelligent router system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592504A (en) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 Multi-wifi module transmission method, transmission device and terminal
CN105721220A (en) * 2016-03-11 2016-06-29 北京奇虎科技有限公司 Intelligent terminal and network bottom configuration method thereof
CN108260106A (en) * 2018-01-10 2018-07-06 中国电子科技集团公司第三十研究所 The ad hoc network method for building up and device of a kind of intelligent terminal WiFi
CN108307432A (en) * 2017-09-29 2018-07-20 努比亚技术有限公司 WiFi control methods, mobile terminal and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9100942B2 (en) * 2013-03-14 2015-08-04 Qualcomm Incorporated WiFi Direct connection using machine-readable labels
CN109743712A (en) * 2018-12-29 2019-05-10 Oppo广东移动通信有限公司 Data transfer control method and Related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592504A (en) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 Multi-wifi module transmission method, transmission device and terminal
CN105721220A (en) * 2016-03-11 2016-06-29 北京奇虎科技有限公司 Intelligent terminal and network bottom configuration method thereof
CN108307432A (en) * 2017-09-29 2018-07-20 努比亚技术有限公司 WiFi control methods, mobile terminal and computer readable storage medium
CN108260106A (en) * 2018-01-10 2018-07-06 中国电子科技集团公司第三十研究所 The ad hoc network method for building up and device of a kind of intelligent terminal WiFi

Also Published As

Publication number Publication date
WO2020164349A1 (en) 2020-08-20
CN109743783A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109743783B (en) Data transmission control method and related product
CN109640310B (en) Data transmission control method and related product
CN109673001A (en) Data transfer control method and Related product
CN109618373B (en) Link selection method and related device
WO2020134720A1 (en) Data transmission control method and related product
CN109041262B (en) Data transmission method and related device
JP6529186B2 (en) Data transmission method and terminal
CN106332201B (en) Wireless hotspot switching method and mobile terminal
CN109495880B (en) Data transmission method and related device
US9485342B2 (en) Wireless device system-architecture
CN109618372B (en) Data transmission method and related device
CN106604403B (en) Miracast protocol-based channel selection method and system
CN109526020B (en) Data transmission method and related product
CN108781473B (en) Method and equipment for sharing files among different terminals
CN109348514B (en) Method and terminal for controlling electromagnetic interference
WO2020114048A1 (en) Data transmission method and related apparatus
JP7553694B2 (en) End-to-end QoS demand information division method, terminal and network side device
CN109803454B (en) Data transmission control method and related product
CN109392018B (en) Data transmission method and related device
CN109275125B (en) Resource sharing method, device, equipment and storage medium
CN108990039B (en) Data transmission method and related device
CN109451596B (en) Data transmission method and related device
CN115515254A (en) Point-to-point connection establishing method and device, storage medium and electronic equipment
CN112867114A (en) Wireless device
CN114258011B (en) Information sending method, information receiving method, information sending device, information receiving device and terminal

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