CN114980219A - Data transmission method, device, terminal and storage medium - Google Patents

Data transmission method, device, terminal and storage medium Download PDF

Info

Publication number
CN114980219A
CN114980219A CN202210684389.0A CN202210684389A CN114980219A CN 114980219 A CN114980219 A CN 114980219A CN 202210684389 A CN202210684389 A CN 202210684389A CN 114980219 A CN114980219 A CN 114980219A
Authority
CN
China
Prior art keywords
data transmission
data
transmission link
duration
bandwidth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210684389.0A
Other languages
Chinese (zh)
Inventor
胡培金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210684389.0A priority Critical patent/CN114980219A/en
Publication of CN114980219A publication Critical patent/CN114980219A/en
Priority to PCT/CN2023/070080 priority patent/WO2023241026A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/20Negotiating bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • 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)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a data transmission method, a data transmission device, a terminal and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: determining a target data volume, wherein the target data volume is the data volume transmitted by an uplink data transmission link in a first time length, and the first time length is the time length corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link; determining a second time length of the downlink data transmission link, wherein the second time length is a time length corresponding to an activation time period in a second data transmission cycle of the downlink data transmission link; adjusting a first data transmission bandwidth of an uplink data transmission link based on the target data amount and the second time length to obtain a second data transmission bandwidth; and transmitting the data to be transmitted through the uplink data transmission link within the activation time period in the second data transmission cycle based on the second data transmission bandwidth. Through the scheme, the problem that data transmission fails due to insufficient bandwidth caused by data impact is avoided.

Description

Data transmission method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, a terminal, and a storage medium.
Background
During communication, data transmission between electronic devices is bursty, with data transmission during a period of time, but not during a subsequent period of time. Therefore, Discontinuous Reception (DRX) is often used for data transmission. That is, when there is no data transmission, the power consumption can be reduced by stopping receiving a Physical Downlink Control Channel (PDCCH), thereby increasing the service time of the battery of the electronic device.
In the related art, usually, in order to save power consumption, during data transmission, a mode of performing parallel uplink and downlink transmission is adopted for data transmission, that is, a sending end accumulates a certain number of data packets and then sends the data packets to a receiving end, so that the situation that the load of a processor of the receiving end is aggravated due to frequent startup and dormancy of the receiving end for receiving data is avoided, and meanwhile, in order to realize parallel uplink and downlink data transmission, the starting time of the DRX cycles of the uplink and the downlink can be aligned.
In the related art, although the mode of performing data transmission simultaneously can bring benefits in terms of power consumption, when uplink and downlink data are concurrent, the DDR bandwidth of the data transmission system is the sum of the uplink DDR bandwidth and the downlink DDR bandwidth, so that after DRX cycles are aligned, the requirement for the DDR bandwidth is too high, and data transmission fails.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a data transmission device, a terminal and a storage medium, which can reduce the requirement on bandwidth in the data transmission process. The technical scheme is as follows:
in one aspect, a data transmission method is provided, where the method includes:
determining a target data volume, wherein the target data volume is a data volume transmitted by an uplink data transmission link within a first time length, and the first time length is a time length corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link;
determining a second time length of a downlink data transmission link, wherein the second time length is a time length corresponding to an activation time period in a second data transmission cycle of the downlink data transmission link;
adjusting a first data transmission bandwidth of the uplink data transmission link based on the target data amount and the second time length to obtain a second data transmission bandwidth;
and transmitting the data to be transmitted through the uplink data transmission link within the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
In another aspect, a data transmission apparatus is provided, the apparatus including:
a first determining module, configured to determine a target data amount, where the target data amount is a data amount transmitted by an uplink data transmission link within a first time duration, and the first time duration is a time duration corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link;
a second determining module, configured to determine a second duration of the downlink data transmission link, where the second duration is a duration corresponding to an activation time period in a second data transmission cycle of the downlink data transmission link;
the adjusting module is used for adjusting a first data transmission bandwidth of the uplink data transmission link based on the target data volume and the second duration to obtain a second data transmission bandwidth;
and the data transmission module is used for transmitting the data to be transmitted through the uplink data transmission link within the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
In another aspect, a terminal is provided that includes a processor and a memory; the memory stores at least one program code for execution by the processor to implement the data transmission method as described in the above aspect.
In another aspect, a computer-readable storage medium is provided, which stores at least one program code for execution by a processor to implement the data transmission method as described in the above aspect.
In another aspect, a computer program product is provided, the computer program product having stored at least one program code for execution by a processor to implement the data transmission method according to the above aspect.
In the embodiment of the application, the data transmitted by the uplink transmission link is averaged to the second duration corresponding to the downlink data transmission link, so that the problem that in the initial stage of data transmission, when data transmission is performed, data impact is generated due to large bandwidths of the uplink data transmission link and the downlink data transmission link, so that the bandwidth is insufficient, and further data transmission failure is caused is solved.
Drawings
Fig. 1 is a schematic diagram illustrating an implementation environment related to a data transmission method provided in an exemplary embodiment of the present application;
FIG. 2 illustrates a flow chart of a data transmission method shown in an exemplary embodiment of the present application;
FIG. 3 is a diagram illustrating data transmission bandwidth in accordance with an exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of a data transmission method shown in an exemplary embodiment of the present application;
FIG. 5 illustrates a flow chart of a data transmission method shown in an exemplary embodiment of the present application;
FIG. 6 is a diagram illustrating activation times of a hardware accelerator in accordance with an illustrative embodiment of the present application;
FIG. 7 illustrates a block diagram of a data transmission device in accordance with an exemplary embodiment of the present application;
fig. 8 shows a block diagram of a terminal shown in an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the relevant data referred to in the present application may be data authorized by the user or sufficiently authorized by each party.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the target data amount, the first data transmission period, the second data transmission period, and the like referred to in this application are all obtained with sufficient authorization.
Referring to fig. 1, a schematic diagram of an implementation environment related to a data transmission method according to an exemplary embodiment of the present application is shown. The implementation environment includes a transmitting end 10 and a receiving end 20. The transmitting end 10 and the receiving end 20 communicate with each other through a network.
In order to reduce power consumption, the transmitting end 10 and the receiving end 20 perform data transmission according to a data transmission cycle. The data transmission period comprises a first data transmission period of the uplink data transmission link and a second data transmission period of the downlink data transmission link. The first data transmission period and the second data transmission period each include an active period and a sleep period. In the activation time period, the data transmission link is in a power-on state and can perform data transmission, in the sleep time period, the data transmission link is in a power-off state, and in the sleep time period, the data transmission link does not perform data transmission. Therefore, in the data transmission process, the data transmission link does not need to be in a power-on state all the time, and the power consumption is further reduced.
In the process of Data transmission, Data transmitted in the processes of uplink Data transmission and downlink Data transmission are transmitted through a Double Data Rate (DDR) memory, wherein the DDR memory is used for caching Data to be transmitted. Thus, the DDR bandwidth may limit the efficiency of data transfer and the transfer results.
In some embodiments, the receiving end 20 and the transmitting end 10 are terminals having a wireless communication function. Both the receiving end 20 and the transmitting end 10 may be mobile terminals, such as mobile phones (or "cellular" phones), and computers with mobile terminals, such as portable, pocket, hand-held, computer-embedded, or vehicle-mounted mobile devices. The receiving end 20 and the transmitting end 10 may also be a mobile phone, a tablet computer, a computer with a wireless communication function, or a wearable device. In the embodiments of the present application, this is not particularly limited.
Referring to fig. 2, a flow chart of a data transmission method according to an exemplary embodiment of the present application is shown. The method comprises the following steps:
step S201: the terminal determines a target data volume, wherein the target data volume is a data volume transmitted by an uplink data transmission link within a first time length, and the first time length is a time length corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link.
The target data amount is a data amount of data transmitted by the uplink data transmission link in an active period of a first data transmission cycle. In some embodiments, the terminal predicts the data amount that needs to be transmitted by the uplink data transmission link of the data transmission each time the data transmission is performed. In some embodiments, the terminal determines the maximum amount of data that can be transmitted by the uplink data transmission link in each data transmission period according to a first duration corresponding to the active time period in the first data transmission period of the uplink data transmission link and a bandwidth provided by the uplink data transmission link for the uplink data transmission link, where the bandwidth is provided by the DDR.
Accordingly, in some embodiments, the terminal reads the data amount of the data buffered in the memory to obtain the target data amount, and the memory is used for buffering the data transmitted by the uplink data transmission link within the first time period. When the terminal transmits data through an uplink, data to be transmitted is firstly cached in the memory, and when the time reaches the starting time of the activation time period of the first data transmission period, the terminal transmits the data cached in the memory through the uplink data transmission link. In this implementation manner, the terminal determines the target data volume of the data transmission before the activation time period of each data transmission cycle, so that the data transmission bandwidth corresponding to the target data volume can be adjusted more accurately.
In some embodiments, the terminal determines the target data amount based on the first data transmission bandwidth and the first duration. The transmission rate of data transmission in the uplink and downlink data transmission link is affected by the bandwidth of the data transmission link, i.e. the maximum transmission rate does not exceed the maximum bandwidth of the data transmission link. Therefore, in this embodiment of the present application, the first data transmission bandwidth is used as the data transmission rate, the product of the first data parameter bandwidth and the first time duration is used as the maximum data amount that can be transmitted by the uplink data transmission link within the first time duration, and the maximum data amount is used as the target data amount. In the embodiment of the application, the maximum data volume which can be transmitted by the uplink data transmission link within the first time period is used as the target data volume, so that the maximum data volume which can be transmitted by the original data transmission bandwidth can be transmitted after the data transmission bandwidth is adjusted by the uplink data transmission link, and the target data volume for data transmission at this time does not need to be determined when the data transmission is performed at this time, thereby improving the efficiency of data transmission.
It should be noted that the terminal may be a receiving end or a transmitting end, and in this embodiment, this is not specifically limited.
Step S202: and the terminal determines a second time length of the downlink data transmission link, wherein the second time length is a time length corresponding to the activation time period in a second data transmission period of the downlink data transmission link.
The downlink data transmission link is a data transmission link bound to an uplink data transmission link of the terminal. The second data transmission period and the first data transmission period have the same duration. The duration of the first data transmission period and the duration of the second data transmission period are set according to needs, and this is not particularly limited in the embodiment of the present application. The second duration is a duration corresponding to the activation time period in the second data transmission cycle. The second duration is less than the duration of the second data transmission period, and the second duration is set according to needs.
In some embodiments, the terminal caches relevant information of the currently used second data transmission period, where the relevant information includes a duration of the second data transmission period and a duration corresponding to an activation time period in the second data transmission period. Correspondingly, the terminal reads the cached related information and acquires the second duration from the related information. In some embodiments, the terminal records a duration corresponding to the activation time period in the second data transmission cycle through a timer, and stores the activation time period locally. And when the second time length needs to be acquired, reading the second time length from a local storage, or determining a timing result of the timer as the second time length.
Step S203: and the terminal adjusts the first data transmission bandwidth of the uplink data transmission link based on the target data volume and the second time length to obtain a second data transmission bandwidth.
The second data transmission bandwidth is less than the first data transmission bandwidth. In this step, the terminal adjusts the duration of the activation time period for data transmission in the first data transmission cycle from the first duration to the second duration, so that the data corresponding to the target data volume can be transmitted within the second duration, which reduces the requirement for bandwidth in unit time, and thus adjusts the first data transmission bandwidth to the second data transmission bandwidth, i.e., reduces the requirement for bandwidth, and also ensures the throughput of the data transmission system.
Step S204: and the terminal transmits the data to be transmitted through the uplink data transmission link in the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
In this step, the terminal sends the data to be transmitted by the uplink data transmission link to other terminals based on the adjusted second data transmission bandwidth and the activated time period in the second data transmission cycle. Correspondingly, the terminal transmits the data to be transmitted by taking the second data transmission bandwidth as a transmission rate and taking the second duration corresponding to the activation time period in the second data transmission cycle as a transmission duration.
Referring to fig. 3, the first data transmission bandwidth of the uplink data transmission link of the terminal is X, the first time duration is t1, the third data transmission bandwidth of the downlink data transmission link is Y, the second time duration is t2, and before the first data bandwidth of the uplink data transmission link is adjusted, the data transmission bandwidth of the terminal in the time period of t1 is X + Y; the terminal adjusts the data transmission duration of the uplink data transmission link to a second duration from a first duration, adjusts the data transmission bandwidth of the uplink data transmission link from the first data transmission bandwidth to a second data transmission bandwidth Z, wherein the second data transmission bandwidth Z is smaller than the first data transmission bandwidth X, after adjustment, the data transmission bandwidth of the terminal in a time period t2 is Z + Y, and the terminal performs data transmission based on the adjusted data transmission bandwidth and the adjusted data transmission duration.
In the embodiment of the application, the data transmitted by the uplink transmission link is averaged to the second duration corresponding to the downlink data transmission link, so that the problem that in the initial stage of data transmission, when data transmission is performed, data impact is generated due to large bandwidths of the uplink data transmission link and the downlink data transmission link, so that the bandwidth is insufficient, and further data transmission failure is caused is solved.
Referring to fig. 4, a flowchart of a data transmission method according to an exemplary embodiment of the present application is shown. The method comprises the following steps:
step S401: the terminal determines a target data volume, wherein the target data volume is a data volume transmitted by an uplink data transmission link within a first time length, and the first time length is a time length corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link.
This step is the same as the principle of step S201, and is not described herein again.
Step S402: and the terminal determines a second time length of the downlink data transmission link, wherein the second time length is a time length corresponding to the activation time period in a second data transmission period of the downlink data transmission link.
The principle of this step is the same as that of step S202, and is not described herein again.
Step S403: the terminal determines a target data transmission rate based on the second duration and the target data amount.
Correspondingly, in the embodiment of the present application, the terminal determines a quotient of the target data size and the second time length as the target data transmission rate. In this way, the quotient of the target data volume and the second time length is determined as the target transmission rate, and the quotient of the target data volume and the second time length is determined as the data transmission rate because the target data volume is the maximum data volume which can be transmitted by the uplink data transmission link, so that the data throughput is not influenced.
Step S404: and the terminal determines the data transmission bandwidth matched with the target data transmission rate as the second data transmission bandwidth.
The transmission rate of data is positively correlated with the transmission bandwidth of data. In some embodiments, the value of the terminal target data transmission rate is used as the value of the data transmission bandwidth matching the target data transmission rate to obtain the second data transmission bandwidth. In some embodiments, the terminal determines, based on the target data transmission rate, a second data transmission bandwidth matched with the target data transmission rate according to the corresponding relationship between the data transmission rate and the data transmission bandwidth. The corresponding relationship between the data transmission rate and the data transmission bandwidth may be determined according to any relationship algorithm between the data transmission rate and the data transmission bandwidth, which is not specifically limited in this embodiment of the present application.
Step S405: and the terminal transmits the data to be transmitted through the uplink data transmission link in the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
The principle of this step is the same as that of step S204, and is not described herein again.
In the embodiment of the application, the data transmitted by the uplink transmission link is averaged to the second duration corresponding to the downlink data transmission link, so that the problem that in the initial stage of data transmission, when data transmission is performed, data impact is generated due to large bandwidths of the uplink data transmission link and the downlink data transmission link, so that the bandwidth is insufficient, and further data transmission failure is caused is solved.
In some embodiments, the terminal is configured to employ a modem (modem) and an Access Point (AP). The modem and the AP are connected through a PCIE interface, and the PCIE is electrified through a hardware accelerator, so that the activation and the dormancy of the modem and the AP are controlled. In order to prevent the power consumption waste caused by the fact that the hardware accelerator keeps the power-on state of the PCIE in the sleep time of the data transmission period. In an embodiment of the present application, a power-on state of the hardware accelerator is adjusted based on a data transmission period of a downlink data transmission link, and referring to fig. 5, a flowchart of a data transmission method according to an exemplary embodiment of the present application is shown. The method comprises the following steps:
step S501: the terminal determines a target data volume, wherein the target data volume is a data volume transmitted by an uplink data transmission link within a first time length, and the first time length is a time length corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link.
This step is the same as the principle of step S201, and is not described herein again.
Step S502: and the terminal determines a second time length of the downlink data transmission link, wherein the second time length is a time length corresponding to the activation time period in a second data transmission period of the downlink data transmission link.
The principle of this step is the same as that of step S202, and is not described herein again.
Step S503: and the terminal adjusts the first data transmission bandwidth of the uplink data transmission link based on the target data volume and the second time length to obtain a second data transmission bandwidth.
The principle of this step is the same as that of step S203, and is not described herein again.
Step S504: and the terminal controls the operation state of a hardware accelerator based on the second data transmission period of the downlink data transmission link, and the hardware accelerator is used for controlling the data transmission of the downlink data transmission link and the uplink data transmission link based on the operation state.
Referring to fig. 6, in the embodiment of the present application, the duration of the power-on state of the hardware accelerator is kept consistent with the second data transmission period, before entering the activation period, the terminal wakes up the hardware accelerator to operate the hardware accelerator, and during the sleep period, the terminal controls the hardware accelerator to also enter the sleep state. Correspondingly, in response to that the current time reaches the activation time of the downlink data transmission link, the terminal controls the hardware accelerator to enter an activation state, and when the hardware accelerator is in the activation state, the hardware accelerator is used for controlling the uplink data transmission link and the downlink data transmission link to perform data transmission; and in response to that the activation duration of the hardware accelerator reaches the second duration, the terminal controls the hardware accelerator to enter a sleep state, and when the hardware accelerator is in the sleep state, the hardware accelerator is used for controlling the uplink data transmission link and the downlink data transmission link to stop data transmission.
It should be noted that this step may also be executed before step S201, and in the embodiment of the present application, the execution order of this step is not particularly limited.
Step S505: and the terminal controls an uplink data transmission link through the hardware accelerator, and transmits the data to be transmitted through the uplink data transmission link within the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
The principle of this step is the same as that of step S204, and is not described herein again.
In the embodiment of the application, the duration of the power-on state of the hardware accelerator is kept consistent with the second data transmission period, the terminal wakes up the hardware accelerator before entering the activation time period to enable the hardware accelerator to work, and the terminal controls the hardware accelerator to also enter the sleep state in the sleep time period, so that the power-on of the uplink and downlink data transmission links in the sleep time period of the data transmission period is prevented, the power consumption of the terminal is further saved, and the service life of the battery is further prolonged.
Referring to fig. 7, a block diagram of a data transmission apparatus according to an embodiment of the present application is shown. The data transfer means may be implemented as all or part of the processor, in software, hardware or a combination of both. The device includes:
a first determining module 701, configured to determine a target data amount, where the target data amount is a data amount transmitted by an uplink data transmission link within a first time duration, and the first time duration is a time duration corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link;
a second determining module 702, configured to determine a second duration of the downlink data transmission link, where the second duration is a duration corresponding to an activation time period in a second data transmission cycle of the downlink data transmission link;
an adjusting module 703, configured to adjust a first data transmission bandwidth of the uplink data transmission link based on the target data amount and the second duration, to obtain a second data transmission bandwidth;
a data transmission module 704, configured to transmit the data to be transmitted through the uplink data transmission link in the active time period in the second data transmission cycle based on the second data transmission bandwidth.
In some embodiments, the adjusting module 703 includes:
a first determining unit configured to determine a target data transmission rate based on the second duration and the target data amount;
a second determining unit, configured to determine the data transmission bandwidth matched with the target data transmission rate as the second data transmission bandwidth.
In some embodiments, the first determining unit is configured to determine a quotient of the target data amount and the second duration as the target data transmission rate.
In some embodiments, the first determining module 701 includes:
the reading unit is used for reading the data volume of the data cached in the memory to obtain the target data volume, and the memory is used for caching the data transmitted by the uplink data transmission link within the first time period; alternatively, the first and second electrodes may be,
a third determining unit, configured to determine the target data amount based on the first data transmission bandwidth and the first duration.
In some embodiments, the third determining unit is configured to determine a maximum data transmission rate based on the first data transmission bandwidth; determining the target data amount as the product of the maximum data transmission rate and the first duration.
In some embodiments, the data transmission module 704 is configured to transmit the data to be transmitted by using the second data transmission bandwidth as a transmission rate and using a second duration corresponding to the active time period in the second data transmission cycle as a transmission duration.
In some embodiments, the apparatus further comprises:
and the control module is used for controlling the operation state of a hardware accelerator based on the second data transmission period of the downlink data transmission link, and the hardware accelerator is used for controlling the data transmission of the downlink data transmission link and the uplink data transmission link based on the operation state.
In some embodiments, the control module comprises:
the first control unit is used for responding to that the current time reaches the activation time of the downlink data transmission link, controlling the hardware accelerator to enter an activation state, and controlling the uplink data transmission link and the downlink data transmission link to carry out data transmission when the hardware accelerator is in the activation state;
and the second control unit is used for controlling the hardware accelerator to enter a sleep state in response to the activation time of the hardware accelerator reaching the second time, and the hardware accelerator is used for controlling the uplink data transmission link and the downlink data transmission link to stop data transmission when the hardware accelerator is in the sleep state.
In the embodiment of the application, the data transmitted by the uplink transmission link is averaged to the second duration corresponding to the downlink data transmission link, so that the problem that in the initial stage of data transmission, when data transmission is performed, data impact is generated due to large bandwidths of the uplink data transmission link and the downlink data transmission link, so that the bandwidth is insufficient, and further data transmission failure is caused is solved.
In some embodiments, the electronic device is provided as a terminal, please refer to fig. 8, which illustrates a block diagram of a terminal 800 according to an exemplary embodiment of the present application. The terminal 800 may be a terminal having an image processing function, such as a smart phone or a tablet computer. The terminal 800 in the present application may include one or more of the following components: processor 810, memory 820, and communication module 830.
Processor 810 may include one or more processing cores. The processor 810, which is connected to various parts throughout the terminal 800 using various interfaces and lines, performs various functions of the terminal 800 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 820 and calling data stored in the memory 820. Alternatively, the processor 810 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 810 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-Network Processing Unit (NPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the NPU is used for realizing an Artificial Intelligence (AI) function; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 810, but may be implemented by a single chip.
The Memory 820 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 820 includes a non-transitory computer-readable medium. The memory 820 may be used to store instructions, programs, code sets, or instruction sets. The memory 820 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 800, and the like.
The communication module 830 is used for transmitting and receiving signals, and may be a Wireless Fidelity (WIFI) module or the like. The communication module 830 adopts a modem (modem) and an Access Point (AP) structure. The modem and the AP are connected through a PCIE interface, and the PCIE is electrified through a hardware accelerator, so that the activation and the dormancy of the modem and the AP are controlled.
The terminal 810 may also include a display screen, which is a display component for displaying a user interface. Optionally, the display screen is a display screen with a touch function, and through the touch function, a user may use any suitable object such as a finger or a touch pen to perform a touch operation on the display screen.
The display screen is generally provided at the front panel of the terminal 800. The display screen may be designed as a full-face screen, curved screen, odd-shaped screen, double-face screen, or folding screen. The display screen may also be designed as a combination of a full screen and a curved screen, a combination of a special screen and a curved screen, and the like, which is not limited in this embodiment.
In addition, those skilled in the art will appreciate that the configuration of terminal 800 illustrated in the above figures is not meant to be limiting with respect to terminal 800, and that terminal 800 may include more or fewer components than shown, or some of the components may be combined, or a different arrangement of components. For example, the terminal 800 further includes a microphone, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a power supply, a bluetooth module, and other components, which are not described herein again.
Embodiments of the present application also provide a computer-readable storage medium storing at least one program code for execution by a processor to implement the data transmission method according to the above aspect.
Embodiments of the present application also provide a computer program product, which stores at least one program code for execution by a processor to implement the data transmission method according to the above aspect.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method of data transmission, the method comprising:
determining a target data volume, wherein the target data volume is a data volume transmitted by an uplink data transmission link within a first time length, and the first time length is a time length corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link;
determining a second time length of a downlink data transmission link, wherein the second time length is a time length corresponding to an activation time period in a second data transmission cycle of the downlink data transmission link;
adjusting a first data transmission bandwidth of the uplink data transmission link based on the target data amount and the second time length to obtain a second data transmission bandwidth;
and transmitting the data to be transmitted through the uplink data transmission link within the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
2. The method of claim 1, wherein the adjusting the first data transmission bandwidth of the uplink data transmission link to obtain the second data transmission bandwidth based on the target data amount and the second duration comprises:
determining a target data transmission rate based on the second duration and the target data amount;
and determining the data transmission bandwidth matched with the target data transmission rate as the second data transmission bandwidth.
3. The method of claim 2, wherein determining a target data transmission rate based on the second duration and the target amount of data comprises:
and determining the quotient of the target data volume and the second time length as the target data transmission rate.
4. The method of claim 1, wherein determining the target amount of data comprises:
reading the data volume of the data cached in a memory to obtain the target data volume, wherein the memory is used for caching the data transmitted by the uplink data transmission link within a first time period; alternatively, the first and second electrodes may be,
determining the target data amount based on the first data transmission bandwidth and the first duration.
5. The method of claim 4, wherein determining the target amount of data based on the first data transmission bandwidth and the first duration comprises:
determining a maximum data transmission rate based on the first data transmission bandwidth;
and determining the product of the maximum data transmission rate and the first duration as the target data volume.
6. The method according to claim 1, wherein the transmitting data to be transmitted via the uplink data transmission link during the active time period in the second data transmission cycle based on the second data transmission bandwidth comprises:
and transmitting the data to be transmitted by taking the second data transmission bandwidth as a transmission rate and taking a second time length corresponding to the activation time period in the second data transmission period as a transmission time length.
7. The method of any one of claims 1-6, further comprising:
and controlling the operating state of a hardware accelerator based on the second data transmission period of the downlink data transmission link, wherein the hardware accelerator is used for controlling the data transmission of the downlink data transmission link and the uplink data transmission link based on the operating state.
8. The method of claim 7, wherein controlling the operational state of the hardware accelerator based on the second data transmission period of the downstream data transmission link comprises:
in response to that the current time reaches the activation time of the downlink data transmission link, controlling the hardware accelerator to enter an activation state, and in the activation state of the hardware accelerator, controlling the uplink data transmission link and the downlink data transmission link to perform data transmission;
and in response to that the activation duration of the hardware accelerator reaches the second duration, controlling the hardware accelerator to enter a sleep state, and in the sleep state of the hardware accelerator, controlling the uplink data transmission link and the downlink data transmission link to stop data transmission.
9. A data transmission apparatus, characterized in that the apparatus comprises:
a first determining module, configured to determine a target data volume, where the target data volume is a data volume transmitted by an uplink data transmission link within a first time duration, and the first time duration is a time duration corresponding to an activation time period in a first data transmission cycle of the uplink data transmission link;
a second determining module, configured to determine a second duration of the downlink data transmission link, where the second duration is a duration corresponding to an activation time period in a second data transmission cycle of the downlink data transmission link;
the adjusting module is used for adjusting a first data transmission bandwidth of the uplink data transmission link based on the target data volume and the second duration to obtain a second data transmission bandwidth;
and the data transmission module is used for transmitting the data to be transmitted through the uplink data transmission link within the activation time period in the second data transmission cycle based on the second data transmission bandwidth.
10. A terminal, characterized in that the terminal comprises a processor and a memory; the memory stores at least one program code for execution by the processor to implement the data transmission method of any of claims 1 to 8.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores at least one program code for execution by a processor to implement the data transmission method of any one of claims 1 to 8.
CN202210684389.0A 2022-06-16 2022-06-16 Data transmission method, device, terminal and storage medium Pending CN114980219A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210684389.0A CN114980219A (en) 2022-06-16 2022-06-16 Data transmission method, device, terminal and storage medium
PCT/CN2023/070080 WO2023241026A1 (en) 2022-06-16 2023-01-03 Data transmission method and apparatus, and terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210684389.0A CN114980219A (en) 2022-06-16 2022-06-16 Data transmission method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114980219A true CN114980219A (en) 2022-08-30

Family

ID=82963200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210684389.0A Pending CN114980219A (en) 2022-06-16 2022-06-16 Data transmission method, device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN114980219A (en)
WO (1) WO2023241026A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023241026A1 (en) * 2022-06-16 2023-12-21 Oppo广东移动通信有限公司 Data transmission method and apparatus, and terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012103829A2 (en) * 2012-03-20 2012-08-09 华为技术有限公司 Method, device and system for transmitting data in coaxial network
CN107251634B (en) * 2015-08-04 2019-12-24 华为技术有限公司 Method and device for controlling scheduling message
CN111083792B (en) * 2018-10-22 2021-09-07 华为技术有限公司 Data transmission method, device and equipment in WiFi network
CN110636554B (en) * 2019-09-17 2021-06-29 华为技术有限公司 Data transmission method and device
CN114980219A (en) * 2022-06-16 2022-08-30 Oppo广东移动通信有限公司 Data transmission method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023241026A1 (en) * 2022-06-16 2023-12-21 Oppo广东移动通信有限公司 Data transmission method and apparatus, and terminal and storage medium

Also Published As

Publication number Publication date
WO2023241026A1 (en) 2023-12-21

Similar Documents

Publication Publication Date Title
EP3914000A1 (en) Paging indication method, paging method, terminal and network side device
CN110520840B (en) Wake-up signal processing method, wake-up signal processing device, wake-up signal information issuing device, communication equipment and medium
CN109788559B (en) Bandwidth part BWP switching method of asymmetric spectrum, terminal and network equipment
US20210168834A1 (en) Determining method, terminal, and network device
US11432200B2 (en) Bandwidth adjustment method, mobile terminal, network side device, and medium
CN110611925B (en) Physical downlink control channel monitoring parameter configuration method, terminal and network side equipment
CN110324809B (en) Asynchronous uplink transmission method, terminal and network equipment
CN112533232A (en) Method for determining energy-saving signal monitoring time, configuration method and related equipment
CN113038635B (en) Scell sleep indication processing method, terminal and network equipment
CN112584471B (en) Energy-saving signal receiving method, energy-saving signal sending method, terminal and network equipment
CN111050422B (en) Discontinuous reception control method and terminal
EP4054249A1 (en) Wake up signal processing method, wake up signal configuration method, and related device
CN110856246A (en) Power control method and electronic equipment
US20220240266A1 (en) Information transmission method, information receiving method, terminal, and network side device
CN114980219A (en) Data transmission method, device, terminal and storage medium
CN111615197B (en) Resource adjustment method and equipment
CN111836266B (en) SRS sending method, SRS configuration method, terminal and network equipment
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN110635878B (en) Command processing method and terminal equipment
CN111835481B (en) Uplink transmission method, terminal and network equipment
CN111836311B (en) Capability negotiation method, terminal and network equipment
CN111132355B (en) Semi-persistent scheduling transmission method, terminal and network equipment
KR20210126090A (en) Transmission resource indication method, transmission method, network device and terminal
US20220124742A1 (en) Sending method, interference handling method, terminal, and network-side 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