Beam forming method and device for terahertz wireless network, equipment and storage medium
By acquiring and utilizing the historical status information of terahertz wireless network equipment, determining the target beamforming method, the problem of low reliability of beamforming operation is solved and the stability of data transmission is improved.
Patent Information
- Application Number
- CN202411303852.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-20
AI Technical Summary
The reliability of beamforming operations in existing terahertz wireless networks is low, resulting in unstable data transmission.
By obtaining the historical status information of the source network device and the destination network device, a variety of beamforming methods are predetermined, and beamforming operations are performed based on the target device status information to determine the target beam direction and improve the accuracy and reliability of beamforming sex.
It improves the reliability of beamforming operations, makes it more adaptable to actual conditions, improves the reliability of beamforming in terahertz wireless networks, and enhances the stability of data transmission.
Smart Images

Figure CN119171951A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terahertz wireless networks, and in particular to a beamforming method and apparatus, device and storage medium for a terahertz wireless network. Background Art
[0002] With the rapid development of mobile communication technology, people's requirements for data transmission rate are getting higher and higher. Spectrum resources in the low frequency band have gradually failed to meet people's thirst for bandwidth and higher data transmission rate applications. Terahertz (THz) waves are electromagnetic waves with a frequency of 0.1THz to 10THz, located between infrared and microwave in the electromagnetic spectrum. In recent years, THz technology has made significant progress due to its huge application potential in the fields of rapid imaging, non-destructive detection, space remote sensing, material characterization and high-speed wireless communication. In the field of wireless communications, the development of more and more emerging technologies such as virtual reality (VR), autonomous driving, telemedicine, the Internet of Things, and brain-computer interfaces will require higher bandwidth and faster data transmission rates than 5G networks. When the minimum bandwidth reaches tens of GHz, higher carrier frequencies must be used in the THz range. THz wireless LANs and cellular networks can provide these emerging technologies with ultra-high data transmission rates of several terabits per second (Tbit / s) and high-speed wireless data distribution, becoming a key candidate band for 6G. The terahertz frequency band has serious path loss and is greatly affected by molecular absorption in the atmosphere, resulting in the communication range of the terahertz wireless network being only about 10 meters. Therefore, directional antennas must be used at both the transmitting and receiving ends to expand the communication range of the terahertz wireless network.
[0003] In the current research context, terahertz wireless networks can be divided into two types: terahertz wireless personal area network and terahertz wireless local area network. Both terahertz wireless personal area network and terahertz wireless local area network are composed of a piconet coordinator PNC (PicoNetCoordinator) and several device nodes DEV (Device); although they are both centralized networks, there are differences between the two in network topology and some key technologies; terahertz wireless personal area network requires the network topology to be fully connected, while terahertz wireless local area network does not have this requirement. Since a perfect terahertz wireless network access protocol standard has not yet been released, the existing terahertz wireless network MAC (Medium Access Control) protocol is mainly based on two protocols: IEEE 802.15.3c protocol and IEEE802.11ad protocol; the common point of these two access protocols is that they both adopt a hybrid access mechanism of time division multiple access (TDMA) + carrier sense multiple access / collision avoidance (CSMA / CA), and both are controlled by the central node to operate the entire wireless network; but these two access protocols have their own advantages and disadvantages: the IEEE802.11ad protocol has good compatibility, but its working mechanism is more complicated, and it is relatively difficult to implement in simulation verification and actual system development; while the principle of the IEEE802.15.3c protocol is relatively simple and the control overhead is relatively small, and it can also achieve a data transmission rate of more than Gbps. Therefore, considering comprehensively, many researchers choose to conduct in-depth research and improvement on the IEEE 802.15.3c protocol in the field of terahertz wireless network access technology. The network structure of terahertz wireless personal area network is as follows Figure 1 As shown. Any DEV in the network can communicate with PNC, and PNC is mainly responsible for the synchronization of the entire network and channel resource management. In a wireless personal area network, any two DEVs can directly transmit data and the maximum data transmission rate is up to 10Gbps or more. The network structure of terahertz wireless local area network is shown in Figure 2 As shown in the figure, the PNC node in the terahertz wireless LAN provides basic networking information by periodically broadcasting beacon frames, and is responsible for the control coordination and time slot resource allocation of the entire microgrid. At the same time, the PNC is the center point of a wireless unit, and all information between DEVs in the unit must be forwarded through it before it can be exchanged.
[0004] The superframe structure defined by the IEEE802.15.3c standard, which is applicable to terahertz wireless networks and supports directional communication, is as follows: Figure 3As shown. Superframe is the basic unit for dividing wireless channel time. The operation time of terahertz wireless network consists of multiple continuous superframes; each superframe is divided into three parts: beacon period BP (Beacon Period), contention access period CAP (Contention Access Period), channel time allocation period CTAP (Channel Time Allocation Period). In the BP period, the main operation is that PNC broadcasts beacon frames in each sector in turn, and DEV rotates the antenna to receive beacon frames. The beacon frame contains the basic information of all nodes in the entire network, the time and duration information of each period; when DEV receives the beacon frame, it proposes the synchronization information and time slot allocation information. The CAP period is mainly used for DEVs that have not joined the network to apply for network access, and DEVs that have joined the network to apply for time slots; in the CAP period, all DEVs access the channel in accordance with the CSMA / CA method. The CAP period is divided into two sub-periods: Association CAP and Regular CAP; the Association CAP sub-period is used for DEVs that have not joined the network to apply for network access, and the Regular CAP sub-period is used for DEVs that have joined the network to apply for time slots. The CTAP period consists of one or more CTAs (Channel Time Allocations), which are used by DEVs that have been allocated channel resources to complete data transmission in their allocated CTAs. During this period, DEVs access the channel in a TDMA manner. CTA is further divided into two phases: beamforming and data transmission. The beamforming phase is used for the source and destination nodes to perform beamforming and align the beams. The data transmission phase is used to transmit data frames.
[0005] In the directional communication of terahertz wireless networks, the nodes (network devices) in the network will rotate so that their beams point to different directions at different times. Therefore, before two nodes transmit data, they must first undergo beamforming to align their beam directions, such as Figure 4 and Figure 5 As shown, to ensure that they can accurately receive data. However, the inventors have found through research that in existing terahertz wireless networks, there is a problem of relatively poor reliability of beamforming operations. Summary of the invention
[0006] In view of this, the purpose of the present application is to provide a beamforming method and apparatus, a network device and a storage medium for a terahertz wireless network, so as to improve the relatively poor reliability of beamforming operations in existing terahertz wireless networks.
[0007] To achieve the above objectives, this application adopts the following technical solutions:
[0008] A beamforming method for a terahertz wireless network is applied to a source network device in a target terahertz wireless network system, wherein the target terahertz wireless network system also includes a destination network device. The beamforming method for the terahertz wireless network includes:
[0009] After the source network device enters the beamforming phase, the target device status information corresponding to the source network device is obtained, wherein the target device status information is used to reflect the relevant status information of the beamforming operation performed historically by the source network device and the destination network device;
[0010] Based on the target device state information, determining a corresponding target beamforming mode from at least two predetermined different beamforming modes;
[0011] Based on the target beam forming method, a beam forming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device, wherein the target beam direction is used to indicate the direction in which the source network device performs data transmission after entering the data transmission phase.
[0012] In a preferred embodiment of the present application, in the beamforming method of the terahertz wireless network, the step of performing a beamforming operation between the source network device and the destination network device based on the target beamforming mode to determine the target beam direction between the source network device and the destination network device includes:
[0013] Based on the relevant status information of the source network device and the destination network device in the history of the beamforming operation reflected by the target device status information, predict the starting sector of the beamforming operation to obtain the corresponding predicted starting sector;
[0014] Starting from the predicted starting sector, multiple sectors of the source network device are scanned to determine a target sector from the multiple sectors, and a beamforming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device, wherein the target beam direction refers to a direction represented by the target sector, and for the currently scanned sector, the source network device broadcasts a beam scanning frame based on the currently scanned sector, so that after receiving the beam scanning frame, the destination network device sends a corresponding beam scanning reply frame to the source network device to determine whether the currently scanned sector belongs to the target sector based on the beam scanning reply frame.
[0015] In a preferred embodiment of the present application, in the above-mentioned beamforming method for a terahertz wireless network, the step of predicting the starting sector of the beamforming operation based on the relevant status information of the source network device and the destination network device in the history of the beamforming operation reflected by the target device status information, and obtaining the corresponding predicted starting sector includes:
[0016] Acquire first time information, first target sector number, and first distance information of the n-1th beamforming stage, and acquire second time information, second target sector number, and second distance information of the n-2th beamforming stage, wherein the currently entered beamforming stage belongs to the nth beamforming stage, the first target sector number and the second sector number are used to reflect the historical target sector corresponding to the corresponding beamforming stage, the first distance information and the second distance belong to the distance information between the source network device and the destination network device in the corresponding beamforming stage, and n is greater than or equal to 3;
[0017] Based on the first time information, the first target sector number, the first distance information, the second time information, the second target sector number and the second distance information, a starting sector of a beamforming operation is predicted to obtain a corresponding predicted starting sector.
[0018] In a preferred embodiment of the present application, in the beamforming method of the terahertz wireless network, the step of predicting the starting sector of the beamforming operation based on the first time information, the first target sector number, the first distance information, the second time information, the second target sector number and the second distance information to obtain the corresponding predicted starting sector includes:
[0019] Determine a corresponding first sector center angle based on the first target sector number and the total number of sectors of the source network device, and determine a corresponding second sector center angle based on the second target sector number and the total number of sectors of the source network device;
[0020] Determine first position information of a corresponding n-1th beamforming stage based on the first historical sector center angle and the first distance information, and determine second position information of a corresponding n-2th beamforming stage based on the second historical sector center angle and the second distance information;
[0021] Based on the first location information and the second location information, determine corresponding location distance information, and based on the first location information and the second location information, determine corresponding device movement direction angle information, wherein the device movement direction angle information is used to reflect the movement direction of the destination network device relative to the source network device;
[0022] Determine corresponding device movement duration information based on the first time information and the second time information, and determine corresponding device movement speed information based on the position distance information and the device operation duration information, wherein the device movement speed information is used to reflect the movement speed of the destination network device relative to the source network device;
[0023] Based on the device movement speed information, a starting sector of the beamforming operation is predicted to obtain a corresponding predicted starting sector.
[0024] In a preferred embodiment of the present application, in the beamforming method of the terahertz wireless network, the step of predicting the starting sector of the beamforming operation based on the device movement speed information to obtain the corresponding predicted starting sector includes:
[0025] Acquire first predicted position information of the n-1th beamforming stage, and determine position prediction error information based on the first predicted position information and the first position information, wherein the first predicted position information is determined based on a historically predicted starting sector obtained in the n-1th beamforming stage;
[0026] Acquire the number of sectors that the beam scan passes through from the historical prediction start sector to the determined historical target sector in the n-1th beamforming stage, and determine corresponding sector prediction error information based on the number of sectors;
[0027] Obtaining the total number of sectors that have been scanned by the beam in each beamforming stage in history, and obtaining the total number of times the starting sector prediction has been performed in history, and determining total sector prediction error information based on the total number of sectors and the total number of times;
[0028] determining error correction information based on the total sector prediction error information, the sector prediction error information, and the position prediction error information;
[0029] Based on the device motion speed information and the error correction information, a starting sector of the beamforming operation is predicted to obtain a corresponding predicted starting sector.
[0030] In a preferred embodiment of the present application, in the beamforming method of the terahertz wireless network, the step of predicting the starting sector of the beamforming operation based on the device motion speed information and the error correction information to obtain the corresponding predicted starting sector includes:
[0031] Determine the target position information of the nth beamforming stage based on the first position information, the device movement speed information, the device movement direction angle information, the error correction information, and the duration information between the time information of the nth beamforming stage and the first time information;
[0032] Based on the target position information, target sector center angle information of the nth beamforming stage is determined, and based on the target sector center angle information, a predicted starting sector of the nth beamforming stage is determined.
[0033] In a preferred embodiment of the present application, in the above-mentioned beamforming method for a terahertz wireless network, starting from the predicted starting sector, scanning multiple sectors of the source network device to determine a target sector from the multiple sectors, and performing a beamforming operation between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device, the step includes:
[0034] Initialize the broadcast times and the scanning direction coefficient so that the current broadcast times and the current scanning direction coefficient are both equal to 0;
[0035] Determine position prediction error information based on first position information and first predicted position information in the n-1th beamforming stage, wherein the first position information and the first predicted position information are used to reflect the actual position and predicted position of the destination network device in the n-1th beamforming stage;
[0036] When the position prediction error information is greater than 0, the current scanning direction coefficient is configured to be 0, and when the position prediction error information is not greater than 0, the current scanning direction coefficient is configured to be 1;
[0037] broadcasting a beam scanning frame in the predicted starting sector, and determining whether a beam scanning reply frame sent by the destination network device in response to the beam scanning frame is received;
[0038] When the beam scanning reply frame is received, the predicted starting sector is determined as a target sector, and a beam forming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device;
[0039] When the beam scanning reply frame is not received, updating the current broadcast number to obtain an updated current broadcast number, wherein the difference between the updated current broadcast number and the current broadcast number is equal to 1;
[0040] When the updated current broadcast number is less than the number of the multiple sectors of the source network device, updating the current scanning direction coefficient to obtain an updated current scanning direction coefficient, wherein the difference between the updated current scanning direction coefficient and the current scanning direction coefficient is equal to 1;
[0041] Determining a new predicted sector based on the predicted starting sector, the updated current broadcast number and the updated current scanning direction coefficient;
[0042] broadcasting a new beam scanning frame in the new predicted sector, and determining whether a new beam scanning reply frame sent by the destination network device in response to the new beam scanning frame is received;
[0043] When the new beam scanning reply frame is received, the new predicted sector is determined as the target sector, and a beam forming operation is performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device.
[0044] In a preferred embodiment of the present application, in the above-mentioned beamforming method for a terahertz wireless network, the step of acquiring the target device status information corresponding to the source network device after the source network device enters the beamforming phase includes:
[0045] Constructing a device status table corresponding to the source network device, wherein the device status table is used to store relevant status information of the source network device and the destination network device in the history of performing beamforming operations, the relevant status information including the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history;
[0046] Initializing the status information in the device status table to obtain the initialization status information of the most recent first beamforming operation and the initialization status information of the most recent second beamforming operation, wherein after the initialization and after each beamforming operation, the initialization status information is updated based on the status information corresponding to the beamforming operation to obtain updated status information;
[0047] After the source network device enters the beamforming stage, relevant status information of the source network device and the destination network device in the history of beamforming operations is obtained from the device status table and used as the target device status information corresponding to the source network device, wherein the target device status information includes the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history.
[0048] In a preferred embodiment of the present application, in the above-mentioned beamforming method for a terahertz wireless network, the step of determining a corresponding target beamforming mode from at least two predetermined different beamforming modes based on the target device state information includes:
[0049] When all the status information included in the target device status information belongs to the updated status information, a first beamforming mode among the at least two predetermined beamforming modes is determined as the corresponding target beamforming mode, wherein the target device status information includes the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history, and after the status information is initialized to form the corresponding initialization status information, it is updated based on the performed beamforming operation to form the updated status information;
[0050] When the status information included in the target device status information does not all belong to the updated status information, a second beamforming mode of at least two predetermined beamforming modes is determined as the corresponding target beamforming mode, wherein the second beamforming mode includes randomly determining a starting sector in the beamforming operation and / or performing a sector scanning operation in a continuous order starting from the starting sector.
[0051] The present application also provides a beamforming device for a terahertz wireless network, which is applied to a source network device in a target terahertz wireless network system, wherein the target terahertz wireless network system also includes a destination network device, and the beamforming device for the terahertz wireless network includes:
[0052] A device status information acquisition module, configured to acquire target device status information corresponding to the source network device after the source network device enters the beamforming phase, wherein the target device status information is used to reflect relevant status information of the source network device and the destination network device in the beamforming operation performed historically;
[0053] A beamforming mode determination module, configured to determine a corresponding target beamforming mode from at least two predetermined different beamforming modes based on the target device state information;
[0054] A beamforming operation execution module is used to perform a beamforming operation between the source network device and the destination network device based on the target beamforming mode to determine a target beam direction between the source network device and the destination network device, wherein the target beam direction is used to indicate the direction of data transmission of the source network device after entering the data transmission phase.
[0055] On the basis of the above, the present application further provides a network device, the network device is used as a source network device in a target terahertz wireless network system, the target terahertz wireless network system also includes a destination network device, wherein the network device includes:
[0056] Memory for storing computer programs;
[0057] The processor connected to the memory is used to execute the computer program stored in the memory to implement the above-mentioned beamforming method for the terahertz wireless network.
[0058] On the basis of the above, the present application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is run, each step of the above-mentioned beamforming method for the terahertz wireless network is executed.
[0059] The beamforming method, device, equipment and storage medium of the terahertz wireless network provided by the present application, first, after the source network device enters the beamforming stage, the target device status information corresponding to the source network device is obtained; secondly, based on the target device status information, the corresponding target beamforming mode is determined in at least two different predetermined beamforming modes; then, based on the target beamforming mode, a beamforming operation is performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device. Based on the above content, since the corresponding target beamforming mode can be determined based on the relevant status information of the source network device and the destination network device in the history of the beamforming operation, and then the beamforming operation is performed based on the target beamforming mode, the reliability of the beamforming operation can be higher, and compared with the conventional technical solution of directly performing the beamforming operation based on the inherent method, the beamforming operation can be more easily adapted to the actual situation, thereby ensuring its reliability, and therefore, the problem of relatively poor reliability of the beamforming operation existing in the existing terahertz wireless network can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings.
[0061] Figure 1 Schematic diagram of the terahertz wireless personal area network structure.
[0062] Figure 2 Schematic diagram of the terahertz wireless local area network structure.
[0063] Figure 3 Schematic diagram of the superframe structure of a terahertz wireless network supporting directional communication.
[0064] Figure 4 Schematic diagram of sending beam scanning frames in terahertz wireless network beamforming.
[0065] Figure 5 Schematic diagram of sending beam scanning reply frames in terahertz wireless network beamforming.
[0066] Figure 6 A structural block diagram of a network device provided in an embodiment of the present application.
[0067] Figure 7 A schematic diagram of a flow chart of a beamforming method for a terahertz wireless network provided in an embodiment of the present application.
[0068] Figure 8 A schematic diagram of a method for determining target location information provided in an embodiment of the present application.
[0069] Fig. 9 A schematic diagram of a method for determining target sector center angle information provided in an embodiment of the present application.
[0070] Fig.10 A schematic diagram of a method for determining a prediction starting sector provided in an embodiment of the present application.
[0071] Fig.11 A block diagram of a beamforming device for a terahertz wireless network provided in an embodiment of the present application. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0073] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0074] like Figure 6 As shown, an embodiment of the present application provides a network device, wherein the network device may include a memory, a processor, and a beamforming device for a terahertz wireless network.
[0075] In detail, the memory and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, the memory and the processor can be electrically connected through one or more communication buses or signal lines. The beamforming device of the terahertz wireless network includes at least one software function module stored in the memory in the form of software or firmware. The processor is used to execute an executable computer program stored in the memory, for example, the software function module and computer program included in the beamforming device of the terahertz wireless network, to implement the beamforming method of the terahertz wireless network provided in the embodiment of the present application.
[0076] Optionally, the memory can be, but is not limited to, random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0077] Furthermore, the processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a system on chip (SoC), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0078] Understandably, Figure 6 The structure shown is for illustration only. The network device may also include Figure 1 More or fewer components as shown, or with Figure 6 The different configurations shown, for example, may also include a communication unit for exchanging information with other devices (such as other network devices).
[0079] Combination Figure 7, an embodiment of the present application also provides a beamforming method for a terahertz wireless network that can be applied to the above-mentioned network device. Among them, the method steps defined in the process related to the beamforming method for the terahertz wireless network can be implemented by the network device, and the network device can be used as a source network device in a target terahertz wireless network system, and the target terahertz wireless network system also includes a destination network device. In addition, the source network device and the destination network device are defined based on the perspective of data transmission. For example, when network device A needs to transmit data to network device B, network device A belongs to the source network device, and network device B belongs to the destination network device. For another example, when network device B needs to transmit data to network device A, network device B belongs to the source network device, and network device A belongs to the destination network device.
[0080] The following will Figure 7 The specific process shown is explained in detail.
[0081] Step S110: After the source network device enters the beamforming phase, the target device status information corresponding to the source network device is acquired.
[0082] In an embodiment of the present application, the source network device may obtain the target device status information corresponding to the source network device after the source network device enters the beamforming phase, wherein the target device status information is used to reflect the relevant status information of the beamforming operation performed historically by the source network device and the destination network device, such as location, time, sector, and other information.
[0083] Step S120: Determine a corresponding target beamforming mode from at least two predetermined different beamforming modes based on the target device state information.
[0084] In the embodiment of the present application, the source network device may determine a corresponding target beamforming mode from at least two predetermined different beamforming modes based on the target device state information. That is, different beamforming modes may be used based on different state information.
[0085] Step S130: Based on the target beamforming mode, a beamforming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device.
[0086] In an embodiment of the present application, the source network device may perform a beamforming operation between the source network device and the destination network device based on the target beamforming mode to determine the target beam direction between the source network device and the destination network device. The target beam direction is used to indicate the direction in which the source network device transmits data after entering the data transmission phase. That is, the source network device may perform data transmission to the destination network device along the target beam direction (the sector in which it is located), so that the corresponding data can be effectively and reliably transmitted to the destination network device.
[0087] Based on the above content, since the corresponding target beamforming mode can be determined based on the relevant status information of the source network device and the destination network device in the history of beamforming operations, and then the beamforming operation is performed based on the target beamforming mode, the reliability of the beamforming operation can be higher. Compared with the conventional technical solution of directly performing beamforming operations based on an inherent method, the beamforming operation can be more easily adapted to the actual situation, thereby ensuring its reliability and improving the relatively poor reliability of beamforming operations in existing terahertz wireless networks.
[0088] First, it should be noted that for step S110, the specific method of obtaining the target device status information corresponding to the source network device is not limited and can be selected according to actual needs.
[0089] For example, in an alternative implementation, in order to improve the efficiency and reliability of obtaining the target device status information, the above-mentioned step S110 may further include step S111, step S112 and step S113, and the specific content of each step is described as follows.
[0090] Step S111, constructing a device status table corresponding to the source network device.
[0091] In an embodiment of the present application, a device status table corresponding to the source network device can be pre-constructed. The device status table is used to store the relevant status information of the source network device and the destination network device in the history of beamforming operations, and the relevant status information includes the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history. In other words, the device status table can be used to save the relevant status information of the two most recent beamforming operations performed by the source network device and the destination network device in history. For example, for the third beamforming operation (or the third beamforming stage), the device status table saves the relevant status information of the second beamforming operation and the relevant status information of the first beamforming operation; for the fourth beamforming operation (or the fourth beamforming stage), the device status table saves the relevant status information of the third beamforming operation and the relevant status information of the second beamforming operation. In other words, the relevant status information in the device status table will be continuously iterated and updated in the application.
[0092] Step S112, initializing the status information in the device status table to obtain the initialization status information of the first beamforming operation performed most recently in history and the initialization status information of the second beamforming operation performed most recently in history.
[0093] In an embodiment of the present application, after the device status table is constructed, the status information in the device status table can be initialized to obtain the initialization status information of the first beamforming operation in history and the initialization status information of the second beamforming operation in history. After the initialization process and after each beamforming operation, the initialization status information is updated based on the status information corresponding to the beamforming operation to obtain the updated status information. It should be noted that for the first beamforming operation (the first beamforming stage), since no beamforming operation has been performed in history, the relevant status information in the device status table can be initialized to a preset value, such as -1. For the second beamforming operation (the second beamforming stage), since only one beamforming operation has been performed in history, the relevant status information of the first time in the device status table can be updated according to the actual situation, and the relevant status information of the second time in the device status table can be initialized to a preset value.
[0094] Step S113, after the source network device enters the beamforming stage, the relevant status information of the source network device and the destination network device in the history of beamforming operations is obtained from the device status table and used as the destination device status information corresponding to the source network device.
[0095] In an embodiment of the present application, after the source network device enters the beamforming stage, the relevant state information of the source network device and the destination network device in the history of beamforming operations can be obtained from the device state table and used as the target device state information corresponding to the source network device. The target device state information includes the state information of the most recent first beamforming operation in history and the state information of the most recent second beamforming operation in history, that is, all the state information in the device state table can be obtained.
[0096] Secondly, it should be noted that for step S120, the specific method of determining the corresponding target beamforming method from the at least two different predetermined beamforming methods is not limited and can be selected according to actual needs.
[0097] For example, in an alternative implementation, in order to ensure the reliability of the beamforming operation based on the determined target beamforming mode as much as possible, the above-mentioned step S120 may further include step S121 and step S122, and the specific content of each step is described as follows.
[0098] Step S121, when all the status information included in the target device status information belongs to the updated status information, a first beamforming mode among at least two predetermined beamforming modes is determined as a corresponding target beamforming mode.
[0099] In an embodiment of the present application, when the state information included in the target device state information all belongs to the updated state information (such as none of them is the initialized information), the first beamforming mode of at least two predetermined beamforming modes can be determined as the corresponding target beamforming mode. Wherein, the target device state information includes the state information of the most recent first beamforming operation in history and the state information of the most recent second beamforming operation in history. After the state information is initialized to form the corresponding initialized state information, it will be updated based on the performed beamforming operation to form the updated state information. As described above, the corresponding state information can be saved through the device state table. In this way, as long as it is determined that the state information in the device state table is not the initialized information, the first beamforming mode can be determined as the corresponding target beamforming mode. That is to say, as long as there is sufficient historical state information, the first beamforming mode can be determined as the corresponding target beamforming mode. For example, starting from the third beamforming operation (entering the third beamforming stage), the first beamforming mode can be determined as the corresponding target beamforming mode.
[0100] Step S122: when not all the status information included in the target device status information belongs to the updated status information, a second beamforming mode among the at least two predetermined beamforming modes is determined as the corresponding target beamforming mode.
[0101] In an embodiment of the present application, when the status information included in the target device status information does not all belong to the updated status information (such as none of the status information or part of the status information does not belong to the updated status information), the second beamforming mode of the at least two predetermined beamforming modes can be determined as the corresponding target beamforming mode. Exemplarily, for the first and second beamforming operations (entering the first or second beamforming stage), since the historical status information is relatively insufficient, the second beamforming mode can be determined as the corresponding target beamforming mode. Among them, the second beamforming mode includes randomly determining the starting sector in the beamforming operation and / or performing a sector scanning operation in a continuous order starting from the starting sector. Exemplarily, the starting sector in the beamforming operation can be randomly determined first, and then, starting from the starting sector, the adjacent sectors are sequentially subjected to a sector scanning operation in a continuous order until the target sector is determined.
[0102] In a third aspect, it should be noted that for step S130, the specific manner of performing the beamforming operation between the source network device and the destination network device based on the target beamforming mode is not limited and can also be selected according to actual needs.
[0103] For example, in an alternative implementation, in order to enable the beamforming source node (source network device) to broadcast fewer beam scanning frames and find the beamforming destination node (destination network device) in less time during the beamforming process, thereby saving the control overhead, time and operation of the beamforming to improve the beamforming performance, the above-mentioned step S130 may include step S131 and step S132, and the specific contents of each step are described as follows.
[0104] Step S131: Based on the relevant status information of the source network device and the destination network device in the history of the beamforming operation reflected by the target device status information, a starting sector of the beamforming operation is predicted to obtain a corresponding predicted starting sector.
[0105] In the embodiment of the present application, the starting sector of the beamforming operation can be predicted based on the relevant status information of the source network device and the destination network device in the history of the beamforming operation reflected by the target device status information, and the corresponding predicted starting sector can be obtained, that is, the first sector that needs to broadcast the beam scanning frame for the beamforming operation is predicted, that is, a sector that is most likely to be the target sector (a sector opposite to the destination network device, a sector that can effectively transmit data) is predicted as the predicted starting sector. In this way, if the predicted starting sector is the target sector, in the subsequent steps, the beam scanning frame broadcast operation can be performed only on this sector, so that efficiency can be improved and resource consumption can be reduced.
[0106] Step S132, starting from the predicted starting sector, multiple sectors of the source network device are scanned to determine the target sector among the multiple sectors, and a beamforming operation is performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device.
[0107] In the embodiment of the present application, since the predicted starting sector may only be the target sector and cannot be directly used as the target sector, in order to ensure the reliability and effectiveness of subsequent data transmission, it is also possible to scan multiple sectors of the source network device starting from the predicted starting sector to determine the target sector from the multiple sectors, and implement a beamforming operation between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device. The target beam direction refers to the direction represented by the target sector, and for the currently scanned sector, the source network device will broadcast the beam scanning frame based on the currently scanned sector, so that the destination network device sends a corresponding beam scanning reply frame to the source network device after receiving the beam scanning frame, so as to determine whether the currently scanned sector belongs to the target sector based on the beam scanning reply frame.
[0108] It should be further explained that the specific method of predicting the starting sector of the beamforming operation to obtain the corresponding predicted starting sector is not limited. For example, in an alternative implementation, in order to ensure the reliability of the determined predicted starting sector, the above-mentioned step S131 may further include step S131a and step S131b, and the specific contents are described as follows.
[0109] Step S131a, obtaining the first time information, the first target sector number and the first distance information of the n-1th beamforming stage, and obtaining the second time information, the second target sector number and the second distance information of the n-2th beamforming stage.
[0110] In an embodiment of the present application, the first time information, the first target sector number and the first distance information of the n-1th beamforming stage can be obtained, and the second time information, the second target sector number and the second distance information of the n-2th beamforming stage can be obtained. For example, this information can be obtained from the aforementioned device status table, that is, the relevant status information of the first two beamforming stages is obtained. Among them, the beamforming stage currently entered belongs to the nth beamforming stage, the first target sector number and the second sector number are used to reflect the historical target sector corresponding to the corresponding beamforming stage, the first distance information and the second distance belong to the distance information between the source network device and the destination network device in the corresponding beamforming stage, and n is greater than or equal to 3, that is, starting from the third beamforming stage (i.e., the third beamforming operation), this method is used to predict the starting sector. For example, for the third beamforming stage, the time information, the sector number of the target sector, and the distance information of the first beamforming stage can be obtained, and the time information, the sector number of the target sector, and the distance information of the second beamforming stage can be obtained.
[0111] Step S131b: predict a starting sector of a beamforming operation based on the first time information, the first target sector number, the first distance information, the second time information, the second target sector number and the second distance information to obtain a corresponding predicted starting sector.
[0112] In an embodiment of the present application, after obtaining the corresponding time information, target sector number and distance information, the starting sector of the beamforming operation can be predicted based on the first time information, the first target sector number, the first distance information, the second time information, the second target sector number and the second distance information to obtain the corresponding predicted starting sector.
[0113] It can be understood that, in the above-mentioned step S131b, the specific method of predicting the starting sector of the beamforming operation based on the corresponding time information, target sector number and distance information is not limited. For example, in an alternative implementation, in order to further improve the reliability of the starting sector prediction, the above-mentioned step S131b can further include step b1, step b2, step b3, step b4 and step b5, and the specific content of each step is described as follows.
[0114] Step b1, determining a corresponding first sector center angle based on the first target sector number and the total number of sectors of the source network device, and determining a corresponding second sector center angle based on the second target sector number and the total number of sectors of the source network device.
[0115] In the embodiment of the present application, based on the first target sector number and the total number of sectors of the source network device (such as Figure 4 and Figure 5 As shown, the total number of sectors is 8. In other implementations, the total number of sectors may be other numbers. In addition, the location of the target network device may be determined as the center angle of the target sector), the corresponding first sector center angle is determined, and based on the second target sector number and the total number of sectors of the source network device, the corresponding second sector center angle is determined. For example, the sector center angle may be calculated according to the following formula: α = (f-1) * 2π / M + π / M; wherein α represents the sector center angle, f represents the target sector number, and M represents the total number of sectors; in addition, the first sector may be (0, 2π / M).
[0116] Step b2: based on the first historical sector center angle and the first distance information, determine the first position information of the corresponding n-1th beamforming stage; and based on the second historical sector center angle and the second distance information, determine the second position information of the corresponding n-2th beamforming stage.
[0117] In an embodiment of the present application, after determining the first historical sector center angle and the second historical sector center angle, on the one hand, the first position information of the corresponding n-1th beamforming stage can be determined based on the first historical sector center angle and the first distance information, and on the other hand, the second position information of the corresponding n-2th beamforming stage can be determined based on the second historical sector center angle and the second distance information. Exemplarily, the position information can be represented by two-dimensional coordinates x and y, and the positive direction of the x-axis can be 0 degrees. In this way, the position information can be determined by the following formula: x=d*cos(α), y=d*sin(α), where d represents the distance information.
[0118] Step b3: determining corresponding position distance information based on the first position information and the second position information, and determining corresponding device movement direction angle information based on the first position information and the second position information.
[0119] In an embodiment of the present application, after determining the first location information and the second location information, on the one hand, the corresponding location distance information can be determined based on the first location information and the second location information, and on the other hand, the corresponding device movement direction angle information can be determined based on the first location information and the second location information. The device movement direction angle information is used to reflect the movement direction of the destination network device relative to the source network device. Exemplarily, the device movement direction angle information can be determined based on the following method:
[0120] a) If x n-1 ≥x n-2 And y n-1 ≥y n-2 , then θ=arcsin(y n-1 -y n-2 );
[0121] b) If x n-1 <x n-2 And y n-1 ≥y n-2 , then θ=π-arcsin(y n-1 -y n-2 );
[0122] c) If x n-1 <x n-2 And y n-1 <y n-2 , then θ=π-arcsin(y n-1 -y n-2 );
[0123] d) If xn-1 ≥x n-2 And y n-1 <y n-2 , then θ=2π+arcsin(y n-1 -y n-2 );
[0124] Among them, x n-1 ,y n-1 Indicates the first position information, x n-2 ,y n-2 represents the second position information, and θ represents the angle information of the device's movement direction.
[0125] Step b4, based on the first time information and the second time information, determine the corresponding device movement duration information, and based on the position distance information and the device operation duration information, determine the corresponding device movement speed information.
[0126] In the embodiment of the present application, the corresponding device movement duration information can also be determined based on the first time information and the second time information (difference calculation), and then the corresponding device movement speed information can be determined based on the position distance information and the device operation duration information (such as calculating the ratio). The device movement speed information is used to reflect the movement speed of the destination network device relative to the source network device.
[0127] Step b5: predicting the starting sector of the beamforming operation based on the device movement speed information to obtain a corresponding predicted starting sector.
[0128] In an embodiment of the present application, after obtaining the device motion information, the starting sector of the beamforming operation can be predicted based on the device motion speed information to obtain the corresponding predicted starting sector. Exemplarily, the motion situation can be predicted based on the device motion speed information to obtain the corresponding predicted starting sector.
[0129] It can be understood that, in the above-mentioned step b5, the specific method of predicting the starting sector of the beamforming operation based on the device movement speed information is not limited. For example, in an alternative implementation, in order to further improve the probability of overlap between the predicted starting sector and the target sector, the corresponding error can also be processed. Based on this, the above-mentioned step b5 can further include step b51, step b52, step b53, step b54 and step b55, as described below.
[0130] Step b51, obtaining the first predicted position information of the n-1th beamforming stage, and determining the position prediction error information based on the first predicted position information and the first position information.
[0131] In an embodiment of the present application, the first predicted position information of the n-1th beamforming stage can be obtained first, and then the position prediction error information can be determined based on the first predicted position information and the first position information (the position coordinates of the x-axis and the y-axis can be calculated to obtain the corresponding error). The first predicted position information can be determined based on the historical predicted starting sector obtained in the n-1th beamforming stage. Exemplarily, the position prediction error information can also be combined with the speed error (such as 0 by default, that is, the speed defaults to no error) to construct an error vector D en-1 =(x en-1 ,0,y en-1 ,0) T , where x en-1 and en-1 are the errors corresponding to the x-axis and y-axis respectively.
[0132] Step b52, obtaining the sector number of the sectors passed by the beam scanning from the historical prediction starting sector to the determined historical target sector in the n-1th beamforming stage, and determining the corresponding sector prediction error information based on the sector number.
[0133] In the embodiment of the present application, the number of sectors of the beam scanning from the historical prediction starting sector to the determined historical target sector in the n-1th beamforming stage can be obtained first, and then the corresponding sector prediction error information can be determined based on the sector number. Exemplarily, the sector prediction error information can be determined based on the following formula: en-1 =(N n-1 -1) / N n-1 , where f en-1 is the sector prediction error information, N n-1 It is the number of sectors that the beam scan passes through from the historical prediction starting sector to the determined historical target sector in the n-1th beamforming stage.
[0134] Step b53, obtain the total number of sectors that the beam scanned in each beamforming stage in history, obtain the total number of times the starting sector prediction was performed in history, and determine the total sector prediction error information based on the total number of sectors and the total number of times.
[0135] In the embodiment of the present application, the total number of sectors that have been scanned by the beam in each beamforming stage in history (i.e., the cumulative number of sectors that have been scanned by the beam in each beamforming stage in history) can be obtained first, and the total number of times the starting sector prediction has been performed in history can be obtained. Then, the total sector prediction error information can be determined based on the total number of sectors and the total number of times. Exemplarily, the total sector prediction error information can be calculated based on the following formula: et =(N s -N p ) / N s , where f et Represents the total sector prediction error information, N s Indicates the total number of sectors, N p Indicates the total number of times.
[0136] Step b54, determining error correction information based on the total sector prediction error information, the sector prediction error information and the position prediction error information.
[0137] In the embodiment of the present application, after obtaining the total sector prediction error information, the sector prediction error information and the position prediction error information, error correction information, i.e., information for correcting each error information, can be determined based on the total sector prediction error information, the sector prediction error information and the position prediction error information. The specific formula is as follows: n-1 =(-1)×f et ×f en-1 ×D en-1 , where Ф n-1 Indicates error correction information.
[0138] Step b55: predicting the starting sector of the beamforming operation based on the device movement speed information and the error correction information to obtain a corresponding predicted starting sector.
[0139] In an embodiment of the present application, after determining the device motion speed information and the error correction information, the starting sector of the beamforming operation can be predicted based on the device motion speed information and the error correction information to obtain a corresponding predicted starting sector, that is, the device motion speed information and the error correction information are fully considered, so that the obtained predicted starting sector has higher reliability, such as being closest to the target sector.
[0140] It can be understood that, in the above step b55, the specific manner of predicting the starting sector of the beamforming operation based on the device motion speed information and the error correction information is not limited. For example, in an alternative implementation, in order to further improve the reliability of the predicted starting sector, the above step b55 may further include the following contents:
[0141] First, the target position information of the nth beamforming stage can be determined based on the first position information, the device movement speed information, the device movement direction angle information, the error correction information, and the time information between the time information of the nth beamforming stage and the first time information; illustratively, the target position information of the nth beamforming stage can be determined based on Figure 8 The formula shown in the figure determines the target position information, where x pn and pn are the coordinates of the target position information on the x-axis and y-axis, v n-1 is the device motion speed information in the n-1th beamforming stage, T n is the duration information between the time information of the nth beamforming stage and the first time information;
[0142] Then, the target sector center angle information of the nth beamforming stage can be determined based on the target position information, and the predicted starting sector of the nth beamforming stage can be determined based on the target sector center angle information; illustratively, Fig. 9 The formula shown in the figure determines the target sector center angle information, and based on Fig.10 The formula shown in the figure determines the predicted starting sector, where β is the central angle information of the target sector, and f pn To predict the starting sector, Indicates rounding down.
[0143] It should be further explained that for the above step S132, starting from the predicted starting sector, the specific method of scanning multiple sectors of the source network device is not limited and can be selected according to actual needs.
[0144] For example, in an alternative implementation, in order to improve the efficiency of determining the target sector and reduce the consumption of scanning resources during the scanning process, the above step S132 includes:
[0145] First, the broadcast times and the scanning direction coefficient may be initialized so that the current broadcast times and the current scanning direction coefficient are both equal to 0;
[0146] Secondly, based on the first position information and the first predicted position information in the n-1th beamforming stage, the position prediction error information can be determined (as described above, and the position prediction error information can be obtained by superimposing the errors of the x-axis and the y-axis), wherein the first position information and the first predicted position information are used to reflect the actual position and predicted position of the destination network device in the n-1th beamforming stage.
[0147] Then, when the position prediction error information is greater than 0, the current scanning direction coefficient may be configured to be 0, and when the position prediction error information is not greater than 0, the current scanning direction coefficient may be configured to be 1;
[0148] Afterwards, a beam scanning frame may be broadcast in the predicted starting sector (for example, the beam scanning frame may be broadcast M times (in each basic time slot s b Broadcast once in the program, you can set s b =1 millisecond)), and determines whether a beam scanning reply frame sent by the destination network device in response to the beam scanning frame is received (exemplarily, the waiting time for receiving can be one basic time slot).
[0149] Furthermore, when the beam scanning reply frame is received, the predicted starting sector can be determined as the target sector, and a beam forming operation can be performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device; when the beam scanning reply frame is not received, the current broadcast number can be updated (such as adding 1) to obtain an updated current broadcast number, wherein the difference between the updated current broadcast number and the current broadcast number is equal to 1.
[0150] Further, when the updated current broadcast number is less than the number of multiple sectors of the source network device (such as M. If it is equal to this number, it indicates that all sectors have been broadcast, and therefore, it is no longer necessary to continue), the current scanning direction coefficient is updated (such as adding 1) to obtain an updated current scanning direction coefficient, wherein the difference between the updated current scanning direction coefficient and the current scanning direction coefficient is equal to 1.
[0151] Further, a new predicted sector may be determined based on the predicted starting sector, the updated current broadcast number and the updated current scanning direction coefficient; the sector number of the new predicted sector may be: f pn +(-1) r *(b / 2), where f pn is the predicted starting sector, r is the updated current scanning direction coefficient, and b is the updated current broadcast number.
[0152] Furthermore, a new beam scanning frame is broadcast in the new predicted sector, and it is determined whether a new beam scanning reply frame sent by the destination network device in response to the new beam scanning frame is received, as described above.
[0153] Finally, when the new beam scanning reply frame is received, the new predicted sector is determined as the target sector, and a beam forming operation is performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device; based on this, the target sector can be reliably determined by performing an iterative loop.
[0154] Combination Fig.11 The embodiment of the present application provides a beamforming device for a terahertz wireless network that can be applied to the above network device. The beamforming device for a terahertz wireless network includes a device status information acquisition module, a beamforming mode determination module, and a beamforming operation execution module.
[0155] The device status information acquisition module is used to acquire the target device status information corresponding to the source network device after the source network device enters the beamforming stage, wherein the target device status information is used to reflect the relevant status information of the source network device and the target network device in the history of beamforming operations. In the embodiment of the present application, the device status information acquisition module can be used to execute Figure 7 As shown in step S110, the relevant contents of the device status information acquisition module can refer to the above description of step S110.
[0156] The beamforming mode determination module is used to determine a corresponding target beamforming mode from at least two different predetermined beamforming modes based on the target device state information. In an embodiment of the present application, the beamforming mode determination module can be used to perform Figure 7 As shown in step S120, the relevant contents of the beamforming mode determination module can refer to the above description of step S120.
[0157] The beamforming operation execution module is used to perform a beamforming operation between the source network device and the destination network device based on the target beamforming mode to determine the target beam direction between the source network device and the destination network device, wherein the target beam direction is used to indicate the direction in which the source network device performs data transmission after entering the data transmission phase. In an embodiment of the present application, the beamforming operation execution module can be used to execute Figure 7 As shown in step S130, the relevant contents of the beamforming operation execution module can refer to the above description of step S130.
[0158] In an embodiment of the present application, corresponding to the above-mentioned beamforming method for the terahertz wireless network applied to the network device, a computer-readable storage medium is also provided, in which a computer program is stored, and when the computer program is run, each step of the beamforming method for the terahertz wireless network is executed.
[0159] Among them, the steps executed when the aforementioned computer program is running will not be described one by one here, and reference may be made to the above explanation of the beamforming method for the terahertz wireless network.
[0160] In summary, the beamforming method, device, equipment and storage medium of the terahertz wireless network provided by the present application, first, after the source network device enters the beamforming stage, the target device status information corresponding to the source network device is obtained; secondly, based on the target device status information, the corresponding target beamforming mode is determined in at least two different predetermined beamforming modes; then, based on the target beamforming mode, a beamforming operation is performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device. Based on the above content, since the corresponding target beamforming mode can be determined based on the relevant status information of the beamforming operation performed historically by the source network device and the destination network device, and then the beamforming operation is performed based on the target beamforming mode, the reliability of the beamforming operation can be higher. Compared with the conventional technical solution of directly performing the beamforming operation based on the inherent method, the beamforming operation can be more easily adapted to the actual situation, thereby ensuring its reliability and improving the problem of relatively poor reliability of the beamforming operation existing in the existing terahertz wireless network.
[0161] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device and method embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the device, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0162] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0163] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk. It should be noted that, in this article, the term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such a process, method, article or device. Without more constraints, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.
[0164] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A beamforming method for a terahertz wireless network, characterized in that: A source network device applied to a target terahertz wireless network system, wherein the target terahertz wireless network system further includes a destination network device, and the beamforming method of the terahertz wireless network includes: After the source network device enters the beamforming phase, the target device status information corresponding to the source network device is obtained, wherein the target device status information is used to reflect the relevant status information of the beamforming operation performed historically by the source network device and the destination network device; Based on the target device state information, determining a corresponding target beamforming mode from at least two predetermined different beamforming modes; Based on the target beam forming method, a beam forming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device, wherein the target beam direction is used to indicate the direction in which the source network device performs data transmission after entering the data transmission phase.
2. The beamforming method for a terahertz wireless network according to claim 1, characterized in that: The step of performing a beamforming operation between the source network device and the destination network device based on the target beamforming mode to determine a target beam direction between the source network device and the destination network device includes: Based on the relevant status information of the source network device and the destination network device in the history of the beamforming operation reflected by the target device status information, predict the starting sector of the beamforming operation to obtain the corresponding predicted starting sector; Starting from the predicted starting sector, multiple sectors of the source network device are scanned to determine a target sector from the multiple sectors, and a beamforming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device, wherein the target beam direction refers to a direction represented by the target sector, and for the currently scanned sector, the source network device broadcasts a beam scanning frame based on the currently scanned sector, so that after receiving the beam scanning frame, the destination network device sends a corresponding beam scanning reply frame to the source network device to determine whether the currently scanned sector belongs to the target sector based on the beam scanning reply frame.
3. The beamforming method for a terahertz wireless network according to claim 2, characterized in that: The step of predicting a starting sector of the beamforming operation based on relevant status information of the source network device and the destination network device in the history of the beamforming operation reflected by the target device status information to obtain a corresponding predicted starting sector comprises: Acquire first time information, first target sector number, and first distance information of the n-1th beamforming stage, and acquire second time information, second target sector number, and second distance information of the n-2th beamforming stage, wherein the currently entered beamforming stage belongs to the nth beamforming stage, the first target sector number and the second sector number are used to reflect the historical target sector corresponding to the corresponding beamforming stage, the first distance information and the second distance belong to the distance information between the source network device and the destination network device in the corresponding beamforming stage, and n is greater than or equal to 3; Based on the first time information, the first target sector number, the first distance information, the second time information, the second target sector number and the second distance information, a starting sector of a beamforming operation is predicted to obtain a corresponding predicted starting sector.
4. The beamforming method for a terahertz wireless network according to claim 3, characterized in that: The step of predicting a starting sector of a beamforming operation based on the first time information, the first target sector number, the first distance information, the second time information, the second target sector number, and the second distance information to obtain a corresponding predicted starting sector includes: Determine a corresponding first sector center angle based on the first target sector number and the total number of sectors of the source network device, and determine a corresponding second sector center angle based on the second target sector number and the total number of sectors of the source network device; Determine first position information of a corresponding n-1th beamforming stage based on the first historical sector center angle and the first distance information, and determine second position information of a corresponding n-2th beamforming stage based on the second historical sector center angle and the second distance information; Based on the first location information and the second location information, determine corresponding location distance information, and based on the first location information and the second location information, determine corresponding device movement direction angle information, wherein the device movement direction angle information is used to reflect the movement direction of the destination network device relative to the source network device; Determine corresponding device movement duration information based on the first time information and the second time information, and determine corresponding device movement speed information based on the position distance information and the device operation duration information, wherein the device movement speed information is used to reflect the movement speed of the destination network device relative to the source network device; Based on the device movement speed information, a starting sector of the beamforming operation is predicted to obtain a corresponding predicted starting sector.
5. The beamforming method for a terahertz wireless network according to claim 4, characterized in that: The step of predicting the starting sector of the beamforming operation based on the device movement speed information to obtain the corresponding predicted starting sector includes: Acquire first predicted position information of the n-1th beamforming stage, and determine position prediction error information based on the first predicted position information and the first position information, wherein the first predicted position information is determined based on a historically predicted starting sector obtained in the n-1th beamforming stage; Acquire the number of sectors that the beam scan passes through from the historical prediction start sector to the determined historical target sector in the n-1th beamforming stage, and determine corresponding sector prediction error information based on the number of sectors; Obtaining the total number of sectors that have been scanned by the beam in each beamforming stage in history, and obtaining the total number of times the starting sector prediction has been performed in history, and determining total sector prediction error information based on the total number of sectors and the total number of times; determining error correction information based on the total sector prediction error information, the sector prediction error information, and the position prediction error information; Based on the device motion speed information and the error correction information, a starting sector of the beamforming operation is predicted to obtain a corresponding predicted starting sector.
6. The beamforming method for a terahertz wireless network according to claim 5, characterized in that: The step of predicting a starting sector of a beamforming operation based on the device motion speed information and the error correction information to obtain a corresponding predicted starting sector comprises: Determine the target position information of the nth beamforming stage based on the first position information, the device movement speed information, the device movement direction angle information, the error correction information, and the duration information between the time information of the nth beamforming stage and the first time information; Based on the target position information, target sector center angle information of the nth beamforming stage is determined, and based on the target sector center angle information, a predicted starting sector of the nth beamforming stage is determined.
7. The beamforming method for a terahertz wireless network according to claim 2, characterized in that: The step of scanning multiple sectors of the source network device starting from the predicted starting sector to determine a target sector from the multiple sectors, and performing a beamforming operation between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device comprises: Initialize the broadcast times and the scanning direction coefficient so that the current broadcast times and the current scanning direction coefficient are both equal to 0; Determine position prediction error information based on first position information and first predicted position information in the n-1th beamforming stage, wherein the first position information and the first predicted position information are used to reflect the actual position and predicted position of the destination network device in the n-1th beamforming stage; When the position prediction error information is greater than 0, the current scanning direction coefficient is configured to be 0, and when the position prediction error information is not greater than 0, the current scanning direction coefficient is configured to be 1; broadcasting a beam scanning frame in the predicted starting sector, and determining whether a beam scanning reply frame sent by the destination network device in response to the beam scanning frame is received; When the beam scanning reply frame is received, the predicted starting sector is determined as a target sector, and a beam forming operation is performed between the source network device and the destination network device to determine a target beam direction between the source network device and the destination network device; When the beam scanning reply frame is not received, updating the current broadcast number to obtain an updated current broadcast number, wherein the difference between the updated current broadcast number and the current broadcast number is equal to 1; When the updated current broadcast number is less than the number of the multiple sectors of the source network device, the current scanning direction coefficient is updated to obtain an updated current scanning direction coefficient, wherein the difference between the updated current scanning direction coefficient and the current scanning direction coefficient is equal to 1; Determining a new predicted sector based on the predicted starting sector, the updated current broadcast number and the updated current scanning direction coefficient; broadcasting a new beam scanning frame in the new predicted sector, and determining whether a new beam scanning reply frame sent by the destination network device in response to the new beam scanning frame is received; When the new beam scanning reply frame is received, the new predicted sector is determined as the target sector, and a beam forming operation is performed between the source network device and the destination network device to determine the target beam direction between the source network device and the destination network device.
8. The beamforming method for a terahertz wireless network according to any one of claims 1 to 7, characterized in that: The step of acquiring the target device status information corresponding to the source network device after the source network device enters the beamforming phase includes: Constructing a device status table corresponding to the source network device, wherein the device status table is used to store relevant status information of the source network device and the destination network device in the history of performing beamforming operations, the relevant status information including the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history; Initializing the status information in the device status table to obtain the initialization status information of the most recent first beamforming operation and the initialization status information of the most recent second beamforming operation, wherein after the initialization and after each beamforming operation, the initialization status information is updated based on the status information corresponding to the beamforming operation to obtain updated status information; After the source network device enters the beamforming stage, relevant status information of the source network device and the destination network device in the history of beamforming operations is obtained from the device status table and used as the target device status information corresponding to the source network device, wherein the target device status information includes the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history.
9. The beamforming method for a terahertz wireless network according to any one of claims 1 to 7, characterized in that: The step of determining a corresponding target beamforming mode from at least two predetermined beamforming modes based on the target device state information includes: When all the status information included in the target device status information belongs to the updated status information, a first beamforming mode among the at least two predetermined beamforming modes is determined as the corresponding target beamforming mode, wherein the target device status information includes the status information of the most recent first beamforming operation in history and the status information of the most recent second beamforming operation in history, and after the status information is initialized to form the corresponding initialization status information, it is updated based on the performed beamforming operation to form the updated status information; When the status information included in the target device status information does not all belong to the updated status information, a second beamforming mode of at least two predetermined beamforming modes is determined as the corresponding target beamforming mode, wherein the second beamforming mode includes randomly determining a starting sector in the beamforming operation and / or performing a sector scanning operation in a continuous order starting from the starting sector.
10. A beamforming device for a terahertz wireless network, characterized in that: A source network device applied to a target terahertz wireless network system, wherein the target terahertz wireless network system further includes a destination network device, and the beamforming device of the terahertz wireless network includes: A device status information acquisition module, configured to acquire target device status information corresponding to the source network device after the source network device enters the beamforming phase, wherein the target device status information is used to reflect relevant status information of the source network device and the destination network device in the beamforming operation performed historically; A beamforming mode determination module, configured to determine a corresponding target beamforming mode from at least two predetermined different beamforming modes based on the target device state information; A beamforming operation execution module is used to perform a beamforming operation between the source network device and the destination network device based on the target beamforming mode to determine a target beam direction between the source network device and the destination network device, wherein the target beam direction is used to indicate the direction of data transmission of the source network device after entering the data transmission phase.
11. A network device, characterized in that: The network device serves as a source network device in a target terahertz wireless network system, and the target terahertz wireless network system also includes a destination network device, wherein the network device includes: Memory for storing computer programs; A processor connected to the memory is used to execute a computer program stored in the memory to implement the beamforming method for a terahertz wireless network as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is run, the beamforming method for a terahertz wireless network according to any one of claims 1 to 9 is executed.
