CN112566086A - Data transmission method and device, electronic equipment and readable storage medium - Google Patents

Data transmission method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112566086A
CN112566086A CN202011419174.3A CN202011419174A CN112566086A CN 112566086 A CN112566086 A CN 112566086A CN 202011419174 A CN202011419174 A CN 202011419174A CN 112566086 A CN112566086 A CN 112566086A
Authority
CN
China
Prior art keywords
radio frequency
frequency link
state
wifi
access point
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.)
Pending
Application number
CN202011419174.3A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011419174.3A priority Critical patent/CN112566086A/en
Publication of CN112566086A publication Critical patent/CN112566086A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The application discloses a data transmission method, a data transmission device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps that in the starting process of the electronic equipment, the power of a WiFi signal corresponding to a radio frequency link received by the electronic equipment is obtained, the state of the radio frequency link is determined according to the power of the WiFi signal corresponding to the radio frequency link, under the condition that the state of one preset radio frequency link in two radio frequency links of a target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the access point is accessed through the preset radio frequency link of the target frequency band, and data transmission is carried out between the access point and the preset radio frequency link in a SISO mode. The problem that in the prior art, under the condition that the state of one preset radio frequency link in two radio frequency links of a target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the WiFi of a user is always switched between a SISO mode and a MIMO mode to cause WiFi network fluctuation due to the fact that the MIMO mode and the access point are adopted for data transmission is solved.

Description

Data transmission method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a data transmission method and device, electronic equipment and a readable storage medium.
Background
With the rapid development of communication technology, electronic devices (such as smart phones) are not single-system communication tools. Modern smart phones basically support mobile networks and short-distance communication modes (such as wireless networks WiFi), and for short-distance communication, in order to obtain better communication effect, Multiple Input Multiple Output (MIMO) technology is also applied to WiFi communication technology.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: although the WiFi frequency band of the electronic device supports the MIMO technology at present, in an actual use process of a user, no matter an Access Point works in a 2.4G wireless frequency band or a 5G wireless frequency band, when the electronic device is connected to the Access Point through the WiFi technology, the electronic device can only Access to an Access Point (AP) in a Single Input Single Output (SISO) mode, for example, when the Access Point works in the 2.4G wireless frequency band, the electronic device defaults to perform handshake connection with the Access Point through a radio frequency link 0(chain0) of the 2.4G wireless frequency band, and when the Access Point works in the 5G wireless frequency band, the electronic device defaults to perform handshake connection with the Access Point through a radio frequency link 1(chain 1) of the 5G wireless frequency band. If the handshake process has a good signal, the electronic device and the access point perform data transmission in the MIMO mode, however, if the 2.4G rf link 1 fails or the 5G rf link 0 fails, the electronic device may not receive a part of data sent by the access point, the electronic device may switch back to the SISO mode for data transmission, and after the electronic device is in the SISO mode for a period of time, the electronic device and the access point may perform data transmission in the MIMO mode, so that the WiFi of the user is always switched between the SISO mode and the MIMO mode, resulting in a problem of WiFi network fluctuation.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data transmission method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem in the prior art that if a handshake process between the electronic device and an access point is good, the electronic device and the access point perform data transmission in an MIMO mode, however, if a 2.4G radio frequency link 1 fails or a 5G radio frequency link 0 fails, the electronic device cannot receive a part of data sent by the access point, the electronic device switches back to the SISO mode for data transmission, and after the electronic device is in the SISO mode for a period of time, the electronic device and the access point perform data transmission in the MIMO mode, so that WiFi of a user is always switched between the SISO mode and the MIMO mode, and a WiFi network fluctuates.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a data transmission method, where the method includes:
in the starting process of electronic equipment, acquiring the power of a WiFi signal corresponding to a radio frequency link received by the electronic equipment, wherein the WiFi signal is sent by a WiFi module of the electronic equipment through the radio frequency link of a target frequency band;
determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link;
and under the condition that the state of a preset radio frequency link in the two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, accessing to an access point through the preset radio frequency link, and performing data transmission with the access point by adopting a single-input single-output SISO mode.
In a second aspect, an embodiment of the present application provides a data transmission apparatus, including;
the device comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring the power of a WiFi signal corresponding to a radio frequency link received by electronic equipment in the starting process of the electronic equipment, and the WiFi signal is sent by the WiFi module of the electronic equipment through the radio frequency link of a target frequency band;
the first determining module is used for determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link;
and the transmission module is used for accessing to an access point through a preset radio frequency link under the condition that the state of one preset radio frequency link in the two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, and performing data transmission with the access point by adopting a single-input single-output SISO mode.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the process of starting up the electronic device, the power of a WiFi signal corresponding to a radio frequency link received by the electronic device is obtained, wherein the WiFi signal is sent by a WiFi module of the electronic device through the radio frequency link of a target frequency band, the state of the radio frequency link is determined according to the power of the WiFi signal corresponding to the radio frequency link, and when the state of one preset radio frequency link of two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the access point is accessed through the preset radio frequency link of the target frequency band, and data transmission is performed with the access point in a SISO mode. The problem that in the prior art, under the condition that the state of one preset radio frequency link in two radio frequency links of a target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the data transmission is still carried out by adopting an MIMO mode and an access point, so that WiFi of a user is always switched between a SISO mode and a MIMO mode, and WiFi network fluctuation is caused is solved.
Drawings
Fig. 1 is a flowchart illustrating steps of a data transmission method for an application icon provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of another method for transmitting data of an application icon provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data transmission device provided in an embodiment of the present application;
fig. 5 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The data transmission method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a data transmission method for an application icon provided in an embodiment of the present application, where the method may include the following steps:
step 101, in the process of starting up the electronic device, acquiring power of a WiFi signal corresponding to a radio frequency link received by the electronic device, wherein the WiFi signal is transmitted by a WiFi module of the electronic device through the radio frequency link of a target frequency band.
Here, the method provided by the embodiment is introduced with reference to fig. 2, and with reference to fig. 2, fig. 2 is a schematic structural diagram of an electronic device provided in the embodiment of the present application, where the electronic device includes a WiFi module, a radio frequency module, a modem module, and a processor of the electronic device, and in a process of starting up the electronic device, the WiFi module of the electronic device sends a WiFi signal through a radio frequency link of a target frequency band, where the target frequency band may be a 2.4G radio frequency band or a 5G radio frequency band. If the electronic device only supports 2.4G WiFi, the target frequency band is a 2.4G wireless frequency band, the radio frequency link of the 2.4G wireless frequency band includes a radio frequency link 0(chain0) and a radio frequency link 1(chain 1) of 2.4G WiFi, and the WiFi module of the electronic device may sequentially transmit a WiFi signal through the radio frequency link 0 of the 2.4G WiFi and transmit a WiFi signal through the radio frequency link 1 of the 2.4G WiFi. If the electronic device only supports 5G WiFi, the target frequency band is a 5G wireless frequency band, the radio frequency link of the 5G wireless frequency band comprises a radio frequency link 0(chain0) and a radio frequency link 1(chain 1) of the 5G WiFi, and the WiFi module of the electronic device sequentially transmits WiFi signals through the radio frequency link 0 of the 5G WiFi and transmits WiFi signals through the radio frequency link 1 of the 5G WiFi. If the electronic device supports 2.4G WiFi and 5G WiFi, the target frequency band includes a target frequency band 1 and a target frequency band 2, the target frequency band 1 may be a 2.4G wireless frequency band, and the target frequency band 2 is a 5G wireless frequency band, and the electronic device sequentially transmits a WiFi signal through a radio link 0(chain0) of 2.4G WiFi, a radio link 1(chain 1) of 2.4G WiFi, a radio link 0(chain0) of 5G WiFi, and a radio link 1(chain 1) of 5G WiFi.
As shown in fig. 2, after the electronic device sends a WiFi signal through a radio frequency link of a certain wireless frequency band, a radio frequency module of the electronic device may receive the WiFi signal sent by the radio frequency link, and obtain power of the WiFi signal sent by the radio frequency link through a modulation and demodulation module. It should be noted that, in the process of starting up the electronic device, only one radio frequency link is used to transmit a WiFi signal at a time, and the sequence of transmitting WiFi signals by the radio frequency link is fixed, and if the electronic device does not receive a WiFi signal within a preset time, it may be determined that a certain radio frequency link fails.
And 102, determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link.
Taking the example that the electronic device supports 2.4G WiFi and 5G WiFi, a WiFi module of the electronic device sequentially sends a WiFi signal through a radio frequency link 0(chain0) of 2.4G WiFi, a radio frequency link 1(chain 1) of 2.4G WiFi, a radio frequency link 0(chain0) of 5G WiFi, and a radio frequency link 1(chain 1) of 5G WiFi, if the radio frequency module shown in fig. 2 receives a WiFi signal corresponding to the radio frequency link 0 of 2.4G WiFi, the modulation and demodulation module demodulates the power of the WiFi signal corresponding to the radio frequency link 0 of 2.4G WiFi and is greater than or equal to a preset threshold value, the state of the 2.4G WiFi radio frequency link 0 is identified by the identifier 1, the state identifier 1 of the 2.4G WiFi radio frequency link 0 is sent to the WiFi module through the processor, and the WiFi module can determine that the state of the 2.4G WiFi radio frequency link 0 is a normal state according to the state identifier 1 of the 2.4G WiFi radio frequency link 0; if the power of the WiFi signal corresponding to the radio frequency link 0 of the 2.4G WiFi is smaller than the preset threshold value, the state of the radio frequency link 1 of the 2.4G WiFi is identified by 0, the state identification 0 of the radio frequency link 1 of the 2.4G WiFi is sent to the WiFi module through the processor, and the WiFi module can determine that the state of the radio frequency link 0 of the 2.4G WiFi is an abnormal state according to the state identification 0 of the radio frequency link 1 of the 2.4G WiFi. Similarly, if the power of the WiFi signal corresponding to the radio frequency link 1 of the 2.4G WiFi is greater than or equal to the preset threshold, the WiFi module determines that the state of the radio frequency link 1 of the 2.4G WiFi is a normal state; if the power of the WiFi signal corresponding to the radio frequency link 1 of the 2.4G WiFi is smaller than the preset threshold, the WiFi module determines that the state of the radio frequency link 1 of the 2.4G WiFi is an abnormal state. Likewise, the WiFi module may determine the status of radio link 0 for 5G WiFi and the status of radio link 1 for 5G WiFi.
And 103, accessing the access point through a preset radio frequency link under the condition that the state of a preset radio frequency link in two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, and performing data transmission with the access point by adopting a single-input single-output SISO mode.
With reference to the foregoing example, for the target frequency band 1, one of the two radio frequency links of the target frequency band 1 is preset to be the radio frequency link 0 of 2.4G WiFi; for the target frequency band 2, one of the two radio frequency links of the target frequency band 2 is a radio frequency link 1 of 5G WiFi. In the prior art, for an electronic device supporting 2.4G WiFi, during a boot process of the electronic device, an access point is accessed through a radio frequency link 0 of the 2.4G WiFi, and data transmission is performed between an MIMO mode and the access point after the access point is accessed, however, if a radio frequency link 1 of the 2.4G WiFi fails, the electronic device may not receive a part of data sent by the access point, the electronic device may switch back to the SISO mode for data transmission, and after the electronic device is in the SISO mode for a period of time, the electronic device and the access point may perform data transmission in the MIMO mode, which causes the WiFi of a user to switch between the SISO mode and the MIMO mode all the time, and causes a problem of WiFi network fluctuation. For the electronic device supporting 5G WiFi, in the process of starting up the electronic device, the electronic device accesses to the access point through the radio frequency link 1 of 5G WiFi, and after accessing to the access point, data transmission is performed between the MIMO mode and the access point, however, if the radio frequency link 0 of 5G is failed, similar to the electronic device supporting 2.4G WiFi, the WiFi of the user is always switched between the SISO mode and the MIMO mode, which causes the problem of WiFi network fluctuation.
In this embodiment, when the state of the radio frequency link 0 of the target frequency band 1 is a normal state and the state of the radio frequency link 1 of the target frequency band 1 is an abnormal state, the WiFi module accesses the access point through a preset radio frequency link (i.e., the radio frequency link 0 of the target frequency band 1) of the target frequency band 1, and performs data transmission with the access point in the SISO mode. When the state of the radio frequency link 0 of the target frequency band 2 is an abnormal state and the state of the radio frequency link 1 of the target frequency band 2 is a normal state, the access point is accessed through a preset radio frequency link (i.e., the radio frequency link 1 of the target frequency band 2) of the target frequency band 2, and the WiFi module shown in fig. 2 of the electronic device performs data transmission with the access point in a SISO mode. Therefore, the problem that WiFi network fluctuation is caused because WiFi of a user is always switched between a SISO mode and a MIMO mode when a MIMO mode and an access point are adopted for data transmission under the condition that the state of a preset radio frequency link of a target frequency band is a normal state and the state of the other radio frequency link of the target frequency band is an abnormal state can be solved.
In the data transmission method provided in this embodiment, in a process of starting up the electronic device, power of a WiFi signal corresponding to a radio frequency link received by the electronic device is obtained, where the WiFi signal is sent by a WiFi module of the electronic device through the radio frequency link of a target frequency band, a state of the radio frequency link is determined according to the power of the WiFi signal corresponding to the radio frequency link, and when a state of a preset radio frequency link of two radio frequency links of the target frequency band is a normal state and a state of the other radio frequency link is an abnormal state, the access point is accessed through the preset radio frequency link of the target frequency band, and data transmission is performed with the access point in a SISO mode. The problem that in the prior art, under the condition that the state of one preset radio frequency link in two radio frequency links of a target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the data transmission is still carried out by adopting an MIMO mode and an access point, so that WiFi of a user is always switched between a SISO mode and a MIMO mode, and WiFi network fluctuation is caused is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of another data transmission method for an application icon provided in an embodiment of the present application, where the method may include the following steps:
step 301, in the process of starting up the electronic device, obtaining power of a WiFi signal corresponding to a radio frequency link received by the electronic device, where the WiFi signal is sent by a WiFi module of the electronic device through the radio frequency link of the target frequency band.
Step 302, determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link.
Determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link can be implemented as follows:
determining the state of the radio frequency link to be a normal state under the condition that the power of the WiFi signal corresponding to the radio frequency link is greater than or equal to a preset threshold value;
and under the condition that the power of the WiFi signal corresponding to the radio frequency link is smaller than a preset threshold value, determining that the state of the radio frequency link is an abnormal state.
It should be noted that the preset threshold is determined according to the insertion loss of the rf front-end device of the electronic device, the antenna isolation of the WiFi antenna of the electronic device, and the preset target transmission power of the WiFi antenna.
For example, the preset target transmission power of the WiFi antenna is 18dbm, the antenna isolation of the WiFi antenna is 15 decibels (15db), the insertion loss of the radio frequency device is 10db, and the power reaching the radio frequency module can reach 18dbm-15db-10db ═ 7 dbm. In the field of communications, the industry dictates that the transmit power of an antenna be 18dbm, but in practice, the transmit power of an antenna may fluctuate around 18dbm, and thus the power reaching the radio frequency module may fluctuate around-7 dbm, leaving a certain margin, and thus the preset threshold may be set to-10 dbm.
And 303, accessing to the access point through the preset radio frequency link under the condition that the states of the two radio frequency links are both normal states, and performing data transmission with the access point by adopting a multiple-input multiple-output (MIMO) mode.
For example, if the state of the radio frequency link 0 and the state of the radio frequency link 1 of the target frequency band 1 are both normal states when the target frequency band is the target frequency band 1, the access point may be accessed through the radio frequency link 0 of the target frequency band 1, and since the state of the radio frequency link 0 and the state of the radio frequency link 1 of the target frequency band 1 are both normal states, it means that neither the radio frequency link 0 nor the radio frequency link 1 of the target frequency band 1 has a failure, and data transmission between the MIMO mode and the access point may be performed. Under the condition that the target frequency band is the target frequency band 2, if the state of the radio frequency link 0 of the target frequency band 2 and the state of the radio frequency link 1 are both normal states, the access point can be accessed through the radio frequency link 1 of the target frequency band 2, and since the state of the radio frequency link 0 of the target frequency band 2 and the state of the radio frequency link 1 are both normal states, it means that neither the radio frequency link 0 of the target frequency band 2 nor the radio frequency link 1 has a fault, and data transmission between the MIMO mode and the access point can be performed.
And step 304, when the state of one preset radio frequency link in the two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, accessing the access point through the preset radio frequency link, and performing data transmission with the access point in a single-input single-output SISO mode.
For example, when the target frequency band is the target frequency band 1, if the state of the preset radio frequency link of the target frequency band 1 (the preset radio frequency link of the target frequency band 1 is the radio frequency link 0 of the target frequency band 1) is a normal state, and the state of the other radio frequency link 1 of the target frequency band 1 is an abnormal state, the access point is accessed through the radio frequency link 0 of the target frequency band 1, and data transmission is performed with the access point in the SISO mode. When the target frequency band is the target frequency band 2, if the state of the preset radio frequency link of the target frequency band 2 (the preset radio frequency link of the target frequency band 2 is the radio frequency link 1 of the target frequency band 2) is a normal state, and the state of the other radio frequency link 0 of the target frequency band 2 is an abnormal state, accessing to the access point through the radio frequency link 1 of the target frequency band 1, and performing data transmission with the access point in a SISO mode.
And 305, accessing the access point through the other radio frequency link under the condition that the state of the preset radio frequency link is an abnormal state and the state of the other radio frequency link is a normal state, and performing data transmission with the access point by adopting a SISO mode.
For example, when the target frequency band is the target frequency band 1, if the state of the preset radio frequency link of the target frequency band 1 (the preset radio frequency link of the target frequency band 1 is the radio frequency link 0 of the target frequency band 1) is an abnormal state, and the state of the radio frequency link 1 of the target frequency band 1 is a normal state, the access point is accessed through the radio frequency link 1 of the target frequency band 1, and data transmission is performed with the access point in the SISO mode.
When the target frequency band is the target frequency band 2, if the state of the preset radio frequency link of the target frequency band 2 (the preset radio frequency link of the target frequency band 2 is the radio frequency link 1 of the target frequency band 2) is an abnormal state, and the state of the radio frequency link 0 of the target frequency band 2 is a normal state, the radio frequency link 0 of the target frequency band 1 is accessed to the access point, and a SISO mode is adopted for data transmission with the access point.
In the prior art, for the electronic equipment supporting 2.4G WiFi, the electronic equipment is accessed to an access point by default through a radio frequency link 0 of a 2.4 wireless frequency band; for an electronic device supporting 5G WiFi, the electronic device is accessed to an access point through a radio frequency link 1 of a 5 wireless frequency band by default. Therefore, if the radio frequency link 0 of the 2.4G wireless frequency band fails, the radio frequency link 1 of the 2.4G wireless frequency band does not fail; or, if the radio frequency link 1 in the 5G wireless band fails and the radio frequency link 0 in the 2.4G wireless band does not fail, the electronic device may not access the access point although the received signal is strong. In this embodiment, when the state of the radio frequency link 0 of the target frequency band 1 is an abnormal state and the state of the radio frequency link 1 of the target frequency band 1 is a normal state, the access point is accessed through the radio frequency link 1 of the target frequency band 1, and when the state of the radio frequency link 1 of the target frequency band 2 is an abnormal state and the state of the radio frequency link 0 of the target frequency band 2 is a normal state, the access point is accessed through the radio frequency link 0 of the target frequency band 2. Therefore, the problem that the electronic equipment cannot access the access point under the condition that the preset radio frequency link of the target frequency band fails but the other radio frequency link fails in the prior art can be solved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data transmission device provided in an embodiment of the present application, where the data transmission device 400 includes:
an obtaining module 410, configured to obtain, during a power-on process of an electronic device, power of a WiFi signal corresponding to a radio frequency link received by the electronic device, where the WiFi signal is sent by a WiFi module of the electronic device through the radio frequency link of a target frequency band;
a determining module 420, configured to determine a state of the radio frequency link according to a power of a WiFi signal corresponding to the radio frequency link;
a transmission module 430, configured to access to an access point through a preset radio frequency link when a state of a preset radio frequency link in two radio frequency links of the target frequency band is a normal state and a state of the other radio frequency link is an abnormal state, and perform data transmission with the access point in a single-input single-output SISO mode.
In the data transmission apparatus provided in this embodiment, in a process of starting up an electronic device, power of a WiFi signal corresponding to a radio frequency link received by the electronic device is obtained, where the WiFi signal is sent by a WiFi module of the electronic device through the radio frequency link of a target frequency band, a state of the radio frequency link is determined according to the power of the WiFi signal corresponding to the radio frequency link, and when a state of a preset radio frequency link of two radio frequency links of the target frequency band is a normal state and a state of the other radio frequency link is an abnormal state, the access point is accessed through the preset radio frequency link of the target frequency band, and data transmission is performed with the access point in a SISO mode. The problem that in the prior art, under the condition that the state of one preset radio frequency link in two radio frequency links of a target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the data transmission is still carried out by adopting an MIMO mode and an access point, so that WiFi of a user is always switched between a SISO mode and a MIMO mode, and WiFi network fluctuation is caused is solved.
Optionally, the transmission module 430 is further configured to access the access point through the other radio frequency link and perform data transmission with the access point in a SISO mode when the state of the preset radio frequency link is an abnormal state and the state of the other radio frequency link is a normal state.
Optionally, the determining module 420 is specifically configured to determine that the state of the radio frequency link is a normal state when the power of the WiFi signal corresponding to the radio frequency link is greater than or equal to a preset threshold;
and determining that the state of the radio frequency link is an abnormal state under the condition that the power of the WiFi signal corresponding to the radio frequency link is smaller than the preset threshold value.
Optionally, the preset threshold is determined according to an insertion loss of a radio frequency front end device of the electronic device, an antenna isolation of a WiFi antenna of the electronic device, and a preset target transmission power of the WiFi antenna.
Optionally, the transmission module 430 is further configured to access the access point through the preset radio frequency link and perform data transmission with the access point in a multiple-input multiple-output MIMO mode when the states of the two radio frequency links are both normal states.
The data transmission device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The data transmission device provided in the embodiment of the present application can implement each process implemented by the data transmission device in the method embodiments of fig. 1 and fig. 3, and is not described here again to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, as shown in fig. 5, fig. 5 is a schematic diagram of a hardware structure of the electronic device provided in the embodiment of the present application. The electronic device 500 includes a processor 501, and a memory 502 stores a program or an instruction that is stored in the memory 502 and can be executed on the processor 501, and when the program or the instruction is executed by the processor 501, the program or the instruction realizes the processes of the above-mentioned information processing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic hardware structure diagram of another electronic device for implementing the embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 610 is configured to obtain, during a power-on process of an electronic device, power of a WiFi signal corresponding to a radio frequency link received by the electronic device, where the WiFi signal is sent by a WiFi module of the electronic device through the radio frequency link of a target frequency band;
determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link;
when the state of a preset radio frequency link in two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, accessing an access point through the preset radio frequency link, and performing data transmission with the access point in a single-input single-output SISO mode
The method comprises the steps that in the starting process of the electronic equipment, the power of a WiFi signal corresponding to a radio frequency link received by the electronic equipment is obtained, wherein the WiFi signal is sent by a WiFi module of the electronic equipment through the radio frequency link of a target frequency band, the state of the radio frequency link is determined according to the power of the WiFi signal corresponding to the radio frequency link, under the condition that the state of one preset radio frequency link of two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link of the two radio frequency links of the target frequency band is an abnormal state, the access point is accessed through the preset radio frequency link of the target frequency band, and data transmission is carried out with the access point. The problem that in the prior art, under the condition that the state of one preset radio frequency link in two radio frequency links of a target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, the data transmission is still carried out by adopting an MIMO mode and an access point, so that WiFi of a user is always switched between a SISO mode and a MIMO mode, and WiFi network fluctuation is caused is solved.
The processor 610 is further configured to access the access point through the other radio frequency link and perform data transmission with the access point in a SISO mode when the state of the preset radio frequency link is an abnormal state and the state of the other radio frequency link is a normal state.
The processor 610 is further configured to determine that the state of the radio frequency link is a normal state when the power of the WiFi signal corresponding to the radio frequency link is greater than or equal to a preset threshold;
and determining that the state of the radio frequency link is an abnormal state under the condition that the power of the WiFi signal corresponding to the radio frequency link is smaller than the preset threshold value.
The preset threshold value is determined according to the insertion loss of a radio frequency front end device of the electronic equipment, the antenna isolation degree of a WiFi antenna of the electronic equipment and the preset target transmitting power of the WiFi antenna.
The processor 610 is further configured to access the access point through the preset radio frequency link and perform data transmission with the access point in a multiple-input multiple-output (MIMO) mode when the states of the two radio frequency links are both normal states.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the data transmission method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the data transmission method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of data transmission, comprising:
in the starting process of electronic equipment, acquiring the power of a WiFi signal corresponding to a radio frequency link received by the electronic equipment, wherein the WiFi signal is sent by a WiFi module of the electronic equipment through the radio frequency link of a target frequency band;
determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link;
and under the condition that the state of a preset radio frequency link in the two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, accessing to an access point through the preset radio frequency link, and performing data transmission with the access point by adopting a single-input single-output SISO mode.
2. The method of claim 1, further comprising:
and when the state of the preset radio frequency link is an abnormal state and the state of the other radio frequency link is a normal state, accessing the access point through the other radio frequency link, and performing data transmission with the access point by adopting a SISO mode.
3. The method of claim 1, wherein the determining the status of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link comprises:
determining that the state of the radio frequency link is a normal state under the condition that the power of the WiFi signal corresponding to the radio frequency link is greater than or equal to a preset threshold value;
and determining that the state of the radio frequency link is an abnormal state under the condition that the power of the WiFi signal corresponding to the radio frequency link is smaller than the preset threshold value.
4. The method of claim 3, wherein the preset threshold is determined according to an insertion loss of a radio frequency front end device of the electronic device, an antenna isolation of a WiFi antenna of the electronic device, and a preset target transmission power of the WiFi antenna.
5. The method of claim 1, further comprising:
and under the condition that the states of the two radio frequency links are both normal states, accessing the access point through the preset radio frequency link, and performing data transmission with the access point by adopting a multi-input multi-output (MIMO) mode.
6. A data transmission apparatus, comprising:
the device comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring the power of a WiFi signal corresponding to a radio frequency link received by electronic equipment in the starting process of the electronic equipment, and the WiFi signal is sent by the WiFi module of the electronic equipment through the radio frequency link of a target frequency band;
the first determining module is used for determining the state of the radio frequency link according to the power of the WiFi signal corresponding to the radio frequency link;
and the transmission module is used for accessing to an access point through a preset radio frequency link under the condition that the state of one preset radio frequency link in the two radio frequency links of the target frequency band is a normal state and the state of the other radio frequency link is an abnormal state, and performing data transmission with the access point by adopting a single-input single-output SISO mode.
7. The apparatus of claim 6, wherein the transmission module is further configured to access the access point through the other radio frequency link and perform data transmission with the access point in a SISO mode if the state of the preset radio frequency link is an abnormal state and the state of the other radio frequency link is a normal state.
8. The apparatus according to claim 6, wherein the determining module is specifically configured to determine that the state of the radio frequency link is a normal state when the power of the WiFi signal corresponding to the radio frequency link is greater than or equal to a preset threshold;
and determining that the state of the radio frequency link is an abnormal state under the condition that the power of the WiFi signal corresponding to the radio frequency link is smaller than the preset threshold value.
9. The apparatus of claim 8, wherein the predetermined threshold is determined according to an insertion loss of a radio frequency front end device of the electronic device, an antenna isolation of a WiFi antenna of the electronic device, and a predetermined target transmission power of the WiFi antenna.
10. The apparatus according to claim 6, wherein the transmission module is further configured to access the access point through the preset radio frequency link and perform data transmission with the access point in a multiple-input multiple-output (MIMO) mode when the states of the two radio frequency links are both normal states.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the data transmission method according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the data transmission method according to any one of claims 1 to 5.
CN202011419174.3A 2020-12-07 2020-12-07 Data transmission method and device, electronic equipment and readable storage medium Pending CN112566086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011419174.3A CN112566086A (en) 2020-12-07 2020-12-07 Data transmission method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011419174.3A CN112566086A (en) 2020-12-07 2020-12-07 Data transmission method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112566086A true CN112566086A (en) 2021-03-26

Family

ID=75059221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011419174.3A Pending CN112566086A (en) 2020-12-07 2020-12-07 Data transmission method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112566086A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452577A (en) * 2021-06-25 2021-09-28 维沃移动通信有限公司 Abnormity detection method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160360489A1 (en) * 2015-06-05 2016-12-08 Apple Inc. Spatial multiplexing power save learning mode
CN107454616A (en) * 2017-08-30 2017-12-08 深圳鲲鹏无限科技有限公司 A kind of more radio frequency link wireless routers and fault repairing method
CN107509214A (en) * 2017-08-30 2017-12-22 深圳鲲鹏无限科技有限公司 A kind of more radio frequency link wireless routers and method for diagnosing faults
CN110190915A (en) * 2019-04-24 2019-08-30 维沃移动通信有限公司 Antenna adjustment method, device and terminal
CN111885676A (en) * 2020-07-27 2020-11-03 合肥移瑞通信技术有限公司 Household appliance and networking device and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160360489A1 (en) * 2015-06-05 2016-12-08 Apple Inc. Spatial multiplexing power save learning mode
CN107454616A (en) * 2017-08-30 2017-12-08 深圳鲲鹏无限科技有限公司 A kind of more radio frequency link wireless routers and fault repairing method
CN107509214A (en) * 2017-08-30 2017-12-22 深圳鲲鹏无限科技有限公司 A kind of more radio frequency link wireless routers and method for diagnosing faults
CN110190915A (en) * 2019-04-24 2019-08-30 维沃移动通信有限公司 Antenna adjustment method, device and terminal
CN111885676A (en) * 2020-07-27 2020-11-03 合肥移瑞通信技术有限公司 Household appliance and networking device and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452577A (en) * 2021-06-25 2021-09-28 维沃移动通信有限公司 Abnormity detection method and device and electronic equipment
CN113452577B (en) * 2021-06-25 2024-02-06 维沃移动通信有限公司 Abnormality detection method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN108430101B (en) Antenna closing method and device, storage medium and electronic equipment
CN112769445B (en) Radio frequency circuit, signal transmitting method and electronic equipment
CN111313915B (en) Electronic equipment
CN111988771B (en) Wireless connection control method and device and electronic equipment
CN112135355B (en) Frequency band interference processing method, frequency band interference processing device and electronic equipment
CN111866976A (en) Network switching method and device
CN112886988A (en) Radio frequency system, radio frequency circuit detection method and device and electronic equipment
CN114389648A (en) Signal transmission method and device, terminal equipment, intelligent equipment and electronic equipment
CN112688714B (en) Radio frequency circuit, Bluetooth realization method and device and electronic equipment
CN112566086A (en) Data transmission method and device, electronic equipment and readable storage medium
CN113407423A (en) Signal intensity display method and signal intensity display device
CN112888055A (en) Wi-Fi uplink data sending method and device, electronic equipment and storage medium
CN110351743B (en) Measurement method, terminal, network side equipment and computer readable storage medium
CN113242544B (en) Paging method, paging device and electronic equipment
CN112994812B (en) Communication control method, communication control device, electronic apparatus, and readable storage medium
CN113489508B (en) Power supply control method, power supply control device, electronic device, and readable storage medium
CN113114279B (en) Radio frequency circuit, electronic device and signal processing method
CN112886990B (en) Interference elimination method and device and electronic equipment
CN112601241A (en) Network access method and device
CN112135311B (en) Monitoring method and device for radio frequency device, electronic equipment and readable storage medium
CN114025419B (en) Method and device for adjusting radio frequency power, electronic equipment and storage medium
CN115333584B (en) Indication method of precoding matrix, terminal and network side equipment
CN112135292B (en) Signal acquisition method, signal acquisition device, electronic equipment and storage medium
CN110958641B (en) WIFI data receiving and transmitting control method and device for mobile terminal
WO2023020386A1 (en) Emergency service processing method and device and readable 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