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 only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the examples and figures of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
Fig. 1 is a diagram illustrating an application scenario of the data transmission method according to an embodiment. As shown in fig. 1, a communication connection is established between the terminal device 10 and the network device 20, optionally, the terminal device 10 and the network device 20 may establish a communication connection through communication technologies such as a fourth generation (4G) and a fifth generation (5G), and a communication connection manner of the terminal device and the network device is not limited in this embodiment.
In some embodiments, the terminal device 10 may be referred to as a User Equipment (UE). The terminal device may be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or the like, and may also be a mobile phone, a Mobile Station (MS), a mobile terminal (mobile terminal), a notebook computer, or the like, and the terminal device 10 may communicate with one or more core networks through a Radio Access Network (RAN). For example, the terminal equipment 10 may be a mobile telephone (or so-called "cellular" telephone) or a computer with a mobile terminal, etc., and the terminal equipment 10 may also be a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device that exchanges voice and/or data with a radio access network, for example. The terminal device 10 may also be a handheld device with a wireless communication function, a computing device or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a network evolved in the future, and the like, and the implementation of the present application is not limited.
In some embodiments, the network device 20 may be an evolved Node B (eNB or e-NodeB) macro base station, a micro base station (also referred to as a "small base station"), a pico base station, an Access Point (AP), a Transmission Point (TP), a new generation NodeB (g), or the like in a Long Term Evolution (LTE) system, an NR communication system, or a licensed assisted access long-term evolution (LAA-LTE) system. The network device 20 may also be other types of network devices in a future evolution network, and the implementation of the present application is not limited.
In the embodiment of the present application, the terminal device 10 may include a radio frequency module, and transmit data to the network device 20 through the radio frequency module. When the radio frequency module of the terminal device 10 performs data transmission, the target transmission power of the radio frequency module may be obtained, and the data transmission may be performed with the target transmission power as the maximum transmission power. The target transmission power may be obtained according to currents respectively corresponding to the radio frequency module when the radio frequency module uses a plurality of different transmission powers to perform data transmission. In a conventional manner, the radio frequency module of the terminal device 10 generally uses a preset maximum transmission power for data transmission, resulting in a large instantaneous current during data transmission, which increases the power consumption of data transmission. In the embodiment of the present application, the target transmission power is obtained according to the currents respectively corresponding to the radio frequency module when the radio frequency module uses a plurality of different transmission powers to perform data transmission, and the target transmission power is smaller than the preset maximum transmission power of the radio frequency module.
As shown in fig. 2, in an embodiment, a data transmission method is provided, which is applicable to the terminal device described above, and the data transmission method may include the following steps:
step 210, obtaining a target transmission power of the radio frequency module.
The target transmission power may be obtained according to currents respectively corresponding to the radio frequency module when the radio frequency module performs data transmission using a plurality of different transmission powers. In some embodiments, the currents respectively corresponding to the rf module using the plurality of different transmit powers for data transmission may refer to currents consumed by the rf module using different transmit powers for data transmission. The current corresponding to each transmission power may be an instantaneous current (i.e., a current at the time of transmitting data) corresponding to each transmission power when data transmission is performed, or may be a total transmission current corresponding to each transmission power when data transmission is performed. Here, the instantaneous current refers to a current consumed per unit time when data transmission is performed, and the total transmission current may refer to a total amount of current consumed for transmitting one frame of data. When the radio frequency module adopts different sending powers to transmit data, the radio frequency module can respectively correspond to different currents.
In some embodiments, when the radio frequency module performs data transmission, the radio frequency module may test currents corresponding to the radio frequency module during data transmission at a plurality of different transmission powers, and may establish a correspondence between the currents and the transmission powers according to a test result. Optionally, the plurality of different transmission powers may include a preset maximum transmission power, where the preset maximum transmission power is a default maximum transmission power of the radio frequency module, and may be preset according to an actual requirement. When a reasonable target transmission power is not selected, the radio frequency module generally performs data transmission with a preset maximum transmission power as a maximum transmission power. Some or all of the plurality of transmission powers may be selected to be tested within a range of a preset maximum transmission power and a preset minimum transmission power. For example, if the preset maximum transmission power of the rf module is 23dBm (decibel milliwatt), the rf module may test the currents corresponding to the data transmission with a plurality of different transmission powers from 0dBm to 23dBm, such as 17dBm, 18dBm, 20dBm, 21dBm, and 23dBm, or may test the currents corresponding to the data transmission with the transmission powers from 0dBm to 23dBm, such as 1dBm, 2dBm, …, and 23 dBm.
For example, in an embodiment, a correspondence between the transmission power and the current used by the rf module for data transmission may be as shown in table 1, where the current is an instantaneous current during data transmission.
TABLE 1
Radio frequency module transmission power
|
Electric current
|
17dBm
|
300mA (milliamp)
|
18dBm
|
330mA
|
19dBm
|
350mA
|
20dBm
|
400mA
|
21dBm
|
460mA
|
22dBm
|
560mA
|
23dBm
|
580mA |
As can be seen from table 1, the larger the transmission power of the rf module is, the larger the corresponding current is, and if the data transmission is directly performed with the preset maximum transmission power, the consumed current ratio is larger.
The terminal device can select a target transmitting power from a plurality of different transmitting powers according to currents respectively corresponding to the plurality of different transmitting powers, and the target transmitting power can be smaller than a preset maximum transmitting power, so that the power of the radio frequency module is reduced during data transmission. Alternatively, the target transmission power may be any one of transmission total currents, which are respectively corresponding to a plurality of different transmission powers and are smaller than a preset maximum transmission power, among the transmission total currents. Further, the target transmission power may be the transmission power with the minimum transmission total current among the transmission total currents respectively corresponding to the plurality of different transmission powers, and it is ensured that the power consumption of the radio frequency module during data transmission is reduced to the minimum.
In some embodiments, the target transmission power may be obtained according to respective corresponding currents when the radio frequency module performs data transmission using a plurality of different transmission powers, and respective corresponding transmission durations for transmitting a frame of data using the plurality of different transmission powers. The transmission duration may refer to a total time required to transmit one frame of data. Optionally, the sending duration may be related to factors such as sending power of the radio frequency module, signal strength of the mobile terminal, and data amount of one frame of data, where the data amount of one frame of data may be determined according to actually sent data, and optionally, the data amount of each frame of data may be different when different types of data are transmitted, for example, when different types of data such as image data, text data, and video data are transmitted, the data amount of each frame of data may be different. Further, the sending time duration and the sending power of the radio frequency module may be in a negative correlation relationship, the sending time duration and the signal strength of the mobile terminal may be in a negative correlation relationship, and the sending time duration and the data size of one frame of data may be in a positive correlation relationship. When the transmission power of the rf module is higher, the signal strength of the mobile terminal is stronger, and the data amount of one frame of data is smaller, the transmission duration may be shorter.
In one embodiment, the plurality of different transmit powers used by the radio frequency module may include a first transmit power, which may be any one of the plurality of different transmit powers. Taking the first sending power as an example, the first sending duration corresponding to the first sending power may be obtained according to the first sending power, the network signal strength when performing data transmission, and the data size of one frame of data. The terminal equipment can detect the network signal intensity, test the sending duration corresponding to the frame data sent by the radio frequency module by using a plurality of different sending powers under the network signal intensity, and establish the corresponding relation between the sending duration and the sending power according to the test result. Alternatively, the plurality of different transmit powers for the test transmit duration may be the same as the plurality of different transmit powers for the test current.
For example, in an embodiment, under the condition that the network signal strength of the terminal device is-80 dB (decibel) to-85 dB, the corresponding relationship between the transmission power and the transmission time length used by the rf module for data transmission can be shown in table 2.
TABLE 2
As can be seen from table 2, the larger the transmission power of the rf module is, the shorter the corresponding transmission duration is. In an embodiment, the target transmission power may be a transmission power with a minimum transmission total current among transmission total currents respectively corresponding to a plurality of different transmission powers, where the transmission total current corresponding to each transmission power may be directly detected when each transmission power transmits one frame of data, or may be obtained according to a current corresponding to each transmission power when each transmission power transmits data and a transmission time length for transmitting one frame of data.
Taking the first sending power included in the multiple different sending powers as an example, the first total transmission current corresponding to the first sending power may be obtained according to the first current and the first sending duration corresponding to the data transmission using the first sending power, and further, the first total transmission current corresponding to the first sending power is a product of the first current and the first sending duration corresponding to the data transmission using the first sending power. For example, taking the data in tables 1 and 2 as an example, the total transmission current of the rf module during data transmission using 17dBm is 300mA, 23ms, 6900mA, and the total transmission current of the rf module during data transmission using 23dBm is 580mA, 10ms, 5800mA, which are not listed here. And after the transmission total current corresponding to each transmission power is calculated one by one, the transmission power with the minimum transmission total current can be selected as the target transmission power.
In an embodiment, the target transmission power may be a minimum transmission power in a difference between a current corresponding to each of the plurality of different transmission powers and a corresponding average current when the radio frequency module performs data transmission using the plurality of different transmission powers, where the average current corresponding to each of the plurality of transmission powers may be a current consumed per unit time in a transmission duration corresponding to one frame of data transmitted by each of the plurality of transmission powers when the radio frequency module performs data transmission using a preset maximum transmission power. Taking the first transmission power included in the plurality of different transmission powers as an example, the average current corresponding to the first transmission power may be a current consumed by the radio frequency module per unit time in the first transmission duration when the radio frequency module performs data transmission using the preset maximum transmission power.
The terminal device may calculate a maximum total transmission current corresponding to data transmission using a preset maximum transmission power, where the maximum total transmission current may be a product of a current corresponding to data transmission using the preset maximum transmission power and a transmission time corresponding to transmission of one frame of data using the preset maximum transmission power. For example, taking the data in tables 1 and 2 as an example, if the preset maximum transmission power is 23dBm, the maximum total transmission current is 580mA, 10ms, 5800 mA. And then calculating the ratio of the maximum transmission total current to the sending time length corresponding to each sending power to obtain the average current corresponding to each sending power. Taking the first transmission power as an example, the average current corresponding to the first transmission power may be a ratio of the maximum transmission current to a first transmission time period corresponding to transmitting one frame of data using the first transmission power.
For example, taking the data in tables 1 and 2 as an example, where the preset maximum transmission power is 23dBm, the average current corresponding to each transmission power can be obtained as shown in table 3.
TABLE 3
Radio frequency module transmission power
|
Electric current
|
Sending duration
|
Average current
|
17dBm
|
300mA
|
23ms
|
580*10/23=252mA/ms
|
18dBm
|
330mA
|
18ms
|
580*10/18=322mA/ms
|
19dBm
|
350mA
|
15ms
|
580*10/15=387mA/ms
|
20dBm
|
400mA
|
13ms
|
580*10/13=446mA/ms
|
21dBm
|
460mA
|
12ms
|
580*10/12=483mA/ms
|
22dBm
|
560mA
|
10ms
|
580*10/10=580mA/ms
|
23dBm
|
580mA
|
10ms
|
580*10/10=580mA/ms |
And calculating the difference between the corresponding current and the corresponding average current when each sending power carries out data transmission, and selecting the sending power with the minimum difference as the target sending power. Taking the first sending power as an example, the difference corresponding to the first sending power may be a difference obtained by subtracting the corresponding first average current from the corresponding first current when the first sending power performs data transmission. Taking the data in table 3 as an example, the difference between the corresponding current and the corresponding average current when data transmission is performed at each transmission power can be shown in table 4.
TABLE 4
The current corresponding to the target sending power when data transmission is performed needs to be smaller than the average current corresponding to the target sending power, so that the sending power of which the current corresponding to the data transmission is smaller than the average current can be selected from the current corresponding to the data transmission and the average current, and the sending power of which the absolute value of the difference value between the current corresponding to the data transmission and the average current is the largest is determined as the target sending power. For example, taking the data in table 4 as an example, among the plurality of different transmission powers in table 4, the transmission power at which the current corresponding to the data transmission is smaller than the corresponding average current includes 19dBm, 20dBm, 21dBm, and 22dBm, where the transmission power at which the absolute value of the difference between the current corresponding to the data transmission and the corresponding average current is the largest is 20dBm, that is, 46mA, it is determined that 20dBm is the target transmission power, and the difference-46 mA corresponding to the transmission power of 20dBm is also the smallest difference in table 4.
And step 220, performing data transmission by taking the target transmission power as the maximum transmission power.
The radio frequency module of the terminal device can obtain the maximum target sending power to send data to the network device, and can adjust the maximum sending power of the radio frequency module to the target sending power.
In the embodiment of the application, the target sending power of the radio frequency module is obtained according to currents respectively corresponding to the radio frequency module when the radio frequency module uses a plurality of different sending powers to perform data transmission, the target sending power is smaller than the preset maximum sending power of the radio frequency module, then the obtained target sending power is used as the maximum sending power to perform data transmission, the radio frequency module can perform data transmission with reasonable sending power, the current during data transmission is reduced, and therefore the power consumption of the radio frequency module during data transmission is reduced.
As shown in fig. 3, in one embodiment, another data transmission method is provided, which can be applied to the terminal device described above. The data transmission method may include the steps of:
step 302, when the terminal device enters a video call, counting the transmission power respectively corresponding to the radio frequency module when transmitting data at each transmission time.
The data transmission method provided by the embodiment of the application can be applied to the data transmission process during video call.
When the terminal device detects that the video call is entered, the statistics of the corresponding sending power of the radio frequency module when sending data at each sending moment can be started. In one embodiment, the sending time may be determined according to a transmission frame rate of the rf module during data transmission, where the transmission frame rate may refer to a transmission speed of the data transmission, and for example, the transmission frame rate may be 10 frames/s (seconds), 30 frames/s, 45 frames/s, or the like. The transmission time intervals corresponding to different transmission frame rates may be different, and a transmission time interval may refer to a time interval between two frames of data, for example, the transmission frame rate is 10 frames/s, the corresponding transmission time interval is 100ms, that is, the rf module sends one frame of data to the network device every 100ms, the transmission frame rate is 20 frames/s, and the corresponding transmission time interval is 50ms, that is, the rf module sends one frame of data to the network device every 50 ms. The sending time is the time when the radio frequency module sends data to the network device each time. After entering the video call, the corresponding sending power of the radio frequency module when sending data at each sending moment can be obtained.
Step 304, acquiring the target transmitting power of the radio frequency module under the condition that the target ratio is larger than the ratio threshold, wherein the target ratio is the ratio that the transmitting power at different transmitting moments is larger than the power threshold in a preset time period when the radio frequency module is in a video call state.
When the terminal equipment is in a video call state, whether the target ratio is greater than a ratio threshold value or not can be judged. The target occupation ratio may refer to occupation ratios in which the transmission power at different transmission moments within a preset time period is greater than a power threshold.
In the video call process, the sending powers corresponding to the radio frequency module when sending data at different sending moments within a preset time period may be obtained, where the preset time period may be set according to a requirement, for example, may be 1 second, 2 seconds, 5 seconds, and the like, and is not limited herein. The ratio of the transmission power greater than the power threshold value in the transmission power respectively corresponding to the data transmission at different transmission moments in the preset time period can be calculated. The target ratio may be a ratio between the number of transmission times corresponding to the transmission time greater than the power threshold and the number of all transmission times within a preset time period. For example, the preset time period is 1 second, the transmission frame rate when the radio frequency module transmits data is 10 frames/second, then 1 second includes 10 transmission times, wherein the transmission power corresponding to 1 transmission time is greater than the power threshold value 20dBm, and then the target occupancy is 10%.
When the target ratio is greater than the ratio threshold, it can be said that the probability of data transmission by the radio frequency module using a larger transmission power is larger, the target transmission power of the radio frequency module can be obtained, and the maximum transmission power of the radio frequency module is adjusted to a reasonable target transmission power, so as to reduce the power consumption of data transmission in the video call process of the terminal device. Alternatively, the proportional threshold may be set according to actual requirements, such as 5%, 8%, etc., and is not limited herein.
If the target ratio is less than or equal to the ratio threshold, whether the video call is ended or not can be judged, if the video call is not ended, the corresponding sending power of the radio frequency module when sending data at each sending moment can be continuously obtained, and whether the ratio (namely the target ratio) of the sending power at different sending moments in the preset time period which is greater than the power threshold is greater than the ratio threshold or not is judged.
And under the condition that the target ratio is larger than the ratio threshold, acquiring the target transmission power of the radio frequency module. In an embodiment, before obtaining the target transmission power of the radio frequency module, it may be determined whether the network signal strength of the terminal device is within a preset signal strength range, and if the network signal strength of the terminal device is within the preset signal strength range, the target transmission power of the radio frequency module is obtained. When the network signal intensity of the terminal device is not within the preset signal intensity range, it can be said that the current network signal of the terminal device is poor, and if the maximum transmission power of the radio frequency module is adjusted, a large time delay is generated, which results in a video call being stuck. Therefore, when the network signal intensity of the terminal equipment is within the preset signal intensity range, the target sending power of the radio frequency module is obtained, and the video call quality can be guaranteed while the power consumption is reduced.
In some embodiments, the target transmission power may be obtained according to a current respectively corresponding to the radio frequency module when the radio frequency module uses a plurality of different transmission powers for data transmission, a transmission duration respectively corresponding to a frame of data transmitted using the plurality of different transmission powers, and a transmission frame rate. The transmission frame rate of the radio frequency module for data transmission is independent of the used transmission power, and can be related to the required data quality during data transmission. For example, the transmission frame rate of the rf module during data transmission may be related to the video definition, the smoothness, and the like required in the video call process, and the higher the video definition is, the higher the corresponding transmission frame rate may be.
The transmission time length corresponding to the target transmission power used by the radio frequency module to transmit one frame of data needs to be less than the transmission time interval corresponding to the transmission frame rate. After the terminal device calculates the sending time length corresponding to each sending power sending a frame of data according to each sending power, the network signal strength during data transmission and the data volume of the frame of data, which are made by the radio frequency module, it can be judged one by one whether the sending time length corresponding to each sending power is smaller than the transmission time interval corresponding to the transmission frame rate, the sending power of the sending time length for sending the frame of data smaller than the transmission time interval corresponding to the transmission frame rate is used as the pre-selection sending power, and then the target sending power is selected from one or more pre-selection sending powers. Optionally, the manner of selecting the target transmission power may refer to various manners described in step 210 in the foregoing embodiments, and details are not repeated herein. The sending duration corresponding to the target sending power sending one frame of data is smaller than the transmission time interval corresponding to the transmission frame rate, so that the video call quality in the video call process can be ensured, and the power consumption can be effectively reduced.
Taking the data in tables 2 to 4 as an example, assuming that the transmission frame rate when the radio frequency module transmits data is 50 frames/s, the transmission time interval corresponding to the transmission frame rate is 20ms, and the radio frequency module transmits data to the network device once every 20 ms. After the test radio frequency module uses a plurality of different transmission powers to transmit the time length of one frame of data, whether the transmission time length corresponding to each transmission power is less than 20ms or not can be judged, and as shown in the data shown in table 2, the transmission time lengths corresponding to 6 transmission powers of 18 dBm-23 dBm are less than 20ms respectively, and then the 6 transmission powers of 18 dBm-23 dBm can be used as pre-selection transmission powers, and then the target transmission power is selected from the pre-selection transmission powers.
And step 306, performing data transmission with the target transmission power as the maximum transmission power.
The terminal device can adjust the maximum sending power of the radio frequency module to be the target sending power, when data transmission is carried out, the sending power of the radio frequency module can be smaller than or equal to the obtained target sending power, and the data transmission is carried out by taking the target sending power as the maximum sending power.
In the process of a video call of a terminal device, the network signal strength of the terminal device may change, or the transmission frame rate during data transmission may change. The target sending power can be dynamically adjusted in real time according to the network signal intensity of the terminal equipment, the transmission frame rate during data transmission and the like. In the case that the network signal strength of the end device changes or the transmission frame rate during data transmission changes, step 304 may be executed to reacquire the target transmission power, where the reacquired target transmission power may be obtained according to the changed network signal strength and the changed transmission frame rate, and the power consumption during the video call may be further optimally reduced.
And under the condition that the terminal equipment finishes the video call, the maximum transmission power of the radio frequency module is the preset maximum transmission power. The maximum transmission power of the radio frequency module adjusted to the target transmission power can be restored to the preset maximum transmission power, and when the radio frequency module retransmits data, the preset maximum transmission power can be directly used for data transmission without the limitation of the target transmission power.
It can be understood that the data transmission method provided in the embodiment of the present application is not limited to be applied in the video call process, but is also applicable to other data transmission scenarios, and is not limited herein.
In the embodiment of the application, the radio frequency module can transmit data with reasonable transmitting power, so that the current during data transmission is reduced, and the video call quality in the video call process is ensured while the power consumption of the radio frequency module during data transmission is reduced.
As shown in fig. 4, in one embodiment, a data transmission apparatus 400 is provided and includes a target power obtaining module 410 and a transmission module 420.
A target power obtaining module 410, configured to obtain a target sending power of the radio frequency module, where the target sending power is obtained according to currents respectively corresponding to the radio frequency module when the radio frequency module performs data transmission using multiple different sending powers, and the target sending power is smaller than a preset maximum sending power of the radio frequency module.
In one embodiment, the target transmission power is obtained according to respective corresponding currents when the radio frequency module performs data transmission by using a plurality of different transmission powers, and respective corresponding transmission durations for transmitting a frame of data by using the plurality of different transmission powers.
In one embodiment, the target transmission power is the minimum transmission power among differences between the corresponding currents and the corresponding average currents when data transmission is performed by using a plurality of different transmission powers.
The first average current corresponding to the first sending power is a ratio of a maximum transmission total current to a first sending time corresponding to the first sending power, the maximum transmission total current is a product of a current corresponding to data transmission by using preset maximum sending power and a sending time corresponding to sending one frame of data by using the preset maximum sending power, and the plurality of different sending powers include the first sending power.
In one embodiment, the target transmission power is a transmission power with a minimum transmission total current among a plurality of transmission total currents respectively corresponding to a plurality of different transmission powers for data transmission.
The first total transmission current corresponding to the first transmission power is obtained according to a first current corresponding to data transmission by using the first transmission power and a first transmission duration, and the plurality of different transmission powers include the first transmission power.
In an embodiment, the first sending duration corresponding to the first sending power is obtained according to the first sending power, the network signal strength when data transmission is performed, and the data size of one frame of data, and the plurality of different sending powers include the first sending power.
A transmission module 420, configured to transmit data with the target transmit power as the maximum transmit power.
In the embodiment of the application, the target sending power of the radio frequency module is obtained according to currents respectively corresponding to the radio frequency module when the radio frequency module uses a plurality of different sending powers to perform data transmission, the target sending power is smaller than the preset maximum sending power of the radio frequency module, then the obtained target sending power is used as the maximum sending power to perform data transmission, the radio frequency module can perform data transmission with reasonable sending power, the current during data transmission is reduced, and therefore the power consumption of the radio frequency module during data transmission is reduced.
In an embodiment, the target power obtaining module 410 is further configured to obtain a target transmission power of the radio frequency module when a target ratio is greater than a ratio threshold, where the target ratio is a ratio at which the transmission power at different transmission moments is greater than the power threshold in a preset time period when the radio frequency module is in a video call state.
In one embodiment, the target transmission power is obtained according to a current respectively corresponding to the radio frequency module when the radio frequency module uses a plurality of different transmission powers to perform data transmission, a transmission duration respectively corresponding to a frame of data transmitted by using a plurality of different transmission powers, and a transmission frame rate; the sending duration corresponding to the target sending power is smaller than the transmission time interval corresponding to the transmission frame rate.
In the embodiment of the application, the radio frequency module can transmit data with reasonable transmitting power, so that the current during data transmission is reduced, and the video call quality in the video call process is ensured while the power consumption of the radio frequency module during data transmission is reduced.
Fig. 5 is a block diagram of a terminal device in one embodiment. As shown in fig. 5, the terminal device may include: radio frequency module 510, memory 520, input unit 530, display unit 540, sensor 550, audio circuitry 560, wireless fidelity (WiFi) module 570, processor 580, and power supply 590. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The rf module 510 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 580; in addition, the data for designing uplink is transmitted to the base station. Generally, the rf module 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the rf module 510 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), long term evolution, email, Short Message Service (SMS), etc.
The memory 520 may be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the terminal device by operating the software programs and modules stored in the memory 520. The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 530 may include a touch panel 532 and other input devices 534. The touch panel 532, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 532 (e.g., operations of the user on or near the touch panel 532 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 532 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 580, and can receive and execute commands sent by the processor 580. In addition, the touch panel 532 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 530 may include other input devices 534 in addition to the touch panel 532. In particular, other input devices 534 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 540 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 540 may include a display panel 542, and optionally, the display panel 542 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 532 can cover the display panel 542, and when the touch panel 532 detects a touch operation on or near the touch panel 532, the touch panel transmits the touch operation to the processor 580 to determine the type of the touch event, and then the processor 580 provides a corresponding visual output on the display panel 542 according to the type of the touch event. Although in fig. 5, the touch panel 532 and the display panel 542 are two separate components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 532 and the display panel 542 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 542 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 542 and/or the backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuitry 560, speaker 562, and microphone 564 may provide an audio interface between the user and the terminal device. The audio circuit 560 may transmit the electrical signal converted from the received audio data to the speaker 562, and convert the electrical signal into a sound signal by the speaker 562 for output; on the other hand, the microphone 564 converts the collected sound signal into an electrical signal, which is received by the audio circuit 560 and converted into audio data, which is then processed by the audio data output processor 580, and then transmitted to, for example, another terminal device via the rf module 510, or output to the memory 520 for further processing.
WiFi belongs to short distance wireless transmission technology, and the terminal device can help the user send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 570, which provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 570, it is understood that it does not belong to the essential components of the terminal device, and may be omitted as needed within the scope of not changing the essence of the technical solution provided by the embodiments of the present application.
The processor 580 is a control center of the terminal device, connects various parts of the entire terminal device by various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory 520, thereby performing overall monitoring of the terminal device. Alternatively, processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 580.
The terminal device also includes a power supply 590 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 580 via a power management system to manage charging, discharging, and power consumption via the power management system. Although not shown, the terminal device may further include a camera, a bluetooth module, and the like, which are not described herein.
In one embodiment, the computer programs stored in memory 520, when executed by processor 580, cause processor 580 to implement the methods as described in the embodiments above.
The embodiment of the application discloses a computer readable storage medium, which stores a computer program, wherein the computer program realizes the method described in the above embodiment when being executed by a processor.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program, when executed by a processor, implements the method as described in the embodiments above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
The data transmission method, the data transmission device, the electronic device, and the computer-readable storage medium disclosed in the embodiments of the present application are described in detail above, and specific examples are applied herein to illustrate the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present application. Meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.