Device access method, terminal device, base station, and electronic device
Patent Information
- Application Number
- CN202310525667.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-05-10
AI Technical Summary
[0005]本发明提供一种设备接入方法、终端设备、基站及电子设备,用以解决现有的设备接入方法使得终端设备的接入效率较低的缺陷,实现利用每个终端设备对应的前导序列都采用相同数量的循环移位,以使基站在对多个终端设备对应的前导序列进行冲突检测的过程中,可准确确定允许接入的终端设备,以提高终端设备的接入效率
[0028]本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方面或第二方面所述设备接入方法。
Smart Images

Figure CN116647929B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a device access method, terminal equipment, base station, and electronic equipment. Background Technology
[0002] In recent years, with the rapid development of technology, terminal devices have become increasingly widespread. Users need to connect their terminal devices to a base station before using them, so that data can be transmitted between the device and the base station.
[0003] To meet the required number of preambles within a cell or beam, existing device access methods necessitate continuously increasing cyclic shifts. Consequently, excessively large cyclic shifts inevitably correspond to extremely small cyclic shift indices. This results in terminal devices achieving superior access performance by selecting earlier preamble index numbers, while selecting later preamble index numbers increases the likelihood of repeated access attempts, leading to decreased access efficiency.
[0004] Therefore, improving the access efficiency of terminal devices during the process of accessing base stations has become an urgent problem to be solved. Summary of the Invention
[0005] This invention provides a device access method, a terminal device, a base station, and an electronic device to address the shortcomings of existing device access methods that result in low access efficiency for terminal devices. By utilizing the same number of cyclic shifts in the preamble sequence corresponding to each terminal device, the base station can accurately determine which terminal devices are allowed to access during the collision detection process of preamble sequences corresponding to multiple terminal devices, thereby improving the access efficiency of terminal devices.
[0006] In a first aspect, the present invention provides a device access method, applied to a terminal device, the method comprising:
[0007] The preamble sequence is determined based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device.
[0008] The preamble sequence is sent to the base station, which is used by the base station to perform collision detection and obtain the access result, which includes the terminal devices that are allowed to access.
[0009] Upon receiving an access instruction from the base station, the user accesses the base station based on the access instruction.
[0010] According to a device access method provided by the present invention, determining a preamble sequence based on a preamble index number, a root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device includes: determining an initial preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device; and determining the preamble sequence based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the timing advance.
[0011] According to a device access method provided by the present invention, determining an initial preamble sequence based on a preamble index number, a root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device includes: determining the initial preamble sequence according to a first formula; wherein the first formula is: This represents the initial preamble sequence corresponding to terminal device d; i d This indicates the leading index number; r id This indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[L RA / N CS ]} represents the optional circular shift index for the terminal device d; The root serial number corresponding to terminal device d is represented by n; the number of samples is represented by k. id =i d mod N CS This indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to terminal device d; RA This indicates the initial leader sequence. The length.
[0012] According to a device access method provided by the present invention, obtaining the preamble sequence based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the timing advance includes: determining the preamble sequence according to a second formula; wherein the second formula is: This indicates the preamble sequence corresponding to terminal device d; i d This indicates the leading index number; r id This indicates the root sequence number corresponding to the leading index number; l d ∈{1,…,[L RA / N CS ]} represents the optional cyclic shift index for the terminal device d; β d This indicates the transmission power; This represents the initial leader sequence; n represents the number of samples; ξ d Indicates the lead time; L RAThis indicates the initial leader sequence. The length.
[0013] Secondly, the present invention provides a device access method applied to a base station, the method comprising:
[0014] Receive preamble sequences sent by multiple terminal devices, where each preamble sequence is obtained by the corresponding terminal device based on the preamble index number, the cyclic shift corresponding to the preamble index number, and the root sequence number corresponding to the preamble index number.
[0015] Collision detection is performed on multiple preamble sequences to obtain access results, which include allowed terminal devices.
[0016] An access indication is sent to the terminal device that is allowed access, the access indication being used to instruct the terminal device that is allowed access to access the base station.
[0017] According to a device access method provided by the present invention, conflict detection is performed on multiple preamble sequences to obtain an access result, including: determining the power delay spectrum corresponding to each of the multiple preamble sequences; determining a peak set based on the peak values in all power delay spectra that are greater than or equal to a preset peak threshold; determining a cyclic shift set corresponding to the multiple preamble sequences based on a preset preamble index number; and determining the access result based on the peak set and the cyclic shift set.
[0018] According to a device access method provided by the present invention, determining the access result based on the peak set and the cyclic shift set includes: for any peak in the peak set, determining the number of cyclic shifts matching the peak in the cyclic shift set; if the number is less than a preset number threshold, the access result indicates that the preamble sequence has not conflicted, and the terminal device corresponding to the preamble sequence is a terminal device allowed to access by the base station; if the number is greater than or equal to the preset number threshold, the access result indicates that the preamble sequence has conflicted.
[0019] Thirdly, the present invention also provides a terminal device, comprising:
[0020] The processing module is used to determine the preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device.
[0021] The transceiver module is used to send the preamble sequence to the base station. The preamble sequence is used by the base station to perform collision detection and obtain the access result, which includes the terminal devices that are allowed to access.
[0022] The processing module is also used to access the base station based on the access instruction when the transceiver module receives the access instruction sent by the base station.
[0023] Fourthly, the present invention also provides a base station, comprising:
[0024] The transceiver module is used to receive preamble sequences sent by multiple terminal devices. Each preamble sequence is obtained by the corresponding terminal device based on the preamble index number, the cyclic shift corresponding to the preamble index number, and the root sequence number corresponding to the preamble index number.
[0025] The processing module is used to perform conflict detection on multiple preamble sequences and obtain access results, which include allowed terminal devices.
[0026] The transceiver module is also used to send an access indication to the allowed terminal device, which instructs the allowed terminal device to access the base station.
[0027] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the device access method as described in the first or second aspect above.
[0028] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the device access method as described in the first or second aspect above.
[0029] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the device access method as described in the first or second aspect above.
[0030] The present invention provides a device access method, terminal device, base station, and electronic device. The method involves the terminal device determining a preamble sequence based on a preamble index number, a root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device; sending the preamble sequence to the base station; the base station receiving preamble sequences sent by multiple terminal devices; performing conflict detection on the multiple preamble sequences to obtain an access result, the access result including allowed terminal devices; sending an access indication to the allowed terminal devices; and the terminal device, upon receiving the access indication from the base station, accessing the base station based on the access indication. This method addresses the shortcomings of existing device access methods, which result in low access efficiency for terminal devices. By utilizing the same number of cyclic shifts for the preamble sequence corresponding to each terminal device, the base station can accurately determine allowed terminal devices during conflict detection of preamble sequences corresponding to multiple terminal devices, thereby improving the access efficiency of the terminal devices. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0032] Figure 1a This is one of the scenario diagrams illustrating the device access method provided by the present invention;
[0033] Figure 1b This is a second scenario illustration of the device access method provided by the present invention;
[0034] Figure 2 This is a flowchart illustrating the device access method provided by the present invention;
[0035] Figure 3a This is a schematic diagram of the structure of the random access preamble provided by the present invention;
[0036] Figure 3b This is a schematic diagram illustrating the relationship between the cyclic prefix, the guard interval, and the length of the preamble sequence in the random access preamble provided by this invention.
[0037] Figure 3c This is a schematic diagram of the scene after determining the power delay spectrum provided by the present invention;
[0038] Figure 3d This is a schematic diagram illustrating the process of a terminal device accessing a base station, as provided by the present invention.
[0039] Figure 4 This is a schematic diagram of the structure of the terminal device provided by the present invention;
[0040] Figure 5 This is a schematic diagram of the base station structure provided by the present invention;
[0041] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0043] like Figure 1a The diagram shown is a scenario illustration of the device access method provided by this invention. Figure 1aIn this context, the device access method is applied to the device access system 10, which may include terminal device 20 and base station 30.
[0044] In this context, terminal device 20 refers to a mobile device that can transmit data with base station 30 via wireless communication technology. It should be noted that the terminal device 20 involved in this embodiment of the invention has a positioning function.
[0045] Optionally, the number of terminal devices 20 is unlimited. Figure 1a In this case, there are 5 terminal devices 20.
[0046] Optionally, the terminal device 20 may include: a computer, a mobile terminal, and a wearable device, etc.
[0047] Base station 30 refers to a radio transceiver station that transmits data with terminal equipment 20 through wireless communication technology within a certain radio coverage area.
[0048] Optionally, the number of base stations (30) is unlimited. Figure 1a In this case, there is one base station 30.
[0049] Optionally, base station 30 may include: low-Earth orbit satellites. Figure 1a In the middle and low orbit, the distance between the satellite and the ground is 660 km.
[0050] Optionally, the wireless communication technology may include, but is not limited to, one of the following: fourth-generation mobile communication technology (4G), fifth-generation mobile communication technology (5G), and wireless fidelity (WiFi).
[0051] exist Figure 1aIn this process, terminal device 20 determines a preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device. Then, it sends the preamble sequence to base station 30. Base station 30 can receive preamble sequences sent by multiple terminal devices 20 and perform collision detection on the multiple preamble sequences to obtain an access result. Afterward, it sends an access indication to the terminal devices 20 that are allowed to access. Upon receiving the access indication sent by base station 10, terminal device 20 accesses base station 10 based on the access indication. In this way, because the preamble sequence corresponding to each terminal device uses the same number of cyclic shifts throughout the entire access process, the base station can accurately determine the terminal devices allowed to access during the collision detection process of the preamble sequences corresponding to multiple terminal devices, thereby improving the access efficiency of the terminal devices.
[0052] For example, such as Figure 1b The image shown is a schematic diagram illustrating a scenario of the device access method provided by this invention. Figure 1b As can be seen, before the terminal device initiates random access, the base station first sends System Information (SI) to the terminal device. This SI can carry random access configuration information, which may include selectable preamble sequences and time-frequency resources. Then, the terminal device generates first information, denoted as Msg A, based on this random access configuration information. Msg A may include a randomly selected preamble sequence and a corresponding data payload, and is sent to the base station within specific time-frequency resources. Since the preamble sequence is randomly and equally probably selected, a collision may occur at the base station, necessitating a re-establishment of the connection. Next, after receiving Msg A from the terminal device, the base station can detect the preamble sequence in Msg A. If the base station successfully detects the cyclic shift index in the preamble sequence and finds no collision, it will continue processing the data payload in Msg A. Based on the detection results corresponding to the preamble sequence and the data payload, it obtains second information, denoted as Msg B, and then sends Msg B to the terminal device that is allowed access. Finally, the terminal device allowed to access the base station receives Msg B sent by the base station and accesses the base station based on Msg B.
[0053] The embodiments of the present invention will be further described below with reference to a base station and a terminal device.
[0054] like Figure 2 The diagram shown is a flowchart illustrating the device access method provided by the present invention, which may include:
[0055] 201. The terminal device determines the preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device.
[0056] The preamble index refers to a separate, physical storage structure that sorts the root sequence numbers of the initial preamble.
[0057] The root sequence number corresponding to the leading index number refers to the physical root sequence number in the terminal device. This root sequence number can correspond to a ZC (Zadoff-Chu) sequence. This ZC sequence has good constant amplitude zero autocorrelation (CAZAC) and minimum cross-correlation properties. This ZC sequence can be used... Let i = 0, 1, ..., L RA -1; u represents the physical root sequence number corresponding to the terminal device, u∈[1,L] RA -1], where n represents the number of samples, L RA This indicates the sequence length of the ZC sequence. It should be noted that, according to the 5G standard, the terminal device uses L... RA The value can be either 839 or 139.
[0058] The cyclic shift corresponding to the terminal device refers to the step size of the ZC sequence in repeated cycles.
[0059] The leader sequence refers to the sequence generated by cyclic shifting a ZC sequence. This leader sequence can be represented by x. u,v =x u ((n+C v )modL RA ) indicates that, among which, C v =kN CS k = 0, 1, ..., [1, L RA / (N CS -1)] represents a circular shift, N CS This indicates the cyclic shift step size.
[0060] Before accessing a base station, a terminal device can first receive a set of preamble index numbers sent by the base station. This set of preamble index numbers may include multiple preamble index numbers. Then, the terminal device selects the preamble index number corresponding to itself from the set of preamble index numbers and obtains the root sequence number corresponding to the preamble index number and the cyclic shift corresponding to itself. Next, the terminal device accurately determines the preamble sequence corresponding to itself based on the preamble index number, the root sequence number, and the cyclic shift, so that the base station can perform collision detection and determine whether the terminal device is a terminal device that the base station allows to access.
[0061] It should be noted that each base station cell provides a maximum of 64 preamble sequences for user terminal devices to choose from. These preamble sequences can be generated from a single root sequence through different cyclic shifts. If a single root sequence cannot generate 64 preamble sequences, they can be generated from multiple root sequences through different cyclic shifts. According to the properties of ZC sequences, different cyclic shift sequences using the same root sequence are orthogonal, while different cyclic shift sequences using different root sequences are non-orthogonal, which introduces interference. Therefore, to reduce the impact of non-orthogonal interference, preamble sequences should ideally be generated from the same root sequence.
[0062] It should be noted that the timing of the terminal device obtaining the leading index number and the corresponding cyclic shift is not limited.
[0063] Since each terminal device chooses to use the step size as the common cyclic shift, it can be effectively guaranteed that each leading sequence corresponds to the same number of cyclic shift indices.
[0064] In addition, the preamble sequence can correspond to multiple cyclic shifts. The terminal device can identify the first cyclic shift among the multiple cyclic shifts as the device identifier of the terminal device, which can effectively distinguish it from other terminal devices.
[0065] In this way, for a given terminal device, there is a unique mapping relationship between the preamble index number and the initial cyclic shift in the preamble sequence corresponding to that terminal device, and there is also a unique mapping relationship between the preamble index number and the root sequence number.
[0066] Optionally, in the process of determining the preamble sequence, the terminal device may first determine the random access preamble code according to the design criteria, and then determine the required preamble sequence based on the random access preamble code.
[0067] The design criteria may include: T CP ≥T RTDmax +τ max ≈T RTDmax ;T GT ≥T RTDmax ;T SEQ ≥T RTDmax +τ max ≈T RTDmax .
[0068] T CP T represents the length of the cyclic prefix (CP); RTDmax τ represents the maximum round-trip transmission delay. max T represents the maximum multipath delay in the ka band; GTIndicates the length of the Guard Time Interval (GT); T SEQ Indicates the length of the leader sequence (SEQ).
[0069] For example, such as Figure 3a The diagram shown is a structural schematic of the random access preamble provided by this invention. Figure 3a In this context, the random access preamble may include a cyclic prefix CP, at least one preamble sequence SEQ, and a guard time interval GT.
[0070] The cyclic prefix (CP) effectively compensates for channel delay, solves the problem of inter-symbol interference caused by different communication distances, and ensures the integrity of the signal within the receiving window.
[0071] It should be noted that, as Figure 3b The diagram shown illustrates the relationship between the cyclic prefix, guard interval, and length of the preamble sequence in the random access preamble provided by this invention. Based on Figure 3b Since terminal devices adjust their timing in advance based on the downlink subframe transmission time of the base station, the difference between the time when the base station performs uplink reception timing and the time when the preamble sent by the terminal device arrives at the base station should be greater than twice the maximum one-way transmission delay T. STDmax With maximum multipath delay τ max The sum of these two. This is twice the maximum one-way transmission delay T. STDmax Let T be the maximum round-trip transmission delay. RTDmax At this time, T CP ≥T RTDmax +τ max .
[0072] The purpose of the guard interval GT is to eliminate interference between adjacent subframes, thereby ensuring that the data of two frames is correctly received by the base station. At this time, T... GT ≥T RTDmax .
[0073] The base station obtains the transmission delay of the terminal device by detecting the preamble sequence; therefore, the duration of the preamble sequence must take into account the maximum round-trip time T. RTDmax and maximum multipath delay spread τ max That is, T SEQ ≥T RTDmax +τ max .
[0074] In some embodiments, the terminal device determines the preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device. This may include: the terminal device determining an initial preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device; and the terminal device determining the preamble sequence based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the time advance (TA) amount.
[0075] Transmission power refers to the wireless signal transmission power of the terminal device, which is usually denoted by dBm or Pout.
[0076] Timing advance refers to the amount of time advance that the base station sends to the terminal device, instructing the terminal device to adjust its timing in the channel and when transmitting the preamble sequence.
[0077] In determining the preamble sequence corresponding to the terminal device, the terminal device can first determine the initial preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device. Then, the terminal device obtains the transmission power and timing advance of the channel in which the initial preamble sequence is located, and determines the initial preamble sequence, the transmission power, and the timing advance accordingly.
[0078] Optionally, the channel in which the initial preamble sequence is located may include the Physical Random Access Channel (PRACH).
[0079] At this point, transmission power and timing advance can be collectively referred to as PRACH resources. Optionally, the PRACH resources corresponding to different terminal devices can be the same or different, without specific limitations here.
[0080] It should be noted that there is no time limit on the timing of the terminal device acquiring the transmission power and the advance of the acquisition time.
[0081] In some embodiments, the terminal device determines the initial preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device. This may include: the terminal device determining the initial preamble sequence according to a first formula.
[0082] The first formula is:
[0083] Indicates the initial preamble sequence corresponding to terminal device d; i d Indicates the leading index number; r id Indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[LRA / N CS ]} represents the optional circular shift index for terminal device d; x id (·) represents the root sequence number corresponding to terminal device d; n represents the number of samples; k id =i d mod N CS Indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to terminal device d; RA Represents the initial leader sequence The length.
[0084] Based on the first formula described above, the terminal device can accurately determine the initial preamble sequence corresponding to the terminal device, so as to accurately determine the preamble sequence corresponding to the terminal device in the future.
[0085] In some embodiments, the terminal device obtains the preamble sequence based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the timing advance, which may include: determining the preamble sequence according to the second formula.
[0086] The second formula is:
[0087] Indicates the preamble sequence corresponding to terminal device d; i d Indicates the leading index number; r id Indicates the root sequence number corresponding to the leading index number; l d ∈{1,…,[L RA / N CS ]} represents the optional circular shift index for terminal device d; β d Indicates transmission power; Represents the initial leader sequence; n represents the number of samples; ξ d Indicates lead time; L RA Represents the initial leader sequence The length.
[0088] Based on the second formula mentioned above, the terminal device can accurately determine the preamble sequence corresponding to the terminal device, so that the subsequent base station can perform collision detection with high accuracy.
[0089] 202. The terminal device sends a preamble sequence to the base station.
[0090] The base station receives preamble sequences sent by multiple terminal devices.
[0091] During communication, if M terminal devices send their respective preamble sequences to the base station in the same time-frequency domain, M≥2, then the preamble sequences sent by each of the M terminal devices received by the base station can be represented by the third formula.
[0092] The third formula is as follows:
[0093] Let I represent the received signal corresponding to the preamble sequence sent by each of the M terminal devices, and let R represent the set of root sequence numbers corresponding to the preamble index numbers of the M terminal devices. d , ..., i M} represents the set of leading index numbers corresponding to M terminal devices, where L = {l1, ..., l2} d , ..., l M} represents the set of cyclic shift indices corresponding to M terminal devices; E d This represents the number of multipath paths corresponding to terminal device d among M terminal devices; This represents the path gain corresponding to terminal device d; W(n) represents the channel delay corresponding to terminal device d; W(n) represents complex Gaussian noise.
[0094] To simplify the analysis, the multipath effect can be ignored at the base station, and the timing advance ξ is taken into account. d Able to satisfy ξ d =t d At this point, the third formula above can be expressed as:
[0095] Based on this, after the terminal device pre-compensates for the delay and Doppler shift of the preamble sequence, the base station only needs to capture the peak value greater than or equal to the preset peak value threshold at the specified position when performing collision detection on the processed preamble sequence.
[0096] The preset peak threshold can be set before the base station leaves the factory or it can be user-defined; no specific limitation is made here.
[0097] 203. The base station performs collision detection on multiple preamble sequences to obtain the access result.
[0098] The access result may include the terminal devices that are allowed to access.
[0099] When a base station receives preamble sequences sent by multiple terminal devices, it means that the base station has received multiple preamble sequences. At this time, the base station can perform collision detection on these multiple preamble sequences to determine whether each terminal device is a terminal device that the base station allows to access, and then determine the access result. The access result can include the terminal devices that are allowed to access. In other words, the base station needs to determine the terminal devices that are allowed to access from multiple terminal devices.
[0100] In some embodiments, the base station performs collision detection on multiple preamble sequences to obtain an access result, which may include: the base station determining the power delay profile (PDP) spectrum corresponding to each of the multiple preamble sequences; the base station determining a peak set based on the peak values in all power delay spectra that are greater than or equal to a preset peak threshold; the base station determining a cyclic shift set corresponding to the multiple preamble sequences based on a preset preamble index number; and the base station determining the access result based on the peak set and the cyclic shift set.
[0101] The preset leading index number refers to at least one leading index number in the set of leading index numbers in step 201.
[0102] Among them, the cyclic shift set of all leading sequences is available. express; N represents the set of all cyclic shifts corresponding to the preset leader index i, i.e., the set of cyclic shifts corresponding to multiple leader sequences; p Indicates the number of available leader sequences.
[0103] The set of peaks can be represented by Ф={ψd|d=1,…,M}.
[0104] After determining the peak set and the cyclic shift set, the base station can match the peak values in the peak set with the cyclic shift values in the cyclic shift set to determine whether each terminal device is an allowed access terminal device, and then determine the access result based on the allowed access terminal devices.
[0105] Optional, such as Figure 3c The image shown is a schematic diagram of the scenario after determining the power delay spectrum, as provided by the present invention. Figure 3c In this process, the base station determines the power delay spectrum corresponding to each of the multiple preamble sequences. This can include: for any preamble sequence among the multiple preamble sequences, the base station performs a Discrete Fourier Transform (DFT) on the baseband signal corresponding to the preamble sequence and then performs subcarrier demapping to obtain a first sequence; the base station performs a Discrete Fourier Transform (DFT) on the local sequence corresponding to the preamble sequence and then takes the conjugate to obtain a second sequence; then, the base station performs a dot product between the first sequence and the second sequence and transforms it to the frequency domain to obtain the PDP.
[0106] In this way, the above process can effectively reduce the computational complexity of time-domain related operations to a large extent.
[0107] In addition, the base station subsequently performs an inverse discrete Fourier transform on the PDP and takes the square of the modulus to perform peak detection.
[0108] Optionally, during the process of acquiring the baseband signal corresponding to the preamble sequence, the base station may first determine the initial baseband signal according to the first signal formula, and then determine the baseband signal according to the second signal formula.
[0109] The formula for the first signal is:
[0110]
[0111] exist In this case, the formula for the second signal is:
[0112]
[0113] Where, β PRACH K represents the transmission power of the Physical Random Access Channel (PRACH); K represents the first parameter; k1 represents the second parameter. Indicates the third parameter; Δf RA Tc=Δf RA / (Δf max ·N f ), Δf RA The subcarrier spacing of the Physical Random Access Channel (PRACH) is represented by Tc; the smallest time unit in a 5G system is represented by Δf. max Δf represents the maximum subcarrier spacing. max The value is 480kHz; N f The value is 4096.
[0114] Optionally, the base station determines the peak set based on the peak values greater than or equal to a preset peak threshold in all power delay spectra. This can include: for any power delay spectrum in all power delay spectra, the base station determines the peak position and the multipath propagation domain corresponding to the peak position in the power delay spectrum map; if the base station determines that there is a peak value greater than the preset peak threshold in the detection area corresponding to the multipath propagation domain, it determines that the multipath propagation domain corresponds to a peak value and determines the peak value as the target peak value; the base station then determines the number of the target peak values, and then determines the corresponding equivalent set based on all power delay spectra.
[0115] Among them, the multipath extension domain D corresponding to different peak positions NS They can be the same or different. The multipath extension domain can be set before the base station leaves the factory or it can be user-defined. There are no specific restrictions here.
[0116] The peak position can be represented by m; the multipath extension domain can be represented by D. NS D indicates NS ≥[τ ds (L RA / T SEQ )], τ ds Indicates the maximum delay spread of multipath propagation; the preset peak threshold can be set using y. th This indicates that k is the key. id =i d mod([N CS / N DS ])N DS That is, the interval between adjacent initial cyclic shifts is N. DS The detection region corresponding to the preset leading index number i can be {i d mod([N CS / N DS ])N DS , [i d mod([N CS / N DS ])N DS ]+l d N CS Furthermore, regardless of how many peak values greater than or equal to the preset peak threshold are detected within the detection area, they are all counted as generated by a terminal device.
[0117] Due to the influence of multipath propagation, the multipath components of a terminal device may also generate peak values greater than or equal to a preset peak threshold in the power delay spectrum of the base station. If these peak values are not processed, misjudgments are highly likely, thus affecting the access performance of the entire device's access system. To eliminate the impact of multipath effects, the base station can use a detection method based on the multipath extended domain to perform collision detection on the power delay spectrum.
[0118] During the entire collision detection process, the base station can first determine the peak position and the multipath extension domain corresponding to the peak position; then, the base station performs another collision detection within the detection area corresponding to the multipath extension domain, and no matter how many peaks greater than the preset peak threshold are detected in the detection area, it is determined that the multipath extension domain corresponds to only one target peak, and thus the peak set corresponding to the target peak can be determined.
[0119] Among them, the number of target peaks is less than or equal to the number of peak positions.
[0120] In some embodiments, the base station determines the access result based on the peak set and the cyclic shift set, which may include: for any peak in the peak set, the base station determines the number of cyclic shifts in the cyclic shift set that match the peak; if the number is less than a preset threshold, the access result indicates that the preamble sequence has not conflicted, and the terminal device corresponding to the preamble sequence is a terminal device that the base station allows to access; if the number is greater than or equal to the preset threshold, the access result indicates that the preamble sequence has conflicted.
[0121] The preset quantity threshold is set to 2.
[0122] In other words, for a given peak value, the base station needs to determine the number of cyclic shifts that match the peak value in the cyclic shift set. If the number is equal to 1, it means that the preamble sequence corresponding to the cyclic shift has not conflicted. In this case, the base station can determine the terminal device corresponding to the preamble sequence as a terminal device that the base station allows to access. If the number is greater than 1, it means that the peak value corresponds to multiple cyclic shifts, which means that the preamble sequences corresponding to these multiple cyclic shifts have conflicted. In this case, the base station will not allow the terminal devices corresponding to these multiple preamble sequences to access, nor will it send access instructions to these multiple terminal devices.
[0123] For example, such as Figure 3d The diagram shown illustrates the process by which a terminal device accesses a base station, as provided by this invention. Figure 3d In this scenario, five terminal devices simultaneously access the base station. The I of these five terminal devices are {1, 1, 2, 2, 3}, and the L is {1, 2, 2, 3, 4}. Assuming that the peak values generated by the access of these five terminal devices are all detected, it can be determined that two terminal devices choose preamble sequence 1, two choose preamble sequence 2, and one chooses preamble sequence 3. At this point, the two terminal devices corresponding to preamble sequence 1 and the two terminal devices corresponding to preamble sequence 2 have conflicted, while the terminal device corresponding to preamble sequence 3 has not conflicted. After this determination, the base station no longer responds to the two terminal devices corresponding to preamble sequence 1 and the two terminal devices corresponding to preamble sequence 2, but instead sends an access instruction to the terminal device corresponding to preamble sequence 3 to proceed with the subsequent access process.
[0124] 204. The base station sends an access instruction to the terminal equipment that is allowed to access.
[0125] After obtaining the collision results, the base station can send access instructions to the terminal devices that are allowed to access according to the collision results.
[0126] 205. Upon receiving an access instruction from the base station, access the base station based on the access instruction.
[0127] When a terminal device receives an access instruction from a base station, it can directly access the base station based on that access instruction.
[0128] If the terminal device does not receive an access instruction from the base station, it means that the preamble sequence of the terminal device conflicts with the preamble sequence of other devices, and therefore the terminal device cannot access the base station.
[0129] In this embodiment of the invention, the terminal device determines a preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device; sends the preamble sequence to the base station; the base station receives the preamble sequences sent by multiple terminal devices; performs conflict detection on the multiple preamble sequences to obtain an access result; sends an access indication to the terminal devices allowed to access; and, upon receiving the access indication from the base station, the terminal device accesses the base station based on the access indication. This method addresses the deficiency of low access efficiency in existing device access methods by utilizing the same number of cyclic shifts for the preamble sequence corresponding to each terminal device. This allows the base station to accurately determine the terminal devices allowed to access during conflict detection of the preamble sequences corresponding to multiple terminal devices, thereby improving the access efficiency of the terminal devices.
[0130] The terminal device and base station provided by the present invention are described below. The terminal device and base station described below can be referred to in correspondence with the device access method described above.
[0131] like Figure 4 The diagram shown is a structural schematic of the terminal device provided by the present invention, which may include:
[0132] Processing module 401 is used to determine the preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device;
[0133] The transceiver module 402 is used to send the preamble sequence to the base station. The preamble sequence is used by the base station to perform collision detection and obtain the access result, which includes the terminal devices that are allowed to access.
[0134] The processing module 401 is also configured to access the base station based on the access instruction sent by the base station when the transceiver module 402 receives the access instruction sent by the base station.
[0135] Optionally, the processing module 401 is specifically used to determine an initial preamble sequence based on the preamble index number, the root sequence number corresponding to the preamble index number, and the cyclic shift corresponding to the terminal device; and to determine the preamble sequence based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the timing advance.
[0136] Optionally, the processing module 401 is specifically used to determine the initial leader sequence according to the first formula; wherein the first formula is: This represents the initial preamble sequence corresponding to terminal device d; i d This indicates the leading index number; r id This indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[L RA / N CS ]} represents the optional circular shift index for the terminal device d; The root serial number corresponding to terminal device d is represented by n; the number of samples is represented by k. id =i d mod N CS This indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to terminal device d; RA This indicates the initial leader sequence. The length.
[0137] Optionally, processing module 401 is specifically used to determine the leading sequence according to the second formula; wherein the second formula is: This indicates the preamble sequence corresponding to terminal device d; i d This indicates the leading index number; r id This indicates the root sequence number corresponding to the leading index number; l d ∈{1,…,[L RA / N CS ]} represents the optional cyclic shift index for the terminal device d; β d This indicates the transmission power; This represents the initial leader sequence; n represents the number of samples; ξ d Indicates the lead time; L RA This indicates the initial leader sequence. The length.
[0138] like Figure 5 The diagram shown is a structural schematic of the base station provided by the present invention, which may include:
[0139] The transceiver module 501 is used to receive preamble sequences sent by multiple terminal devices. Each preamble sequence is obtained by the corresponding terminal device based on the preamble index number, the cyclic shift corresponding to the preamble index number, and the root sequence number corresponding to the preamble index number.
[0140] Processing module 502 is used to perform conflict detection on multiple preamble sequences and obtain access results, which include the terminal devices allowed to access;
[0141] The transceiver module 501 is also used to send an access indication to the allowed terminal device, the access indication being used to instruct the allowed terminal device to access the base station.
[0142] Optionally, the processing module 502 is specifically used to determine the power delay spectrum corresponding to each of the plurality of preamble sequences; determine the peak set based on the peak values in all power delay spectra that are greater than or equal to a preset peak threshold; determine the cyclic shift set corresponding to the plurality of preamble sequences based on the preset preamble index number; and determine the access result based on the peak set and the cyclic shift set.
[0143] Optionally, the processing module 502 is specifically used to determine, for any peak in the peak set, the number of cyclic shifts matching the peak in the cyclic shift set; if the number is less than a preset number threshold, the access result indicates that the preamble sequence has not conflicted, and the terminal device corresponding to the preamble sequence is a terminal device allowed to access by the base station; if the number is greater than or equal to the preset number threshold, the access result indicates that the preamble sequence has conflicted.
[0144] like Figure 6 The diagram shows the structure of an electronic device provided by the present invention. This electronic device may include a processor 610, a communication interface 620, a memory 630, and a communication bus 640. The processor 610, communication interface 620, and memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a device access method. This method includes: a terminal device determining a preamble sequence based on a preamble index number, a root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device; sending the preamble sequence to a base station; the base station receiving preamble sequences sent by multiple terminal devices; performing conflict detection on the multiple preamble sequences to obtain an access result, which includes allowed access terminal devices; sending an access indication to the allowed access terminal devices; and the terminal device, upon receiving the access indication sent by the base station, accessing the base station based on the access indication.
[0145] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0146] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the device access method provided by the above methods. The method includes: a terminal device determining a preamble sequence based on a preamble index number, a root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device; sending the preamble sequence to a base station; the base station receiving preamble sequences sent by multiple terminal devices; performing conflict detection on the multiple preamble sequences to obtain an access result, the access result including terminal devices allowed to access; sending an access indication to the allowed terminal devices; and the terminal device accessing the base station based on the access indication upon receiving the access indication sent by the base station.
[0147] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the device access method provided by the methods described above. The method includes: a terminal device determining a preamble sequence based on a preamble index number, a root sequence number corresponding to the preamble index number, and a cyclic shift corresponding to the terminal device; sending the preamble sequence to a base station; the base station receiving preamble sequences sent by multiple terminal devices; performing conflict detection on the multiple preamble sequences to obtain an access result, the access result including terminal devices allowed to access; sending an access indication to the allowed terminal devices; and, upon receiving the access indication sent by the base station, the terminal device accessing the base station based on the access indication.
[0148] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0149] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0150] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A device access method, characterized in that, Applied to a terminal device, the method includes: Based on the first formula, determine the initial leader sequence, and then determine the leader sequence; The first formula is: ; The initial preamble sequence corresponding to terminal device d; i d Indicates the leading index number; r id Indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[L RA / N CS ]} represents the optional cyclic shift index of the terminal device d; The root serial number corresponding to the terminal device d is represented by n; n represents the number of sample points. =i d mod N CS Indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to the terminal device d; RA Represents the initial leader sequence The length of the preceding index number and the initial cyclic shift have a unique mapping relationship; The preamble sequence is sent to the base station, and the preamble sequence is used by the base station to perform collision detection and obtain an access result, the access result including terminal devices that are allowed to access; Upon receiving an access instruction from the base station, the user accesses the base station based on the access instruction.
2. The method according to claim 1, characterized in that, The determination of the initial leader sequence, in order to determine the leader sequence, includes: The preamble sequence is determined based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the timing advance.
3. The method according to claim 2, characterized in that, The step of obtaining the preamble sequence based on the initial preamble sequence, the transmission power of the channel in which the initial preamble sequence is located, and the timing advance includes: The leader sequence is determined according to the second formula; The second formula is: ; The preamble sequence corresponding to terminal device d; β d Indicates the transmission power; ξ d L represents the time advance; RA Represents the initial leader sequence The length.
4. A device access method, characterized in that, Applied to a base station, the method includes: The system receives preamble sequences sent by multiple terminal devices, where each preamble sequence is obtained by the corresponding terminal device based on an initial preamble sequence. The initial preamble sequence is determined according to a first formula, wherein the first formula is: ; The initial preamble sequence corresponding to terminal device d; i d Indicates the leading index number; r id Indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[L RA / N CS ]} represents the optional cyclic shift index of the terminal device d; The root serial number corresponding to the terminal device d is represented by n; n represents the number of sample points. =i d mod N CS Indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to the terminal device d; RA Represents the initial leader sequence The length of the preceding index number and the initial cyclic shift have a unique mapping relationship; Conflict detection is performed on multiple preamble sequences to obtain access results, which include allowed terminal devices; An access indication is sent to the allowed terminal device, the access indication being used to instruct the allowed terminal device to access the base station.
5. The method according to claim 4, characterized in that, The process of performing conflict detection on multiple preamble sequences to obtain the access result includes: Determine the power delay spectrum corresponding to each of the plurality of preamble sequences; Determine the set of peak values based on the peak values in all power delay spectra that are greater than or equal to a preset peak threshold; The cyclic shift set corresponding to the plurality of leader sequences is determined according to the preset leader index number; The access result is determined based on the peak set and the cyclic shift set.
6. The method according to claim 5, characterized in that, Determining the access result based on the peak set and the cyclic shift set includes: For any peak in the peak set, determine the number of cyclic shifts in the cyclic shift set that match the peak; If the number is less than a preset threshold, the access result indicates that the preamble sequence has not conflicted, and the terminal device corresponding to the preamble sequence is a terminal device that the base station allows to access. If the number is greater than or equal to the preset number threshold, the access result indicates that the preamble sequence has a conflict.
7. A terminal device, characterized in that, include: The processing module is used to determine the initial leader sequence according to the first formula, so as to determine the leader sequence; The first formula is: ; The initial preamble sequence corresponding to terminal device d; i d Indicates the leading index number; r id Indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[L RA / N CS ]} represents the optional cyclic shift index of the terminal device d; The root serial number corresponding to the terminal device d is represented by n; n represents the number of sample points. =i d mod N CS Indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to the terminal device d; RA Represents the initial leader sequence The length of the preceding index number and the initial cyclic shift have a unique mapping relationship; The transceiver module is used to send the preamble sequence to the base station. The preamble sequence is used by the base station to perform collision detection and obtain an access result. The access result includes terminal devices that are allowed to access. The processing module is further configured to access the base station based on the access instruction when the transceiver module receives the access instruction sent by the base station.
8. A base station, characterized in that, include: The transceiver module is used to receive preamble sequences sent by multiple terminal devices. Each preamble sequence is obtained by the corresponding terminal device based on an initial preamble sequence, which is determined according to a first formula, wherein the first formula is: ; The initial preamble sequence corresponding to terminal device d; i d Indicates the leading index number; r id Indicates the leading index number i d The corresponding root sequence number; l d ∈{1,…,[L RA / N CS ]} represents the optional cyclic shift index of the terminal device d; The root serial number corresponding to the terminal device d is represented by n; n represents the number of sample points. =i d mod N CS Indicates the leading index number i d The corresponding initial cyclic shift; N CS L represents the cyclic shift step size corresponding to the terminal device d; RA Represents the initial leader sequence The length of the preceding index number and the initial cyclic shift have a unique mapping relationship; The processing module is used to perform conflict detection on multiple preamble sequences and obtain access results, the access results including terminal devices that are allowed to access; The transceiver module is further configured to send an access indication to the allowed terminal device, the access indication being used to instruct the allowed terminal device to access the base station.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the device access method as described in any one of claims 1 to 6.