CN116133161A - Data transmission method and electronic equipment - Google Patents

Data transmission method and electronic equipment Download PDF

Info

Publication number
CN116133161A
CN116133161A CN202310398668.5A CN202310398668A CN116133161A CN 116133161 A CN116133161 A CN 116133161A CN 202310398668 A CN202310398668 A CN 202310398668A CN 116133161 A CN116133161 A CN 116133161A
Authority
CN
China
Prior art keywords
computer
frequency band
role
concurrent
wifi
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.)
Granted
Application number
CN202310398668.5A
Other languages
Chinese (zh)
Other versions
CN116133161B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310398668.5A priority Critical patent/CN116133161B/en
Publication of CN116133161A publication Critical patent/CN116133161A/en
Application granted granted Critical
Publication of CN116133161B publication Critical patent/CN116133161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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)
  • Communication Control (AREA)

Abstract

The embodiment of the application is applied to the field of communication and provides a data transmission method and electronic equipment. In the scene of the exchange cloning service, the data migration service and the file sharing service, responding to a first operation, the first device establishes a first WIFI connection with the second device of the second role in a first role, and the first device establishes a second WIFI connection with the second device of the fourth role in a third role. Then, under the condition that the first WIFI connection and the second WIFI connection are established successfully, the first equipment and the second equipment are connected through the first WIFI connection and the second WIFI connection to conduct data transmission, so that data are transmitted between the first computer and the second computer through the mode of double WIFI connection, and the data transmission rate is improved.

Description

Data transmission method and electronic equipment
Technical Field
The present disclosure relates to the field of communications, and in particular, to a data transmission method and an electronic device.
Background
With the development of technology, electronic devices (such as notebook computers) generally have a wireless fidelity (wireless fidelity, WIFI) chip, so that the notebook computers can perform WIFI communication. When file migration and other operations are performed between the notebook computers, data transmission can be performed based on WIFI connection between the notebook computers. Therefore, how to use WIFI connection to realize rapid data transmission is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a data transmission method and electronic equipment, which are used for realizing rapid data transmission and improving the data transmission rate.
In a first aspect, a data transmission method is provided. In the method, in response to a first operation, a first WIFI connection is established on a first working frequency band by a first device and a second device with a role as a second role, and a second WIFI connection is established on the second working frequency band by the first device and a second device with a role as a fourth role, wherein the first role is one role of a site, a traditional access point and a group owner, the second role is in a relative relation with the first role, the third role is in a relative relation with the fourth role, one role of the first role and the third role is a site, and one role of the second role and the fourth role is a site. Then, the first device adopts a first antenna and a second antenna in the first device to perform data transmission with the second device through first WIFI connection, and simultaneously, the first device also adopts a third antenna and a fourth antenna in the first device to perform data transmission with the second device through second WIFI connection, wherein the first antenna is different from the second antenna, and the third antenna is different from the fourth antenna.
In this application, through the mode transmission data of two WIFI connections, can realize the quick transmission of data, reduce data transmission time, promote wireless network's transmission rate, and then promote user's use experience. In addition, the first device establishes twice WIFI connection with the second device by using the first role and the third role respectively, and one of the first role and the third role is a site, so that the port limit of a windows system is overcome, and the problem that the four-stream dual-frequency concurrent high-speed transmission performance of a WIFI chip cannot be fully utilized by single WIFI connection transmission is avoided. In addition, when the first device transmits data by using each WIFI connection, the first device adopts two antennas for transmission, and compared with the transmission by using one antenna, the transmission rate of the data can be greatly improved.
In a possible implementation manner of the first aspect, the first operation is used to trigger the first device to perform one data transmission operation of a swap cloning operation, a data migration operation, and a file sharing operation.
In the application, aiming at the application scenes of the machine changing cloning service, the data migration service and the file sharing service, the data transmission among the devices is realized, the transmission rate of a wireless network can be improved, and the use experience of a user is improved.
In a possible implementation manner of the first aspect, before the first device establishes a first WIFI connection with a second device having a first role as a second role in the first operating frequency band, the method further includes: the first device obtains a second concurrent segment list of the second device. And then, the first device determines the same concurrent frequency band from the first concurrent frequency band list and the second concurrent frequency band list of the first device so as to obtain the target concurrent frequency band.
In the method, the target concurrent frequency band is determined based on the first concurrent frequency band list and the second concurrent frequency band list, that is, the target concurrent frequency band is the concurrent frequency band commonly supported by the first equipment and the second equipment, so that the establishment of the dual WIFI connection between the first equipment and the second equipment can be realized by establishing the dual WIFI connection on the target concurrent frequency band, and a foundation is established for data transmission between subsequent equipment.
In a possible implementation manner of the first aspect, the method further includes: the first device establishes a first communication connection with the second device. Then, the first device may receive, through the first communication connection, a second concurrent segment list sent by the second device. Wherein the first communication connection comprises a bluetooth connection or a wired connection. Based on the technical scheme, the first equipment can successfully acquire the second concurrent frequency band list of the second equipment. In a possible implementation manner of the first aspect, the process of obtaining, by the first device, the target concurrent frequency band may include: the first device determines whether the same concurrent frequency band exists in the first concurrent frequency band list and the second concurrent frequency band list, and determines that the same concurrent frequency band is a target concurrent frequency band under the condition that the same concurrent frequency band exists in the first concurrent frequency band list and the second concurrent frequency band list and the number of the same concurrent frequency band is 1.
In the application, if the same concurrent frequency band exists in the first concurrent frequency band list and the second concurrent frequency band list, it is stated that the first device and the second device can be connected by double WIFI, therefore, the target concurrent frequency band needs to be determined from the same concurrent frequency band, if the number of the same concurrent frequency band is 1, the same concurrent frequency band can be directly determined as the target concurrent frequency band, so that the target concurrent frequency band can be accurately determined, and a foundation is provided for subsequent establishment of double WIFI connection.
In a possible implementation manner of the first aspect, the method further includes: and under the condition that the same concurrent frequency band does not exist in the first concurrent frequency band list and the second concurrent frequency band list, the first device determines that the first device and the second device cannot establish dual WIFI connection. Then, the first device determines a target operating frequency band from the first concurrent frequency band list and the second concurrent frequency band list. Then, the first device determines a target working channel corresponding to the target working frequency band from the connection channel of the first device, the working channel list of the first device, the connection channel of the second device and the working channel list of the second device. And finally, the first equipment establishes single WIFI connection with the second equipment on the target working channel.
In the application, if the same concurrent frequency band does not exist in the first concurrent frequency band list and the second concurrent frequency band list, it is indicated that the first device and the second device cannot be connected through double WIFI, that is, the first device can only be connected through single WIFI with the second device, therefore, the first device needs to determine a target working channel matched with the target working frequency band, so that the first device establishes WIFI connection with the second device on the target working channel, occurrence of failure of WIFI connection caused by different working channels can be reduced, and convenience is provided for data transmission between subsequent devices.
In a possible implementation manner of the first aspect, the process of determining, by the first device, the target working channel may specifically include: in the case that the connection channel of the first device is the same as the connection channel of the second device, and the working channel list of the first device and the working channel list of the second device both contain the connection channel of the first device/second device, the target working channel is the connection channel of the first device/second device.
In the application, if the connection channel of the first device is the same as the connection channel of the second device, and the working channel list of the first device and the working channel list of the second device both contain the connection channel, the connection channel can be directly determined as the target working channel, so that a foundation can be provided for subsequent establishment of WIFI connection.
In a possible implementation manner of the first aspect, the process of determining, by the first device, the target working channel may further include: when the connection channel of the first device is different from the connection channel of the second device, the working channel list of the first device and the working channel list of the second device both contain the connection channel of the first device and the connection channel of the second device, the first device determines a first switching time corresponding to switching the connection channel of the first device to the connection channel of the second device, and the second device determines a second switching time corresponding to switching the connection channel of the second device to the connection channel of the first device. Then, under the condition that the first switching time is smaller than the second switching time, the target working channel is a connection channel of the second equipment; or in the case that the first switching time is greater than the second switching time, the target working channel is a connection channel of the first device.
In the application, if the connection channel of the first device is different from the connection channel of the second device, and the working channel list of the first device and the working channel list of the second device both include the connection channel of the first device and the connection channel of the second device, the target working channel needs to be determined according to the channel switching time, so that the occurrence of the situation that the data transmission is slower due to the longer channel switching time can be reduced, and a basis is provided for the subsequent data transmission.
In a possible implementation manner of the first aspect, the process of determining, by the first device, the target working channel may further include: in the case where the connection channel of the first device or the connection channel of the second device belongs to the operation channel list of the first device and the operation channel list of the second device, the target operation channel is a connection channel belonging to the operation channel list of the first device and the operation channel list of the second device.
In the application, if only one of the connection channels of the first device and the connection channels of the second device belongs to the working channel list of the first device and the working channel list of the second device, the first device takes the connection channels belonging to the two working channel lists as target working channels, so that a basis can be provided for subsequent establishment of WIFI connection.
In a possible implementation manner of the first aspect, the method further includes: and under the condition that the number of the same concurrent frequency bands is larger than 1, the first equipment determines the target concurrent frequency bands from the same concurrent frequency bands according to a target strategy, wherein the target strategy is preset according to the standard transmission rate corresponding to the concurrent frequency bands.
In the method, the target concurrency section is determined based on the target strategy, and the target strategy is determined according to the standard transmission rate corresponding to the concurrency section, so that the accuracy of determining the target concurrency section can be improved through the target concurrency section determined by the standard transmission rate, and a foundation is provided for subsequent establishment of double WIFI connection.
In a possible implementation manner of the first aspect, the process of determining, by the first device, the target concurrent frequency band from the same concurrent frequency band according to the target policy may specifically include: the first equipment acquires standard transmission rates corresponding to the concurrent frequency bands in the same concurrent frequency band. And then, the first device takes the concurrency frequency band with the highest standard transmission rate as a target concurrency frequency band.
In the application, the target concurrent frequency band is the concurrent frequency band with the highest standard transmission rate, so that the rapid transmission of data can be realized, and the transmission rate of the wireless network is improved.
In a possible implementation manner of the first aspect, the process of establishing the first WIFI connection by the first device and the second device may specifically include: the first device creates a first role as a legacy access point. Then, the first device sends first target information to the second device, wherein the first target information comprises a first basic service set identifier, a first service set identifier and a first target password, the first basic service set identifier refers to a MAC address of the first device, the first service set identifier refers to a device name of the first device, and the first target password refers to a network password preset by the first device. And finally, under the condition that the second device receives the first target information, performing WIFI connection with the first device so as to establish the first WIFI connection.
In the application, in the first WIFI connection process, the first device is equivalent to the router, the second device is connected with the router through the first target information in the role of the site, so that the establishment of the first WIFI connection can be realized, and a foundation is provided for the follow-up double WIFI connection.
In a possible implementation manner of the first aspect, the first target information further includes information of a first working channel. The first working channel represents a channel with highest quality in working channels corresponding to a first working frequency band supported by a first device, and a process of performing WIFI connection between a second device and the first device specifically may include: and the second equipment is connected with the first equipment by WIFI on the first working channel.
In this application, the in-process is connected to first WIFI, and the second equipment carries out the WIFI with first equipment on first working channel, so, can reduce the condition emergence that leads to the WIFI connection failure because of working channel is different, provides convenience for the data transmission between follow-up equipment.
The quality of the working channel can be represented by the number of hot spots and/or the signal interference degree in the working channel, and the lower the number of hot spots and the lower the signal interference degree of the working channel, the higher the quality of the working channel.
In the method, the first device selects the working channel with the least hot spots as the first working channel, so that the situation that data transmission is affected due to the fact that the hot spots are more in number can be reduced, and a foundation is provided for subsequent data transmission. Or the first device selects the working channel with the minimum signal interference degree as the first working channel, so that the condition that the data transmission is influenced due to the fact that the signal interference is large can be reduced, and a foundation is provided for subsequent data transmission.
In a possible implementation manner of the first aspect, the second device and the first device may perform WIFI connection based on a point-to-point connection manner, where the point-to-point connection manner includes one or more of a point-to-point discovery procedure, a point-to-point Go negotiation procedure, and two WIFI connection procedures.
In the method, WIFI connection is performed in a point-to-point connection mode, establishment of the WIFI connection can be achieved, and data transmission is achieved.
In a possible implementation manner of the first aspect, the second device and the first device may perform WIFI connection based on a wireless access point connection manner, where the wireless access point connection manner includes a scanning phase, an authentication phase, an association phase, and a four-way handshake phase.
According to the WIFI connection method and device, the WIFI connection is carried out through the wireless access point connection mode, the frame interaction times can be reduced, the failure rate of the WIFI connection is reduced, the connection time of the WIFI is saved, rapid data transmission is achieved, and the transmission rate of a wireless network is improved.
In an exemplary embodiment, when one of the first role and the second role is STA and the other role is Legacy AP, the first device may establish WIFI connection with the second device in a point-to-point connection manner or a wireless access point connection manner. The point-to-point connection mode here may include a point-to-point discovery procedure, a point-to-point Go negotiation procedure, and a two-time WIFI connection procedure.
And under the condition that one of the first role and the second role is Go and the other role is STA, the first equipment can establish WIFI connection with the second equipment in a point-to-point connection mode. Since the role of Go has been determined, it is not necessary to negotiate which device of the first device and the second device has the role of Go, and thus the point-to-point connection manner may not include the point-to-point Go negotiation procedure, and may include the two WIFI connection procedures.
In a possible implementation manner of the first aspect, the method further includes: and under the condition that the establishment of the first WIFI connection is completed, the second device generates prompt information. The second device then sends the hint information to the first device. And under the condition that the first device receives the prompt information, the first device establishes a second WIFI connection with the second device.
In this application, after first WIFI connection establishment is accomplished, the prompt message that second equipment will generate sends to first equipment to inform first equipment "first WIFI connection has been established and is accomplished, need establish second WIFI connection", so, first equipment can be timely know the WIFI connection condition, practices thrift connecting time, promotes the establishment efficiency of two WIFI connections.
In a possible implementation manner of the first aspect, the process of establishing the second WIFI connection by the first device and the second device may specifically include: the second device creates a fourth role for the legacy access point. And then, the second device sends second target information to the first device, wherein the second target information comprises a second basic service set identifier, a second service set identifier and a second target password, the second basic service set identifier is the MAC address of the second device, the second service set identifier is the device name of the second device, and the second target password is a network password preset by the second device. And finally, under the condition that the first equipment receives the second target information, performing WIFI connection with the second equipment so as to establish the second WIFI connection.
In the application, in the second WIFI connection process, the second device is equivalent to the router, and the first device is connected with the router through the second target information in the role of the site, so that the establishment of the second WIFI connection can be realized, and a foundation is provided for realizing the double WIFI connection.
In a possible implementation manner of the first aspect, the second target information further includes information of a second working channel. The second working channel represents a channel with highest quality in working channels corresponding to a second working frequency band supported by the second device, and the process of performing WIFI connection between the first device and the second device specifically may include: and the first equipment is connected with the second equipment by WIFI on the second working channel.
In this application, the second time WIFI connection in-process, first equipment carries out the WIFI with the second equipment and is connected on the second working channel, so, can reduce the condition emergence that leads to the WIFI connection failure because of working channel is different, provide convenience for the data transmission between follow-up equipment.
In a possible implementation manner of the first aspect, the third antenna is identical to the first antenna, and the fourth antenna is identical to the second antenna. Based on the technical scheme, multiplexing among antennas can be realized, so that data transmission of double WIFI connection is realized, and occupation of the number of antennas is reduced.
In a second aspect, the present application provides an electronic device comprising a display screen, a memory, a bluetooth module, a WIFI module (or WIFI chip), a plurality of antennas, and one or more processors; the display screen, the memory, the Bluetooth module, the WIFI module, the plurality of antennas and the processor are coupled; the Bluetooth module is used for Bluetooth communication, the WIFI module is used for WIFI communication, the display screen is used for displaying images generated by the processor, the plurality of antennas are used for transmitting and/or receiving data signals, the memory is used for storing computer program codes, and the computer program codes comprise computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method as described above.
In a third aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform a method as described above.
In a fourth aspect, the present application provides a computer program product which, when run on an electronic device, causes the electronic device to perform the method as described above.
In a fifth aspect, there is provided a chip comprising: the device comprises an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing the method.
It will be appreciated that the advantages achieved by the electronic device according to the second aspect, the computer readable storage medium according to the third aspect, the computer program product according to the fourth aspect, and the chip according to the fifth aspect provided above may refer to the advantages in any one of the possible designs of the first aspect and the second aspect, and will not be described herein again.
Drawings
Fig. 1 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 3 is a timing chart of WIFI connection based on a wireless access point connection manner according to an embodiment of the present application;
fig. 4 is an interface schematic diagram showing a plurality of available WLAN networks according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an interface for displaying a password according to an embodiment of the present disclosure;
fig. 6 is a timing chart of WIFI connection based on a point-to-point connection manner according to an embodiment of the present application;
fig. 7 is a timing chart of WIFI connection based on another point-to-point connection method according to the embodiment of the present application;
fig. 8 is a schematic diagram of establishing WIFI connection between two notebook computers according to an embodiment of the present application;
fig. 9 is a schematic diagram of establishing a dual WIFI connection between two notebook computers according to an embodiment of the present application;
fig. 10 is a timing chart of a data transmission method according to an embodiment of the present application;
fig. 11 is an interface schematic diagram of a data migration service scenario provided in an embodiment of the present application;
FIG. 12 is a schematic diagram of an interface for displaying a plurality of available computers according to an embodiment of the present application;
Fig. 13 is a timing chart of establishing a first WIFI connection between a first computer and a second computer according to an embodiment of the present disclosure;
fig. 14 is a timing chart of establishing dual WIFI connection between a first computer and a second computer according to an embodiment of the present application.
Detailed Description
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
The technical solutions in the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic hardware structure of an electronic device 100 according to an embodiment of the present application, as shown in fig. 1, the electronic device 100 may include a processor 110, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, a key 190, a motor 191, an indicator 192, cameras 1-N193, a display 194, and user identification modules (subscriber identification module, SIM) card interfaces 1-N195. The sensor module 180 may include, among other things, a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc. In this embodiment, the electronic device may be a tablet computer, a desktop computer, a laptop computer, or the like, and the embodiment of the present application does not limit the specific type of the electronic device.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor, a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
In the application embodiments, the mobile communication module may also be referred to as a cellular module, both of which may be alternatively described.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speakers, receivers, etc.), or displays images or video through a display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, WIFI) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2. In some embodiments, at least some of the functional modules of the wireless communication module 160 may be disposed in the processor 110.
The wireless communication module 160 may include a bluetooth module and a WIFI module. The bluetooth module is used for transmitting data, that is, enabling the electronic device 100 to transmit data via bluetooth. The WIFI module is configured to transmit data, that is, enable the electronic device 100 to perform data transmission through WIFI.
For example, the operation modes corresponding to the WIFI module may include single frequency single shot (Single Band Single Concurrent, SBSC), double frequency single shot (Dual Band Single Concurrent, DBSC), double frequency double shot (Dual Band Dual Concurrent, DBDC), and the like. It can be understood that single-frequency single-shot means that the electronic device (or the WIFI module described as the electronic device) only supports one working frequency band, and only uses the working frequency band to perform WIFI connection, in other words, only uses the working frequency band to perform WIFI communication. The working frequency band corresponding to the single-frequency single-shot mode can be a 2.4GHz working frequency band, a 5GHz working frequency band, a 6GHz working frequency band and the like. The dual-frequency single-shot device is that the electronic equipment supports two working frequency bands, but only one working frequency band can be used for WIFI connection. The dual-band dual-transmission means that the electronic device supports two working frequency bands, and can use the two working frequency bands to perform WIFI connection at the same time, in other words, can use the two working frequency bands to perform WIFI communication at the same time. The working frequency band of the WIFI module can be 2.4GHz, 5GHz, 6GHz and the like.
In some embodiments, the electronic device may perform data transmission in the following two ways in the process of transmitting data based on the single-frequency single-shot mode. In one example, the electronic device may employ a single input single output (single input single output, SISO) approach to data transfer. For the WIFI connection, when the electronic device transmits data based on the WIFI connection, the electronic device uses one antenna to transmit data, that is, the WIFI connection uses one antenna to transmit data. This manner of using one antenna for WIFI connection to achieve data transmission may be referred to as SISO mode. For example, the WIFI module in the electronic device establishes a WIFI connection in the 2.4GHz operating frequency band, and the WIFI connection uses one antenna for data transmission, that is, the electronic device uses one antenna for data transmission in the 2.4GHz operating frequency band.
In another example, the electronic device may employ multiple-input multiple-output (multiple input multiple output, MIMO) mode for data transmission. For the WIFI connection, when the electronic device transmits data based on the WIFI connection, the electronic device uses two antennas to transmit data, that is, the WIFI connection uses two antennas to transmit data. This manner of using two antennas for WIFI connection to achieve data transmission may be referred to as MIMO mode. For example, the WIFI module in the electronic device establishes a WIFI connection in the 2.4GHz operating frequency band, and the WIFI connection uses two antennas to perform data transmission, that is, the electronic device uses two antennas to perform data transmission in the 2.4GHz operating frequency band.
It should be noted that one operating frequency band corresponds to a plurality of operating bandwidths, that is, the operating bandwidth refers to a frequency width of a signal that can be transmitted in the operating frequency band. Specifically, when the electronic device performs data transmission based on the WIFI connection, a target working bandwidth is selected from a plurality of corresponding working bandwidths according to an actual situation and a current working frequency band. And then, the electronic equipment performs data transmission with the target working bandwidth in the working frequency band. That is, the operating bandwidth is the transmission frequency width when the electronic device implements the WIFI transmission data (e.g., file). The operating bandwidth corresponding to the operating frequency band may be 40Mhz, 80Mhz or other values, which are not limited in this application.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or video. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker, a receiver, a microphone, a headphone interface, an application processor, and the like. Such as music playing, recording, etc.
Wherein the audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Speakers, also known as "horns," are used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music through a speaker or to hands-free conversations. A receiver, also called an "earpiece", is used to convert the audio electrical signal into a sound signal. When the electronic device 100 is answering a telephone call or voice message, the voice can be heard by placing the receiver in close proximity to the human ear. Microphones, also known as "microphones" and "microphones", are used to convert sound signals into electrical signals. The earphone interface is used for connecting a wired earphone. The earphone interface may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
In some embodiments, when two electronic devices 100 perform services such as machine exchange cloning, data migration or file sharing, a WIFI connection may be established between the electronic devices in a dual-frequency single-shot mode, so as to implement data transmission. That is, one electronic device (e.g., the first device) may select one of the two supported operating frequency bands to perform WIFI connection with the other electronic device (e.g., the second device). Then, the two electronic devices can perform data transmission based on the WIFI connection. However, the data transmission efficiency is reduced by adopting a single WIFI connection manner between the electronic devices.
Therefore, in order to improve the data transmission efficiency, the first device and the second device can establish dual-WIFI connection, so that the dual-WIFI connection is utilized to concurrently transmit data, and the data transmission efficiency is improved. In an exemplary case where a first operation for triggering data transmission between the first device and the second device is received, in response to the first operation, the first device may establish a first WIFI connection with the second device having a second role in the first operating frequency band, and the first device may establish a second WIFI connection with the second device having a fourth role in the second operating frequency band, where the first role is one of a site, a Legacy access point, and a group owner, the second role is a relative relationship with the first role, the third role is a relative relationship with the fourth role, and the relative relationship indicates that, in a case where the role of one of the two devices is Legacy AP or Go, the role of the other device is STA, and the first role is different from the third role, one of the first role and the third role is site, the second role is different from the fourth role, and the second role is one of the fourth role, so as to achieve successful establishment of the dual WIFI connection. After that, the first equipment can be connected through first WIFI, adopts two antennas to carry out data transmission with second equipment to through second WIFI connection, adopt two antennas to carry out data transmission with second equipment. Therefore, data are transmitted between the electronic devices in a double WIFI connection mode, concurrent data transmission can be achieved, and data transmission efficiency is improved. And each WIFI connection is based on two antenna transmission data, and compared with the transmission data by using one antenna, the WIFI connection can effectively improve the data transmission efficiency, reduce the data transmission time, improve the transmission rate of a wireless network and further improve the use experience of users.
For example, the electronic device 100 may be a device capable of WIFI communication, such as a notebook computer, a mobile phone, a tablet computer, a wearable device, and the like.
Having briefly summarized aspects of embodiments of the present application, reference is now made to the techniques involved in aspects of embodiments of the present application.
WIFI connection mode
In some embodiments, the electronic device 100 may establish a WIFI connection with other devices through a wireless Access Point (AP), that is, perform WIFI communication, and the role of the electronic device 100 may represent a Station (STA). The process of WIFI communication between the electronic device 100 and other devices will be described below in conjunction with the data transmission system shown in fig. 2.
As shown in fig. 2, the data transmission system may include a plurality of stations 300 and a wireless access point 200, where the stations 300 may perform WIFI connection with the wireless access point 200. After the WIFI connection is completed, the site 300 may perform data transmission through the WIFI connection, so as to implement services such as machine-changing cloning, data migration, and file sharing between sites (i.e., between devices). The station is a terminal capable of connecting to a wireless network, and the electronic device 100 may be any one of the plurality of stations 300. Stations within the signal coverage of an AP may communicate with each other through the AP, which corresponds to a wireless router (or router).
In one possible implementation, the WIFI connection procedure (or referred to as a wireless access point connection mode) may include four phases of scanning, authentication, association, and four-way handshake. It is understood that the procedure of WIFI connection may refer to a connection procedure of a station and a wireless access point. For example, as shown in fig. 3, the scanning phase may include the station transmitting a probe request (probe request) frame to the wireless access point, and the wireless access point transmitting a probe response (probe response) frame to the station upon receiving the probe request frame transmitted by the station. The authentication phase may include the station sending an authorization request (authentication request) frame to the wireless access point over an open system (open system) upon receiving the inquiry response frame. The wireless access point, upon receiving the grant request frame, sends a grant response (authentication response) frame to the station. The association phase may include the station sending an association request (association request) frame to the wireless access point upon receipt of the grant response frame. The wireless access point, upon receiving the association request frame, sends an association response (association response) frame to the station.
The four-way handshake phase may include the wireless access point sending an association response frame to the station, and then sending a key information frame (eapol key) carrying an ap number (ANonce) generated by the wireless access point to the station to complete the first handshake (M1). The station may then send a key information frame carrying the station-generated random number (station number once, SNonce) and the message integrity check code (message integrity code, MIC) to the wireless access point to complete the second handshake (M2). The wireless access point may then send a key information frame (eapol key) carrying an encrypted (encrypted) group temporary key (group transient key, GTK) and a message integrity check code to the station to complete the third handshake (M3). The station may then send a key information frame carrying a message integrity check code to the wireless access point to complete the fourth handshake (M4).
The message integrity check code is a hash value calculated for a group of data to be protected, and is used for preventing the data from being tampered. The group temporary key is used to encrypt multicast/broadcast packets communicated by the wireless access point and the station. It will be appreciated that all stations connected to the wireless access point may share a group temporary key. The encrypted group temporary key refers to a group temporary key after encryption.
In an example, the site (or the electronic device 100) is a notebook computer, and the wireless access point is a router. The notebook computer can be connected with any router which is working. As shown in fig. 4, the notebook computer 400 may display identification information of available WLAN networks, that is, identification information of all available routers, in response to a trigger operation of the user for the "WLAN" icon a. Then, in response to a selection operation of the user for identification information (e.g., WLAN network identified as "zhangzhi") of any available WLAN network, the notebook computer 400 may display an interface for inputting a password as shown in fig. 5 with the available WLAN network selected by the user as a target WLAN network. The identification information of the WLAN network or the identification information of the router may be, for example, a MAC address of the router, a router name, or the like.
It can be understood that the scanning stage in the WIFI connection process described above is equivalent to the process of displaying a plurality of available WLAN networks on the notebook computer 400 and determining the target WLAN network after the user clicks the "WLAN" icon a. The identification information of the available WLAN network displayed by the notebook computer 400 corresponds to a result generated by the station based on the received probe response frames transmitted from the respective wireless access points. That is, during the scanning phase, the station may acquire basic information of the target wireless access point. The target wireless access point may be a target router, i.e. a router corresponding to the target WLAN network. The basic information includes, among other things, the media access control (media access control, MAC) address of the router, the router name, etc.
Thereafter, the user may input the password on the interface for inputting the password shown in fig. 5. After the password is input, the user can click on a connection control on the interface for inputting the password.
And then, the notebook computer 400 responds to the click operation of the user on the connection control, and judges whether the notebook computer can be connected with the target router (namely the router corresponding to the target WLAN network) through WIFI based on the password input by the user. It can be understood that the authentication stage in the WIFI connection process is equivalent to the process that the notebook computer judges whether the notebook computer and the router can perform WIFI connection. The wireless router receives the authorization response frame, and the wireless access point sends an authorization response frame to the wireless router.
The notebook computer is connected with the router under the condition that the notebook computer and the router can be connected, namely the connection stage in the WIFI connection process is carried out. After the notebook computer is successfully associated with the router, the notebook computer needs to negotiate the encryption condition in the WIFI connection process with the router, and the notebook computer and the router can carry out the four-way handshake phase in the WIFI connection process. After the four-way handshake phase, the WIFI connection between the notebook computer and the router is successful, namely the WIFI communication can be carried out between the notebook computer and the router.
After the electronic device 100 successfully establishes a WIFI connection with a wireless access point, the electronic device 100 may perform WIFI communication with other devices that establish a WIFI connection with the wireless access point through the wireless access point. For example, the notebook computer can perform WIFI communication with other devices through the wireless access point, for example, the other notebook computers mutually transmit files, so as to realize functions of file sharing, machine exchange cloning, file migration and the like.
The procedure of the electronic device 100 performing WIFI communication with other devices through the wireless access point is described above. The electronic device 100 may also perform WIFI communication with other devices through WIFI point-to-point connection (WIFI Peer to Peer, WIFI P2P). The WIFI point-to-point connection is also called WIFI Direct (WIFI Direct). The WIFI P2P connection may support two or more devices to form a P2P network (also referred to as a P2P group) and communicate with each other without a wireless access point. The P2P network includes a group owner (Go) and at least one group client (Gc). It will be appreciated that the group owner corresponds to the wireless access point (or router described) and the group client corresponds to the station described above.
The following describes a process of establishing a WIFI connection between the electronic device 100 and other devices through a WIFI point-to-point connection, so that WIFI communication can be performed between the electronic devices.
For example, the WIFI connection may be performed by a WIFI point-to-point connection method, including P2P Discovery (P2P Discovery), P2P Go Negotiation (P2P Go Negotiation), and two WIFI connections. Specifically, as shown in fig. 6, the P2P discovery process includes the electronic device B sending an inquiry request frame to the electronic device a, and the electronic device a sending an inquiry response frame to the electronic device B when receiving the inquiry request frame sent by the electronic device B. Thereafter, the electronic device B transmits a configuration discovery request (provision discovery request) frame to the electronic device a in the case of receiving the inquiry response frame. Upon receiving the configuration discovery request frame, the electronic device a transmits a configuration discovery response (provision discovery respond) frame to the electronic device B. The P2P Go negotiation procedure described above may include electronic device B sending a group negotiation request (group negotiation request) frame to electronic device a upon receiving the configuration discovery response frame. Upon receiving the group negotiation request frame, the electronic device a transmits a group negotiation response (group negotiation respond) frame to the electronic device B. And electronic device a may also send a group negotiation acknowledgement (group negotiation confirm) frame to electronic device B. And then, under the condition that the electronic equipment A and the electronic equipment B finish negotiation confirmation, the electronic equipment A and the electronic equipment B are connected by WIFI twice, namely the first WIFI connection and the second WIFI connection respectively. Here, both the electronic device a and the electronic device B may be P2P devices, one of the electronic device a and the electronic device B may be Go, and the other device may be Gc, for example, the electronic device a is Go, and the electronic device B is Gc.
In one example, take electronic device a as notebook computer a and electronic device B as notebook computer B as examples. And the notebook computer A is connected with the notebook computer B through WIFI. After the WIFI connection is completed, the notebook computer A and the notebook computer B can mutually transmit files so as to realize the functions of file sharing, machine changing cloning, file migration and the like.
In another example, taking electronic device a as a notebook computer, electronic device B as a television. The notebook computer can respond to the selection operation of a user, is connected with the television in a WIFI direct connection mode, and can screen the content displayed on the notebook computer to the television after the connection is successful, so that the screen-casting function is realized. It should be noted that, the connection process of the notebook computer and the television is equivalent to the WIFI P2P connection process.
It is to be appreciated that the P2P discovery process in the WIFI P2P connection process may include an interrogation phase as well as a configuration discovery phase. The P2P Go negotiation procedure includes a group negotiation phase. The inquiry phase is equivalent to the process of determining a target device and a plurality of available devices displayed on the notebook computer after the user clicks the WLAN direct connection identifier displayed on the notebook computer. The group negotiation phase corresponds to a process of determining roles corresponding to two P2P devices, that is, determining whether a P2P device is a group owner or a group client.
For example, as shown in fig. 7, the process of performing WIFI connection by two electronic devices based on the WIFI P2P manner may include: first, a wireless access point (or group owner, equivalent to an electronic device providing WIFI hotspot functionality) may send a beacon (beacon) frame carrying a WIFI simple configuration (WIFI simple configuration, WSC) Information Element (IE) to an electronic device (or group client, such as a computer). It will be appreciated that the group owner is actually an electronic device, but the function corresponding to the role assumed is a wireless access point. The electronic device may then send an interrogation request frame carrying the WSC IE to the wireless access point upon receipt of the beacon frame. The wireless access point may then send an interrogation response frame carrying the WSC IE to the electronic device upon receipt of the interrogation request frame. The beacon frame carries indication information supporting automatic triggering and establishing wireless local area network connection. The procedure described here is a P2P discovery procedure in the whole WIFI P2P connection procedure. In this P2P discovery process, the electronic device may search for surrounding wireless access points by means of a beacon frame or an interrogation request frame. For a wireless access point that has WSC function turned on, the frames need to carry WSC IEs, i.e., if the frames do not carry WSC IEs, it indicates that the wireless access point does not support or does not turn on WSC function. The P2P discovery process corresponds to a process in which an electronic device having a role of a group owner and an electronic device having a role of a group client discover each other. Wherein the WSC IE includes an identification of the site.
And then, the user can input the password of the target router on the setting interface of the electronic equipment, so that the configuration of the security information is completed. Wherein the password of the target router may be a personal identification code (personal identification number, PIN), which is a pass code consisting of a string of numbers. It can be understood that after the configuration of the security information is completed, when the electronic device establishes the second WIFI connection with the target router, the received PIN code may be compared with the PIN code of the preset target router, so as to determine whether the electronic device and the target router can establish the second WIFI connection.
The PIN code of the target router can be determined in the following two ways.
In an example, the user may view the PIN code on the target router, or may input an internet protocol (internet protocol, IP) address of the target router on a web page of the browser, and determine the PIN code of the target router from the page generated after inputting the IP address.
In another example, the user may modify the initial PIN code of the target router according to his own needs to obtain the target PIN code. Thereafter, the user may directly enter the target PIN code on the electronic device to complete the password entry.
In addition, the electronic device may send an authorization request frame to the wireless access point, which may send an authorization response frame to the electronic device upon receiving the authorization request frame. Then, the electronic device may send an association request frame carrying the WSC IE to the wireless access point if receiving the authorization response frame. The wireless access point may send an association response frame carrying the WSC IE to the electronic device upon receiving the association request frame. The process of the electronic device transmitting the PIN code to the target router and comparing the received PIN code with the preset PIN code is equivalent to the process of the electronic device transmitting the authorization request frame to the wireless access point, and the wireless access point transmitting the authorization response frame to the electronic device when receiving the authorization request frame.
And then, under the condition that the received PIN code is consistent with the preset PIN code, the process of associating the target router with the electronic equipment is equivalent to 'the electronic equipment sends an association request frame carrying the WSC IE to the wireless access point under the condition that the electronic equipment receives the authorization response frame'. The wireless access point sends an association response frame carrying the WSC IE to the electronic device in case of receiving the association request frame.
The electronic device can then send an EAPOL-Start frame to the wireless access point. The wireless access point, upon receiving the EAPOL-Start frame, may send an extensible authentication protocol Request (EAP-Request) frame regarding identity (identity) to the electronic device. The electronic device, upon receiving the EAP-Request (identity) frame, may send an extensible authentication protocol Response (EAP-Response) frame regarding identity to the wireless access point. The wireless access point, upon receiving the EAP-Response (identity) frame, may then send an EAP-Request frame to the electronic device to begin authentication and security configuration information transmission operations. The electronic device, upon receiving the EAP-Request frame, may send an EAP-Response frame to the wireless access point to complete the first handshake (M1) operation.
The wireless access point may then send an EAP-Request frame to the electronic device upon receiving the EAP-Response frame to complete the second-hand-shake (M2) operation. The electronic device, upon receiving the EAP-Request frame, may send an EAP-Response frame to the wireless access point to complete the third handshake (M3) operation. Thereafter, the wireless access point, upon receiving the EAP-Response frame, may send an EAP-Request frame to the electronic device to complete the fourth handshake (M4) operation.
The electronic device, upon receiving the EAP-Request frame, may send an EAP-Response frame to the wireless access point to complete the fifth handshake (M5) operation. The wireless access point may then send an EAP-Request frame to the electronic device upon receiving the EAP-Response frame to complete the sixth handshake (M6) operation. The electronic device, upon receiving the EAP-Request frame, may send an EAP-Response frame to the wireless access point to complete the seventh handshake (M7) operation. The wireless access point may then send an EAP-Request frame to the electronic device upon receiving the EAP-Response frame to complete the eighth handshake (M8) operation, i.e., to complete identity authentication.
And under the condition that the electronic equipment and the wireless access point complete the eighth handshake work, an EAP-Response frame can be sent to the wireless access point to complete the negotiation work of the security configuration information. The wireless access point may then send an extensible authentication protocol failure (EAP-Fail) frame to the electronic device upon receiving the EAP-Response frame to determine a first WIFI connection failure. And the wireless access point also transmits a deauthentication frame to the electronic device. The identity authentication cancellation frame is used for disconnecting the WIFI connection between the electronic equipment and the wireless access point.
The first WIFI connection needs to negotiate security configuration information such as a password through a WIFI simple configuration protocol. The WSC flow (i.e., all flows corresponding to information configuration based on the WSC protocol) may Start with an extensible authentication protocol (extensible authentication protocol over LAN, EAPOL) Start frame (EAPOL-Start) on the local area network and end with an extensible authentication protocol (extensible authentication protocol, EAP) end frame (EAP-Fail) as shown in fig. 7, and the WSC flow involves 14 EAPOL/EAP frame interactions in total. During these 14 frame interactions, both Go and Gc will negotiate security configuration information including authentication methods, encryption methods, pre-shared key (PSK), etc.
It will be appreciated that the wireless access point described above in fig. 7 is actually equivalent to Go, and the electronic device (i.e., station) is equivalent to Gc. The M1-M8 interaction process in FIG. 7 belongs to EAP-WSC algorithm content, and is used for both Go and Gc to confirm identity and transmit security configuration information. And the EAP-WSC will eventually end the flow with an EAP-Fail frame. However, gc has successfully completed the negotiation of security configuration information with Go via M1-M8, so Gc has already obtained the security configuration case for Go. In addition, since the electronic device receives the EAP-Fail frame, the first WIFI connection between Gc and Go fails, and the second WIFI connection starts.
Then Gc will be re-associated with Go using the negotiated security configuration information, i.e. the second WIFI connection. The second WIFI connection process is the same as the connection process between the station and the wireless access point described in fig. 3, that is, the second WIFI connection process includes four stages of scanning, authentication, association, and four-way handshake. Therefore, the WIFI connection (or simply called WIFI point-to-point connection) process based on the WIFI point-to-point connection mode is realized between the electronic equipment and the wireless access point.
In some embodiments, due to instability of the WIFI signal, a problem of interaction failure between the station and the wireless access point may occur, for example, the wireless access point does not receive a request sent by the station, but the number of frame interactions in the WIFI point-to-point connection process is large, so that the probability of interaction failure between the station and the wireless access point is high, which results in a high failure rate of WIFI point-to-point connection. The connection time corresponding to the WIFI point-to-point connection is long, and the connection time is usually more than 5s, while the connection time corresponding to the WIFI connection performed by the AP is usually not more than 1s. Therefore, in order to save the connecting time, promote WIFI transmission efficiency, when two electronic equipment carry out the WIFI communication, can carry out the WIFI connection based on the AP, adopt wireless access point connected mode to carry out the WIFI connection promptly. Specifically, when the electronic devices are connected by WIFI based on the AP, one electronic device may be used as a conventional access point (Legacy Access Point, legacy AP), or referred to as soft AP (soft AP), where the conventional access point corresponds to the router, i.e., AP, and another electronic device may be used as a site. For example, as shown in fig. 8, notebook computer a creates a conventional access point, which can act as an AP. And then, the notebook computer B accesses the notebook computer A taking the identity of the site as the traditional access point, and the establishment of the WIFI connection between the notebook computer B and the notebook computer A is realized, so that the establishment work of the WIFI transmission link is realized.
In some embodiments, the WIFI module in the electronic device (such as the notebook a) may also support a dual-frequency dual-transmission mode. That is, the electronic device can use two working frequency bands to perform WIFI connection at the same time, so that two WIFI connections are established. Wherein the dual-frequency dual-shot mode may include at least one of 2.4GHz and 5GHz dual-shots, 2.4GHz and 6GHz dual-shots, 5GHz and 6GHz dual-shots, 5.2GHz and 5.8GHz dual-shots. For example, taking the example that the electronic device allows operation in two operating frequency bands, 2.4GHz and 5GHz, the electronic device may establish WIFI connections in the 2.4GHz operating frequency band and the 5GHz operating frequency band, respectively. Among them, such an electronic device supporting the dual-frequency dual-mode is generally provided with two radio frequency antennas (hereinafter referred to as antennas).
2. Dual-frequency dual-hair mode
In some embodiments, in transmitting data based on a dual-frequency dual-transmit mode, that is, based on two WIFI connections, each WIFI connection may transmit data using two antennas in the electronic device in the following two ways.
In one example, the electronic device may transmit in a SISO manner. For each WIFI connection, when the electronic device transmits data based on the WIFI connection, the electronic device uses one antenna to transmit, that is, one WIFI connection uses one antenna of the electronic device to transmit. For example, the WIFI chip establishes WIFI connection in the 2.4GHz operating frequency band and the 5GHz operating frequency band respectively, and each WIFI connection uses one antenna for data transmission, that is, the electronic device uses one antenna for data transmission in the 2.4GHz operating frequency band and another antenna for data transmission in the 5GHz operating frequency band, that is 2.4GHz 1*1+5 GHz 1*1, wherein the first 1 in 1*1 represents 1 transmitting antenna, and the second 1 represents 1 receiving antenna. It will be appreciated that SISO corresponds to one WIFI connection corresponding to one antenna, i.e. to one data stream.
In another example, the electronic device may transmit in a MIMO manner. And the WIFI connection is respectively established on the two working frequency bands, and for each WIFI connection, the electronic equipment uses two antennas to transmit when transmitting data based on the WIFI connection, namely one WIFI connection uses two antennas to transmit. For example, the WIFI chip establishes WIFI connections in a 2.4GHz operating frequency band and a 5GHz operating frequency band, respectively, and each WIFI connection uses two antennas for data transmission. Specifically, the electronic device uses two antennas to perform data transmission in the 2.4GHz operating frequency band, and meanwhile, the electronic device may also use the two antennas to perform data transmission in the 5GHz operating frequency band, that is, 2.4GHz 2*2+5 GHz 2*2, where the first 2 in 2 x 2 represents 2 transmitting antennas, and the second 2 represents 2 receiving antennas. It can be appreciated that the MIMO mode corresponds to one WIFI connection corresponding to two antennas, i.e. two data streams.
In some embodiments, the electronic device may implement a dual frequency dual transmission mode using dual frequency synchronization (dual band simultaneous, DBS) techniques, or using dual frequency concurrency techniques. The dual-frequency synchronization means that signals of two working frequency bands are combined together, which is equivalent to a service set identifier (Service Set Identifier, SSID) which is simultaneously connected with the two working frequency bands, and data transmission is simultaneously carried out on the two working frequency bands. The dual frequency synchronization technique is implemented by forming two rf regions within a single integrated circuit (integrated circuit, IC) to integrate two complete sets of vias. It should be appreciated that DBS techniques may also be referred to as four-stream dual-frequency concurrency techniques. The service set identifier refers to a WIFI name corresponding to the router.
The dual-frequency concurrency means that the router can support two working frequency bands simultaneously, that is, two independent wireless networks are generated simultaneously, but the two independent wireless networks can adopt different SSID, or the same SSID, and the method is not limited specifically. That is, the two wireless networks under the dual-frequency concurrency technology are independently operated. The implementation mode of the double-frequency concurrency technology is to respectively establish corresponding radio frequency areas through two integrated circuits so as to form two complete paths.
In some embodiments, the transmission rates of the WIFI connection established in different operating frequency bands are different, that is, the transmission rates (or referred to as the theoretical transmission rate and the standard transmission rate) corresponding to the different operating frequency bands are different. And the theoretical transmission rates of WIFI connections in different modes of operation are also different. For example, as shown in table 1, the theoretical transmission rate corresponding to the 2.4GHz operating band in the single-shot mode is 573.5Mbps, and the theoretical transmission rate corresponding to the 5GHz operating band in the single-shot mode is 1201Mbps. The theoretical transmission rate corresponding to the 2.4GHz and 5GHz double-frequency bands in the double-frequency double-transmission mode based on the SISO mode is 887.3 (1201/2+573.5/2) Mbps. The theoretical transmission rate corresponding to the 2.4GHz and 5GHz dual-band in the dual-band dual-transmission mode based on the MIMO mode is 1774.5 (1201+573.5) Mbps. It can be understood that the dual-frequency and dual-transmission mode based on the SISO mode means that the WIFI connection uses the SISO mode to transmit data, that is, the WIFI connection corresponding to each working frequency band uses one antenna to transmit data. The dual-frequency dual-transmission mode based on the MIMO mode refers to that the WIFI connection adopts the MIMO mode to transmit data, namely, the WIFI connection corresponding to each working frequency band uses two antennas to transmit data, so that a four-stream dual-frequency concurrence technology is realized.
According to the above, the theoretical transmission rate corresponding to file transmission in the dual-frequency dual-transmission frequency band based on the MIMO mode is higher than the theoretical transmission rate corresponding to file transmission in the dual-frequency dual-transmission frequency band based on the SISO mode, that is, data is transmitted in a dual-WIFI connection concurrent mode, so that the transmission rate of WIFI can be improved.
TABLE 1
Figure SMS_1
In the present embodiment, the 5GHz operating band calculates the theoretical transmission rate by taking the maximum operating bandwidth of 80Mhz as an example, and the 2.4GHz operating band calculates the theoretical transmission rate by taking the maximum operating bandwidth of 40Mhz as an example. It will be appreciated that the larger the operating bandwidth, the higher the theoretical transmission rate.
The 5GHz operating frequency band may not only refer to 5GHz, but also may represent a frequency band range, and the values in the frequency band range corresponding to the 5GHz operating frequency band may be theoretical transmission rates corresponding to the 5GHz operating frequency band. Such as 5GHz operating frequency bands, may also include 5.2GHz and 5.8GHz. The theoretical transmission rate corresponding to the 5.2GHz working frequency band and the 5.8GHz working frequency band are the same as the theoretical transmission rate corresponding to the 5GHz working frequency band, and are 1201 Mbps. Specifically, as shown in table 2, the theoretical transmission rate corresponding to the 5.2GHz and 5.8GHz dual-band in the dual-frequency dual-band based on the SISO scheme is 1201 (1201/2+1201/2) Mbps, and the theoretical transmission rate corresponding to the 5.2GHz and 5.8GHz dual-band in the dual-frequency dual-band based on the MIMO scheme is 2402 Mbps.
TABLE 2
Figure SMS_2
Through the above table 1 and table 2, it can be seen that, in the manner of data transmission through dual WIFI connection concurrency on an electronic device supporting DBS technology, the theoretical transmission rate can be doubled, that is, the data transmission is performed through dual frequency concurrency, the transmission rate of WIFI can be improved, and further the use experience of a user is improved.
Therefore, in order to improve the transmission rate of the WIFI, when the electronic device needs to transmit data based on the WIFI connection with other electronic devices, the electronic device may adopt a dual-frequency concurrency mode to perform the WIFI connection. For example, the electronic device may determine concurrent segments supported by the electronic device and other electronic devices. Then, the electronic device can select a target concurrent frequency band from the concurrent frequency bands, and then the electronic device respectively establishes corresponding WIFI connection according to the target concurrent frequency band and two antennas (or called radio frequency antennas) on the electronic device, namely establishes corresponding WIFI connection of each working frequency band in the target concurrent frequency band, and each WIFI connection multiplexes the two antennas. Under the condition that the establishment of the WIFI connection corresponding to the target concurrent frequency band is completed, the electronic equipment can be connected with other electronic equipment through two WIFI and transmit data concurrently. Therefore, two WIFI connections are established by adopting a four-flow double-frequency concurrency technology, and data transmission can be realized, so that the transmission rate of WIFI is improved.
It will be appreciated that each operating frequency band will correspond to a range of channels. For example, the channel range corresponding to the 2.4GHz operating frequency band is 1 to 13 channels (or referred to as channels), and the channel range corresponding to the 5GHz operating frequency band includes 36 channels, 40 channels, 48 channels, 149 to 157 channels, and the like. The channel corresponds to a data transmission channel, that is, if two electronic devices need to select a target channel from a channel range corresponding to the operating frequency band before performing WIFI connection, so as to implement WIFI connection in the target channel. For example, if two electronic devices perform WIFI connection in the 5GHz operating frequency band, a target channel (e.g., 36 channels) needs to be selected from a channel range corresponding to the 5GHz operating frequency band. The two electronic devices may then establish a WIFI connection in the 36 channels to enable data transmission.
In the dual-frequency concurrency mode, the electronic device or other electronic devices can be used as two different roles in a site, a traditional access point, a group owner and a group client, and the roles of the electronic devices are different from those of other electronic devices. A notebook computer with electronic devices as windows system is described, and its roles may include site, legacy access point, group owner, and group client.
It will be appreciated that in a windows system design, a site needs to use a single port, which may be the default. The conventional access point, group owner and group client share one WIFI direct role port (direct role port). The traditional access point, the group owner and the group client share one WIFI direct-connection role port, so that the traditional access point, the group owner and the group client are mutually exclusive, namely the WIFI direct-connection role port can only be used by one role at the same moment.
Specifically, as shown in table 3, the notebook computer can also be used as any one of the roles of the conventional access point, the group owner and the group client in the case of being used as a site. The notebook computer, in the case of being a conventional access point, may also be a site, but may not be any of the roles of a conventional access point, group owner, and group client. The notebook computer, in the case of acting as a group owner, may also act as a site, but not as any of the roles of a traditional access point, group owner, and group client. The notebook computer, in the case of a group client, may also act as a site, but not as any of the roles of a traditional access point, group owner, and group client. That is, two roles of a site and a conventional access point in a notebook computer can coexist, two roles of a site and a group owner in a notebook computer can coexist, two roles of a site and a group client in a notebook computer can also coexist, and in the rest cases, two roles in a notebook computer cannot coexist.
TABLE 3 Table 3
Figure SMS_3
For example, as shown in fig. 9, taking two electronic devices as a first computer and a second computer as an example, a WIFI connection can be established between the first computer and the second computer based on a 5GHz operating frequency band, that is, the WIFI connection corresponding to the 5GHz operating frequency band, where the role of the first computer corresponding to the WIFI connection may be a conventional access point, and the role of the second computer may be a website. And a WIFI connection can be established between the first computer and the second computer based on the 2.4GHz working frequency band, namely, the WIFI connection corresponding to the 2.4GHz working frequency band, the role of the first computer corresponding to the WIFI connection can be a site, and the role of the second computer can be a traditional access point.
It should be understood that the roles of the first computer and the second computer are only examples, for example, the role of the first computer corresponding to the WIFI connection corresponding to the 5GHz operating frequency band is a site, the role of the second computer is a conventional access point, the role of the first computer corresponding to the WIFI connection corresponding to the 2.4GHz operating frequency band is a conventional access point, and the role of the second computer is a site. For another example, the role of the first computer corresponding to the WIFI connection corresponding to the 5GHz operating band is a site, the role of the second computer is a group owner, the role of the first computer corresponding to the WIFI connection corresponding to the 2.4GHz operating band may be a group owner, and the role of the second computer may be a site.
In some embodiments, as can be seen from table 3 above, when two WIFI connections are established, one device does not support two identical roles at the same time, that is, the roles of the one device corresponding to the two WIFI connections are not identical. If the first computer establishes one WIFI connection in the role of the site, the first computer cannot establish the WIFI connection in the role of the site when establishing another WIFI connection. Therefore, the limitation of the windows system on the port can be overcome, and convenience is provided for subsequent establishment of double WIFI connection.
It should be noted that, as shown in table 3, two roles of the group client and the STA may coexist when the dual WIFI connection is established, for example, one role of the WIFI connection corresponding to one notebook computer (e.g., the first computer) is the STA, the other role of the WIFI connection is the group client, but one role of the WIFI connection corresponding to the other notebook computer (e.g., the second computer) is the conventional access point, and the other role of the WIFI connection is the group owner. However, due to port limitations or the above table 3, the conventional access point and the group owner cannot coexist, and therefore, the first computer cannot establish the dual WIFI connection in the roles of STA and the group client when establishing the dual WIFI connection.
Having introduced the technology related to the embodiment of the present application, a detailed description will be given below of how to implement dual WIFI connection transmission with reference to the accompanying drawings. As shown in fig. 10, the process includes the steps of:
s1001, responding to a first operation, the first computer sends a concurrent frequency band list of the first computer to the second computer.
The first operation is used for triggering the first computer and the second computer to perform data transmission. The first operation will be described below in connection with an application scenario of the technical solution of the present application.
In an example, the present application may be applied to a swap cloning service scenario, where the first operation may be used to trigger the first computer to perform a swap cloning operation. In the case of the exchange clone service, the first computer may display identification information (e.g., a name) of at least one available computer in response to a triggering operation (e.g., a clicking operation) of the user on an exchange clone control displayed on the first computer. Then, the first computer receives a click operation (corresponding to a first operation) of a user on a second computer name displayed on the first computer, which indicates that the first computer needs to transmit a clone file of the first computer to the second computer based on the WIFI connection, and as a response to the operation, the first computer can send a concurrent frequency band list of the first computer to the second computer, so that the second computer can establish the WIFI connection with the first computer by using the concurrent frequency band list of the first computer. For example, as shown in fig. 11, the first computer 500 displays an exchange clone control H, if the exchange clone control H is triggered, the first computer 500 displays an interface as shown in fig. 12, where the interface displays the identification information AAA of the available device and the identification information DDD of the available device, and if the identification information AAA corresponding to the available device is triggered, the device corresponding to the identification information AAA is the second computer. The first computer 500 may then send the concurrent band list of the first computer to the available device AAA. That is, the first computer 500 performs a swap clone service with the available device AAA.
In an example, the application may be applied to a data migration service scenario, where the first operation may be used to trigger the first computer to perform a data migration operation. In a scenario of a data migration service, a first computer determines selected data as target data in response to a user selection operation for data displayed on the first computer. Then, the first computer responds to the triggering operation (such as clicking operation) of the user on the data migration control displayed on the first computer, and identification information (such as a name) of at least one available computer can be displayed. Then, the first computer receives a click operation (corresponding to a first operation) of a user on a second computer name displayed on the first computer, which indicates that the first computer needs to transmit target data of the first computer to the second computer based on the WIFI connection, and the first computer can send a list of concurrent frequency bands of the first computer to the second computer as a response to the operation.
In another example, the application may be applied to a file sharing service scenario, where the first operation may be used to trigger the first computer to perform a file sharing operation. In a file sharing service scenario, a first computer responds to a selection operation of a user on a file displayed on the first computer, and the selected file is determined to be a target file. Then, the first computer responds to the triggering operation (such as clicking operation) of the user on the file sharing control displayed on the first computer, and can display the identification information (such as name) of at least one available computer. Then, the first computer receives a click operation (corresponding to a first operation) of a user on a second computer name displayed on the first computer, which indicates that the first computer needs to transmit a target file of the first computer to the second computer based on the WIFI connection, and the first computer can send a list of concurrent frequency bands of the first computer to the second computer as a response to the operation.
It should be noted that the above three application scenarios are only examples, and the technical solution described in the present application may also be applied to a scenario where WIFI connection needs to be performed between other devices to transmit data, and accordingly, the first operation may also be used to trigger the first computer to perform other types of operations, which is not limited in the present application.
The list of concurrent segments of the first computer (or referred to as a first concurrent segment list) includes all concurrent segments supported by the first computer. For example, the concurrent frequency band list of the first computer may include at least one of 5.2GHz and 5.8GHz dual-band concurrency, 2.4GHz and 6GHz dual-band concurrency, 2.4GHz and 5GHz dual-band concurrency, and 5GHz and 6GHz dual-band concurrency, for example, the concurrent frequency band list of the first computer may include 2.4GHz and 5GHz dual-band concurrency, and 5GHz and 6GHz dual-band concurrency.
In this embodiment of the present invention, in response to the first operation, the first computer may obtain a concurrent frequency band list of the first computer, and send the concurrent frequency band list of the first computer to the second computer through a first preset communication mode. The first preset communication mode may be a bluetooth communication mode, for example. First, the first computer can be connected with the second computer through Bluetooth, namely, the first computer is matched with the second computer. After the first computer and the second computer are successfully paired, namely, after the first computer and the second computer establish Bluetooth connection, the first computer can send a concurrent frequency band list of the first computer to the second computer based on the Bluetooth connection. Of course, the first preset communication mode may be other types of communication modes, for example, the first preset communication mode is a wired transmission mode, which is not limited in the application, and only needs to be capable of communication between the first computer and the second computer.
In some embodiments, the first computer may send the connection channel of the first computer and the working channel list of the first computer to the second computer in addition to sending the concurrence band list of the first computer to the second computer. The connection channel of the first computer is a working channel where the first computer is located, for example, a working channel when the first computer is used as a site to perform WIFI connection with a wireless access point (i.e., an actual router to which the first computer is connected). For example, if the first computer is not currently connected to the wireless access point by WIFI, that is, the first computer is in a WIFI-free network environment, the connection channel of the first computer may be 0 or-1, which is not specifically limited; if the first computer is currently connected with the wireless access point through WIFI, the connection channel of the first computer is a working channel where the first computer is currently located, for example, the connection channel of the first computer may be 5 channels.
The working channel list of the first computer refers to information of all working channels supported by the first computer as a conventional access point. The information of the working channel may include an identification of the working channel (e.g., 36 channels may be identified as 36). By way of example, the list of operating channels of the first computer may include 10, 13, 40, etc.
Specifically, in response to the first operation, the first computer may obtain the own concurrent frequency band list of the first computer, the connection channel of the first computer, and the working channel list of the first computer, and send the concurrent frequency band list of the first computer, the connection channel of the first computer, and the working channel list of the first computer to the second computer through the first preset communication manner.
S1002, the second computer receives the concurrent segment list of the first computer.
In some embodiments, the second computer needs to receive the connection channel of the first computer and the working channel list of the first computer in addition to the concurrent segment list of the first computer.
S1003, the second computer sends a concurrent frequency band list of the second computer to the first computer.
Wherein the list of concurrent segments of the second computer (or referred to as a second list of concurrent segments) includes all concurrent segments supported by the second computer. For example, the concurrent frequency band list of the second computer may include at least one of 5.2GHz and 5.8GHz dual-band concurrency, 2.4GHz and 6GHz dual-band concurrency, 2.4GHz and 5GHz dual-band concurrency, and 5GHz and 6GHz dual-band concurrency, for example, the concurrent frequency band list of the second computer may include two concurrent frequency bands of 2.4GHz and 5GHz dual-band concurrency, and 5.2GHz and 5.8GHz dual-band concurrency.
In this embodiment of the present invention, the second computer may send the concurrent frequency band list of the second computer to the first computer through a second preset communication mode when receiving the concurrent frequency band list of the first computer. The second preset communication mode may be a bluetooth communication mode, for example. First, the second computer is connected with the first computer through Bluetooth, namely the first computer is matched with the second computer. After the first computer and the second computer are successfully paired, namely, after the second computer and the first computer are connected by Bluetooth, the second computer can send a concurrent frequency band list of the second computer to the first computer. Of course, the second preset communication mode may be other types of communication modes, for example, the second preset communication mode is a wired transmission mode, which is not limited in the application, and only needs to be able to communicate between the first computer and the second computer.
It should be understood that the first preset communication mode and the second preset communication mode may be the same or different, and are not specifically limited. For example, the first computer may send the list of concurrent segments of the first computer to the second computer by using a bluetooth communication method. And then, the second computer can send the concurrent frequency band list of the second computer to the first computer in a wired transmission mode. For another example, the first preset communication mode and the second preset communication mode are both bluetooth communication modes, if a bluetooth connection has been established between the first computer and the second computer, the bluetooth connection used by the first computer to send the concurrent frequency band list of the first computer is not disconnected yet, and the second computer can directly send the concurrent frequency band list of the second computer to the first computer based on the bluetooth connection.
In some embodiments, the second computer may send the connection channel of the second computer and the working channel list of the second computer to the first computer in addition to sending the concurrence band list of the second computer to the first computer. The connection channel of the second computer is a working channel where the second computer is located, for example, a working channel corresponding to when the second computer is used as a site to perform WIFI connection with a wireless access point (i.e., an actual router to which the second computer is connected). For example, if the second computer is not currently connected to the wireless access point by WIFI, that is, the second computer is in a WIFI-free network environment, the connection channel of the second computer may be 0 or-1, which is not specifically limited; if the second computer is not currently connected to the wireless access point by WIFI, the connection channel of the second computer is a working channel where the second computer is currently located, for example, the connection channel of the second computer may be 10 channels.
The working channel list of the second computer refers to information of all working channels supported by the second computer as a conventional access point. The information of the working channel may include an identification of the working channel (e.g., 36 channels may be identified as 36). By way of example, the list of operating channels for the second computer may include 9, 11, 48, etc.
Specifically, the second computer may send the concurrency band list of the second computer, the connection channel of the second computer, and the working channel list of the second computer to the first computer through a second preset communication mode when receiving the concurrency band list of the first computer, the connection channel of the first computer, and the working channel list of the first computer.
In some embodiments, the first computer and the second computer may read the concurrent frequency band list from a preset location in a case where the target concurrent frequency band needs to be determined through the concurrent frequency band list. For example, the first computer may read the concurrent segment list of the first computer from the first preset location if the first operation is received. Or the first computer can read the concurrent frequency band list of the first computer from the first preset position in advance and store the concurrent frequency band list into the cache, so that the concurrent frequency band list of the first computer can be directly read from the cache when the concurrent frequency band list of the first computer needs to be obtained, and the reading efficiency of the concurrent frequency band list of the first computer is improved, for example, the concurrent frequency band list of the first computer can be read when the first computer is started. Similarly, the second computer may also read the concurrent segment list of the second computer from the second preset position in advance. The second preset position and the first preset position may be the same position or different positions, which is not limited in particular.
It should be understood that, the concurrency band supported by the first computer is determined based on the configuration parameters of the WIFI module (or referred to as the WIFI chip) in the first computer, and the concurrency band supported by the second computer is determined based on the configuration parameters of the WIFI module (or referred to as the WIFI chip) in the second computer, for example, if the WIFI chip in the first computer supports the 5.2GHz and 5.8GHz dual-mode, the concurrency band supported by the first computer is the 5.2GHz and 5.8GHz dual-band concurrency. That is, the concurrent band list of the first computer and the concurrent band list of the second computer are pre-configured.
S1004, the first computer receives the concurrent frequency band list of the second computer.
In some embodiments, the first computer needs to receive the connection channel of the second computer and the working channel list of the second computer in addition to receiving the concurrent segment list of the second computer.
Note that, the numbers of the steps shown in fig. 10 do not represent the execution sequence of the steps. For example, S1003 and S1004 may be performed before S1001 "the first computer sends the concurrent frequency band list of the first computer to the second computer", for example, the second computer needs to perform a swap clone. And responding to the triggering operation (such as clicking operation) of the user on the identification information of the first computer displayed by the second computer, and sending a concurrent frequency band list of the second computer to the first computer by the second computer. The first computer receives the concurrent frequency band list of the second computer. The triggering operation here may be the first operation described above.
In some embodiments, the first computer may be connected to a wireless network provided by the second computer, and in brief, the first computer may be connected to a WIFI hotspot provided by the second computer. Alternatively, the second computer may be connected to a wireless network provided by the first computer, and in brief, the second computer may be connected to a WIFI hotspot provided by the first computer.
S1005, the first computer determines a target concurrency segment from the concurrency segment list of the first computer and the concurrency segment list of the second computer.
The target concurrent frequency band represents the concurrent frequency band existing in the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer, that is, the target concurrent frequency band is the concurrent frequency band commonly supported by the first computer and the second computer.
For example, the concurrent frequency band list of the first computer includes two concurrent frequency bands of 5GHz and 2.4GHz, and 5GHz and 6GHz, and the concurrent frequency band list of the second computer includes one concurrent frequency band of 5GHz and 2.4GHz, and the concurrent frequency band commonly supported by the first computer and the second computer is 5GHz and 2.4GHz, that is, the target concurrent frequency band is 5GHz and 2.4 GHz.
In one possible implementation, the first computer determines whether the same concurrent frequency band exists in the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer, that is, the concurrent frequency band commonly supported by the first computer and the second computer. Under the condition that the same concurrent frequency band does not exist in the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer, the first computer can determine that the first computer and the second computer cannot establish dual WIFI connection, namely the first computer and the second computer can be connected through single WIFI.
And then, under the condition that the first computer and the second computer are determined to be connected through single WIFI, the first computer can determine the target working frequency band from the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer. The target working frequency range represents one working frequency range supported by the first computer and the second computer.
For example, the concurrent frequency band list of the first computer is 5GHz and 2.4GHz dual-band concurrent, the concurrent frequency band list of the second computer is 5GHz and 6GHz dual-band concurrent, and the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer do not have the same concurrent frequency band, so that the target working frequency band can be determined to be the 5GHz working frequency band from the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer.
And then, the first computer determines a target working channel corresponding to the target working frequency band from the connecting channel of the first computer, the working channel list of the first computer, the connecting channel of the second computer and the working channel list of the second computer. Finally, the first computer can establish single WIFI connection with the second computer on the target working channel corresponding to the target working frequency band.
Under the condition that the connection channel of the first computer and the connection channel of the second computer both belong to the channel range corresponding to the target working frequency band, the target working channel can be determined in the following two modes.
In an embodiment, if the connection channel of the first computer is the same as the connection channel of the second computer, the working channel list of the first computer and the working channel list of the second computer both include the connection channel of the first computer/second computer, and the target working channel is determined to be the connection channel of the first computer, that is, the connection channel of the second computer.
Continuing with the above example, the first computer has a connection channel of 36, the second computer has a connection channel of 36, the first computer has a working channel list including 10 channels, 36 channels, 40 channels and 48 channels, and the second computer has a working channel list including 10 channels, 36 channels and 48 channels, for example, the target working channel is 36 channels, that is, the first computer can establish WIFI connection with the second computer on 36 channels corresponding to 5 GHz.
In another embodiment, if the connection channel of the first computer is different from the connection channel of the second computer, the working channel list of the first computer includes the connection channel of the first computer and the connection channel of the second computer, and the working channel list of the second computer also includes the connection channel of the first computer and the connection channel of the second computer, that is, the working channel list of the first computer and the working channel list of the second computer each include the connection channel of the first computer and the connection channel of the second computer, the first computer may predict a time required for switching the connection channel of the first computer to the connection channel of the second computer, and use the time as a first switching time, and the second computer may predict a time required for switching the connection channel of the second computer to the connection channel of the first computer, and use the time as a second switching time. The second computer may then send the second switching time to the first computer. When the first switching time is smaller than the second switching time, the time required for switching the connection channel of the first computer to the connection channel of the second computer is smaller than the time required for switching the connection channel of the second computer to the connection channel of the first computer, so that the time required for switching can be reduced, namely, the first computer can determine that the target working channel is the connection channel of the second computer, and the first computer can perform WIFI connection with the second computer on the connection channel of the second computer.
When the first switching time is longer than the second switching time, the time required for switching the connection channel of the first computer to the connection channel of the second computer is longer than the time required for switching the connection channel of the second computer to the connection channel of the first computer. The switching time of the channel is determined based on the configuration information of the computer, and it can be understood that the higher the relevant hardware configuration (such as a wireless network card, etc.) of the computer, the faster the switching time of the channel.
For example, the connection channel of the first computer is 36, the connection channel of the second computer is 48, the working channel list of the first computer includes 10 channels, 36 channels, 40 channels and 48 channels, the working channel list of the second computer includes 10 channels, 36 channels and 48 channels, and the working channel list of the first computer and the working channel list of the second computer each include 36 channels and 48 channels, so that the first computer needs to determine a first switching time corresponding to switching itself from 36 channels to 48 channels, and the second computer needs to determine a second switching time corresponding to switching itself from 48 channels to 36 channels. If the first switching time is smaller than the second switching time, the related hardware configuration of the first computer is higher than that of the second computer, so that the first computer can be connected with the second computer through a 48-channel WIFI; if the first switching time is longer than the second switching time, it is indicated that the hardware configuration of the first computer is lower than that of the second computer, and therefore, the first computer can perform WIFI connection with the second computer on 36 channels. Therefore, the situation that the data transmission is slower due to longer channel switching time can be reduced, and a basis is provided for subsequent data transmission.
It should be noted that, the target working channel may also be determined by the second computer, for example, the first computer sends the first switching time to the second computer, so that the second computer determines the target working channel by using the first switching time and the second switching time. The second computer may then send the identification of the target working channel to the first computer. Alternatively, the first computer and the second computer may determine the target working channel, which is not limited in this application.
In some embodiments, in a case where the connection channel of the first computer or the connection channel of the second computer belongs to the work channel list of the first computer and the work channel list of the second computer, the first computer determines the connection channel belonging to the work channel list of the first computer and the work channel list of the second computer as the target work channel.
For example, the connection channel of the first computer is 56, the connection channel of the second computer is 48, the working channel list of the first computer includes 10 channels, 13 channels, 40 channels and 48 channels, and the working channel list of the second computer includes 10 channels, 40 channels and 48 channels, for example, the connection channels belonging to the working channel list of the first computer and the working channel list of the second computer are 48 channels, that is, the target working channel is 48 channels. Thus, the first computer may establish a WIFI connection with the second computer over 48 channels.
In one possible embodiment, in a case where the same concurrent frequency band exists in the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer, the first computer may determine the number of the same concurrent frequency bands.
Under the condition that the number of the same concurrent frequency bands is 1, the first computer can directly determine the same concurrent frequency bands as target concurrent frequency bands. For example, the concurrency band list of the first computer includes 5GHz and 2.4GHz dual-band concurrency and 5GHz and 6GHz dual-band concurrency, the concurrency band list of the second computer includes 5GHz and 2.4GHz dual-band concurrency, that is, the same concurrency band is 5GHz and 2.4GHz dual-band concurrency, and the number of the concurrency bands supported by the first computer and the second computer is 1, so that the first computer can determine that the target concurrency band is 5GHz and 2.4GHz dual-band concurrency.
Under the condition that the number of the same concurrent frequency bands is larger than 1, the first computer can determine the target concurrent frequency band from the same concurrent frequency bands through the following realization modes.
In one implementation manner, if the number of the same concurrent frequency bands is greater than 1, the first computer determines, according to a target policy, a target concurrent frequency band from the same concurrent frequency bands.
The target policy is preset according to a theoretical transmission rate corresponding to the concurrent frequency band, and the higher the theoretical transmission rate is, the higher the priority of the concurrent frequency band corresponding to the theoretical transmission rate is, and accordingly, the target concurrent frequency band may be the concurrent frequency band with the highest theoretical transmission rate in the same concurrent frequency band. For example, if the same concurrent frequency band of the first computer and the second computer includes 5GHz and 2.4GHz dual-band concurrency and 5.2GHz and 5.8GHz dual-band concurrency, and as can be seen from the foregoing table 1 and table 2, the theoretical transmission rate corresponding to the 5GHz and 2.4GHz dual-band concurrency may be 1774.5 Mbps,5.2GHz and the theoretical transmission rate corresponding to the 5.8GHz dual-band concurrency may be 2402 Mbps, the first computer may determine that the priority of the 5.2GHz and 5.8GHz dual-band concurrency is higher than that of the 5GHz and 2.4GHz dual-band concurrency based on the target policy, and accordingly, the target concurrent frequency band may be 5.2GHz and 5.8GHz dual-band concurrency. For another example, the same concurrent frequency band includes 5GHz and 6GHz dual-band concurrency, 5.2GHz and 5.8GHz dual-band concurrency, 6GHz and 2.4GHz dual-band concurrency, and 5GHz and 2.4GHz dual-band concurrency, and based on a target policy, it may be determined that the priority ranking of the same concurrent frequency band is 5G and 6G dual-band concurrency >5.2G and 5.8G dual-band concurrency >6G and 2.4G dual-band concurrency >5G and 2.4G dual-band concurrency, that is, the priority of 5GHz and 6GHz dual-band concurrency is the highest, that is, the theoretical transmission rate corresponding to 5GHz and 6GHz dual-band concurrency may be the target concurrent frequency band.
In another implementation manner, the first computer may arbitrarily select one concurrent frequency band from the plurality of identical concurrent frequency bands as the target concurrent frequency band.
In some embodiments, the steps S1001 to S1004 shown in fig. 10 may not be performed, and the first computer may directly obtain the corresponding target concurrent segment. The target concurrency band is determined based on historical WIFI communications between the first computer and the second computer. For example, the first computer and the second computer may have previously determined a target concurrency band when performing WIFI communication, and the first computer may store the target concurrency band. Generally, the concurrent frequency band supported by the electronic device will not change, so when the first computer needs to perform WIFI connection with the second computer, it can first determine whether the target concurrent frequency band corresponding to the second computer is stored locally. If the target concurrent frequency band exists, the first computer can directly acquire the target concurrent frequency band corresponding to the second computer. If not, the first computer may continue to execute the steps S1001 to S1004 to determine the target concurrent segment.
In some embodiments, after determining the target concurrency band, the first computer may send the target concurrency band to the second computer, so that the second computer may directly use the target concurrency band without redefining the target concurrency band.
S1006, the second computer determines the target concurrency band from the concurrency band list of the first computer and the concurrency band list of the second computer.
In some embodiments, the second computer may also determine the target concurrency policy in the event that the first computer determines the target concurrency segment. The first computer and the second computer can respectively determine the target concurrent frequency bands, so that the determined target concurrent frequency bands do not need to be sent to the opposite computer, and the accuracy of determining the target concurrent frequency bands can be improved. For example, the first computer and the second computer may determine the target concurrent frequency band according to the target policy, respectively. Because the target strategies are the same, and the first computer and the second computer both comprise the concurrent frequency band list of the first computer and the concurrent frequency band list of the second computer, the target concurrent frequency band determined by the first computer and the target concurrent frequency band determined by the second computer are the same.
In other embodiments, the first computer may not need to perform step S1005, that is, the target concurrency band may be separately determined by the second computer, and after the second computer determines the target concurrency band, the second computer may directly send the target concurrency band to the first computer, so that the first computer may directly use the target concurrency band without re-determining the target concurrency band. It should be noted that, the process of determining the target concurrent segment by the second computer is similar to the process of determining the target concurrent segment by the first computer, and will not be described herein. In the scheme that the first computer is not required to determine the target concurrent frequency band, S1003 and S1004 may not be performed, that is, the second computer is not required to send its own concurrent frequency band list to the first computer.
Optionally, the second computer may send the target concurrent frequency band to the first computer after determining the target concurrent frequency band, that is, the first computer may not need to execute the above process of determining the target concurrent frequency band.
In still other embodiments, the second computer may not need to perform S1006, that is, the target concurrent segment may be determined by the first computer alone and sent to the second computer after the first computer determines the target concurrent segment. In the scheme that the second computer is not required to determine the target concurrent frequency band, the step S1001 of "the first computer sends the concurrent frequency band list of the first computer to the second computer" and the step S1002 may not be performed, i.e. the first computer does not need to send its concurrent frequency band list to the second computer.
S1007, the first computer establishes a first WIFI connection with the second computer based on a first working frequency band in the target concurrent frequency band.
The role of the first computer corresponding to the first WIFI connection is a first role, and the role of the second computer corresponding to the first WIFI connection is a second role. The second role is in a relative relationship with the first role, and the relative relationship indicates that in the case where the role of one device in the two computers is Legacy AP or Go, the role of the other device is STA. For example, the first role may be a legacy access point, the second role may be a station, or the first role may be a station, and the second role may be a legacy access point. For another example, the first role may be a group owner, the second role may be a site, or the first role may be a site, and the second role may be a group owner.
For example, taking the target concurrency frequency band as the 5GHz and 2.4GHz dual-band concurrency as an example, the first working frequency band may be a 5GHz working frequency band, the second working frequency band may be a 2.4GHz working frequency band, and accordingly, the first WIFI connection needs to be established in the 5GHz working frequency band, and the second WIFI connection needs to be established in the 2.4GHz working frequency band. Or, the first working frequency band may be a 2.4GHz working frequency band, the second working frequency band may be a working 5GHz frequency band, and accordingly, the first WIFI connection needs to be established in the 2.4GHz working frequency band, and the second WIFI connection needs to be established in the 5GHz working frequency band. Wherein, every WIFI connects multiplexing two antennas to realize the dual-frenquency concurrency.
For example, the first role is taken as a conventional access point, the second role is taken as a station, and the establishment procedure of the first WIFI connection is described with reference to fig. 13.
First, the first computer may perform S1101, creating a role (or referred to as a first role) of the first computer as a legacy access point. It will be appreciated that creating a conventional access point is equivalent to having the first computer become a wireless access point (i.e., router) to provide wireless access services to the second computer. That is, creating a role may represent setting a mode of a wireless network (e.g., a WIFI hotspot) to a mode corresponding to the created role. For example, creating the first role as a legacy access point may represent setting the first wireless network of the first computer to an AP mode (or referred to as a soft AP mode).
Then, the first computer may execute S1102 to send the first target information to the second computer. Wherein the first target information includes one or more of a first basic service set identification (basic service set identifier, BSSID), a first service set identification (Service Set Identifier, SSID), and a first target password. The first basic service set identifier refers to the MAC address of the first computer. The first service set identifier refers to a device name of the first computer. The first target password is a network password preset by the first computer, such as a WIFI hotspot password.
In some embodiments, the first target information may also include information of the first operating channel. The first working channel represents a channel with highest quality in working channels corresponding to a first working frequency band supported by the first computer, and in particular, the first working channel represents a channel with highest quality in working channels corresponding to the first working frequency band supported by the first computer when the first computer is used as a traditional access point. Wherein the first operating channel may be determined from a list of operating channels of the first computer.
The quality of the working channel can be represented by the number of hot spots and/or the signal interference degree in the working channel, and the lower the number of hot spots and the lower the signal interference degree of the working channel, the higher the quality of the working channel.
In one example, the quality of the working channel is represented by the number of hot spots. For each working channel corresponding to the first working frequency band in the working channel list of the first computer, the first computer can scan the working channel for hot spots to obtain a scanning result corresponding to the working channel, wherein the scanning result comprises the hot spot number in the working channel. Then, the first computer can use the working channel with the least hot spot number as the first working channel. Therefore, the occurrence of the condition that the data transmission is affected due to the fact that the number of hot spots is large can be reduced, and the data transmission rate is guaranteed.
In another example, the quality of the operating channel is indicated by the degree of signal interference. For each working channel corresponding to the first working frequency band in the working channel list of the first computer, the first computer can determine the signal interference degree of the working channel. Then, the first computer can take the working channel with the minimum signal interference degree as the first working channel. The signal interference level may be determined according to the signal reception strength (received signal strength indication, RSSI), that is, the stronger the signal reception strength, the smaller the signal interference level. Therefore, the occurrence of the condition that the data transmission is influenced due to the fact that the signal interference is large can be reduced, and the data transmission rate is ensured.
In another example, the quality of the operating channel is indicated by the number of hot spots and the degree of signal interference. For each working channel corresponding to the first working frequency band in the working channel list of the first computer, the first computer can determine the signal interference degree and the hot spot number of the working channel. Then, the first computer may calculate a quality value of the working channel according to e=w1×r+w2×s, where w1 represents a first preset weight, w2 represents a second preset weight, R represents a signal interference level corresponding to the working channel, S represents a number of hot spots in the working channel, and E represents a quality value of the working channel. The smaller the quality value of the working channel, the higher the quality of the working channel. Then, the first computer can use the working channel with the minimum quality value as the first working channel.
In some embodiments, the first computer may send the first target information to the second computer via bluetooth communication. And then, the second computer can be connected with the first computer on the first working channel by WIFI under the condition of receiving the first target information, so that the establishment of the first WIFI connection is completed. The process of establishing a first WIFI connection with a first computer by a second computer based on the first target information will be described in two possible embodiments. In one possible implementation manner, the first WIFI connection may be established between the first computer and the second computer based on the manner that the wireless access point performs WIFI connection with other devices. As shown in fig. 13, when receiving the first target information, the second computer may execute S1103 to transmit an inquiry request frame to the first computer. Upon receiving the inquiry request frame, the first computer may execute S1104 to transmit an inquiry response frame to the second computer. Then, the second computer may execute S1105 to send an authorization request frame to the first computer if it receives the inquiry response frame. When the first computer receives the authorization request frame, it may execute S1106 to transmit the authorization response frame to the second computer. After that, the second computer may execute S1107 to transmit the association request frame to the first computer in case of receiving the authorization response frame. When the first computer receives the association request frame, S1108 may be executed to send the association response frame to the second computer. Then, the first computer may execute S1109 to send the key information frame carrying the random number generated by the first computer to the second computer, so as to implement the first handshake. Then, the second computer may execute S1110 to send the key information frame carrying the random number generated by the second computer and the message integrity check code to the first computer, so as to implement the second handshake. Then, the first computer may execute S1111 to send a key information frame carrying the encrypted group temporary key and the message integrity check code to the second computer to implement the third handshake. Then, the second computer may execute S1112 to send the key information frame carrying the message integrity check code to the first computer to implement the fourth handshake, thereby completing the establishment of the first WIFI connection.
In another possible implementation manner, the first WIFI connection may be established between the first computer and the second computer based on the WIFI point-to-point connection manner described above. The second computer may send an inquiry request frame to the first computer upon receiving the first target information. The first computer transmits an inquiry response frame to the second computer when receiving the inquiry request frame. And then, the second computer sends a configuration discovery request frame to the first computer under the condition of receiving the inquiry response frame. And the first computer sends a configuration discovery response frame to the second computer under the condition of receiving the configuration discovery request frame. And then, the second computer sends a group negotiation request frame to the first computer under the condition of receiving the configuration discovery response frame. The first computer sends a group negotiation response frame to the second computer when receiving the group negotiation request frame. Meanwhile, the first computer also sends a group negotiation confirmation frame to the second computer. After the negotiation confirmation is completed between the first computer and the second computer, the first computer and the second computer need to be connected through WIFI twice, and therefore the establishment of the first WIFI connection is completed.
In this embodiment of the present application, in order to improve the efficiency and success rate of WIFI connection establishment, a first WIFI connection may be established between a first computer and a second computer based on a manner in which the wireless access point performs WIFI connection with other devices.
In some embodiments, in a case where the two roles corresponding to the first WIFI connection are not STA and Legacy AP, for example, in a case where the first role is STA, the second role is Go, or the first role is Go, and the second role is STA, the first WIFI connection is established based on the WIFI point-to-point connection, and not based on the WIFI connection between the wireless access point and other devices. However, since the roles of Go and STA are preset, in the process of establishing the first WIFI connection between the first computer and the second computer, the P2P discovery process and the P2P Go negotiation process are not required, and the process of two WIFI connections can be directly performed.
It should be understood that, in general, legacy AP and STA are in relative roles, go and Gc are in relative roles, that is, if the role played by the first computer is Legacy AP, the role played by the second computer may be STA; if the role played by the first computer is Go, the role played by the second computer may be Gc. However, in the actual development process, the WIFI connection between the STA and the Go can be established by modifying the WIFI connection protocol, only one role is required to be equivalent to the terminal, and the other role is required to be equivalent to the router, which is not particularly limited.
S1008, the first computer establishes a second WIFI connection with a second computer based on a second working frequency band in the target concurrency frequency band.
The role of the first computer corresponding to the second WIFI connection is a third role, and the role of the second computer corresponding to the second WIFI connection is a fourth role. The fourth role is in a relative relationship with the third role, and the relative relationship indicates that in the case where the role of one device in the two computers is Legacy AP or Go, the role of the other device is STA. For example, the third role may be a station, the fourth role may be a legacy access point, or the third role may be a legacy access point, and the fourth role may be a station. For another example, the third role may be a site, the fourth role may be a group owner, or the third role may be a group owner, and the fourth role may be a site.
It should be noted that, in the first WIFI connection, the first role of the first computer is different from the third role of the first computer in the second WIFI connection, and one of the roles is a site. The second role of the second computer in the first WIFI connection is different from the fourth role of the second computer in the second WIFI connection, and one of the roles is a site. That is, one of the first and second roles is a site, and one of the third and fourth roles is a site. For example, if the first role is a legacy access point, the second role is a station, and the third role is also a station, the fourth role may not be a station, but may be a legacy access point, or a group owner. For another example, if the first persona is a group owner, the second persona is a site and the third persona is also a site.
In some embodiments, when the first WIFI connection is established, the first computer may establish a second WIFI connection with the second computer directly based on a second operating band of the target concurrent bands. Or, the second computer may generate a prompt message and send the prompt message to the first computer to inform the first computer that the first WIFI connection is completed and the second WIFI connection needs to be established. The prompt message is used for triggering the first computer to establish a second WIFI connection with the second computer. So, the first computer can be timely know the WIFI connection condition, saves connecting time, promotes the establishment efficiency of two WIFI connection.
And then, the first computer responds to the prompt information and establishes a second WIFI connection with the second computer based on a second working frequency band in the target concurrent frequency band.
Of course, the first WIFI connection and/or the second WIFI connection may be actively established by the second computer based on the target concurrent frequency band. For example, under the condition that the establishment of the first WIFI connection is completed, the second computer may establish a second WIFI connection with the first computer based on the second operating frequency band. Or, the first WIFI connection and the second WIFI connection may be established concurrently, for example, the first computer may also establish the second WIFI connection in the process of establishing the first WIFI connection, instead of waiting until the first WIFI connection is established, to establish the second WIFI connection.
It should be noted that, because the first computer and the second computer both include at least two antennas, the first computer can use the MIMO mode, and use the first antenna and the second antenna to establish the first WIFI connection with the second computer. The second computer can also adopt a MIMO mode, and a second WIFI connection is established with the second computer by using a third antenna and a fourth antenna. Under one condition, the third antenna can be the first antenna, the fourth antenna can be the second antenna, multiplexing of the antennas is achieved, data transmission is achieved through double WIFI connection, and occupation of the number of the antennas is reduced. In another case, the third antenna is different from the first antenna and the second antenna, the fourth antenna is different from the first antenna and the second antenna, and dual-WIFI connection data transmission is achieved by using four different antennas.
Specifically, the second computer may create the role (or third role) of the second computer as a legacy access point. The second computer may then send the second target information to the first computer. The second target information comprises a second basic service set identifier, a second service set identifier and a second target password. The second basic service set identifier refers to the MAC address of the second computer. The second service set identifier refers to a device name of the second computer. The second target password is a network password preset by the second computer.
In some embodiments, the second target information may also include information for a second operating channel. The second working channel represents a channel with highest quality in working channels corresponding to a second working frequency band supported by the second computer, and in particular, the second working channel represents a channel with highest quality in working channels corresponding to the second working frequency band supported by the second computer when the second computer is used as a traditional access point. Wherein the second operating channel may be determined from a list of operating channels of the second computer.
The quality of the working channel can be represented by the number of hot spots and/or the signal interference degree in the working channel, and the lower the number of hot spots and the lower the signal interference degree of the working channel, the higher the quality of the working channel.
In one example, the quality of the working channel is represented by the number of hot spots. For each working channel corresponding to the second working frequency band in the working channel list of the second computer, the second computer can scan the working channel for hot spots to obtain a scanning result corresponding to the working channel, wherein the scanning result comprises the hot spot number in the working channel. Then, the second computer can use the working channel with the least hot spot number as the second working channel. Therefore, the occurrence of the condition that the data transmission is affected due to the fact that the number of hot spots is large can be reduced, and the data transmission rate is guaranteed.
In another example, the quality of the operating channel is indicated by the degree of signal interference. For each working channel corresponding to the second working frequency band in the working channel list of the second computer, the second computer can determine the signal interference degree of the working channel. Then, the second computer can use the working channel with the minimum signal interference degree as a second working channel. The signal interference level may be determined according to the signal receiving strength, that is, the stronger the signal receiving strength, the smaller the signal interference level. Therefore, the occurrence of the condition that the data transmission is influenced due to the fact that the signal interference is large can be reduced, and the data transmission rate is ensured.
In another example, the quality of the operating channel is indicated by the number of hot spots and the degree of signal interference. For each working channel corresponding to the second working frequency band in the working channel list of the second computer, the second computer can determine the signal interference degree and the hot spot number of the working channel. Then, the second computer may calculate a quality value of the working channel according to e=w1×r+w2×s, where w1 represents a first preset weight, w2 represents a second preset weight, R represents a signal interference level corresponding to the working channel, S represents a number of hot spots in the working channel, and E represents a quality value of the working channel. The smaller the quality value of the working channel, the higher the quality of the working channel. Then, the second computer can use the working channel with the minimum quality value as the first working channel.
It is understood that the second computer may send the second target information to the first computer by means of bluetooth communication. And then, the first computer can be connected with the second computer on a second working channel by WIFI under the condition of receiving the second target information, so that the establishment of the second WIFI connection is completed.
The process of establishing the second WIFI connection with the second computer based on the second target information is similar to the process of establishing the first WIFI connection with the first computer based on the first target information, that is, the second WIFI connection may be established based on a WIFI connection manner between the wireless access point and other devices, or may be established based on the WIFI point-to-point connection manner, which is not described herein.
In some embodiments, in order to improve the efficiency and the success rate of the establishment of the first WIFI connection and the second WIFI connection, the two roles corresponding to the first WIFI connection may be the station and the legacy access point, and the two roles corresponding to the second WIFI connection may also be the station and the legacy access point. That is, both the first WIFI connection and the second WIFI connection may be established based on a connection manner of the wireless access point.
S1009, the first computer is connected to the second computer through the first WIFI connection and the second WIFI connection, and transmits data to the second computer.
For example, after the first WIFI connection and the second WIFI connection are established, data may be transmitted between the first computer and the second computer through the first WIFI connection and the second WIFI connection, respectively. The first WIFI connection and the second WIFI connection both use two antennas to transmit data, for example, when the first computer uses the first WIFI connection to transmit data, the first antenna and the second antenna in the first computer can be adopted to transmit data, and when the first computer uses the second WIFI connection to transmit data, the third antenna and the fourth antenna in the first computer can be adopted to transmit data.
Specifically, when the first computer sends data to the second computer based on the first WIFI connection, the first computer transmits data signals through the two antennas, and when the second computer receives the data signals, the second computer can receive the data signals through the two antennas. The first computer is connected based on the second WIFI, when the first computer sends data to the second computer, the first computer also transmits data signals through the two antennas, and when the second computer receives the data signals, the data signals can be received through the two antennas. Similarly, the first computer receives the data signal through the two antennas when receiving the data sent by the second computer based on the first WIFI connection. The first computer is connected based on the second WIFI, and when receiving data sent by the second computer, the first computer also receives data signals through the two antennas, so that data transmission of the double antennas of the double WIFI connection is realized, and the data transmission efficiency can be effectively improved.
It should be noted that, the first computer/second computer may be connected based on the first WIFI, the two antennas that transmit the data signal and the two antennas that receive the data signal may be the same two antennas (e.g., the first antenna and the second antenna), or may be different two antennas, and similarly, the first computer/second computer may be connected based on the second WIFI, the two antennas that transmit the data signal and the two antennas that receive the data signal may be the same two antennas (e.g., the third antenna and the fourth antenna), or may be different two antennas.
For example, the working frequency band corresponding to the first WIFI connection is 5GHz, and the working frequency band corresponding to the second WIFI connection is 2.4GHz, and as can be seen from the above table 1, the transmission rate corresponding to the data transmission of the first computer and the second computer is 1774.5Mbps through the MIMO method, and compared with the transmission rate corresponding to the data transmission of the first WIFI connection only, the data transmission of the second WIFI connection only, and the data transmission of the first WIFI connection and the second WIFI connection only, the transmission rate corresponding to the data transmission of the SISO method is higher. Therefore, data transmission rate can be improved, rapid data transmission is realized, and user experience is improved through the dual WIFI connection and concurrent multiplexing of the antennas.
In some embodiments, as shown in fig. 14, the second computer may establish a bluetooth connection with the first computer. Then, the first computer can send the concurrent frequency band list of the first computer to the second computer based on the Bluetooth connection. The second computer may send a list of concurrent segments of the second computer to the first computer based on the bluetooth connection. Then, the first computer may create a role (i.e., the first role) of the first working frequency band in the target concurrent frequency band corresponding to the first computer as a conventional access point. The second computer may create the role of the first operating band (i.e., the second role) corresponding to the second computer as a site. After that, the first computer and the second computer can establish a first WIFI connection in the first working frequency band so as to establish the first WIFI connection. Under the condition that the first WIFI connection is successfully established, the second computer can send prompt information to the first computer, and the second computer can establish the role of the second computer (namely the fourth role) on the second working frequency band as a traditional access point. And the first computer responds to the prompt information, and creates the role (namely the third role) of the second working frequency band corresponding to the first computer as a site. And then, the first computer and the second computer can establish a second WIFI connection in a second working frequency band so as to establish a second WIFI connection. Therefore, data are transmitted between the first computer and the second computer in a double WIFI connection mode, so that rapid data transmission is realized, data transmission time is shortened, the transmission rate of a wireless network is improved, and the use experience of a user is improved. In addition, as the first computer establishes twice WIFI connection with the second computer respectively in the roles of the traditional access point and the site, the port limit of the windows system is overcome, and the situation that the four-stream dual-frequency concurrent high-speed transmission performance of the WIFI chip cannot be fully utilized by single WIFI connection transmission is avoided.
The present application also provides a computer storage medium including computer instructions which, when executed on the electronic device, cause the electronic device to perform the functions or steps performed by the first computer or the second computer in the above embodiments.
Embodiments of the present application also provide a computer program product that, when executed on an electronic device, causes the electronic device to perform the functions or steps performed by the first computer or the second computer in the above embodiments.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A data transmission method, comprising:
responding to a first operation, and establishing a first WIFI connection with a second device with a second role by the first device according to a first role based on a first working frequency band in a target concurrent frequency band; the first operation is used for triggering the first equipment and the second equipment to carry out data transmission; the target concurrent frequency band represents two working frequency bands supported by the first device and the second device; the first role is one role of a station STA, a traditional access point Legacy AP and a group owner Go, the second role is relative to the first role, and the relative relationship indicates that in the case that the role of one of two devices is Legacy AP or Go, the role of the other device is STA;
the first device establishes a second WIFI connection with a second device with a fourth role based on a second working frequency band in the target concurrent frequency band by a third role; the third role is one role of STA, legacy AP and Go, the third role is relative to the fourth role, one role of the first role and the third role is STA, and one role of the second role and the fourth role is STA;
The first device adopts a first antenna and a second antenna in the first device to transmit data with the second device based on the first WIFI connection; the first antenna and the second antenna are different;
the first device adopts a third antenna and a fourth antenna in the first device to transmit data with the second device based on the second WIFI connection; the third antenna and the fourth antenna are different.
2. The method of claim 1, wherein before the first device establishes a first WIFI connection with a second device having a role as a second role in a first role based on a first operating band in a target concurrent band, the method further comprises:
the first device acquires a second concurrent frequency band list of the second device; the second concurrent segment comprises at least one concurrent segment supported by the second device;
the first device determines the same concurrent frequency band from a first concurrent frequency band list and a second concurrent frequency band list of the first device, and the target concurrent frequency band is obtained; the first list of concurrent segments includes at least one concurrent segment supported by the first device.
3. The method of claim 2, wherein the first device determining the same concurrent frequency band from a first concurrent frequency band list and the second concurrent frequency band list of the first device, to obtain the target concurrent frequency band, comprises:
the first device determines the same concurrent frequency band from the first concurrent frequency band list and the second concurrent frequency band list;
under the condition that the number of the same concurrent frequency bands is larger than 1, the first equipment acquires standard transmission rates corresponding to all concurrent frequency bands in the same concurrent frequency bands;
and the first device takes the concurrency frequency band with the highest standard transmission rate as the target concurrency frequency band.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
the first device establishes a first communication connection with the second device;
the first device receives the second concurrent frequency band list sent by the second device based on the first communication connection.
5. A method according to any one of claims 1 to 3, wherein the first device establishes a first WIFI connection with a second device having a second role in a first role based on a first operating band in a target concurrent band, comprising:
And the first device establishes the first WIFI connection with the second device with the second role on the target working channel corresponding to the first working frequency band by the first role, wherein the target working channel corresponding to the first working frequency band represents the channel with the highest quality in the channel range corresponding to the first working frequency band, and the quality comprises the interference degree of the channel and/or the number of hot spots in the channel.
6. A method according to any one of claims 1 to 3, wherein the first operation is for triggering the first device to perform one of the following data transmission operations: a swap cloning operation, a data migration operation and a file sharing operation.
7. A method according to any one of claims 1 to 3, wherein the third antenna and the first antenna are identical and the fourth antenna and the second antenna are identical.
8. A method according to any one of claims 1 to 3, wherein the first device establishes a second WIFI connection with a second device having a fourth role in a third role based on a second operating band of the target concurrent band, comprising:
the first device receives prompt information sent by the second device, wherein the prompt information is sent by the second device under the condition that the first WIFI connection is successfully established;
And the first device responds to the prompt information and establishes the second WIFI connection with the second device based on the second working frequency band in the third role.
9. A method according to any one of claims 1 to 3, wherein the first WIFI connection is connected by a point-to-point connection or by a wireless access point connection; the second WIFI connection is connected in the point-to-point connection mode or the wireless access point connection mode; the wireless access point connection mode comprises a scanning stage, an authentication stage, an association stage and a four-way handshake stage, and the point-to-point connection mode comprises one or more of a point-to-point discovery process, a point-to-point Go negotiation process and a two-time WIFI connection process.
10. An electronic device, wherein the electronic device is a first device, the electronic device comprising a display screen, a memory, a bluetooth module, a WIFI module, a plurality of antennas, and one or more processors; the display screen, the memory, the Bluetooth module, the WIFI module, the plurality of antennas and the processor are coupled; the Bluetooth module is used for Bluetooth communication, the WIFI module is used for WIFI communication, the display screen is used for displaying images generated by the processor, the plurality of antennas are used for transmitting and/or receiving data signals, the memory is used for storing computer program codes, and the computer program codes comprise computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method of any one of claims 1 to 9.
11. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 9.
CN202310398668.5A 2023-04-14 2023-04-14 Data transmission method and electronic equipment Active CN116133161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310398668.5A CN116133161B (en) 2023-04-14 2023-04-14 Data transmission method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310398668.5A CN116133161B (en) 2023-04-14 2023-04-14 Data transmission method and electronic equipment

Publications (2)

Publication Number Publication Date
CN116133161A true CN116133161A (en) 2023-05-16
CN116133161B CN116133161B (en) 2023-08-22

Family

ID=86312103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310398668.5A Active CN116133161B (en) 2023-04-14 2023-04-14 Data transmission method and electronic equipment

Country Status (1)

Country Link
CN (1) CN116133161B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100294232A1 (en) * 2009-05-22 2010-11-25 Lars Otterstrom Internal combustion engine
CN102474344A (en) * 2009-07-15 2012-05-23 Lg电子株式会社 System and method for cognitive radio transmission
CN102496773A (en) * 2011-10-31 2012-06-13 青岛海信移动通信技术股份有限公司 Method capable of improving efficiency of mobile communication antenna and mobile communication terminal
CN103108414A (en) * 2013-01-07 2013-05-15 华为终端有限公司 Mobile terminal and signal processing method of mobile terminal
CN104284444A (en) * 2013-07-09 2015-01-14 中兴通讯股份有限公司 Communication method, coordination device and network for multi-frequency-band wireless communication
CN104869644A (en) * 2014-02-21 2015-08-26 华为技术有限公司 Data transmission method and devices
WO2016019840A1 (en) * 2014-08-07 2016-02-11 华为技术有限公司 Dual-frequency self-adaptive concurrency processing method and apparatus
CN105592504A (en) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 Multi-wifi module transmission method, transmission device and terminal
CN105764156A (en) * 2016-01-30 2016-07-13 努比亚技术有限公司 Two-way Wi-Fi mobile terminal
CN105848231A (en) * 2015-01-14 2016-08-10 中兴通讯股份有限公司 WIFI (Wireless Fidelity) device and working method and device of WIFI chips in the WIFI device
CN106102098A (en) * 2016-05-27 2016-11-09 华为技术有限公司 A kind of method and device accessing WIFI network
CN106410372A (en) * 2016-09-29 2017-02-15 努比亚技术有限公司 Mobile terminal and communication processing method thereof
CN106714333A (en) * 2016-11-14 2017-05-24 广东欧珀移动通信有限公司 Data migration method and terminal
CN109640310A (en) * 2019-02-12 2019-04-16 Oppo广东移动通信有限公司 Data transfer control method and Related product
US20200015047A1 (en) * 2017-03-16 2020-01-09 Ranplan Wireless Network Design Limited Wifi multi-band fingerprint-based indoor positioning
CN112291862A (en) * 2020-10-27 2021-01-29 中兴通讯股份有限公司 Method for establishing connection between terminal devices and terminal devices
US20210084703A1 (en) * 2018-01-02 2021-03-18 China Mobile Communication Co., Ltd Research Institute Configuration system, client device, embedded device configuration method, and storage medium
CN114390501A (en) * 2022-03-22 2022-04-22 荣耀终端有限公司 Data transmission method and electronic equipment
CN114531742A (en) * 2020-10-30 2022-05-24 荣耀终端有限公司 Dual Wi-Fi connection method and electronic equipment
WO2022179675A1 (en) * 2021-02-23 2022-09-01 Huawei Technologies Co., Ltd. Method and apparatus for link operation of multi-link device

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100294232A1 (en) * 2009-05-22 2010-11-25 Lars Otterstrom Internal combustion engine
CN102474344A (en) * 2009-07-15 2012-05-23 Lg电子株式会社 System and method for cognitive radio transmission
CN102496773A (en) * 2011-10-31 2012-06-13 青岛海信移动通信技术股份有限公司 Method capable of improving efficiency of mobile communication antenna and mobile communication terminal
CN103108414A (en) * 2013-01-07 2013-05-15 华为终端有限公司 Mobile terminal and signal processing method of mobile terminal
CN104284444A (en) * 2013-07-09 2015-01-14 中兴通讯股份有限公司 Communication method, coordination device and network for multi-frequency-band wireless communication
CN104869644A (en) * 2014-02-21 2015-08-26 华为技术有限公司 Data transmission method and devices
WO2016019840A1 (en) * 2014-08-07 2016-02-11 华为技术有限公司 Dual-frequency self-adaptive concurrency processing method and apparatus
CN105592504A (en) * 2014-10-23 2016-05-18 东莞宇龙通信科技有限公司 Multi-wifi module transmission method, transmission device and terminal
CN105848231A (en) * 2015-01-14 2016-08-10 中兴通讯股份有限公司 WIFI (Wireless Fidelity) device and working method and device of WIFI chips in the WIFI device
CN105764156A (en) * 2016-01-30 2016-07-13 努比亚技术有限公司 Two-way Wi-Fi mobile terminal
CN106102098A (en) * 2016-05-27 2016-11-09 华为技术有限公司 A kind of method and device accessing WIFI network
CN106410372A (en) * 2016-09-29 2017-02-15 努比亚技术有限公司 Mobile terminal and communication processing method thereof
CN106714333A (en) * 2016-11-14 2017-05-24 广东欧珀移动通信有限公司 Data migration method and terminal
US20200015047A1 (en) * 2017-03-16 2020-01-09 Ranplan Wireless Network Design Limited Wifi multi-band fingerprint-based indoor positioning
US20210084703A1 (en) * 2018-01-02 2021-03-18 China Mobile Communication Co., Ltd Research Institute Configuration system, client device, embedded device configuration method, and storage medium
CN109640310A (en) * 2019-02-12 2019-04-16 Oppo广东移动通信有限公司 Data transfer control method and Related product
CN112291862A (en) * 2020-10-27 2021-01-29 中兴通讯股份有限公司 Method for establishing connection between terminal devices and terminal devices
CN114531742A (en) * 2020-10-30 2022-05-24 荣耀终端有限公司 Dual Wi-Fi connection method and electronic equipment
WO2022179675A1 (en) * 2021-02-23 2022-09-01 Huawei Technologies Co., Ltd. Method and apparatus for link operation of multi-link device
CN114390501A (en) * 2022-03-22 2022-04-22 荣耀终端有限公司 Data transmission method and electronic equipment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
"\"WBA Community Wi-Fi white paper final version - 22September2014\"", 3GPP TSG_CT\\TSG_CT *
ERIC LU: "10.4 A 4×4 Dual-Band Dual-Concurrent WiFi 802.11ax Transceiver with Integrated LNA, PA and T/R Switch Achieving +20dBm 1024-QAM MCS11 Pout and −43dB EVM Floor in 55nm CMOS", 《IEEE》 *
侯伟: "无线局域网技术在校园网建设中的应用", 《信息与电脑(理论版)》 *
周强强: "终端共体MIMO天线", 《中国优秀硕士学位论文全文数据库》 *
沈晓峰: "基于2.4G无线传输的人机交互智能遥控器设计", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN116133161B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN105792184B (en) Terminal and communication method
EP3979571A1 (en) Method for controlling device and terminal
US10827560B2 (en) Dual-mode low-power wide-area network chip, method for data transmission, and terminal
JP4653740B2 (en) Method, electronic device and computer program product for transmitting data stored in electronic device in the absence of subscriber verification module
CN113891452B (en) Frequency band control method under double-card terminal abnormal scene and terminal equipment
US11399273B2 (en) Multiple SIM card operation of an electronic device
CN112654074B (en) Wi-Fi P2P connection method, electronic equipment and computer-readable storage medium
CN112788783B (en) Relay connection establishment method and device
CN114697929A (en) Connection establishing method and electronic equipment
CN113038627B (en) File sharing method, mobile device and computer storage medium
EP4102927A1 (en) Dual wifi connection method and electronic device
CN116133161B (en) Data transmission method and electronic equipment
CN116997029A (en) Wireless network access method, wireless network access device, communication equipment and storage medium
WO2022161071A1 (en) Group member or friend adding method, and electronic device
CN113114798B (en) Method for acquiring Internet protocol IP address and electronic equipment
CN113473453B (en) Method and device for establishing network connection
CN114731510A (en) Method and device for transmitting terminal capability and readable storage medium
US20220400050A1 (en) Port configuration method and device
CN116982326A (en) Method and device for determining edge configuration server
CN114844974B (en) Method for sharing address book, mobile device, electronic device and communication system
US12035413B2 (en) Multiple SIM card operation of an electronic device
US20240147223A1 (en) Remote configuration method of user equipment, and method for determining remote configuration mode
WO2023212934A1 (en) Relay communication method, access method, apparatus, and device
WO2023155073A1 (en) Cell access control method and apparatus, and storage medium
WO2023092362A1 (en) Method and apparatus for determining duration unit of monitoring capability, and storage medium

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