CN113098576B - Data transmitting and receiving method and device and electronic equipment - Google Patents

Data transmitting and receiving method and device and electronic equipment Download PDF

Info

Publication number
CN113098576B
CN113098576B CN202110331676.9A CN202110331676A CN113098576B CN 113098576 B CN113098576 B CN 113098576B CN 202110331676 A CN202110331676 A CN 202110331676A CN 113098576 B CN113098576 B CN 113098576B
Authority
CN
China
Prior art keywords
throughput
data
antenna
rotation
antennas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110331676.9A
Other languages
Chinese (zh)
Other versions
CN113098576A (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.)
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 CN202110331676.9A priority Critical patent/CN113098576B/en
Publication of CN113098576A publication Critical patent/CN113098576A/en
Application granted granted Critical
Publication of CN113098576B publication Critical patent/CN113098576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0608Antenna selection according to transmission parameters
    • 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/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0686Hybrid systems, i.e. switching and simultaneous transmission
    • H04B7/0691Hybrid systems, i.e. switching and simultaneous transmission using subgroups of transmit antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a data receiving and sending method and device and electronic equipment, and belongs to the field of electronic equipment. The method comprises the following steps: obtaining a first throughput and a second throughput of the antenna according to the network state information, and obtaining a third throughput for transmitting the first data; determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput respectively; and selecting the antenna to transmit the first data according to the rotation strategy, so that the rotation strategy of the antenna can be flexibly set, the power consumption is reduced, the overheating of a single antenna is avoided, and the reliability of the antenna is improved.

Description

Data transmitting and receiving method and device and electronic equipment
Technical Field
The application belongs to the field of electronic equipment, and particularly relates to a data receiving and sending method and device and electronic equipment.
Background
At present, with the continuous update of mobile terminals, the number of radio frequency transceiver circuits with the same frequency is increasing. Taking WIFI as an example, the latest 11Ax chips already support 4 x 4 MIMO. The system has the capacity of 4-transmission and 4-reception at the same time in the same frequency band (2.4G &5G), and the maximum uplink and downlink speed of the system also reaches 11 Gbit/s. Also Long Term Evolution (LTE) and New Radio (NR) support multiple receive and multiple transmit combining such as 2T 4R.
The multi-transmission and multi-reception greatly improves the throughput of the radio frequency, and simultaneously brings the problems of power consumption and heating. When a Power Amplifier (PA) or a Low Noise Amplifier (LNA) of a multi-path operates simultaneously, a large amount of heat is generated, and the heat of an antenna is accumulated, thereby reducing the reliability of the antenna.
Disclosure of Invention
An object of the embodiments of the present application is to provide a data transceiving method and apparatus, and an electronic device, which can solve the problem that the reliability of an antenna is reduced due to heat accumulation of the antenna.
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 transceiving method, where the method includes:
obtaining a first throughput and a second throughput of the antenna according to the network state information, and obtaining a third throughput for transmitting the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput;
determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput respectively;
and selecting an antenna according to the rotation strategy to transmit the first data.
In a second aspect, an embodiment of the present application provides an apparatus for transceiving data, where the apparatus includes:
the acquisition module is used for acquiring a first throughput and a second throughput of the antenna according to the network state information and acquiring a third throughput for transmitting the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput;
the setting module is used for determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput respectively;
and the transceiver module is used for selecting an antenna to transmit the first data according to the rotation strategy.
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, the first throughput and the second throughput of the antenna are obtained according to the network state information, and the third throughput for transmitting the first data is obtained; determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput respectively; and selecting an antenna to transmit the first data according to the rotation strategy, so that the rotation strategy of the antenna can be flexibly set, the power consumption is reduced, overheating of a single antenna is avoided, and the reliability of the antenna is improved.
Drawings
Fig. 1 is a schematic flowchart of a data transceiving method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a network structure for performing a data transceiving method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another data transceiving method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data transceiving method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another data transceiving method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another data transceiving method according to an embodiment of the present application;
fig. 7 is a schematic diagram of an antenna rotation method according to an embodiment of the present application;
fig. 8 is a schematic diagram of another antenna rotation method provided in an embodiment of the present application;
fig. 9 is a schematic diagram of another antenna rotation method provided in the embodiments of the present application;
fig. 10 is a schematic diagram of another antenna rotation method provided in the embodiments of the present application;
fig. 11 is a schematic structural diagram of a data transceiver according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 13 is a schematic hardware structure diagram of an electronic device implementing an 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 transceiving 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.
As shown in fig. 1 and fig. 2, an embodiment of the present application provides a data transceiving method, where an execution subject of the method is a terminal, and the method includes the following steps.
Step S101, obtaining a first throughput and a second throughput of an antenna according to network state information, and obtaining a third throughput for transmitting first data according to data information of the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput.
The terminal acquires network state information by monitoring a network environment, wherein the network state information comprises network bandwidth of an access point, maximum supporting rate of the access point, signal quality and the like. And the terminal obtains the maximum throughput of the single antenna as a first throughput according to the network state information, and obtains a second throughput of the antenna according to the number of the antennas which can be used for transmission. As shown in fig. 2, taking Wifi network as an example, data transmission is performed between the terminal and the Wifi router by using a 4-antenna transceiving manner. The terminal obtains the maximum throughput of a single antenna as a first throughput and the maximum throughput of simultaneous transmission of 4 antennas as a second throughput by measuring the network bandwidth accessed by the router, the maximum supporting rate of the router, the signal quality and the like.
When determining that first data needs to be transmitted, that is, when the first data needs to be sent or received, a terminal acquires data information of the first data, where the data information may include a data type, a data transmission time requirement, a data bandwidth requirement, and the like. And the terminal can obtain the throughput required by the transmission of the first data as a third throughput according to the data information of the first data.
The method for the terminal to obtain the third throughput may be set according to actual requirements. For example, the terminal may determine the throughput required to transmit the first data by:
a) determining a current maximum available throughput of a network
b) Type determination of upper layer data
c) Data transmission duration requirement judgment
d) Data bandwidth requirement determination
e) A third throughput is determined.
For another example, as shown in fig. 3, the type determination of upper layer data is performed on the first data, which may be divided into real-time communication and data communication, and then data flow determination and data volume determination are performed, to obtain a throughput mode required by the first data, where the high/medium throughput mode indicates that a transmission protocol Wifi4/5/6 needs to be used for transmission, and the low throughput mode indicates that a transmission protocol Wifi3/4 needs to be used for transmission, and then, in combination with a transmission protocol that can be called by a network, a transmission protocol with the lowest rate among the three is used to obtain a third throughput.
And step S102, determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput.
And comparing the third throughput required by the transmission of the first data with the first throughput and the second throughput of the antennas respectively, and obtaining a rotation strategy of the antennas in the process of transmitting the first data according to the comparison result, wherein the rotation strategy comprises the number of the antennas used in each time period in the process of transmitting the first data, a rotation mode among the antennas, a transmission protocol and the like.
And S103, selecting an antenna according to the rotation strategy to transmit the first data.
And in the process of transmitting the first data, the terminal selects antennas with corresponding antenna number from the configured available antennas according to the set rotation strategy for sending the data packet of the first data.
When the first data is data to be sent by the terminal, as shown in fig. 4, the terminal selects an antenna 1 from configured antennas according to the rotation policy to send a data packet of the first data to a router, and then waits for an Acknowledgement Character (ACK) returned by the router; after receiving the confirmation character, reselecting the antenna 2 according to a rotation strategy to send a next data packet to the router, and accumulating and pushing in sequence; if the confirmation character is not received, the data packet can be retransmitted by the antenna 1, or the data packet can be retransmitted by reselecting the antenna 2 according to the rotation strategy.
When the first data is data to be received by the terminal, as shown in fig. 5, the terminal selects an antenna 1 from configured antennas according to the rotation policy, and is configured to receive a data packet of the first data from the router, and if the reception is successful, sends an ACK to the router, and then reselects an antenna 2 according to the rotation policy to receive a next data packet from the router, and accumulate and push the data packets in sequence; if the receiving fails, the current antenna 1 is still adopted to receive the retransmitted data packet from the router, or the antenna 2 is reselected according to the rotation strategy to receive the retransmitted data packet.
According to the technical scheme provided by the embodiment of the application, the first throughput and the second throughput of the antenna are obtained according to the network state information, the third throughput for transmitting the first data is obtained according to the data information of the first data, the rotation strategy of the antenna in the first data transmission process is determined according to the comparison result between the third throughput and the first throughput and the comparison result between the third throughput and the second throughput, the antenna is selected according to the rotation strategy to transmit the first data, so that the rotation strategy of the antenna can be flexibly set, the power consumption is reduced, the overheating of a single antenna is avoided, and the reliability of the antenna is improved.
As shown in fig. 6, an embodiment of the present application provides a data transceiving method, where an execution subject of the method is a terminal, and the method includes the following steps.
Step S601, obtaining a first throughput and a second throughput of the antenna according to the network state information, and obtaining a third throughput for transmitting the first data.
The method executed in step S601 is the same as or similar to step S101 in fig. 1, and the same or similar technical effects are obtained, and the same parts are not described herein again.
Further, there are various methods for obtaining the first throughput and the second throughput of the antenna according to the network status information, wherein one embodiment of the methods includes:
and inquiring a first transmission protocol corresponding to the network state information from a first mapping table, wherein the first mapping table comprises the transmission protocols corresponding to the network state information. The terminal generates and stores a first mapping table in advance according to the network state of the access point. The first mapping table requires recalibration when there is a large change in signal quality. For example, as shown in table 1 below:
Figure BDA0002996334780000061
TABLE 1
According to the current network state information, the terminal can obtain the corresponding first transmission protocol by inquiring from the first mapping table.
And according to the network state information, inquiring and obtaining the maximum single-antenna throughput of the first transmission protocol from a second mapping table, wherein the second mapping table comprises the maximum single-antenna throughput corresponding to each transmission protocol. And the terminal establishes a second mapping table in advance and stores the second mapping table. For example, as shown in table 2 below:
Figure BDA0002996334780000071
TABLE 2
And taking the maximum single-antenna throughput of the first transmission protocol as a first throughput, and obtaining a second throughput according to the number of the antennas. For example, in a Wifi network of 5G, when the first transmission protocol is Wifi4, the corresponding first throughput is 150Mbps, and the second throughput is 150 × 4 antennas, which is 600 Mbps.
Step S602, determining a rotation strategy of the antennas during the transmission of the first data according to a comparison result between the third throughput and the first throughput and a comparison result between the third throughput and the second throughput.
And under the condition that the third throughput is smaller than the first throughput, transmitting the first data by adopting a single-antenna rotation strategy. The method comprises the steps that the first data are transmitted by adopting a single antenna under the condition that a terminal can meet the requirement of transmitting the first data by using the single antenna, and the antennas are sequentially rotated to avoid the phenomenon that the single antenna is overheated. For example, if the first data is a requirement of a high-definition video call, the obtained third throughput is 30Mbps, the monitored network state information includes a bandwidth of 20Mbps, it is found that the first transmission protocol is Wifi3 according to the first mapping table, the corresponding first throughput is 54Mbps, and as can be seen, the third throughput is smaller than the first throughput, and the set conversion policy may be that, as shown in fig. 7, single antenna rotation is performed based on Wifi3 in each time period.
And transmitting the first data by adopting a strategy of simultaneously transmitting all the antennas under the condition that the third throughput is greater than the second throughput. And under the condition that the maximum throughput which can be achieved by the terminal cannot meet the requirement of transmitting the first data, all antennas are adopted to simultaneously transmit the first data, and the rotation among the antennas is not carried out. For example, if the third throughput obtained by the first data is 7000Mbps for the extra-large data requirement, and the monitored network state information includes a bandwidth of 200Mbps and a signal quality > -55dBm, it is found that the first transmission protocol is Wifi6 according to the first mapping table, the corresponding first throughput is 600Mbps, the second throughput is 2400Mbps, and it is seen that the third throughput is greater than the second throughput, and the set conversion policy may be that, as shown in fig. 8, all antennas transmit simultaneously in each time period based on Wifi 6.
And obtaining a rotation policy table for transmitting the first data under the condition that the third throughput is greater than the first throughput and less than the second throughput, wherein the rotation policy table comprises the number of antennas in each time period and a corresponding transmission protocol. Equivalently, in the case that the terminal cannot meet the requirement for transmitting the first data by using a single antenna and does not need to transmit the first data by using all antennas simultaneously, the rotation policy table of the antennas is set, so that the terminal selects a single antenna, a part of the antennas, or all the antennas for transmitting the first data in each time period according to the rotation policy table, for example, if the third throughput obtained by the requirement for the first data to be big data is 1000Mbps, and the monitored network state information includes a bandwidth of 200Mbps and a signal quality > -55dBm, a first transmission protocol of Wifi6 is queried according to the first mapping table, and the corresponding first throughput is 600Mbps, and the second throughput is 2400Mbps, it can be seen that the third throughput is greater than the first throughput and less than the second throughput, the set conversion policy may be, as shown in fig. 9 or fig. 10, and selecting partial antennas for transmission based on Wifi5/6 in each time period. In the scenario of fig. 9, only a small portion of the time period is used for dual antenna transmission of the first data, and in the scenario of fig. 10, dual antenna rotation is used for transmission of the first data.
The rotation policy table includes at least the number of antennas and transmission protocols for each period, for example, as follows
Shown in Table 3:
Figure BDA0002996334780000081
TABLE 3
In the rotation policy table of table 3, the transmission protocols and the number of antennas in different time slots are respectively specified. And the terminal selects two antennas from the configured antennas according to the table 3 in the time slot 1 and adopts 11Ac MCS9 to transmit the data packet of the first data, reselects a single antenna from the configured antennas in the time slot 2 and adopts 11n MCS7 to transmit the data packet of the first data, and accumulates and deduces the data packet in turn.
Step S603, synchronizing the rotation policy to the access point.
After determining the rotation policy, the terminal needs to send information of the rotation policy to an access point, such as a wifi router, so that the access point performs data transmission with the terminal according to the rotation policy. If the terminal sets the rotating policy table, the rotating policy table needs to be synchronized to the access point, so that a rotating policy table similar to a frequency hopping table is formed between the terminal and the access point.
And step S604, selecting an antenna to transmit the first data according to the rotation strategy and the heating state of each antenna.
When the antennas are selected according to the rotation strategy, the antennas need to be selected according to the heating state of each antenna, so that the phenomenon that a single antenna is overheated is avoided as much as possible. The rotation strategy can realize different strategies of different projects based on engineering experience, and heat sources are distributed by rotating the antennas, so that the aim of optimizing heat dissipation is fulfilled. When different strategies of different items are confirmed, different Circuit Board layout forms of antennas are combined, for example, Printed Circuit Boards (PCBs), so that heat generating parts are alternated as much as possible to optimize heat dissipation.
According to the technical scheme provided by the embodiment of the application, the first throughput and the second throughput of the antenna are obtained according to the preset first mapping table and the second mapping table, different rotation strategies are set according to the comparison result of the third throughput and the first throughput and the second throughput, the first data are transmitted synchronously to the access point, the antenna is selected according to the rotation strategies and the heating states of the antennas, the rotation strategies of the antenna can be set according to the actual application scene, the antenna is selected according to the heating states of the antenna for data transmission, overheating of a single antenna is avoided, and reliability of the antenna is improved.
It should be noted that, in the data transceiving method provided in the embodiment of the present application, the execution main body may be a data transceiving apparatus, or a control module in the data transceiving apparatus for executing a method for transmitting and receiving loaded data. In the embodiment of the present application, a method for performing loading data transceiving by a data transceiving apparatus is taken as an example, and a data transceiving method provided in the embodiment of the present application is described.
As shown in fig. 11, the data transmitting and receiving apparatus includes: an acquisition module 110, a setting module 111 and a transceiver module 112.
The obtaining module 110 is configured to obtain a first throughput and a second throughput of the antenna according to the network state information, and obtain a third throughput for transmitting the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput; the setting module 111 is configured to determine a rotation strategy of the antennas in the first data transmission process according to a comparison result between the third throughput and the first throughput and a comparison result between the third throughput and the second throughput; the transceiver module 112 is configured to select an antenna according to the rotation policy to transmit the first data.
According to the technical scheme provided by the embodiment of the application, the first throughput and the second throughput of the antenna are obtained according to the network state information, the third throughput for transmitting the first data is obtained according to the data information of the first data, the rotation strategy of the antenna in the first data transmission process is determined according to the comparison result between the third throughput and the first throughput and the comparison result between the third throughput and the second throughput, the antenna is selected according to the rotation strategy to transmit the first data, so that the rotation strategy of the antenna can be flexibly set, the power consumption is reduced, the overheating of a single antenna is avoided, and the reliability of the antenna is improved.
Further, the setting module is configured to perform the following operations:
under the condition that the third throughput is smaller than the first throughput, transmitting the first data by adopting a strategy of single antenna rotation;
under the condition that the third throughput is greater than the second throughput, transmitting the first data by adopting a strategy of simultaneously transmitting all antennas;
and obtaining a rotation policy table for transmitting the first data under the condition that the third throughput is greater than the first throughput and less than the second throughput, wherein the rotation policy table comprises the number of antennas in each time period and a corresponding transmission protocol.
Further, the transceiver module is further configured to synchronize the rotation policy to an access point.
Further, the selecting antennas according to the rotation strategy to transmit the first data includes:
and selecting the antenna to transmit the first data according to the rotation strategy and the heating state of each antenna.
Further, the obtaining module is configured to perform the following operations:
inquiring to obtain a first transmission protocol corresponding to the network state information from a first mapping table, wherein the first mapping table comprises transmission protocols corresponding to the network state information;
inquiring and obtaining the maximum single-antenna throughput of the first transmission protocol from a second mapping table, wherein the second mapping table comprises the maximum single-antenna throughput corresponding to each transmission protocol;
and taking the maximum single-antenna throughput of the first transmission protocol as a first throughput, and obtaining a second throughput according to the number of the antennas.
According to the technical scheme provided by the embodiment of the application, the first throughput and the second throughput of the antenna are obtained according to the preset first mapping table and the second mapping table, different rotation strategies are set according to the comparison result of the third throughput and the first throughput and the second throughput, the first data are transmitted synchronously to the access point, the antenna is selected according to the rotation strategies and the heating states of the antennas, the rotation strategies of the antenna can be set according to the actual application scene, the antenna is selected according to the heating states of the antenna for data transmission, overheating of a single antenna is avoided, and reliability of the antenna is improved.
The data transceiver 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 transceiver 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 transceiver provided in this embodiment of the present application can implement each process implemented by the data transceiver in the method embodiments in fig. 1 to fig. 10, and is not described here again to avoid repetition.
Optionally, as shown in fig. 12, an electronic device 120 is further provided in this embodiment of the present application, and includes a processor 121, a memory 129, and a program or an instruction stored in the memory 129 and executable on the processor 121, where the program or the instruction is executed by the processor 121 to implement each process of the foregoing data transceiving method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
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. 13 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 130 includes, but is not limited to: a radio frequency unit 131, a network module 132, an audio output unit 133, an input unit 134, a sensor 135, a display unit 136, a user input unit 137, an interface unit 138, a memory 139, and a processor 1300.
Those skilled in the art will appreciate that the electronic device 130 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1300 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1300 is configured to obtain a first throughput and a second throughput of the antenna according to the network state information, and obtain a third throughput for transmitting the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput; and determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput.
The radio frequency unit 131 is configured to select an antenna according to the rotation policy to transmit the first data.
By the technical scheme provided by the embodiment of the application, the rotation strategy of the antenna can be flexibly set, the power consumption is reduced, the overheating of a single antenna is avoided, and the reliability of the antenna is improved.
Optionally, the processor 1300 is configured to perform the following operations:
under the condition that the third throughput is smaller than the first throughput, transmitting the first data by adopting a single-antenna rotation strategy;
under the condition that the third throughput is greater than the second throughput, transmitting the first data by adopting a strategy of simultaneously transmitting all antennas;
and obtaining a rotation policy table for transmitting the first data under the condition that the third throughput is greater than the first throughput and less than the second throughput, wherein the rotation policy table comprises the number of antennas in each time period and a corresponding transmission protocol.
Optionally, the radio frequency unit 131 is further configured to synchronize the rotation policy to the access point.
Optionally, the radio frequency unit 131 is configured to select an antenna to transmit the first data according to the rotation policy and the heating state of each antenna.
Optionally, the processor 1300 is configured to perform the following operations:
inquiring to obtain a first transmission protocol corresponding to the network state information from a first mapping table, wherein the first mapping table comprises transmission protocols corresponding to the network state information;
inquiring and obtaining the maximum single-antenna throughput of the first transmission protocol from a second mapping table, wherein the second mapping table comprises the maximum single-antenna throughput corresponding to each transmission protocol;
and taking the maximum single-antenna throughput of the first transmission protocol as a first throughput, and obtaining a second throughput according to the number of the antennas.
By the technical scheme provided by the embodiment of the application, the rotation strategy of the antenna can be set according to the actual application scene, and the antenna is selected according to the heating state of the antenna for data transmission, so that overheating of a single antenna is avoided, and the reliability of the antenna is improved.
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 transceiving 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 described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 run a program or an instruction to implement each process of the above data transceiving method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
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 identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the 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 present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (8)

1. A method for transmitting and receiving data, comprising:
obtaining a first throughput and a second throughput of the antenna according to the network state information, and obtaining a third throughput for transmitting the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput;
determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput respectively;
selecting an antenna to transmit the first data according to the rotation strategy;
the determining a rotation strategy of the antennas in the first data transmission process according to the comparison result between the third throughput and the first throughput and the second throughput respectively comprises:
under the condition that the third throughput is smaller than the first throughput, transmitting the first data by adopting a strategy of single antenna rotation;
under the condition that the third throughput is greater than the second throughput, transmitting the first data by adopting a strategy of simultaneously transmitting all antennas;
and obtaining a rotation strategy table for transmitting the first data under the condition that the third throughput is greater than the first throughput and smaller than the second throughput, wherein the rotation strategy table comprises the number of antennas in each time period and a corresponding transmission protocol.
2. The method of claim 1, wherein after the determining a rotation strategy for antennas in transmitting the first data, the method further comprises:
synchronizing the rotation policy to an access point.
3. The method of claim 1, wherein selecting the antennas to transmit the first data according to the rotation strategy comprises:
and selecting the antenna to transmit the first data according to the rotation strategy and the heating state of each antenna.
4. The method of claim 1, wherein the deriving the first throughput and the second throughput of the antenna according to the network status information comprises:
inquiring a first transmission protocol corresponding to the network state information from a first mapping table, wherein the first mapping table comprises the transmission protocols corresponding to the network state information;
inquiring and obtaining the maximum single-antenna throughput of the first transmission protocol from a second mapping table, wherein the second mapping table comprises the maximum single-antenna throughput corresponding to each transmission protocol;
and taking the maximum single-antenna throughput of the first transmission protocol as a first throughput, and obtaining a second throughput according to the number of the antennas.
5. A data transmission/reception apparatus, comprising:
the acquisition module is used for acquiring a first throughput and a second throughput of the antenna according to the network state information and acquiring a third throughput for transmitting the first data; the first throughput is the maximum throughput of transmission through a single antenna, and the second throughput is the maximum throughput of transmission through all antennas simultaneously; the second throughput is greater than the first throughput;
the setting module is used for determining a rotation strategy of the antenna in the first data transmission process according to the comparison result of the third throughput and the first throughput and the second throughput respectively;
the receiving and transmitting module is used for selecting an antenna to transmit the first data according to the rotation strategy;
the setting module is used for executing the following operations:
under the condition that the third throughput is smaller than the first throughput, transmitting the first data by adopting a strategy of single antenna rotation;
under the condition that the third throughput is greater than the second throughput, transmitting the first data by adopting a strategy of simultaneously transmitting all antennas;
and obtaining a rotation strategy table for transmitting the first data under the condition that the third throughput is greater than the first throughput and smaller than the second throughput, wherein the rotation strategy table comprises the number of antennas in each time period and a corresponding transmission protocol.
6. The apparatus of claim 5, wherein the selecting antennas according to the rotation policy to transmit the first data comprises:
and selecting the antenna to transmit the first data according to the rotation strategy and the heating state of each antenna.
7. 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 transceiving method according to any of claims 1 to 4.
8. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the data transceiving method according to any one of claims 1 to 4.
CN202110331676.9A 2021-03-29 2021-03-29 Data transmitting and receiving method and device and electronic equipment Active CN113098576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110331676.9A CN113098576B (en) 2021-03-29 2021-03-29 Data transmitting and receiving method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110331676.9A CN113098576B (en) 2021-03-29 2021-03-29 Data transmitting and receiving method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113098576A CN113098576A (en) 2021-07-09
CN113098576B true CN113098576B (en) 2022-08-12

Family

ID=76670626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110331676.9A Active CN113098576B (en) 2021-03-29 2021-03-29 Data transmitting and receiving method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113098576B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9559756B2 (en) * 2007-08-20 2017-01-31 Ethertronics, Inc. Antenna system optimized for SISO and MIMO operation
WO2021045249A1 (en) * 2019-09-04 2021-03-11 엘지전자 주식회사 Electronic device supporting heat mitigation and control method of same electronic device
US20220302970A1 (en) * 2019-09-13 2022-09-22 Google Llc Thermal Management with Antenna Modules
CN112187326A (en) * 2020-09-21 2021-01-05 北京小米移动软件有限公司 Antenna control method, device, equipment and storage medium
CN112468178B (en) * 2020-11-27 2022-08-09 Oppo广东移动通信有限公司 Radio frequency system, antenna switching method and customer premises equipment

Also Published As

Publication number Publication date
CN113098576A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
EP3531602B1 (en) Method for transmitting reference signal, and communication device
EP3364699B1 (en) Peer-to-peer data transmission method, apparatus, and system
EP1871131A1 (en) Mobile communication system, mobile station, base station, and communication control method
JP2020115654A (en) Redundant link for reliable communication
US11412406B2 (en) Apparatus and methods for user device buffer management in wireless networks
JP4547832B2 (en) Wireless LAN system and communication method thereof
US20140307660A1 (en) Method for device-to-device communication, terminal for device-to-device communication and base station
US9749100B2 (en) Multiband Ethernet over Coax system
CN112235853A (en) Automatic gain control method, device, terminal and storage medium
CN114026902A (en) Method and device for determining cell configuration
US7417960B2 (en) Communication apparatus, communication system, communication method and program
US20130094393A1 (en) Method, terminal and communication system for starting compressed mode
CN113098576B (en) Data transmitting and receiving method and device and electronic equipment
EP2642681B1 (en) Wireless digital communication method and system
CN112333690B (en) Data transmission method, device, storage medium, terminal and network access point equipment
CN111615170B (en) Data transmission method and system
US9655106B2 (en) Non-orthogonal connection ID-based scheduling method and apparatus for use in device to-device communication system
US20150092682A1 (en) Wireless communications terminal, wireless communications system, and method for transmitting and receiving data in wireless communications system
CN113852987A (en) Carrier aggregation-based end-to-end time delay enhancement method and communication service equipment
CN107786310B (en) Data packet transmission method and node
CN115174019B (en) Codebook setting and receiving method and device, terminal and network side equipment
WO2023241539A1 (en) Beam indication method, and apparatus and terminal
US20240107578A1 (en) Flexible multi-link operation architecture
US8914062B2 (en) Dual communications network base station apparatus
JP7322524B2 (en) Communication system and communication device

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