Data transmission method and device, storage medium and terminal
By detecting the signal-to-noise ratio of the network environment through the terminal and selecting the modulation and coding strategy based on the base station decision-making information, the problem of low terminal access network efficiency in the 5G network is solved and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202410876554.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-06
AI Technical Summary
In the 5G R16 protocol version, when the terminal accesses the network, the fixed modulation and coding strategies do not conform to the actual situation, resulting in abnormal data transmission and reducing the success rate and efficiency of the access network.
The terminal detects the signal-to-noise ratio of the network environment, dynamically selects a matching modulation and coding strategy based on the modulation and coding decision information issued by the base station, and uploads the data load on the physical uplink shared channel.
It improves the success rate and efficiency of terminal access to the network, avoids data anomalies, and improves the base station decoding success rate.
Smart Images

Figure CN118612868A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, device, storage medium and terminal. Background Art
[0002] In the 5G R16 protocol version, two-step random access (2-step RACH) is introduced. In two-step random access, the terminal sends access data (MSGA data, MSGA data includes a preamble and a data payload, the preamble is equivalent to the first step message (MSG1) in the four-step random access (4-step RACH), and the data payload is equivalent to the third step message (MSG3) in the four-step random access) to the base station in the first step. If the 5G base station in the network successfully receives the access data in the first step, the 5G base station sends a random access response to the terminal in the second step to indicate that the two-step random access is successful.
[0003] At present, the data load (payload) in the first step message is usually transmitted to the base station in the physical uplink shared channel, and the terminal usually uploads the data load (payload) to the base station according to the fixed modulation and coding strategy (fixed MCS, Modulation and Coding Scheme) indicated by the base station. However, since the terminal usually faces many situations, the fixed modulation and coding strategy is very easy to not conform to the actual situation in the terminal, which will cause abnormalities in the data uploaded by the terminal to the base station, resulting in a low success rate of the base station decoding and receiving the data, resulting in a low success rate of the terminal accessing the network, or, it will cause the terminal to upload to the base station multiple times, which makes the overall data transmission time-consuming, resulting in low efficiency of terminal access to the network. Summary of the invention
[0004] The embodiment of the present application provides a data transmission solution that can effectively improve the efficiency and success rate of terminal access to the network.
[0005] The embodiments of the present application provide the following technical solutions:
[0006] According to one embodiment of the present application, a data transmission method is applied to a terminal, and the method includes: detecting a network environment signal-to-noise ratio of a network environment in which the terminal is located; obtaining a data volume of a data load to be uploaded by the terminal in a physical uplink shared channel; determining a modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio based on modulation and coding decision information sent by a base station; and uploading the data load to the base station on the physical uplink shared channel based on the modulation and coding strategy to access the base station.
[0007] In some embodiments of the present application, before detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located, the method further includes: receiving a parameter configuration for two-step random access sent by the base station; acquiring the time-frequency resources and the modulation and coding decision information of the physical uplink shared channel from the parameter configuration; correspondingly, uploading the data load to the base station on the physical uplink shared channel includes: uploading the data load to the base station on the time-frequency resources of the physical uplink shared channel.
[0008] In some embodiments of the present application, determining the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information sent by the base station includes: if the signal-to-noise ratio of the network environment is less than a first signal-to-noise ratio threshold, selecting a strategy index value that is less than the first strategy threshold and closest to the data volume from multiple candidate strategy index values to obtain a first strategy index value; and determining the modulation and coding strategy corresponding to the first strategy index value as the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment.
[0009] In some embodiments of the present application, the method also includes: if the signal-to-noise ratio of the network environment is greater than a first signal-to-noise ratio threshold and less than a second signal-to-noise ratio threshold, selecting a policy index value that is greater than the first policy threshold, less than the second policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a second policy index value; and determining the modulation and coding strategy corresponding to the second policy index value as the modulation and coding strategy that matches the data volume size and the signal-to-noise ratio of the network environment.
[0010] In some embodiments of the present application, the method also includes: if the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than a third signal-to-noise ratio threshold, selecting a policy index value greater than the second policy threshold, less than the third policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a third policy index value; and determining the modulation and coding strategy corresponding to the third policy index value as the modulation and coding strategy that matches the data volume size and the network environment signal-to-noise ratio.
[0011] According to one embodiment of the present application, a data transmission method is applied to a base station, and the method includes: sending modulation and coding decision information to a terminal, so that the terminal determines a modulation and coding strategy that matches the data amount and the network environment signal-to-noise ratio according to the modulation and coding decision information, the data amount is the data amount of the data load to be uploaded in the terminal, and the network environment signal-to-noise ratio is the signal-to-noise ratio of the network environment in which the terminal is located; receiving the data load uploaded by the terminal on the physical uplink shared channel, wherein the terminal uploads the data load based on the modulation and coding strategy.
[0012] In some embodiments of the present application, the method further includes: receiving a preamble code uploaded by the terminal on a random access channel; if it is confirmed that the preamble code and the data load are received successfully, sending a random access response to the terminal.
[0013] According to one embodiment of the present application, a data transmission device is applied to a terminal, and the device includes: a detection module, which is used to detect the network environment signal-to-noise ratio of the network environment in which the terminal is located; an acquisition module, which is used to obtain the data volume of the data load to be uploaded by the terminal in a physical uplink shared channel; a selection module, which is used to determine the modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio according to the modulation and coding decision information sent by the base station; and an upload module, which is used to upload the data load to the base station in the physical uplink shared channel based on the modulation and coding strategy to access the base station.
[0014] In some embodiments of the present application, before detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located, the device also includes a configuration module, which is used to: receive the parameter configuration for two-step random access sent by the base station; obtain the time-frequency resources and the modulation and coding decision information of the physical uplink shared channel from the parameter configuration; correspondingly, the upload module is used to: upload the data load to the base station on the time-frequency resources of the physical uplink shared channel.
[0015] In some embodiments of the present application, the selection module is used to: if the signal-to-noise ratio of the network environment is less than a first signal-to-noise ratio threshold, select a policy index value that is less than the first policy threshold and closest to the data size from a plurality of candidate policy index values to obtain a first policy index value; determine the modulation and coding strategy corresponding to the first policy index value as the modulation and coding strategy that matches the data size and the signal-to-noise ratio of the network environment.
[0016] In some embodiments of the present application, the selection module is used to: if the network environment signal-to-noise ratio is greater than a first signal-to-noise ratio threshold and less than a second signal-to-noise ratio threshold, select a policy index value greater than the first policy threshold, less than the second policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a second policy index value; determine the modulation and coding strategy corresponding to the second policy index value as the modulation and coding strategy that matches the data volume size and the network environment signal-to-noise ratio.
[0017] In some embodiments of the present application, the selection module is used to: if the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than a third signal-to-noise ratio threshold, select a policy index value greater than the second policy threshold, less than the third policy threshold and closest to the data size from a plurality of candidate policy index values to obtain a third policy index value; and determine the modulation and coding strategy corresponding to the third policy index value as the modulation and coding strategy that matches the data size and the network environment signal-to-noise ratio.
[0018] According to one embodiment of the present application, a data transmission device is applied to a base station, and the device includes: a sending module, which is used to send modulation and coding decision information to a terminal, so that the terminal determines the modulation and coding strategy that matches the data amount and the network environment signal-to-noise ratio according to the modulation and coding decision information, the data amount is the data amount of the data load to be uploaded in the terminal, and the network environment signal-to-noise ratio is the signal-to-noise ratio of the network environment in which the terminal is located; a receiving module, which is used to receive the data load uploaded by the terminal on the physical uplink shared channel, wherein the terminal uploads the data load based on the modulation and coding strategy.
[0019] In some embodiments of the present application, the receiving module is also used to: receive the preamble code uploaded by the terminal on the random access channel; the device also includes a response module, which is used to send a random access response to the terminal if it is confirmed that the reception of the preamble code and the data load is successful.
[0020] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer executes the method described in the embodiment of the present application.
[0021] According to another embodiment of the present application, a terminal may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.
[0022] According to another embodiment of the present application, a base station may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.
[0023] According to another embodiment of the present application, a computer program product or a computer program includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in various optional implementations described in the embodiments of the present application.
[0024] In an embodiment of the present application, the terminal can: detect the network environment signal-to-noise ratio of the network environment in which the terminal is located; obtain the data amount of the data load to be uploaded by the terminal in the physical uplink shared channel; determine the modulation and coding strategy that matches the data amount and the network environment signal-to-noise ratio according to the modulation and coding decision information sent by the base station; and upload the data load to the base station on the physical uplink shared channel based on the modulation and coding strategy to access the base station.
[0025] In this way, the terminal can detect the network environment signal-to-noise ratio of the network environment in which it is located, and obtain the data volume of the data load to be uploaded in the physical uplink shared channel. Then, based on the modulation and coding decision information sent by the base station, the modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio is determined. The modulation and coding strategy will be very consistent with the situation in the terminal. Based on the modulation and coding strategy, the data load can be reliably uploaded to the base station in the physical uplink shared channel, data anomalies can be effectively avoided, and the success rate of base station decoding data is improved. The data upload can be completed efficiently to improve the success rate of the terminal accessing the network, and then, the efficiency and success rate of the terminal accessing the network can be effectively improved as a whole. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 The system interaction flow chart of two-step random access according to an embodiment of the present application is schematically shown.
[0028] Figure 2 A flow chart of a data transmission method according to an embodiment of the present application is shown.
[0029] Figure 3 A flow chart of a data transmission method according to another embodiment of the present application is shown.
[0030] Figure 4 A block diagram of a data transmission device according to an embodiment of the present application is shown.
[0031] Figure 5 A block diagram of a data transmission device according to another embodiment of the present application is shown.
[0032] Figure 6 A block diagram of a terminal according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0033] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are only used to explain the present disclosure and are not intended to limit the present disclosure. In addition, the embodiments provided below are partial embodiments for implementing the present disclosure, rather than providing all embodiments for implementing the present disclosure. In the absence of conflict, the technical solutions recorded in the embodiments of the present disclosure can be implemented in any combination.
[0034] It should be noted that, in the embodiments of the present disclosure, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a method or apparatus including a series of elements includes not only the elements explicitly recorded, but also includes other elements not explicitly listed, or also includes elements inherent to the implementation of the method or apparatus. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other related elements in the method or apparatus including the element (such as a step in the method or a unit in the apparatus, for example, a unit may be a part of a circuit, a part of a processor, a part of a program or software, etc.).
[0035] For example, the data transmission method provided by the embodiment of the present disclosure includes a series of steps, but the data transmission method provided by the embodiment of the present disclosure is not limited to the recorded steps. Similarly, the data transmission device provided by the embodiment of the present disclosure includes a series of units, but the device provided by the embodiment of the present disclosure is not limited to including the units explicitly recorded, and may also include units required to obtain relevant information or perform processing based on the information.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.
[0037] Figure 1 A system interaction flow chart of two-step random access according to an embodiment of the present application is schematically shown, and the system interaction flow of the two-step random access may specifically be the interaction between the terminal and the base station. Figure 2 The flowchart of the data transmission method according to an embodiment of the present application is schematically shown. The terminal can be any terminal with communication capability, such as a mobile phone, a television, a computer, a smart watch, and a home appliance.
[0038] First, see Figure 1In the two-step random access process, the terminal may execute step S110 of the first step, and the base station may execute step S120 of the second step. Step S110 may include step S111 and step S112, and step S111 and step S112 may be performed simultaneously.
[0039] Further, such as Figure 2 As shown, when step S112 is executed in the terminal, the data transmission method of the present application can be executed. Specifically, in the present application, step S112 may include steps S210 to S240.
[0040] Step S210, detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located; step S220, obtaining the data volume of the data load to be uploaded by the terminal in the physical uplink shared channel; step S230, determining the modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio according to the modulation and coding decision information sent by the base station; step S240, uploading the data load to the base station on the physical uplink shared channel based on the modulation and coding strategy to access the base station.
[0041] During two-step random access, the terminal sends access data (MSGA data) to the base station in the first step S110, the MSGA data including the preamble sent in step S111 and the data payload sent in step S112, the preamble is equivalent to the message (MSG1) of the first step in the four-step random access (4-step RACH), and the data payload is equivalent to the message (MSG3) of the third step in the four-step random access).
[0042] In step S112 of the first step, before the terminal sends the data load to the base station, the terminal can detect the signal to noise ratio (SINR, Signal to Interference & Noise Ratio) of the network environment in which it is located, and the detected signal to noise ratio is the signal to noise ratio of the network environment. Further, for the data load that the terminal wants to upload, the terminal can also obtain the data volume of the data load.
[0043] The base station sends modulation and coding decision information to the terminal in advance, and the modulation and coding decision information is used by the terminal to dynamically select a matching modulation and coding strategy; however, in the current prior art, the base station usually directly specifies a fixed modulation and coding strategy to the terminal, and the terminal cannot choose.
[0044] After obtaining the network environment signal-to-noise ratio and the data volume, the terminal can determine the modulation and coding strategy (MCS) that matches the data volume and the network environment signal-to-noise ratio according to the modulation and coding decision information sent by the base station.
[0045] Then, the terminal can upload the data load to the base station on a physical uplink shared channel (PUSCH) according to the dynamically selected modulation and coding strategy.
[0046] In step S111 of the first step, the terminal can upload a preamble to the base station through a random access channel. If the base station in the network confirms that it has successfully received the preamble and data load in the first step, the base station will send a random access response (RAR) to the terminal in step S120 of the second step. The random access response can indicate that the two-step random access is successful. The random access response can also carry other necessary system information, and then the terminal completes the two-step random access.
[0047] In this way, based on steps S210 to S240, the terminal can detect the network environment signal-to-noise ratio of the network environment in which it is located, and obtain the data volume of the data load to be uploaded in the physical uplink shared channel. Then, based on the modulation and coding decision information sent by the base station, the modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio is determined. The modulation and coding strategy will be very consistent with the situation in the terminal. Based on the modulation and coding strategy, the data load can be reliably uploaded to the base station in the physical uplink shared channel, data anomalies can be effectively avoided, and the success rate of base station decoding data is improved. The data upload can be efficiently completed to improve the success rate of the terminal accessing the network, and then, the efficiency and success rate of the terminal accessing the network can be effectively improved as a whole.
[0048] With the current existing technical solutions, the base station usually directly specifies a fixed modulation and coding strategy to the terminal, and the terminal cannot choose. In some cases, if the signal-to-noise ratio of the network environment in which the terminal is currently located is low and a high modulation and coding strategy cannot be used, but the base station specifies a high modulation and coding strategy, it is likely to cause abnormalities in the terminal's uploaded data, causing the base station to fail to decode, reducing the success rate of the terminal's access to the network and increasing the delay of the terminal's access to the network. In some other cases, the terminal actually needs to send a very small data load, but the base station allocates a modulation and coding strategy to the terminal that is far greater than the actual need, resulting in a waste of modulation and coding strategy resources; on the contrary, the terminal actually needs to send a large data load, but the base station allocates resources to the terminal that are less than the actual need for the modulation and coding strategy, causing the terminal to be unable to send complete data at once, increasing the delay of the terminal's access to the network.
[0049] The following further describes Figure 2 When data transmission is performed under the embodiment, further optional specific embodiments are provided under each step performed.
[0050] In one embodiment, before detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located, the method further includes: receiving a parameter configuration for two-step random access sent by the base station; obtaining the time-frequency resources and the modulation and coding decision information of the physical uplink shared channel from the parameter configuration; correspondingly, uploading the data load to the base station on the physical uplink shared channel includes: uploading the data load to the base station on the time-frequency resources of the physical uplink shared channel.
[0051] In such Figure 1 Before step S110 shown, the base station also sends parameter configuration for two-step random access to the terminal, and the parameter configuration may at least include time-frequency resources and modulation and coding decision information of the physical uplink shared channel. The base station may dynamically carry the modulation and coding decision information when sending parameter configuration for two-step random access before two-step random access each time.
[0052] In step S112, the terminal can obtain at least the time-frequency resources and modulation and coding decision information of the physical uplink shared channel from the parameter configuration, determine the matching modulation and coding strategy according to the modulation and coding decision information, and can upload the data load to the base station on the time-frequency resources of the physical uplink shared channel based on the modulation and coding strategy.
[0053] Furthermore, in an embodiment, determining the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information sent by the base station may include: if the signal-to-noise ratio of the network environment is less than a first signal-to-noise ratio threshold, selecting a strategy index value that is less than the first strategy threshold and closest to the data volume from a plurality of candidate strategy index values to obtain a first strategy index value; and determining the modulation and coding strategy corresponding to the first strategy index value as the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment.
[0054] The modulation and coding decision information may include a first signal-to-noise ratio threshold, multiple candidate strategy index values, a first strategy threshold, and information on a method for selecting a strategy index value, wherein each strategy index value corresponds to a modulation and coding strategy.
[0055] The terminal can compare the network environment signal-to-noise ratio and the first signal-to-noise ratio threshold. If the network environment signal-to-noise ratio is less than the first signal-to-noise ratio threshold, the terminal selects a policy index value that is less than the first policy threshold and closest to the aforementioned data size from multiple candidate policy index values, and the selected policy index value is used as the first policy index value obtained.
[0056] The terminal can determine the modulation and coding strategy corresponding to the first strategy index value as the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment, and reliably upload the data load to the base station on the physical uplink shared channel (PUSCH) according to the modulation and coding strategy.
[0057] Furthermore, in one embodiment, the method may also include: if the signal-to-noise ratio of the network environment is greater than a first signal-to-noise ratio threshold and less than a second signal-to-noise ratio threshold, then selecting a policy index value greater than the first policy threshold, less than the second policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a second policy index value; and determining the modulation and coding strategy corresponding to the second policy index value as the modulation and coding strategy that matches the data volume size and the signal-to-noise ratio of the network environment.
[0058] The modulation and coding decision information may further include a second signal-to-noise ratio threshold and a second strategy threshold. The terminal may compare the network environment signal-to-noise ratio with the first signal-to-noise ratio threshold and the second signal-to-noise ratio threshold. If the network environment signal-to-noise ratio is greater than the first signal-to-noise ratio threshold and less than the second signal-to-noise ratio threshold, the terminal selects a strategy index value greater than the first strategy threshold, less than the second strategy threshold and closest to the data size from multiple candidate strategy index values, and the selected strategy index value is used as the obtained second strategy index value.
[0059] The terminal can determine the modulation and coding strategy corresponding to the second strategy index value as a modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment, and reliably upload the data load to the base station on the physical uplink shared channel (PUSCH, Physical uplink shared channel) in this scenario according to the modulation and coding strategy.
[0060] In one embodiment, the method may further include: the method also includes: if the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than a third signal-to-noise ratio threshold, then selecting a policy index value greater than the second policy threshold, less than the third policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a third policy index value; and determining the modulation and coding strategy corresponding to the third policy index value as the modulation and coding strategy that matches the data volume size and the network environment signal-to-noise ratio.
[0061] The modulation and coding decision information may further include a third signal-to-noise ratio threshold and a third strategy threshold. The terminal may compare the network environment signal-to-noise ratio with the first signal-to-noise ratio threshold, the second signal-to-noise ratio threshold, and the third signal-to-noise ratio threshold. If the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than the third signal-to-noise ratio threshold, the terminal selects a strategy index value greater than the second strategy threshold, less than the third strategy threshold, and closest to the data size from a plurality of candidate strategy index values, and the selected strategy index value is used as the obtained third strategy index value.
[0062] The terminal can determine the modulation and coding strategy corresponding to the third strategy index value as a modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment, and reliably upload the data load to the base station on the physical uplink shared channel (PUSCH, Physical uplink shared channel) in this scenario according to the modulation and coding strategy.
[0063] For further information, see Figure 3 , the data transmission method executed in the base station may include steps S310 to S320.
[0064] Step S310, sending modulation and coding decision information to the terminal, so that the terminal determines the modulation and coding strategy that matches the data amount and the network environment signal-to-noise ratio according to the modulation and coding decision information, the data amount is the data amount of the data load to be uploaded in the terminal, and the network environment signal-to-noise ratio is the signal-to-noise ratio of the network environment in which the terminal is located; Step S320, receiving the data load uploaded by the terminal on the physical uplink shared channel, wherein the terminal uploads the data load based on the modulation and coding strategy.
[0065] In such Figure 1 Before step S110 shown in FIG. 1 , the base station may execute step S310 to send modulation and coding decision information to the terminal. Then, the terminal may determine the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information. Figure 1 In step S112 of step S110 shown, the base station may execute step S320 to receive the data load uploaded by the terminal on the physical uplink shared channel.
[0066] The terminal determines the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment based on the modulation and coding decision information sent by the base station. The modulation and coding strategy will be very consistent with the situation in the terminal. Based on the modulation and coding strategy, the data load can be reliably uploaded to the base station on the physical uplink shared channel. The base station can reliably and efficiently receive the data load uploaded by the terminal, effectively avoid data anomalies, and improve the success rate of base station decoding data. It can also efficiently complete data upload to improve the success rate of terminal access to the network, and thus, can effectively improve the efficiency and success rate of terminal access to the network as a whole.
[0067] Furthermore, in an embodiment, the base station may also: receive a preamble code uploaded by the terminal on a random access channel; and if it is confirmed that the preamble code and the data load are received successfully, send a random access response to the terminal.
[0068] The base station can be Figure 1 In step S111 shown in FIG. 1 , a preamble code uploaded by the terminal on a random access channel is received. Figure 1 In step S120 shown, if the base station confirms that the preamble code and the data load are received successfully, it sends a random access response to the terminal, and then the terminal successfully accesses the network through the two-step random access.
[0069] In order to better implement the data transmission method provided in the embodiment of the present application, the embodiment of the present application also provides a data transmission device based on the above data transmission method. The meanings of the terms are the same as those in the above data transmission method, and the specific implementation details can refer to the description in the method embodiment.
[0070] Figure 4 FIG. 1 is a block diagram of a data transmission device according to an embodiment of the present application. Figure 4 The data transmission device 400 shown can be applied to a terminal, and the data transmission device 400 may include:
[0071] The detection module 410 can be used to detect the network environment signal-to-noise ratio of the network environment in which the terminal is located; the acquisition module 420 can be used to obtain the data volume of the data load to be uploaded by the terminal in the physical uplink shared channel; the selection module 430 can be used to determine the modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio according to the modulation and coding decision information sent by the base station; the upload module 440 can be used to upload the data load to the base station in the physical uplink shared channel based on the modulation and coding strategy to access the base station.
[0072] In some embodiments of the present application, before detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located, the device also includes a configuration module, which is used to: receive the parameter configuration for two-step random access sent by the base station; obtain the time-frequency resources and the modulation and coding decision information of the physical uplink shared channel from the parameter configuration; correspondingly, the upload module is used to: upload the data load to the base station on the time-frequency resources of the physical uplink shared channel.
[0073] In some embodiments of the present application, the selection module is used to: if the signal-to-noise ratio of the network environment is less than a first signal-to-noise ratio threshold, select a policy index value that is less than the first policy threshold and closest to the data size from a plurality of candidate policy index values to obtain a first policy index value; determine the modulation and coding strategy corresponding to the first policy index value as the modulation and coding strategy that matches the data size and the signal-to-noise ratio of the network environment.
[0074] In some embodiments of the present application, the selection module is used to: if the network environment signal-to-noise ratio is greater than a first signal-to-noise ratio threshold and less than a second signal-to-noise ratio threshold, select a policy index value greater than the first policy threshold, less than the second policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a second policy index value; determine the modulation and coding strategy corresponding to the second policy index value as the modulation and coding strategy that matches the data volume size and the network environment signal-to-noise ratio.
[0075] In some embodiments of the present application, the selection module is used to: if the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than a third signal-to-noise ratio threshold, select a policy index value greater than the second policy threshold, less than the third policy threshold and closest to the data size from a plurality of candidate policy index values to obtain a third policy index value; and determine the modulation and coding strategy corresponding to the third policy index value as the modulation and coding strategy that matches the data size and the network environment signal-to-noise ratio.
[0076] Figure 5 FIG. 1 is a block diagram of a data transmission device according to an embodiment of the present application. Figure 5 The data transmission device 500 shown can be applied to a base station, and the data transmission device 500 may include:
[0077] The sending module 510 can be used to send modulation and coding decision information to the terminal, so that the terminal determines the modulation and coding strategy that matches the data amount and the network environment signal-to-noise ratio according to the modulation and coding decision information, the data amount is the data amount of the data load to be uploaded in the terminal, and the network environment signal-to-noise ratio is the signal-to-noise ratio of the network environment in which the terminal is located; the receiving module 520 can be used to receive the data load uploaded by the terminal on the physical uplink shared channel, wherein the terminal uploads the data load based on the modulation and coding strategy.
[0078] In some embodiments of the present application, the receiving module is also used to: receive the preamble code uploaded by the terminal on the random access channel; the device also includes a response module, which is used to send a random access response to the terminal if it is confirmed that the reception of the preamble code and the data load is successful.
[0079] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0080] In addition, the present application embodiment also provides a terminal, such as Figure 6 As shown, Figure 6 A block diagram of a terminal according to an embodiment of the present application is shown, specifically:
[0081] The terminal may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will appreciate that Figure 5 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0082] The processor 601 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 602 and calling data stored in the memory 602, it executes various functions of the computer device and processes data, thereby monitoring the terminal as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.
[0083] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0084] The terminal also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0085] The terminal may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0086] Although not shown, the terminal may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 601 in the terminal will load the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 will run the computer program stored in the memory 602, so as to realize various functions in the aforementioned embodiments of the present application, such as the processor 601 may perform the following steps:
[0087] Detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located; obtaining the data volume of the data load to be uploaded by the terminal in the physical uplink shared channel; determining the modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio according to the modulation and coding decision information sent by the base station; uploading the data load to the base station on the physical uplink shared channel based on the modulation and coding strategy to access the base station.
[0088] In some embodiments of the present application, before detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located, the method further includes: receiving a parameter configuration for two-step random access sent by the base station; acquiring the time-frequency resources and the modulation and coding decision information of the physical uplink shared channel from the parameter configuration; correspondingly, uploading the data load to the base station on the physical uplink shared channel includes: uploading the data load to the base station on the time-frequency resources of the physical uplink shared channel.
[0089] In some embodiments of the present application, determining the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information sent by the base station includes: if the signal-to-noise ratio of the network environment is less than a first signal-to-noise ratio threshold, selecting a strategy index value that is less than the first strategy threshold and closest to the data volume from multiple candidate strategy index values to obtain a first strategy index value; and determining the modulation and coding strategy corresponding to the first strategy index value as the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment.
[0090] In some embodiments of the present application, the method also includes: if the signal-to-noise ratio of the network environment is greater than a first signal-to-noise ratio threshold and less than a second signal-to-noise ratio threshold, selecting a policy index value that is greater than the first policy threshold, less than the second policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a second policy index value; and determining the modulation and coding strategy corresponding to the second policy index value as the modulation and coding strategy that matches the data volume size and the signal-to-noise ratio of the network environment.
[0091] In some embodiments of the present application, the method also includes: if the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than a third signal-to-noise ratio threshold, selecting a policy index value greater than the second policy threshold, less than the third policy threshold and closest to the data volume size from a plurality of candidate policy index values to obtain a third policy index value; and determining the modulation and coding strategy corresponding to the third policy index value as the modulation and coding strategy that matches the data volume size and the network environment signal-to-noise ratio.
[0092] According to another embodiment of the present application, a base station may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.
[0093] For example, the processor in the base station can execute: sending modulation and coding decision information to the terminal, so that the terminal determines the modulation and coding strategy that matches the data amount and the network environment signal-to-noise ratio according to the modulation and coding decision information, the data amount is the data amount of the data load to be uploaded in the terminal, and the network environment signal-to-noise ratio is the signal-to-noise ratio of the network environment in which the terminal is located; receiving the data load uploaded by the terminal on the physical uplink shared channel, wherein the terminal uploads the data load based on the modulation and coding strategy.
[0094] In some embodiments of the present application, the method further includes: receiving a preamble code uploaded by the terminal on a random access channel; if it is confirmed that the preamble code and the data load are received successfully, sending a random access response to the terminal.
[0095] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0096] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.
[0097] The storage medium may be a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0098] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0099] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0100] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.
Claims
1. A data transmission method, characterized in that: Applied to a terminal, the method comprises: Detecting a network environment signal-to-noise ratio of a network environment in which the terminal is located; Acquire the data amount of the data load to be uploaded by the terminal in the physical uplink shared channel; Determine the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information sent by the base station; Based on the modulation and coding strategy, the data load is uploaded to the base station on the physical uplink shared channel to access the base station.
2. The method according to claim 1, characterized in that Before detecting the network environment signal-to-noise ratio of the network environment in which the terminal is located, the method further includes: receiving a parameter configuration for two-step random access sent by the base station; Acquire the time-frequency resources of the physical uplink shared channel and the modulation and coding decision information from the parameter configuration; Correspondingly, uploading the data load to the base station on the physical uplink shared channel includes: The data load is uploaded to the base station on the time-frequency resources of the physical uplink shared channel.
3. The method according to claim 1, characterized in that The step of determining the modulation and coding strategy for matching the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information sent by the base station includes: If the network environment signal-to-noise ratio is less than a first signal-to-noise ratio threshold, selecting a policy index value that is less than the first policy threshold and closest to the data volume from a plurality of candidate policy index values to obtain a first policy index value; The modulation and coding strategy corresponding to the first strategy index value is determined as a modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment.
4. The method according to claim 3, characterized in that The method further comprises: If the network environment signal-to-noise ratio is greater than a first signal-to-noise ratio threshold and less than a second signal-to-noise ratio threshold, select a policy index value greater than the first policy threshold, less than the second policy threshold and closest to the data size from a plurality of candidate policy index values to obtain a second policy index value; The modulation and coding strategy corresponding to the second strategy index value is determined as a modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment.
5. The method according to claim 4, characterized in that The method further comprises: If the network environment signal-to-noise ratio is greater than the second signal-to-noise ratio threshold and less than a third signal-to-noise ratio threshold, select a policy index value greater than the second policy threshold, less than the third policy threshold and closest to the data size from the candidate multiple policy index values to obtain a third policy index value; The modulation and coding strategy corresponding to the third strategy index value is determined as a modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment.
6. A data transmission method, characterized in that: Applied to a base station, the method comprises: Sending modulation and coding decision information to the terminal, so that the terminal determines a modulation and coding strategy that matches the data volume and the network environment signal-to-noise ratio according to the modulation and coding decision information, wherein the data volume is the data volume of the data load to be uploaded in the terminal, and the network environment signal-to-noise ratio is the signal-to-noise ratio of the network environment in which the terminal is located; The data load uploaded by the terminal on the physical uplink shared channel is received, wherein the data load uploaded by the terminal is based on the modulation and coding strategy.
7. The method according to claim 6, characterized in that The method further comprises: Receiving a preamble code uploaded by the terminal on a random access channel; If it is confirmed that the preamble code and the data payload are received successfully, a random access response is sent to the terminal.
8. A data transmission device, characterized in that: Applied to a terminal, the device comprises: A detection module, used to detect a network environment signal-to-noise ratio of a network environment in which the terminal is located; An acquisition module, used to acquire the data amount of the data load to be uploaded by the terminal in the physical uplink shared channel; A selection module is used to determine the modulation and coding strategy that matches the data volume and the signal-to-noise ratio of the network environment according to the modulation and coding decision information sent by the base station; An uploading module is used to upload the data load to the base station on the physical uplink shared channel based on the modulation and coding strategy to access the base station.
9. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 5 or 6 to 7.
10. A terminal, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 5.
