Beam alignment method, information transmission method, and related device

MY215697AActive Publication Date: 2026-10-15HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
MYPI2023002643
Authority / Receiving Office
MY · MY
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-23
Filing Date
2021-08-23
Publication Date
2026-10-15
Estimated Expiration
2041-08-23

AI Technical Summary

Technical Problem

Due to the large path loss in millimeter-wave communications, narrow-beam antennas compensate for the loss on the propagation path. However, beam alignment is difficult when the terminal device moves, resulting in a decrease in signal transmission quality, and re-initialization is required when switching devices in a multi-access point device scenario. , reducing the accuracy and efficiency of beam alignment.

Method used

Through message transmission between the access point device and the terminal device, the position information and reference beam direction information are used to directly determine the beam information, avoiding a large number of scanning alignment processes and ensuring the accuracy and efficiency of beam alignment, especially in There is no need to reinitialize the search in a multi-access point device scenario.

Benefits of technology

It improves the accuracy and efficiency of beam alignment, reduces the occupation of extreme bandwidth, and ensures the business continuity of terminal equipment during equipment switching.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

Embodiments of this application relate to the communication field, and disclose a beam alignment method, an information transmission method, and a related device, to improve beam alignment accuracy and beam alignment efficiency. In the method in embodiments of this application, an access point device receives (S105) a first message, then determines (S107), based on the first message, information about a first beam pointing to a target terminal device, and aligns (S109) an antenna beam of the access point device with the target terminal device based on the information about the first beam. Next, the terminal device receives (S106) a second message, determines (S108) information about a second beam pointing to the target access point device, and aligns (S110) an antenna beam of the terminal device with the target access point device based on the information about the second beam. Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

A beam alignment method, information transmission method and related equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on November 23, 2020, with application number 202011320759.X and application name “A beam alignment method, information transmission method and related equipment”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of communications, and in particular to a beam alignment method, an information transmission method, and related equipment. Background Art

[0003] Due to the high path loss in millimeter-wave communications, narrow-beam antennas are typically used to increase directional gain and compensate for losses along the propagation path. When the transmit and receive beams of narrow-beam antennas are aligned, the system achieves the highest antenna gain and optimal transmission performance. Furthermore, because terminal devices are mobile, beam scanning can be performed periodically while transmitting service data. The optimal beam is selected and fed back at the receiver, enabling transmit beam tracking. After the transmit beam is adjusted to its optimal state, the receive beam is then traversed again to obtain the optimal receive beam, achieving optimal performance across the entire transmit and receive link.

[0004] Currently, in millimeter-wave Wireless Fidelity (WIFI) beam alignment, the access point (AP) device periodically sends downlink scan frames. The different time slots of the scan frame are composed of signal segments pointing to different beams, which enables omnidirectional beam scanning. The station (STA) is a terminal device connected to the millimeter-wave WIFI. The STA obtains the transmission signals in different directions by receiving signal frames in different time periods. The STA then feeds back the received signal-to-noise ratio in different directions to the AP device to obtain the rough direction of the downlink transmission. After the coarse alignment is completed, a narrower beam scan is performed on the coarse alignment direction to determine the precise downlink transmission direction. Finally, the STA searches for the uplink transmission direction according to the same scanning mechanism as the downlink, thus completing the transceiver beam alignment.

[0005] However, continuous tracking requires a large number of time slots for scanning and alignment, which reduces the maximum bandwidth. When tracking is slow, beam misalignment may occur. Secondly, in scenarios with multiple access point devices, the access point device to be switched needs to be re-initialized and searched, resulting in service interruption, thereby reducing the accuracy and efficiency of beam alignment.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a beam alignment method, an information transmission method, and related equipment for improving the accuracy and efficiency of beam alignment.

[0008] In a first aspect, the present application provides a beam alignment method. This method can be executed by an access point device, or by a chip configured in the access point device, though this application is not limited thereto. The method includes: the access point device receiving a first message, then determining, based on the first message, first beam information directed toward a target terminal device, and then, based on the first beam information, aligning the antenna beam of the access point device toward the target terminal device.

[0009] In this embodiment, the first beam information directed toward the target terminal device is determined through the first message, eliminating the need to spend a large number of time slots for scanning and alignment. This ensures maximum bandwidth and ensures accurate beam information directed toward the target terminal device even during slow tracking, thereby improving beam alignment accuracy. Furthermore, in scenarios with multiple access points, switching access points eliminates the need for re-initialization search, and the obtained first beam information is directed toward the target terminal device, thus preventing any impact on the target terminal device's services. This improves beam alignment efficiency.

[0010] In an optional embodiment of the present application, the first message includes the location information of the terminal device, so the access point device can determine the first beam information based on the location information of the terminal device, the location information of the access point device, and the reference beam direction information of the antenna of the access point device.

[0011] In this implementation, the access point device can determine the first beam information through its own calculations using the location information of the terminal device included in the first message, thereby improving the feasibility of this solution.

[0012] In an optional embodiment of the present application, the reference beam direction information of the antenna of the access point device includes any one of normal direction information of the antenna of the access point device, or direction information perpendicular to the normal of the antenna of the access point device, or direction information at a preset angle to the normal of the antenna of the access point device.

[0013] In this embodiment, the access point device can flexibly determine the required reference beam direction information according to actual conditions through the reference beam direction information of the antennas of different access point devices, thereby improving the flexibility of determining the first beam information and thus improving the flexibility of this solution.

[0014] In an optional implementation manner of the present application, the first message includes first beam information.

[0015] In this implementation, the access point device directly determines the first beam information through the first message including the first beam information without performing any calculation, thereby improving the efficiency of determining the beam information.

[0016] In an optional implementation manner of the present application, the access point device may further send a second message to the target terminal device, so that the target terminal device can determine the second beam information pointing to the access point device according to the second message.

[0017] In this embodiment, the access point device sends a second message to the target terminal device, so that the target terminal device determines the second beam information pointing to the access point device according to the second message, thereby completing the mutual beam alignment between the target terminal device and the access point device, thereby improving the feasibility of beam alignment of this solution.

[0018] In an optional embodiment of the present application, the first message includes the location information of the terminal device and the reference beam direction information of the terminal device's antenna. Therefore, the access point device can determine the second beam information based on the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the terminal device's antenna. The second message thus includes the determined second beam information.

[0019] In this embodiment, the access point device obtains the second beam information of the target terminal device pointing to the access point device through calculation, and carries the second beam information in the second message so that the target terminal device can directly determine the second beam information, thereby improving the efficiency of determining the beam information.

[0020] In an optional embodiment of the present application, the reference beam direction information of the antenna of the terminal device includes the normal direction information of the antenna of the terminal device, or the normal direction information perpendicular to the normal direction of the antenna of the terminal device, or any one of the direction information at a preset angle to the normal of the antenna of the terminal device.

[0021] In this embodiment, the access point device can flexibly determine the required reference beam direction information according to actual conditions through the reference beam direction information of the antennas of different terminal devices, thereby improving the flexibility of determining the second beam information and thus improving the flexibility of this solution.

[0022] In an optional implementation manner of the present application, the second message includes location information of the access point device.

[0023] In this embodiment, the access point device sends a second message including the location information of the access point device to the target terminal device, so that the target terminal device can determine the second beam information according to the location information, thereby improving the feasibility of this solution.

[0024] In a second aspect, the present application provides a beam alignment method. This method can be executed by a terminal device, or by a chip configured in the terminal device, and this application is not limited thereto. The method includes: the terminal device receiving a second message, then determining second beam information directed toward a target access point device based on the second message, and then aligning the terminal device's antenna beam toward the target access point device based on the second beam information.

[0025] In this embodiment, the second beam information directed toward the target access point is determined through the second message. Even when tracking is slow, the beam information directed toward the target access point is accurate, thereby improving beam alignment accuracy. Furthermore, in scenarios with multiple access points, when a terminal device needs to switch access points while moving, the second beam information obtained by the terminal device is directed toward the target access point providing the service. Therefore, the terminal device can perform normal service, thereby improving beam alignment efficiency.

[0026] In an optional embodiment of the present application, the second message includes the location information of the target access point device, so the terminal device can determine the second beam information based on the location information of the target access point device, the location information of the terminal device, and the reference beam direction information of the antenna of the terminal device.

[0027] In this embodiment, the terminal device can determine the second beam information through its own calculation using the location information of the access point device included in the second message, thereby improving the feasibility of this solution.

[0028] In an optional embodiment of the present application, the reference beam direction information of the antenna of the terminal device includes the normal direction information of the antenna of the terminal device, or the normal direction information perpendicular to the normal direction of the antenna of the terminal device, or any one of the direction information at a preset angle to the normal of the antenna of the terminal device.

[0029] In this embodiment, the terminal device can flexibly determine the second beam information according to actual conditions through the reference beam direction information of the antennas of different terminal devices, thereby improving the flexibility of this solution.

[0030] In an optional implementation of the present application, the second message includes second beam information.

[0031] In this implementation, the access point device directly determines the second beam information through the second message including the second beam information without performing any calculation, thereby improving the efficiency of determining the beam information.

[0032] In an optional implementation manner of the present application, the terminal device sends a first message to the target access point device, so that the target access point device determines first beam information pointing to the terminal device according to the first message.

[0033] In this embodiment, the terminal device sends a first message to the target access point device, so that the target access point device determines the first beam information pointing to the terminal device according to the first message, thereby completing the mutual beam alignment between the target access point device and the terminal device, thereby improving the feasibility of beam alignment of this solution.

[0034] In an optional embodiment of the present application, the second message includes the location information of the target access point device and the reference beam direction information of the antenna of the target access point device. Therefore, the terminal device can determine the first beam information based on the location information of the terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device, and the first message sent to the target access point device includes the first beam information.

[0035] In this embodiment, the terminal device obtains the first beam information of the target access point device pointing to the terminal device through calculation, and carries the first beam information in the first message so that the target access point device can directly determine the first beam information, thereby improving the efficiency of determining the beam information.

[0036] In an optional embodiment of the present application, the reference beam direction information of the antenna of the target access point device includes any one of normal direction information of the antenna of the target access point device, or direction information perpendicular to the normal of the antenna of the target access point device, or direction information forming a preset angle with the normal of the antenna of the target access point device.

[0037] In this embodiment, the terminal device can flexibly determine the required reference beam direction information according to actual conditions through the reference beam direction information of the antennas of different access point devices, thereby improving the flexibility of determining the first beam information and thus improving the flexibility of this solution.

[0038] In an optional implementation manner of the present application, the first message includes location information of the terminal device.

[0039] In this implementation, the terminal device sends a second message including the location information of the access point device to the target access point device, so that the target access point device can determine the first beam information according to the location information, thereby improving the feasibility of this solution.

[0040] In a third aspect, the present application provides a method for information transmission. The method can be executed by a location service device, or by a chip configured in the location service device. The location service device can be an access point device or an access point device, which is not limited in this application. The method includes: the location service device sends a first message to a target access point device, so that the target access point device determines first beam information pointing to a target terminal device based on the first message; secondly, the location service device also sends a second message to the target terminal device, so that the target terminal device determines second beam information pointing to the target access point device based on the second message.

[0041] In this embodiment, the location service device, through the first message and the second message, can enable the target access point device to determine the first beam information pointing to the target terminal device, and enable the target terminal device to determine the second beam information pointing to the target access point device. Therefore, when tracking is slow, the beam information determined by the target terminal device and the target access point device is accurate, thereby improving the accuracy of beam alignment. Secondly, in a scenario with multiple access point devices, there is no need to re-initialize the search when switching access point devices. The mutual beam alignment between the target access point device and the terminal device can be completed using the determined beam information. Therefore, it will not affect the service of the target terminal device switching between multiple access point devices, thereby improving the efficiency of beam alignment.

[0042] In an optional implementation manner of the present application, the first message includes location information of the target terminal device.

[0043] In this embodiment, since the first message includes the location information of the target terminal device, the target access point device can obtain the location information of the target terminal device through the first message, and thereby determine the first beam information based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device, thereby improving the feasibility of this solution.

[0044] In an optional embodiment of the present application, the location service device can also obtain the location information of the target terminal device, and obtain the location information of the target access point device and the reference beam direction information of the antenna of the target access point device, and then determine the first beam information based on the location information of the target terminal device, the location information of the target access point device and the reference beam direction information of the antenna of the target access point device, and then send a first message including the first beam information to the target access point device.

[0045] In this embodiment, the location service device determines the first beam information based on the acquired location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device, and carries the first beam information in the first message, so that the target access point device can directly determine the first beam information without performing any calculation, thereby improving the efficiency of determining the beam information.

[0046] In an optional embodiment of the present application, the reference beam direction information of the antenna of the target access point device includes any one of normal direction information of the antenna of the target access point device, or direction information perpendicular to the normal of the antenna of the target access point device, or direction information forming a preset angle with the normal of the antenna of the target access point device.

[0047] In this embodiment, since there are multiple options for the reference beam direction information of the antenna of the target access point device, the access point device can flexibly determine the required reference beam direction information according to actual conditions, thereby improving the flexibility of determining the first beam information, thereby improving the flexibility of this solution.

[0048] In an optional implementation manner of the present application, the second message includes location information of the target access point device.

[0049] In this embodiment, since the second message includes the location information of the target access point device, the target terminal device can obtain the location information of the target access point device through the second message, and thus determine the second beam information based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device, thereby improving the feasibility of this solution.

[0050] In an optional embodiment of the present application, the location service device can also obtain the location information of the target access point device, as well as the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device, and then determine the second beam information based on the location information of the target access point device, the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device, and then send a second message including the second beam information to the target terminal device.

[0051] In this embodiment, the location service device determines the second beam information based on the acquired location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device, and carries the second beam information in the second message, so that the target terminal device can directly determine the second beam information without calculation, thereby improving the efficiency of determining the beam information.

[0052] In an optional embodiment of the present application, the reference beam direction information of the antenna of the target terminal device includes the normal direction information of the antenna of the target terminal device, or the normal direction information perpendicular to the antenna of the target terminal device, or any one of the direction information at a preset angle to the normal of the antenna of the target terminal device.

[0053] In this embodiment, since there are multiple options for the reference beam direction information of the antenna of the target terminal device, the terminal device can flexibly determine the required reference beam direction information according to actual conditions, thereby improving the flexibility of determining the second beam information, thereby improving the flexibility of this solution.

[0054] In a fourth aspect, a communication device is provided. The communication device implements some or all of the functions of the access point device described in the first aspect and any possible implementation of the first aspect. For example, the device may include the functions of some or all of the embodiments of the access point device in this application, or may include the functions of implementing any of the embodiments in this application alone. The functions may be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the functions described above.

[0055] In one possible design, the communication device may include a processing module and a transceiver module. The processing module is configured to support the communication device in performing the corresponding functions of the above method. The transceiver module is used to support communication between the communication device and other devices. The communication device may also include a storage module, which is coupled to the processing module and the communication module and stores program instructions and data necessary for the communication device.

[0056] In one embodiment, the communication device includes:

[0057] a transceiver module, configured to receive a first message;

[0058] A processing module, configured to determine first beam information directed to a target terminal device according to the first message;

[0059] The processing module is further configured to align the antenna beam of the access point device toward the target terminal device according to the first beam information.

[0060] The relevant contents of this implementation method can be found in the relevant contents of the first aspect mentioned above, and will not be described in detail here.

[0061] As an example, the processing module may be a processor or a processing unit, the transceiver module may be a transceiver, a communication interface or a communication unit, and the storage module may be a memory or a storage unit.

[0062] In another embodiment, the communication device may include:

[0063] a transceiver, configured to receive a first message;

[0064] A processor, configured to determine first beam information directed to a target terminal device according to the first message;

[0065] The processor is further configured to align the antenna beam of the access point device toward the target terminal device according to the first beam information.

[0066] The relevant contents of this implementation method can be found in the relevant contents of the first aspect mentioned above, and will not be described in detail here.

[0067] During implementation, the processor can be used to perform, for example, but not limited to, baseband-related processing, and the transceiver can be used to perform, for example, but not limited to, radio frequency transceiver. The above-mentioned devices can be respectively arranged on independent chips, or at least partially or completely arranged on the same chip. For example, the processor can be further divided into an analog baseband processor and a digital baseband processor. Among them, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be arranged on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip. For example, a digital baseband processor can be integrated with multiple application processors (such as, but not limited to, a graphics processor, a multimedia processor, etc.) on the same chip. Such a chip can be called a system on chip. Whether each device is independently arranged on different chips or integrated on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the implementation form of the above-mentioned devices.

[0068] In another implementation, the communication device is a chip or chip system configured in an access point device. When the communication device is a chip or chip system configured in an access point device, the communication interface may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuits. The processor may also be embodied as a processing circuit or a logic circuit.

[0069] In a fifth aspect, a communication device is provided. The communication device has the ability to implement some or all of the functions of the terminal device described in the second aspect and any possible implementation of the second aspect. For example, the functions of the device may have the functions of some or all of the embodiments of the terminal device in this application, or may have the functions of implementing any embodiment of this application alone. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.

[0070] In one possible design, the communication device may include a processing module and a transceiver module. The processing module is configured to support the communication device in performing the corresponding functions of the above method. The transceiver module is used to support communication between the communication device and other devices. The communication device may also include a storage module, which is coupled to the processing module and the communication module and stores program instructions and data necessary for the communication device.

[0071] In one embodiment, the communication device includes:

[0072] a transceiver module, configured to receive a second message;

[0073] a processing module, configured to determine second beam information pointing to the target access point device according to the second message;

[0074] The processing module is further configured to align the antenna beam of the terminal device toward the target access point device according to the second beam information.

[0075] The relevant contents of this implementation method can be found in the relevant contents of the second aspect mentioned above, and will not be described in detail here.

[0076] As an example, the processing module may be a processor or a processing unit, the transceiver module may be a transceiver, a communication interface or a communication unit, and the storage module may be a memory or a storage unit.

[0077] In another embodiment, the communication device may include:

[0078] a transceiver, configured to receive a second message;

[0079] The processor is configured to determine second beam information pointing to the target access point device according to the second message;

[0080] The processor is further configured to align the antenna beam of the terminal device with the target access point device according to the second beam information. The relevant contents of this embodiment can be found in the relevant contents of the second aspect above, and will not be described in detail here.

[0081] During implementation, the processor can be used to perform, for example, but not limited to, baseband-related processing, and the transceiver can be used to perform, for example, but not limited to, radio frequency transceiver. The above-mentioned devices can be respectively arranged on independent chips, or at least partially or completely arranged on the same chip. For example, the processor can be further divided into an analog baseband processor and a digital baseband processor. Among them, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be arranged on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip. For example, a digital baseband processor can be integrated with multiple application processors (such as, but not limited to, a graphics processor, a multimedia processor, etc.) on the same chip. Such a chip can be called a system on chip. Whether each device is independently arranged on different chips or integrated on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the implementation form of the above-mentioned devices.

[0082] In another implementation, the communication device is a chip or chip system configured in a terminal device. When the communication device is a chip or chip system configured in a terminal device, the communication interface can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuits. The processor can also be embodied as a processing circuit or a logic circuit.

[0083] In a sixth aspect, a communication device is provided. The communication device has the ability to implement some or all of the functions of the location service device described in the third aspect and any possible implementation of the third aspect. For example, the functions of the device may have the functions of some or all of the embodiments of the location service device in this application, or may have the functions of implementing any embodiment of this application alone. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above functions.

[0084] In one possible design, the communication device may include a processing module and a transceiver module. The processing module is configured to support the communication device in performing the corresponding functions of the above method. The transceiver module is used to support communication between the communication device and other devices. The communication device may also include a storage module, which is coupled to the processing module and the communication module and stores program instructions and data necessary for the communication device.

[0085] In one embodiment, the communication device includes:

[0086] a transceiver module, configured to send a first message to a target access point device, so that the target access point device determines first beam information pointing to a target terminal device according to the first message;

[0087] The transceiver module is further configured to send a second message to the target terminal device, so that the target terminal device can determine the second beam information pointing to the target access point device according to the second message.

[0088] The relevant contents of this implementation method can be found in the relevant contents of the third aspect mentioned above, and will not be described in detail here.

[0089] As an example, the processing module may be a processor or a processing unit, the transceiver module may be a transceiver, a communication interface or a communication unit, and the storage module may be a memory or a storage unit.

[0090] In another embodiment, the communication device may include:

[0091] A transceiver, configured to send a first message to a target access point device, so that the target access point device determines first beam information pointing to a target terminal device according to the first message;

[0092] The transceiver is further configured to send a second message to the target terminal device, so that the target terminal device determines the second beam information pointing to the target access point device according to the second message.

[0093] The relevant contents of this implementation method can be found in the relevant contents of the third aspect mentioned above, and will not be described in detail here.

[0094] During implementation, the processor can be used to perform, for example, but not limited to, baseband-related processing, and the transceiver can be used to perform, for example, but not limited to, radio frequency transceiver. The above-mentioned devices can be respectively arranged on independent chips, or at least partially or completely arranged on the same chip. For example, the processor can be further divided into an analog baseband processor and a digital baseband processor. Among them, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be arranged on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip. For example, a digital baseband processor can be integrated with multiple application processors (such as, but not limited to, a graphics processor, a multimedia processor, etc.) on the same chip. Such a chip can be called a system on chip. Whether each device is independently arranged on different chips or integrated on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the implementation form of the above-mentioned devices.

[0095] In another implementation, the communication device is a chip or chip system configured in a location service device. When the communication device is a chip or chip system configured in a location service device, the communication interface may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin, or related circuits. The processor may also be embodied as a processing circuit or a logic circuit.

[0096] In a seventh aspect, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method of any possible implementation of the first to third aspects.

[0097] In a specific implementation, the processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, or various logic circuits. The input signal received by the input circuit may be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit may be, for example, but not limited to, output to and transmitted by a transmitter. The input circuit and the output circuit may be the same circuit, which functions as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0098] In an eighth aspect, a communication device is provided, comprising a communication interface and a processor. The communication interface is coupled to the processor. The communication interface is configured to input and / or output information. The information includes at least one of instructions and data. The processor is configured to execute a computer program to cause the communication device to perform the method of any possible implementation of aspects 1 to 3.

[0099] Optionally, there are one or more processors and one or more memories.

[0100] In a ninth aspect, a communication device is provided, comprising a processor and a memory. The processor is configured to read instructions stored in the memory and receive signals via a receiver and transmit signals via a transmitter, so that the device executes the method of any possible implementation of the first to third aspects.

[0101] Optionally, there are one or more processors and one or more memories.

[0102] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0103] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.

[0104] It should be understood that the relevant information exchange process, such as sending indication information, can be the process of outputting the indication information from the processor, and receiving indication information can be the process of inputting the received indication information into the processor. Specifically, the information output by the processor can be output to the transmitter, and the input information received by the processor can come from the receiver. The transmitter and receiver can be collectively referred to as a transceiver.

[0105] The communication device in the above-mentioned eighth and ninth aspects can be a chip, and the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor, or can be located outside the processor and exist independently.

[0106] In the tenth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute a method in any possible implementation of the first to third aspects above.

[0107] In the eleventh aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute a method in any possible implementation of the first to third aspects above.

[0108] In a twelfth aspect, a communication system is provided, comprising the aforementioned access point device, terminal device and location service device.

[0109] In a thirteenth aspect, the present application provides a chip system comprising a processor and an interface, wherein the interface is used to obtain a program or instruction, and the processor is used to call the program or instruction to implement or support the access point device to implement the functions involved in the first aspect, for example, determining or processing at least one of the data and information involved in the above method.

[0110] In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the access point device. The chip system can be composed of a chip or include a chip and other discrete devices.

[0111] On the fourteenth aspect, the present application provides a chip system, which includes a processor and an interface, wherein the interface is used to obtain a program or instruction, and the processor is used to call the program or instruction to implement or support the terminal device to implement the functions involved in the second aspect, for example, determining or processing at least one of the data and information involved in the above method.

[0112] In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the terminal device. The chip system can be composed of a chip or include a chip and other discrete devices.

[0113] On page 15, the present application provides a chip system, which includes a processor and an interface, wherein the interface is used to obtain a program or instruction, and the processor is used to call the program or instruction to implement or support the location service device to implement the functions involved in the third aspect, for example, determining or processing at least one of the data and information involved in the above method.

[0114] In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the location service device. The chip system can be composed of a chip or include a chip and other discrete devices.

[0115] It should be noted that the beneficial effects brought about by the implementation methods of the fourth to fifteenth aspects of this application, as well as the descriptions of the implementation methods of each aspect can be understood by referring to the implementation methods of the first to third aspects, and therefore are not repeated. BRIEF DESCRIPTION OF THE DRAWINGS

[0116] FIG1 is a schematic diagram of an embodiment of beam alignment of transmitting and receiving antennas in an embodiment of the present application;

[0117] FIG2 is a schematic diagram of an embodiment of a millimeter wave communication scenario applied to a home network in an embodiment of the present application;

[0118] FIG3 is a schematic diagram of a system architecture of a communication system according to an embodiment of the present application;

[0119] FIG4 is a schematic diagram of an embodiment of a beam alignment method in an embodiment of the present application;

[0120] FIG5 is a schematic diagram of an embodiment of aligning an antenna beam of an access point device with a terminal device in accordance with an embodiment of the present application;

[0121] FIG6 is a schematic diagram of an embodiment of aligning an antenna beam of a terminal device with an access point device in accordance with an embodiment of the present application;

[0122] FIG7 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0123] FIG8 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0124] FIG9 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0125] FIG10 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0126] FIG11 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0127] FIG12 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0128] FIG13 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0129] FIG14 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0130] FIG15 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0131] FIG16 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0132] FIG17 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0133] FIG18 is a schematic diagram of another embodiment of a beam alignment method according to an embodiment of the present application;

[0134] FIG19 is a schematic diagram of an embodiment of a communication device according to an embodiment of the present application;

[0135] FIG20 is a schematic structural diagram of a terminal device in an embodiment of the present application;

[0136] FIG21 is a schematic structural diagram of an access point device in an embodiment of the present application. DETAILED DESCRIPTION

[0137] The technical solution in this application will be described below with reference to the accompanying drawings.

[0138] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as millimeter wave Wi-Fi systems or long term evolution (LTE) systems. As communication systems continue to develop, the technical solutions of the present application can be applied to fifth generation (5G) systems or new radio (NR) systems, and can also be applied to future networks such as 6G systems and even future systems; or can also be used in device to device (D2D) systems, machine to machine (M2M) systems, and so on.

[0139] It should be understood that the access point device in the communication system can be any device with wireless transceiver functions or a chip that can be set in the device, including but not limited to: evolved Node B (eNB), Radio Network Controller (RNC), Node B (NB), Base Station Controller (BSC), Base Transceiver Station (BTS), Home base station (for example, Home evolved NodeB, or Home Node B, HNB), Baseband Unit (BBU), AP in WIFI system, wireless relay node, wireless backhaul node, transmission point (TP) or transmit and receive point (TRP), etc., and can also be a device used in 5G, 6G or even future systems, such as NR, gNB in ​​the system, or, transmission point (TRP or TP), one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be a network node constituting a gNB or transmission point, such as a baseband unit (BBU), or a distributed unit (distributed unit). unit (DU), or picocell, or femtocell, or vehicle to everything (V2X) or road side unit (RSU) in intelligent driving scenarios, etc.

[0140] In some deployments, a gNB may include a centralized unit (CU) and a DU. The gNB may also include a radio unit (RU). The CU implements some gNB functions, while the DU implements some gNB functions. For example, the CU implements the functions of the radio resource control (RRC) layer and the packet data convergence protocol (PDCP) layer, while the DU implements the functions of the radio link control (RLC) layer, the media access control (MAC) layer, and the physical layer (PHY). Because RRC layer information ultimately becomes PHY layer information, or is converted from PHY layer information, in this architecture, higher-layer signaling, such as RRC layer signaling or PDCP layer signaling, can also be considered to be sent by the DU, or by both the DU and the RU. It is understood that an access point device can be a CU node, a DU node, or a device that includes both a CU node and a DU node. In addition, the CU may be classified as an access point device in the access network RAN, or may be classified as an access point device in the core network CN, which is not limited here.

[0141] In the embodiments disclosed herein, the apparatus for implementing the functions of an access point device may be an access point device; or may be a device capable of supporting the access point device to implement the functions, such as a chip system, which may be installed in the access point device.

[0142] In the embodiments disclosed in the present application, the location service device may be an access point device, may be installed in an access point device, or may be a device that can support the location service device to implement the function, etc., which is not limited herein.

[0143] It should also be understood that if applied to a millimeter wave WIFI system, the STA in the system is a terminal device connected to the millimeter wave WIFI, and the terminal device can also be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiment of the present application can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wireless terminal in the aforementioned V2X vehicle network or an RSU of wireless terminal type, etc. The embodiment of the present application does not limit the application scenario.

[0144] In addition, in order to facilitate understanding of the embodiments of the present application, the following explanations are made.

[0145] First, for ease of description, in this application, when numbering, consecutive numbers may be used starting from 0. For example, the 0th symbol in a time slot may refer to the first symbol in that time slot. Of course, this is not a limitation in the specific implementation. For example, consecutive numbering may also start from 1. For example, the 1st symbol in a time slot may also refer to the first symbol in that time slot. Due to different starting values ​​for numbering, the same symbol will have different numbers in the time slot.

[0146] It should be understood that the above descriptions are all made for the purpose of describing the technical solutions provided by the embodiments of the present application, and are not intended to limit the scope of the present application.

[0147] Second, in the embodiments shown below, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", etc., and there is no order of precedence or size between the technical features described by the "first", "second", and "third".

[0148] Third, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c. Where a, b and c can be single or multiple, respectively.

[0149] Fourth, in the embodiments shown below, some scenarios are illustrated using the NR network scenario in a wireless communication network as an example. It should be noted that the solutions in the embodiments disclosed in this application can also be applied to other wireless communication networks, and the corresponding names can also be replaced by the names of corresponding functions in other wireless communication networks.

[0150] Fifth, the embodiments disclosed herein will present various aspects, embodiments, or features of the present invention centered around systems comprising multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the accompanying figures. Furthermore, combinations of these solutions may also be used.

[0151] Sixth, in the embodiments disclosed in this application, "of", "relevant" and "corresponding" can sometimes be used interchangeably. It should be pointed out that when the distinction between them is not emphasized, the meanings they intend to express are consistent.

[0152] Due to the large path loss in millimeter wave communication, narrow beam antennas are usually used to improve directional gain to compensate for the loss in the propagation path. Please refer to Figure 1, which is a schematic diagram of an embodiment of the alignment of the transceiver antenna beams in the embodiment of the present application. As shown in Figure 1, when the narrow beam antenna of the terminal device pointing to the access point device is aligned with the narrow beam antenna of the access point device pointing to the terminal device, the system will obtain the highest antenna gain and achieve optimal transmission performance. However, due to the movement of the terminal device, the antenna beam will be deflected, which will greatly reduce the signal transmission quality and affect the link transmission performance. To solve this problem, it is usually necessary to perform beam scanning regularly while transmitting business data, and to select and feedback the optimal beam on the receiver side to achieve tracking of the transmitting beam. The receiving beam also needs to be traversed again after the transmitting beam is adjusted to the optimal one to obtain the optimal receiving beam, so that the entire transceiver link can achieve the best performance. In addition, when this embodiment is applied to a millimeter wave communication scenario in a home network, please refer to FIG2 , which is a schematic diagram of an embodiment of a millimeter wave communication scenario applied to a home network in an embodiment of the present application. As shown in FIG2 , A1 indicates a terminal device, A2 to A5 indicate rooms, and access point device A can establish a connection with a terminal device in room A2, access point device B can establish a connection with terminal devices in rooms A3 and A4, and access point device C can establish a connection with a terminal device in room A5. Due to the characteristic that millimeter waves cannot penetrate walls, when a terminal device moves between rooms, for example, when the terminal device moves from the current room A2 to room A5, the link between access point device A in room A2 and the terminal device will be interrupted, while the connection between access point device C in room A5 and the terminal device has not yet been established. At this time, the access point device C and the terminal device will undergo a long registration process and a new beam alignment process, thereby affecting the service provided to the terminal device and reducing the service quality.

[0153] Currently, in millimeter-wave Wi-Fi beam alignment, the AP periodically transmits downlink scanning frames. Different time slots in these scanning frames are composed of signal segments from different beam directions, enabling omnidirectional beam scanning. A STA (a terminal device connected to the millimeter-wave Wi-Fi) receives signal frames from different time periods to obtain transmission signals from different directions. The STA then feeds the received signal-to-noise ratio (SNR) at each direction back to the AP, thereby obtaining a rough downlink transmission direction. After coarse alignment is complete, a narrower beam scan is performed in the coarse alignment direction to determine the precise downlink transmission direction. Finally, the STA searches for the uplink transmission direction using the same scanning mechanism as for the downlink, completing the transmit and receive beam alignment. However, continuous tracking requires a significant number of time slots for scanning and alignment, reducing the maximum bandwidth. Slow tracking can lead to beam misalignment. Furthermore, in scenarios with multiple access points, the access point to be switched needs to re-initialize the search, resulting in service interruption and reduced beam alignment accuracy and efficiency.

[0154] In order to solve the above problems, the embodiment of the present application provides a beam alignment method and an information transmission method for improving the accuracy of beam alignment and improving the efficiency of beam alignment. Secondly, in order to better understand the beam alignment method, information transmission method and related equipment disclosed in the embodiment of the present application, first, the system architecture of the communication system used in the embodiment of the present application is described. The present application can be used for a communication system consisting of a terminal device, a location service device and multiple access point devices, and can also be used for a communication system consisting of multiple terminal devices, multiple location service devices and multiple access point devices. Based on this, Figure 3 is a schematic diagram of a system architecture of the communication system in the embodiment of the present application. As shown in Figure 3, a terminal device, a location service device and multiple access point devices form a communication system. In this communication system, the location service device and the terminal device can send a first message to any one of the access point devices 1 to 3, and the location service device and the access point devices 1 to 3 can send a second message to the terminal device. In addition, a terminal device and multiple access point devices can also form a communication system. Therefore, in this communication system, the terminal device can send a first message to any one of access point devices 1 to 3, and access point devices 1 to 3 can send a second message to the terminal device.

[0155] Based on this, since the first message received by the access point device can be sent by the terminal device or by the location service device, and the second message received by the terminal device can be sent by the access point device or by the location service device, the first message and the second message are sent from different devices and apparatuses respectively, and the beam alignment method used in the embodiment of the present application is described in detail below.

[0156] 1. The target access point device receives a first message sent by the location service device, and the target terminal device receives a second message sent by the location service device.

[0157] Specifically, in this embodiment, the first message may include the location information of the target terminal device, or the first message may also include the first beam information. Secondly, the second message may include the location information of the target access point device, or the second message may also include the second beam information.

[0158] Therefore, this embodiment further introduces and describes the situation where the first message and the second message include different information.

[0159] (1) The first message includes first beam information, and the second message includes second beam information.

[0160] Please refer to FIG4 , which is a schematic diagram of an embodiment of a beam alignment method in an embodiment of the present application. As shown in FIG4 , the beam alignment method includes the following steps.

[0161] S101. A location service apparatus obtains location information of a target terminal device and reference beam direction information of an antenna of the target terminal device.

[0162] In this embodiment, for scenarios where there are multiple access point devices in a home network, when a target terminal device needs to connect to an access point device, the target terminal device can use a low-frequency band (e.g., 2.4GHz) or wide-beam broadcast to send online information, and send the target terminal device's location information to a location service device via wide-beam broadcast, so that the location service device can obtain the target terminal device's location information. Secondly, the location service device can also determine the target terminal device's location information through millimeter wave positioning, or determine the target terminal device's location information through auxiliary methods, including but not limited to infrared, wireless LAN (Wireless-Fidelity, WIFI), and sound.

[0163] It is understandable that the location service device can also receive the reference beam direction information of the antenna of the target terminal device sent by the target terminal device in a similar manner through a wide beam broadcast method, or determine the reference beam direction information of the antenna of the target terminal device through millimeter wave positioning, or determine the reference beam direction information of the antenna through an auxiliary method. Specifically, the reference beam direction information of the antenna of the target terminal device includes any one of the normal direction information of the antenna of the target terminal device, or the normal direction information perpendicular to the normal direction of the antenna of the target terminal device, or the direction information at a preset angle to the normal of the antenna of the target terminal device.

[0164] In this embodiment, the specific manner in which the location service apparatus obtains the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device is not limited.

[0165] S102: The location service apparatus obtains location information of a target access point device and reference beam direction information of an antenna of the target access point device.

[0166] In this embodiment, in a scenario where there are multiple access point devices in a home network, since the location service has been configured through manual entry when deploying the millimeter wave communication network, the location service device can store the location information of each access point device and can also store the reference beam direction information of the antenna of each access point device.

[0167] Furthermore, the location service device needs to obtain real-time information of each access point device, which includes traffic information of each access point device or signal strength information of each access point device, and then determine the target access point device that provides administrative services for the target terminal device from multiple access point devices based on the location information and real-time information of the target terminal device obtained in step S101, thereby obtaining the location information of the target access point device and the reference beam direction information of the antenna of the target access point device from the relevant information of the multiple access point devices manually entered.

[0168] Specifically, the reference beam direction information of the antenna of the target access point device includes any one of normal direction information of the antenna of the target access point device, or direction information perpendicular to the normal direction of the antenna of the target access point device, or direction information forming a preset angle with the normal direction of the antenna of the target access point device.

[0169] It can be understood that in a scenario where there are multiple access point devices in a home network, in an embodiment of the present application, the location service device will convert the location information of the target terminal device and the location information of the target access point device into a home network coordinate system, thereby placing the target terminal device and the target access point device in the same plane coordinate system for ease of calculation. This should not be understood as a limitation of the present application.

[0170] S103: The location service apparatus determines first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0171] In this embodiment, after the location service device obtains relevant information about the target terminal device and the target access point device through steps S101 and S102, it can determine first beam information based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device. Specifically, the first beam information includes direction information and angle information of the antenna beam of the target access point device pointing toward the target terminal device.

[0172] S104: The location service apparatus determines second beam information according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0173] In this embodiment, after the location service device obtains relevant information of the target terminal device and the target access point device through steps S101 and S102, it can determine the second beam information based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device. Specifically, the second beam information includes direction information and angle information of the antenna beam of the target terminal device pointing to the target access point device.

[0174] It is understandable that, in this embodiment, there is no necessary order between step S103 and step S104. Step S103 may be executed first, or step S104 may be executed first, or step S103 and step S104 may be executed simultaneously. The specific order is not limited here.

[0175] S105: The location service apparatus sends a first message to the target access point device.

[0176] In this embodiment, the location service apparatus sends a first message to the target access point device, where the first message includes the first beam information determined in step S103.

[0177] S106. The location service device sends a second message to the target terminal device.

[0178] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the second beam information determined in step S104.

[0179] It is understandable that, in this embodiment, there is no necessary order between step S105 and step S106. Step S105 may be executed first, or step S106 may be executed first, or step S105 and step S106 may be executed simultaneously. The specific order is not limited here.

[0180] S107. The target access point device determines first beam information pointing to the target terminal device according to the first message.

[0181] In this embodiment, the target access point device directly determines the first beam information pointing to the target terminal device according to the first beam information included in the first message.

[0182] S108. The target terminal device determines second beam information pointing to the target access point device according to the second message.

[0183] In this embodiment, the target terminal device directly determines the second beam information pointing to the target access point device according to the second beam information included in the second message.

[0184] It is understandable that, in this embodiment, there is no necessary order between step S107 and step S108. Step S107 may be executed first, or step S108 may be executed first, or both step S107 and step S108 may be executed simultaneously. The specific order is not limited here.

[0185] S109: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0186] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the direction information and angle information of the antenna beam of the target access point device pointing toward the target terminal device included in the first beam information.

[0187] For ease of understanding, the reference beam direction information of the antenna of the target access point device is taken as the normal direction information of the antenna of the target access point device, and the direction information and angle information included in the first beam information indicate that the normal direction of the antenna of the target access point device is counterclockwise, and the antenna beam with an angle of 100° is aligned with the target terminal device as an example. Please refer to Figure 5, which is a schematic diagram of an embodiment of aligning the antenna beam of the access point device with the terminal device in an embodiment of the present application. As shown in Figure 5, B1 indicates the antenna beam of the target access point device. The antenna beam B1 is an antenna beam with a normal direction of the antenna of the target access point device determined according to the first beam information, and the angle is 100°. Therefore, the target access point device aligns the antenna beam B1 with the target terminal device.

[0188] S110: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0189] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the direction information and angle information of the antenna beam of the target access point device pointing toward the target terminal device included in the first beam information.

[0190] For ease of understanding, the reference beam direction information of the antenna of the target terminal device is taken as the normal direction information of the antenna of the target terminal device, and the direction information and angle information included in the second beam information indicate that the normal direction of the antenna of the target terminal device is counterclockwise, and the antenna beam with an angle of 100° is aligned with the target access point device as an example. Please refer to Figure 6, which is a schematic diagram of an embodiment of aligning the antenna beam of the terminal device with the access point device in an embodiment of the present application. As shown in Figure 6, C1 indicates the antenna beam of the target terminal device. The antenna beam C1 is the antenna beam of the target terminal device determined according to the second beam information, and the normal direction of the antenna of the target terminal device is counterclockwise, and the angle is 100°. Therefore, the target terminal device aligns the antenna beam C1 with the target access point device.

[0191] It can be understood that, in this embodiment, there is no necessary order between step S109 and step S1010. Step S109 can be executed first, or step S1010 can be executed first, or step S109 and step S1010 can be executed at the same time. The specific order is not limited here.

[0192] (2) The first message includes the location information of the target terminal device, and the second message includes the location information of the target access point device.

[0193] Please refer to FIG. 7 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 7 , the beam alignment method includes the following steps.

[0194] S201. The location service device obtains location information of a target terminal device.

[0195] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device is similar to step S101 and will not be described in detail here.

[0196] S202: The location service device obtains location information of a target access point device.

[0197] In this embodiment, the method in which the location service apparatus obtains the location information of the target access point device is similar to step S102 and will not be described in detail herein.

[0198] S203: The location service apparatus sends a first message to the target access point device.

[0199] In this embodiment, the location service apparatus sends a first message to the target access point device, where the first message includes the location information of the target terminal device acquired in step S201.

[0200] S204: The location service device sends a second message to the target terminal device.

[0201] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the location information of the target access point device acquired in step S202.

[0202] It is understandable that, in this embodiment, there is no necessary order between step S203 and step S204. Step S203 may be executed first, or step S204 may be executed first, or both step S203 and step S204 may be executed simultaneously. The specific order is not limited here.

[0203] S205: The target access point device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and reference beam direction information of the antenna of the target access point device.

[0204] In this embodiment, because the first message includes the location information of the target terminal device, the target access point device can obtain the location information of the target terminal device through the first message and determine the first beam information directed toward the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device. Specifically, the first beam information includes direction information and angle information of the antenna beam of the target access point device directed toward the target terminal device.

[0205] S206: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0206] In this embodiment, since the second message includes the location information of the target access point device, the target terminal device can obtain the location information of the target access point device through the second message and determine the second beam information directed toward the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device. Specifically, the second beam information includes direction information and angle information of the antenna beam of the target terminal device directed toward the target access point device.

[0207] It is understandable that, in this embodiment, there is no necessary order between step S205 and step S206. Step S205 may be executed first, or step S206 may be executed first, or both step S205 and step S206 may be executed simultaneously. The specific order is not limited here.

[0208] S207: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0209] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0210] S208: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0211] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0212] It is understandable that, in this embodiment, there is no necessary order between step S207 and step S208. Step S207 may be executed first, or step S208 may be executed first, or both step S207 and step S208 may be executed simultaneously. The specific order is not limited here.

[0213] (3) The first message includes the location information of the target terminal device, and the second message includes the second beam information.

[0214] Please refer to FIG8 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG8 , the beam alignment method includes the following steps.

[0215] S301. The location service device obtains location information of a target terminal device.

[0216] In this embodiment, the location service apparatus obtains the location information of the target terminal device in a similar manner as in step S101, which will not be described in detail here.

[0217] S302: The location service apparatus obtains location information of a target access point device and reference beam direction information of an antenna of the target access point device.

[0218] In this embodiment, the manner in which the location service apparatus obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device is similar to step S102 and will not be described in detail herein.

[0219] S303: The location service apparatus determines second beam information according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0220] In this embodiment, the location service device determines the second beam information according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S104, which is not repeated here.

[0221] S304: The location service apparatus sends a first message to the target access point device.

[0222] In this embodiment, the location service apparatus sends a first message to the target access point device, where the first message includes the location information of the target terminal device acquired in step S301.

[0223] S305: The location service apparatus sends a second message to the target terminal device.

[0224] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the second beam information determined in step S303.

[0225] It is understandable that, in this embodiment, there is no necessary order between step S304 and step S305. Step S304 may be executed first, or step S305 may be executed first, or both step S304 and step S305 may be executed simultaneously. The specific order is not limited here.

[0226] S306: The target access point device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and reference beam direction information of the antenna of the target access point device.

[0227] In this embodiment, the target access point device determines the first beam information pointing to the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S205, which is not repeated here.

[0228] S307: The target terminal device determines second beam information pointing to the target access point device according to the second message.

[0229] In this embodiment, the target terminal device determines the second beam information pointing to the target access point device according to the second message in a manner similar to step S108, which will not be repeated here.

[0230] It is understandable that, in this embodiment, there is no necessary order between step S306 and step S307. Step S306 may be executed first, or step S307 may be executed first, or both step S306 and step S307 may be executed simultaneously. The specific order is not limited here.

[0231] S308: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0232] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0233] S309: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0234] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0235] It is understandable that, in this embodiment, there is no necessary order between step S308 and step S309. Step S308 may be executed first, or step S309 may be executed first, or both step S308 and step S309 may be executed simultaneously. The specific order is not limited here.

[0236] (4) The first message includes first beam information, and the second message includes location information of the target access point device.

[0237] Please refer to FIG. 9 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 9 , the beam alignment method includes the following steps.

[0238] S401: A location service apparatus obtains location information of a target terminal device and reference beam direction information of an antenna of the target terminal device.

[0239] In this embodiment, the location service apparatus obtains the location information of the target terminal device in a similar manner as in step S101, which will not be described in detail here.

[0240] S402: The location service device obtains location information of the target access point device.

[0241] In this embodiment, the manner in which the location service apparatus obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device is similar to step S102 and will not be described in detail herein.

[0242] S403: The location service apparatus determines first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0243] In this embodiment, the location service device determines the first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S103, which is not repeated here.

[0244] S404: The location service apparatus sends a first message to the target access point device.

[0245] In this embodiment, the location service apparatus sends a first message to the target access point device, where the first message includes the first beam information determined in step S403.

[0246] S405: The location service apparatus sends a second message to the target terminal device.

[0247] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the location information of the target access point device acquired in step S402.

[0248] It is understandable that, in this embodiment, there is no necessary order between step S404 and step S405. Step S404 may be executed first, or step S405 may be executed first, or both step S404 and step S405 may be executed simultaneously. The specific order is not limited here.

[0249] S406. The target access point device determines first beam information pointing to the target terminal device according to the first message.

[0250] In this embodiment, the method in which the target access point device determines the first beam information pointing to the target terminal device according to the first message is similar to step S107 and is not repeated here.

[0251] S407: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0252] In this embodiment, the target terminal device determines the second beam information pointing to the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S206, which is not repeated here.

[0253] It is understandable that, in this embodiment, there is no necessary order between step S406 and step S407. Step S406 may be executed first, or step S407 may be executed first, or both step S406 and step S407 may be executed simultaneously. The specific order is not limited here.

[0254] S408: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0255] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0256] S409: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0257] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0258] It is understandable that, in this embodiment, there is no necessary order between step S408 and step S409. Step S408 may be executed first, or step S409 may be executed first, or both step S408 and step S409 may be executed simultaneously. The specific order is not limited here.

[0259] 2. The target access point device receives the first message sent by the location service apparatus, and the target terminal device receives the second message sent by the target access point device.

[0260] Specifically, in this embodiment, the first message may include the location information of the target terminal device, or the first message may also include the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device. Secondly, the second message may include the location information of the target access point device, or the second message may also include the second beam information.

[0261] Therefore, this embodiment further introduces and describes the situation where the first message and the second message include different information.

[0262] (1) The first message includes the location information of the target terminal device, and the second message includes the location information of the target access point device.

[0263] Please refer to FIG. 10 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 10 , the beam alignment method includes the following steps.

[0264] S501. The location service device obtains location information of a target terminal device.

[0265] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device is similar to step S101 and will not be described in detail here.

[0266] S502: The location service device determines a target access point device.

[0267] In this embodiment, the location service device needs to obtain real-time information of each access point device, which includes traffic information of each access point device or signal strength information of each access point device, and then determine the target access point device that provides administrative services to the target terminal device from multiple access point devices based on the location information and real-time information of the target terminal device obtained in step S501.

[0268] S503: The location service apparatus sends a first message to the target access point device.

[0269] In this embodiment, the location service device sends a first message to the target access point device, where the first message includes the location information of the target terminal device acquired in step S501.

[0270] S504: The target access point device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and reference beam direction information of the antenna of the target access point device.

[0271] In this embodiment, the target access point device determines the first beam information pointing to the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S205, which is not repeated here.

[0272] S505: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0273] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0274] S506: The target access point device sends a second message to the target terminal device.

[0275] In this embodiment, the target access point device sends a second message to the target terminal device, where the second message includes the location information of the target access point device. Specifically, the target access point device can send the location information of the target access point device to the target terminal device via wide beam broadcasting.

[0276] S507: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0277] In this embodiment, since the second message includes the location information of the target access point device, the target terminal device can determine the second beam information directed to the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S206, and will not be repeated here. Specifically, the target terminal device can receive the location information of the target access point device sent by the target access point device via a wide-beam broadcast, or determine the location information of the target access point device via millimeter wave positioning, or determine the location information of the target access point device via an auxiliary method, which includes but is not limited to an infrared method, a WIFI method, and a sound method.

[0278] S508: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0279] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0280] (2) The first message includes first beam information, and the second message includes location information of the target access point device.

[0281] Please refer to FIG. 11 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 11 , the beam alignment method includes the following steps.

[0282] S601: A location service apparatus obtains location information of a target terminal device and reference beam direction information of an antenna of the target terminal device.

[0283] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device is similar to step S101 and will not be described in detail here.

[0284] S602: The location service device obtains location information of a target access point device.

[0285] In this embodiment, the manner in which the location service apparatus obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device is similar to step S102 and will not be described in detail herein.

[0286] S603: The location service apparatus determines first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0287] In this embodiment, the location service device determines the first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S103, which is not repeated here.

[0288] S604: The location service apparatus sends a first message to the target access point device.

[0289] In this embodiment, the location service apparatus sends a first message to the target access point device, where the first message includes the first beam information determined in step S603.

[0290] S605: The target access point device determines first beam information pointing to the target terminal device according to the first message.

[0291] In this embodiment, the method in which the target access point device determines the first beam information pointing to the target terminal device according to the first message is similar to step S107 and is not repeated here.

[0292] S606: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0293] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0294] S607: The target access point device sends a second message to the target terminal device.

[0295] In this embodiment, the target access point device sends a second message to the target terminal device, where the second message includes the location information of the target access point device. Specifically, the target access point device can send the location information of the target access point device to the target terminal device via wide beam broadcasting.

[0296] S608: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0297] In this embodiment, the target terminal device determines the second beam information pointing to the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S507, which is not repeated here.

[0298] S609: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0299] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0300] (3) The first message includes the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device, and the second message includes the second beam information.

[0301] Please refer to FIG. 12 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 12 , the beam alignment method includes the following steps.

[0302] S701: A location service apparatus obtains location information of a target terminal device and reference beam direction information of an antenna of the target terminal device.

[0303] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device is similar to step S101 and will not be described in detail here.

[0304] S702: The location service apparatus determines a target access point device.

[0305] In this embodiment, the method in which the location service apparatus determines the target access point device is similar to step S502 and will not be described in detail herein.

[0306] S703: The location service apparatus sends a first message to the target access point device.

[0307] In this embodiment, the location service apparatus sends a first message to the target access point device, where the first message includes the location information of the target terminal device acquired in step S701 and the reference beam direction information of the antenna of the target terminal device.

[0308] S704: The target access point device determines first beam information pointing to the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0309] In this embodiment, because the first message includes the location information of the target terminal device, the target access point device can obtain the location information of the target terminal device through the first message and determine the first beam information directed toward the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device. Specifically, the first beam information includes direction information and angle information of the antenna beam of the target access point device directed toward the target terminal device.

[0310] S705: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0311] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0312] S706: The target access point device determines second beam information according to the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the antenna of the terminal device.

[0313] In this embodiment, because the first message includes not only the location information of the target terminal device but also the reference beam direction information of the target terminal device's antenna, the target access point device can determine the second beam information based on the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the terminal device's antenna. Specifically, the second beam information includes the direction and angle information of the target terminal device's antenna beam pointing toward the target access point device.

[0314] S707: The target access point device sends a second message to the target terminal device.

[0315] In this embodiment, the target access point device sends a second message to the target terminal device, where the second message includes the second beam information determined in step S706.

[0316] S708. The target terminal device determines second beam information pointing to the target access point device according to the second message.

[0317] In this embodiment, the target terminal device directly determines the second beam information pointing to the target access point device according to the second beam information included in the second message.

[0318] S709: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0319] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0320] 3. The target access point device receives the first message sent by the target terminal device, and the terminal device receives the second message sent by the location service device.

[0321] Specifically, in this embodiment, the first message may include the location information of the target terminal device, or the first message may also include the first beam information. Secondly, the second message may include the location information of the target access point device, or the second message may also include the second beam information, or the second message may also include the location information of the target access point device and the reference beam direction information of the antenna of the target access point device.

[0322] (1) The first message includes the location information of the target terminal device, and the second message includes the location information of the target access point device.

[0323] Please refer to FIG. 13 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 13 , the beam alignment method includes the following steps.

[0324] S801. The location service device obtains location information of a target terminal device.

[0325] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device is similar to step S101 and will not be described in detail here.

[0326] S802: The location service device obtains location information of the target access point device.

[0327] In this embodiment, the manner in which the location service apparatus obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device is similar to step S102 and will not be described in detail herein.

[0328] S803: The location service apparatus sends a second message to the target terminal device.

[0329] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the location information of the target access point device acquired in step S203.

[0330] S804: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0331] In this embodiment, the target terminal device determines the second beam information pointing to the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S206, which is not repeated here.

[0332] S805: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0333] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0334] S806: The target terminal device sends a first message to the target access point device.

[0335] In this embodiment, after the location service device determines the target access point device providing services to the target terminal device in step S802, the location service device sends an online message corresponding to the target access point device. When the target terminal device searches for the online message corresponding to the target access point device, it can be determined that the target access point device is the access point device providing services to the target terminal device. Therefore, the target terminal device sends a first message to the target access point device, where the first message includes the location information of the target terminal device. Specifically, the target terminal device can send the location information of the target terminal device via a wide-beam broadcast, report the location information of the target terminal device via an auxiliary method, or report the location information of the target terminal device via its own positioning capability.

[0336] S807: The target access point device determines first beam information pointing to the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0337] In this embodiment, because the first message includes the location information of the target terminal device, the target access point device can obtain the location information of the target terminal device through the first message and determine the first beam information directed toward the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device. Specifically, the first beam information includes direction information and angle information of the antenna beam of the target access point device directed toward the target terminal device.

[0338] S808: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0339] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0340] (2) The first message includes the location information of the target terminal device, and the second message includes the second beam information of the access point device.

[0341] Please refer to FIG. 14 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 14 , the beam alignment method includes the following steps.

[0342] S901. The location service device obtains location information of a target terminal device.

[0343] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device is similar to step S101 and will not be described in detail here.

[0344] S902: The location service device obtains location information of the target access point device.

[0345] In this embodiment, the manner in which the location service apparatus obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device is similar to step S102 and will not be described in detail herein.

[0346] S903: The location service apparatus determines second beam information according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0347] In this embodiment, the location service device determines the second beam information according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S104, which is not repeated here.

[0348] S904: The location service apparatus sends a second message to the target terminal device.

[0349] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the second beam information determined in step S903.

[0350] S905. The target terminal device determines second beam information pointing to the target access point device according to the second message.

[0351] In this embodiment, the method in which the target terminal device determines the second beam information pointing to the target access point device according to the second message is similar to step S108 and will not be repeated here.

[0352] S906: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0353] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0354] S907: The target terminal device sends a first message to the target access point device.

[0355] In this embodiment, the target terminal device sends a first message to the target access point device, where the first message includes the location information of the target terminal device. Specifically, the target terminal device can send the location information of the target terminal device to the target access point device via wide beam broadcasting.

[0356] S908: The target access point device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0357] In this embodiment, the target access point device determines the first beam information pointing to the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S807, which is not repeated here.

[0358] S909: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0359] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0360] (3) The first message includes first beam information, and the second message includes location information of the target access point device and reference beam direction information of the antenna of the target access point device.

[0361] Please refer to FIG. 15 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 15 , the beam alignment method includes the following steps.

[0362] S1001. A location service apparatus obtains location information of a target terminal device and reference beam direction information of an antenna of the target terminal device.

[0363] In this embodiment, the manner in which the location service apparatus obtains the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device is similar to step S101 and will not be described in detail here.

[0364] S1002: The location service apparatus obtains location information of a target access point device and reference beam direction information of an antenna of the target access point device.

[0365] In this embodiment, the manner in which the location service apparatus obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device is similar to step S102 and will not be described in detail herein.

[0366] S1003. The location service device sends a second message to the target terminal device.

[0367] In this embodiment, the location service apparatus sends a second message to the target terminal device, where the second message includes the location information of the target access point device acquired in step S1001 and the reference beam direction information of the antenna of the target access point device.

[0368] S1004: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0369] In this embodiment, because the second message includes the location information of the target access point device, the target access point device can obtain the location information of the target access point device through the second message and determine the second beam information directed toward the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device. Specifically, the second beam information includes the direction information and angle information of the antenna beam of the target terminal device directed toward the target access point device.

[0370] S1005: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0371] In this embodiment, the target access point device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0372] S1006: The target terminal device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0373] In this embodiment, because the second message includes not only the location information of the target access point device but also the reference beam direction information of the target access point device's antenna, the target terminal device can determine the first beam information directed toward the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the target access point device's antenna. Specifically, the first beam information includes the direction information and angle information of the target access point device's antenna beam directed toward the target terminal device.

[0374] S1007: The target terminal device sends a first message to the target access point device.

[0375] In this embodiment, the target terminal device sends a first message to the target access point device, where the first message includes the first beam information determined in step S1006.

[0376] S1008. The target access point device determines first beam information pointing to the target terminal device according to the first message.

[0377] In this embodiment, the target access point device directly determines the first beam information pointing to the target terminal device according to the first beam information included in the first message.

[0378] S1009: The target terminal device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0379] In this embodiment, the target terminal device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0380] 4. The target access point device receives the first message sent by the target terminal device, and the target terminal device receives the second message sent by the target access point device.

[0381] Specifically, in this embodiment, the first message may include the location information of the target terminal device, or the first message may also include the first beam information, or the first message may also include the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device. Secondly, the second message may include the location information of the target access point device, or the second message may also include the location information of the target access point device and the reference beam direction information of the antenna of the target access point device.

[0382] (1) The first message includes the location information of the target terminal device, and the second message includes the location information of the target access point device.

[0383] Please refer to FIG. 16 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 16 , the beam alignment method includes the following steps.

[0384] S1101: The location service apparatus determines a target access point device.

[0385] In this embodiment, the location service device needs to obtain the location information of the target terminal device and the real-time information of each access point device, where the real-time information includes the traffic information of each access point device or the signal strength information of each access point device. Then, based on the location information and real-time information of the target terminal device, the target access point device that provides administrative services to the target terminal device is determined from multiple access point devices.

[0386] S1102: The target terminal device sends a first message to the target access point device.

[0387] In this embodiment, after the location service device determines the target access point device that provides services to the target terminal device in step S1101, the location service device will send an online message corresponding to the target access point device. When the target terminal device searches for the online message corresponding to the target access point device, it can be determined that the target access point device is the access point device that provides services to the target terminal device. Therefore, the target terminal device sends a first message to the target access point device, and the first message includes the location information of the target terminal device.

[0388] S1103. The target access point device sends a second message to the target terminal device.

[0389] In this embodiment, the target access point device sends a second message to the target terminal device, where the second message includes the location information of the target access point device. After the location service device determines the target access point device that provides services to the target terminal device in step S1101, the location service device sends an online message corresponding to the target access point device. Therefore, when the target access point device receives the online message, it determines that the service is provided to the target terminal device. Therefore, the target access point device sends the second message to the target terminal device, where the second message includes the location information of the target access point device.

[0390] It can be understood that, in this embodiment, there is no necessary order between step S1102 and step S1103. Step S1102 can be executed first, or step S1104 can be executed first, or step S1102 and step S1103 can be executed at the same time. The specific order is not limited here.

[0391] S1104: The target terminal device determines second beam information pointing to the target access point device according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

[0392] In this embodiment, the target terminal device determines the second beam information pointing to the target access point device based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device in a manner similar to step S206, which is not repeated here.

[0393] S1105: The target access point device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and reference beam direction information of the antenna of the target access point device.

[0394] In this embodiment, the target access point device determines the first beam information pointing to the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S205, which is not repeated here.

[0395] It can be understood that, in this embodiment, there is no necessary order between step S1104 and step S1105. Step S1104 can be executed first, or step S1105 can be executed first, or step S1104 and step S1105 can be executed at the same time. The specific order is not limited here.

[0396] S1106: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0397] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0398] S1107: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0399] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0400] It can be understood that, in this embodiment, there is no necessary order between step S1106 and step S1107. Step S1106 can be executed first, or step S1107 can be executed first, or step S1106 and step S1107 can be executed at the same time. The specific order is not limited here.

[0401] (2) The first message includes the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device, and the second message includes the second beam information.

[0402] Please refer to FIG. 17 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 17 , the beam alignment method includes the following steps.

[0403] S1201: The location service apparatus determines a target access point device.

[0404] In this embodiment, the method in which the location service apparatus determines the target access point device is similar to step S1101 and will not be described in detail herein.

[0405] S1202: The target terminal device sends a first message to the target access point device.

[0406] In this embodiment, after the location service device determines the target access point device that provides services to the target terminal device in step S1201, the location service device will send an online message corresponding to the target access point device. When the target terminal device searches for the online message corresponding to the target access point device, it can be determined that the target access point device is the access point device that provides services to the target terminal device. Therefore, the target terminal device sends a first message to the target access point device, which includes the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device.

[0407] S1203: The target access point device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and reference beam direction information of the antenna of the target access point device.

[0408] In this embodiment, the target access point device determines the first beam information pointing to the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device in a manner similar to step S205, which is not repeated here.

[0409] S1204: The target access point device aligns the antenna beam of the target access point device with the target terminal device according to the first beam information.

[0410] In this embodiment, the target access point device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0411] S1205: The target access point device determines second beam information according to the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the antenna of the terminal device.

[0412] In this embodiment, since the first message includes not only the location information of the target terminal device but also the reference beam direction information of the target terminal device's antenna, the target access point device can determine the second beam information based on the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the terminal device's antenna. Specifically, the second beam information includes the direction information and angle information of the target terminal device's antenna beam pointing toward the target access point device.

[0413] S1206: The target access point device sends a second message to the target terminal device.

[0414] In this embodiment, the target access point device sends a second message to the target terminal device, where the second message includes the second beam information determined in step S1205.

[0415] S1207. The target terminal device determines second beam information pointing to the target access point device according to the second message.

[0416] In this embodiment, the target terminal device directly determines the second beam information pointing to the target access point device according to the second beam information included in the second message.

[0417] S1208: The target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0418] In this embodiment, the target terminal device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0419] (3) The first message includes first beam information, and the second message includes location information of the target access point device and reference beam direction information of the antenna of the target access point device.

[0420] Please refer to FIG. 18 , which is a schematic diagram of another embodiment of the beam alignment method in the embodiment of the present application. As shown in FIG. 18 , the beam alignment method includes the following steps.

[0421] S1301: The location service apparatus determines a target access point device.

[0422] In this embodiment, the method in which the location service apparatus determines the target access point device is similar to step S1101 and will not be described in detail herein.

[0423] S1302: The target access point device sends a second message to the target terminal device.

[0424] In this embodiment, the target access point device sends a second message to the target terminal device, where the second message includes the location information of the target access point device. After the location service device determines the target access point device that provides services to the target terminal device in step S1301, the location service device sends an online message corresponding to the target access point device. Therefore, when the target access point device receives the online message, it determines that the service is provided to the target terminal device. Therefore, the target access point device sends the second message to the target terminal device, where the second message includes the location information of the target access point device and the reference beam direction information of the antenna of the target access point device.

[0425] S1303: The target terminal device determines second beam information pointing to the target access point device according to the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the antenna of the terminal device.

[0426] In this embodiment, the target terminal device determines the second beam information pointing to the target access point device based on the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the terminal device's antenna in a manner similar to step S206, which is not repeated here.

[0427] S1304: The target access point device aligns the antenna beam of the target terminal device with the target access point device according to the second beam information.

[0428] In this embodiment, the target access point device aligns the antenna beam of the target terminal device toward the target access point device according to the second beam information in a manner similar to step S110, which will not be repeated here.

[0429] S1305: The target terminal device determines first beam information directed toward the target terminal device according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

[0430] In this embodiment, because the second message includes not only the location information of the target access point device but also the reference beam direction information of the target access point device's antenna, the target terminal device can determine the first beam information directed toward the target terminal device based on the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the target access point device's antenna. Specifically, the first beam information includes the direction information and angle information of the target access point device's antenna beam directed toward the target terminal device.

[0431] S1306: The target terminal device sends a first message to the target access point device.

[0432] In this embodiment, the target terminal device sends a first message to the target access point device, where the first message includes the first beam information determined in step S1305.

[0433] S1307. The target access point device determines first beam information pointing to the target terminal device according to the first message.

[0434] In this embodiment, the target access point device directly determines the first beam information pointing to the target terminal device according to the first beam information included in the first message.

[0435] S1308: The target terminal device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information.

[0436] In this embodiment, the target terminal device aligns the antenna beam of the target access point device toward the target terminal device according to the first beam information in a manner similar to step S109, which will not be repeated here.

[0437] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method. It is understandable that, in order to realize the above functions, the communication device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0438] The embodiment of the present application can divide the functional modules of the communication device based on the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0439] Therefore, the communication device in the present application is described in detail below. Please refer to Figure 19. Figure 19 is a schematic diagram of an embodiment of the communication device in the embodiment of the present application. As shown in the figure, the communication device 1900 includes a transceiver module 1901 and a processing module 1902.

[0440] Optionally, the communication device 1900 may correspond to the access point device in the above method embodiment, for example, may be an access point device, or a component (such as a circuit, chip, or chip system) configured in the access point device.

[0441] Optionally, the communication device 1900 may correspond to the terminal device in the above method embodiment, for example, it may be a terminal device, or a component configured in the terminal device (such as a circuit, a chip or a chip system, etc.).

[0442] Optionally, the communication device 1900 may correspond to the location service device in the above method embodiment, for example, it may be a location service device, or a component configured in a location service device (such as a circuit, chip or chip system, etc.).

[0443] It should be understood that the communication device 1900 may correspond to the method in Figures 4 to 18 according to the embodiments of the present application, or the communication device 1900 may include units for executing the methods performed by the access point device, terminal device, and location service device in the methods in Figures 4 to 18. Furthermore, each unit in the communication device 1900 and the other operations and / or functions described above are respectively for implementing the corresponding processes of the methods in Figures 4 to 18. It should be understood that the specific process of each unit executing the above corresponding steps has been described in detail in the above method embodiments and will not be repeated here for the sake of brevity.

[0444] It should also be understood that when the communication device 1900 is a terminal device, the transceiver module 1901 in the communication device 1900 can be implemented by a transceiver, for example, it can correspond to the transceiver 3020 in the terminal device 3000 shown in Figure 20, and the processing module 1902 in the communication device 1900 can be implemented by at least one processor, for example, it can correspond to the processor 3010 in the terminal device 3000 shown in Figure 20.

[0445] It should also be understood that when the communication device 1900 is a chip or chip system configured in a terminal device, the transceiver module 1901 in the communication device 1900 can be implemented through an input / output interface, circuit, etc., and the processing module 1902 in the communication device 1900 can be implemented through a processor, microprocessor or integrated circuit integrated on the chip or chip system.

[0446] It should also be understood that when the communication device 1900 is an access point device or a location service device, the transceiver module 1901 in the communication device 1900 can be implemented by a transceiver, for example, it can correspond to the transceiver unit 4100 in the access point device 4000 shown in Figure 21, and the processing module 1902 in the communication device 1900 can be implemented by at least one processor, for example, it can correspond to the processing unit 4200 or processor 4202 in the access point device 4000 shown in Figure 21.

[0447] It should also be understood that when the communication device 1900 is a chip or chip system configured in a terminal device, the transceiver module 1901 in the communication device 1900 can be implemented through an input / output interface, circuit, etc., and the processing module 1902 in the communication device 1900 can be implemented through a processor, microprocessor or integrated circuit integrated on the chip or chip system.

[0448] It should also be understood that when the communication device 1900 is a chip or chip system configured in an access point device or a location service device, the transceiver module 1901 in the communication device 1900 can be implemented through an input / output interface, circuit, etc., and the processing module 1902 in the communication device 1900 can be implemented through a processor, microprocessor or integrated circuit integrated on the chip or chip system.

[0449] Figure 20 is a schematic diagram of the structure of a terminal device 3000 provided in an embodiment of the present application. The terminal device 3000 can be applied to the system shown in Figure 3 to perform the functions of the terminal device in the above-mentioned method embodiment. As shown in the figure, the terminal device 3000 includes a processor 3010 and a transceiver 3020. Optionally, the terminal device 3000 also includes a memory 3030. The processor 3010, the transceiver 3020, and the memory 3030 can communicate with each other through an internal connection path to transmit control and / or data signals. The memory 3030 is used to store computer programs, and the processor 3010 is used to call and run the computer program from the memory 3030 to control the transceiver 3020 to send and receive signals. Optionally, the terminal device 3000 may also include an antenna 3040 for transmitting the uplink data or uplink control signaling output by the transceiver 3020 via wireless signals.

[0450] The processor 3010 and the memory 3030 may be combined into a communication device, and the processor 3010 is configured to execute program codes stored in the memory 3030 to implement the aforementioned functions. In a specific implementation, the memory 3030 may also be integrated into the processor 3010 or independent of the processor 3010. The processor 3010 may correspond to the processing module 1902 in FIG. 19 .

[0451] The transceiver 3020 may correspond to the transceiver module 1901 in FIG19 . The transceiver 3020 may include a receiver (or receiver, receiving circuit) and a transmitter (or transmitter, transmitting circuit). The receiver is used to receive signals, and the transmitter is used to transmit signals.

[0452] It should be understood that the terminal device 3000 shown in FIG20 is capable of implementing the various processes related to the terminal device in the method embodiments shown in FIG4 through FIG18 . The operations and / or functions of the various modules in the terminal device 3000 are respectively for implementing the corresponding processes in the above method embodiments. For details, please refer to the description of the above method embodiments; to avoid repetition, detailed descriptions are omitted here.

[0453] The processor 3010 can be used to execute the actions implemented within the terminal device described in the previous method embodiments, while the transceiver 3020 can be used to execute the actions of the terminal device sending to or receiving from the access point device described in the previous method embodiments. For details, please refer to the description of the previous method embodiments and will not be repeated here.

[0454] Optionally, the terminal device 3000 may further include a power supply 3050 for providing power to various devices or circuits in the terminal device.

[0455] In addition, in order to make the functions of the terminal device more complete, the terminal device 3000 may also include one or more of an input unit 3060, a display unit 3070, an audio circuit 3080, a camera 3090 and a sensor 3100, and the audio circuit may also include a speaker 3082, a microphone 3084, etc.

[0456] Figure 21 is a schematic diagram of the structure of an access point device provided in an embodiment of the present application, for example, it can be a schematic diagram of the structure of an AP in a WIFI system. The AP 4000 can be applied to the system shown in Figure 3 to perform the functions of the access point device in the above method embodiment. As shown in the figure, the AP 4000 may include one or more transceiver units 4100, and the transceiver unit 4100 may correspond to the transceiver module 1901 in Figure 19. Optionally, the transceiver unit 4100 can also be called a transceiver, a transceiver circuit, or a transceiver, etc. Optionally, the transceiver unit 4100 may include a receiving unit and a transmitting unit, the receiving unit may correspond to a receiver (or a receiver, a receiving circuit), and the transmitting unit may correspond to a transmitter (or a transmitter, a transmitting circuit). The transceiver unit 4100 is mainly used for receiving and transmitting radio frequency signals and converting radio frequency signals into baseband signals, for example, for sending a first message to a terminal device.

[0457] The processing unit 4200 is mainly used for baseband processing, controlling the AP, etc. The processing unit 4200 may correspond to the processing module 1902 in FIG19 . The processing unit 4200 may be used to control the AP to execute the operation process regarding the access point device in the above method embodiment.

[0458] In one example, the processing unit 4200 further includes a memory 4201 and a processor 4202. The memory 4201 is used to store necessary instructions and data. The processor 4202 is used to control the AP to perform necessary actions, such as controlling the AP to execute the operation process of the access point device in the above-mentioned method embodiment. The processing module 4202 can be a processor, such as a baseband processor. The memory 4201 and processor 4202 can serve one or more boards. In other words, a separate memory and processor can be provided on each board. Alternatively, multiple boards can share the same memory and processor. In addition, necessary circuits can be provided on each board.

[0459] It should be understood that AP 4000 shown in FIG21 is capable of implementing the various processes involving access point devices or location service devices in the method embodiments shown in FIG4 through FIG18 . The operations and / or functions of the various modules within AP 4000 are intended to implement the corresponding processes in the aforementioned method embodiments. For details, please refer to the descriptions of the aforementioned method embodiments; to avoid repetition, detailed descriptions are omitted herein.

[0460] The processing unit 4200 can be used to execute the actions implemented within the access point device or location service device described in the previous method embodiments, while the transceiver unit 4100 can be used to execute the actions of the access point device or location service device sending to or receiving from the terminal device described in the previous method embodiments. For details, please refer to the description of the previous method embodiments and will not be repeated here.

[0461] It should be understood that the AP 4000 shown in FIG. 21 is only one possible form of an access point device and does not constitute any limitation to the present application.

[0462] The present application also provides a communication device, comprising at least one processor, wherein the at least one processor is configured to execute a computer program stored in a memory, so that the communication device executes the method executed by the access point device, terminal device, and location service device in any of the above method embodiments.

[0463] It should be understood that the above-mentioned communication device may be one or more chips. For example, the communication device may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0464] An embodiment of the present application further provides a communication device, comprising a processor and a communication interface. The communication interface is coupled to the processor. The communication interface is configured to input and / or output information. The information includes at least one of instructions and data. The processor is configured to execute a computer program to cause the communication device to perform the method performed by the access point device, terminal device, and location service device in any of the above method embodiments.

[0465] The present application also provides a communication device including a processor and a memory. The memory is configured to store a computer program, and the processor is configured to retrieve and execute the computer program from the memory, so that the communication device executes the method executed by the access point device, terminal device, and location service device in any of the above method embodiments.

[0466] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it will not be described in detail here.

[0467] It should be noted that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0468] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0469] According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code, which, when the computer program code is run on a computer, enables the computer to execute the method executed by the access point device, the method executed by the terminal device, and the method executed by the location service device in the embodiments shown in Figures 4 to 18.

[0470] According to the method provided in the embodiments of the present application, the present application also provides a computer-readable storage medium, which stores program code. When the program code is run on a computer, the computer executes the method executed by the access point device, the method executed by the terminal device, and the method executed by the location service device in the embodiments shown in Figures 4 to 18.

[0471] According to the method provided in the embodiment of the present application, the present application also provides a system, which includes the aforementioned one or more access point devices, one or more terminal devices and one or more location service devices.

[0472] The access point device, terminal device, and location service device in each of the aforementioned apparatus embodiments completely correspond to the access point device, terminal device, and location service device in the method embodiments. Corresponding steps are performed by corresponding modules or units. For example, the communication unit (transceiver) performs the receiving or sending steps in the method embodiments, while all other steps except sending and receiving may be performed by the processing unit (processor). The functions of the specific units can be referenced in the corresponding method embodiments. There may be one or more processors.

[0473] As used in this specification, the terms "component," "module," "system," and the like are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. By way of illustration, both an application running on a computing device and a computing device can be a component. One or more components can reside in a process and / or an execution thread, and a component can be located on a computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures stored thereon. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component on a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).

[0474] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0475] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0476] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0477] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0478] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0479] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute 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), a random access memory (RAM), a magnetic disk, or an optical disk.

[0480] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A beam alignment method, characterized in that: include: The access point device receives the first message; The access point device determines first beam information pointing to the target terminal device according to the first message; The access point device aligns the antenna beam of the access point device toward the target terminal device according to the first beam information.

2. The method according to claim 1, characterized in that The first message includes location information of the terminal device; The access point device determines, according to the first message, first beam information pointing to the target terminal device, including: The access point device determines the first beam information according to the location information of the terminal device, the location information of the access point device, and reference beam direction information of the antenna of the access point device.

3. The method according to claim 2, characterized in that The reference beam direction information of the antenna of the access point device includes any one of normal direction information of the antenna of the access point device, or direction information perpendicular to the normal direction of the antenna of the access point device, or direction information at a preset angle to the normal direction of the antenna of the access point device.

4. The method according to claim 1, wherein The first message includes the first beam information.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The access point device sends a second message to the target terminal device, so that the target terminal device determines second beam information pointing to the access point device according to the second message.

6. The method according to claim 5, characterized in that The first message includes location information of the terminal device and reference beam direction information of an antenna of the terminal device; The second message includes the second beam information; The method further comprises: The access point device determines the second beam information according to the location information of the access point device, the location information of the terminal device, and the reference beam direction information of the antenna of the terminal device.

7. The method according to claim 6, characterized in that The reference beam direction information of the antenna of the terminal device includes any one of the normal direction information of the antenna of the terminal device, or the normal direction information perpendicular to the normal direction of the antenna of the terminal device, or the direction information at a preset angle to the normal direction of the antenna of the terminal device.

8. The method according to claim 5, characterized in that The second message includes location information of the access point device.

9. A beam alignment method, characterized in that: include: The terminal device receives the second message; The terminal device determines, according to the second message, second beam information pointing to the target access point device; The terminal device aligns the antenna beam of the terminal device with the target access point device according to the second beam information.

10. The method according to claim 9, characterized in that The second message includes location information of the target access point device; The terminal device determines, according to the second message, second beam information pointing to the target access point device, including: The terminal device determines the second beam information according to the location information of the target access point device, the location information of the terminal device, and the reference beam direction information of the antenna of the terminal device.

11. The method according to claim 9 or 10, characterized in that The method further comprises: The terminal device sends a first message to the target access point device, so that the target access point device determines first beam information pointing to the terminal device according to the first message.

12. The method according to claim 11, characterized in that The second message includes location information of the target access point device and reference beam direction information of the antenna of the target access point device; The first message includes the first beam information; The method further comprises: The terminal device determines the first beam information according to the location information of the terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

13. A method for information transmission, characterized in that: include: The location service device sends a first message to the target access point device, so that the target access point device determines first beam information pointing to the target terminal device according to the first message; The location service device sends a second message to the target terminal device, so that the target terminal device determines second beam information pointing to the target access point device according to the second message.

14. The method according to claim 13, characterized in that The first message includes the first beam information; The method further comprises: The location service device obtains the location information of the target terminal device; The location service device obtains the location information of the target access point device and the reference beam direction information of the antenna of the target access point device; The location service device determines the first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

15. The method according to claim 13, characterized in that The second message includes the second beam information; The method further comprises: The location service device obtains the location information of the target access point device; The location service device obtains the location information of the target terminal device and the reference beam direction information of the antenna of the target terminal device; The location service device determines the second beam information according to the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

16. A communication device, characterized in that: include: a transceiver module, configured to receive a first message; A processing module, configured to determine first beam information directed to a target terminal device according to the first message; The processing module is further configured to align the antenna beam of the communication device toward the target terminal device according to the first beam information.

17. The communication device according to claim 16, characterized in that: The first message includes location information of the terminal device; The processing module is specifically used to determine the first beam information based on the location information of the terminal equipment, the location information of the communication device, and the reference beam direction information of the antenna of the communication device.

18. The communication device according to claim 17, characterized in that: The reference beam direction information of the antenna of the communication device includes any one of the normal direction information of the antenna of the communication device, or the normal direction information perpendicular to the normal direction of the antenna of the communication device, or the direction information at a preset angle to the normal direction of the antenna of the communication device.

19. The communication device according to claim 16, characterized in that: The first message includes the first beam information.

20. The communication device according to any one of claims 16 to 19, characterized in that: The transceiver module is further configured to send a second message to the target terminal device, so that the target terminal device can determine second beam information pointing to the communication apparatus according to the second message.

21. The communication device according to claim 20, characterized in that: The first message includes location information of the terminal device and reference beam direction information of an antenna of the terminal device; The second message includes the second beam information; The processing module is further used to determine the second beam information based on the location information of the communication device, the location information of the terminal equipment, and the reference beam direction information of the antenna of the terminal equipment.

22. The communication device according to claim 21, characterized in that The reference beam direction information of the antenna of the terminal device includes any one of the normal direction information of the antenna of the terminal device, or the normal direction information perpendicular to the normal direction of the antenna of the terminal device, or the direction information at a preset angle to the normal direction of the antenna of the terminal device.

23. The communication device according to claim 20, characterized in that The second message includes location information of the communication device.

24. A communication device, characterized in that: include: a transceiver module, configured to receive a second message; a processing module, configured to determine second beam information pointing to a target access point device according to the second message; The processing module is further configured to align the antenna beam of the communication device toward the target access point device according to the second beam information.

25. The communication device according to claim 24, characterized in that The second message includes location information of the target access point device; The processing module is specifically configured to determine the second beam information according to the location information of the target access point device, the location information of the communication device, and the reference beam direction information of the antenna of the communication device.

26. The communication device according to claim 24 or 25, characterized in that: The transceiver module is further configured to send a first message to the target access point device, so that the target access point device determines first beam information pointing to the communication apparatus according to the first message.

27. The communication device according to claim 26, characterized in that: The second message includes location information of the target access point device and reference beam direction information of the antenna of the target access point device; The first message includes the first beam information; The processing module is further configured to determine the first beam information according to the location information of the communication apparatus, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

28. A communication device, characterized in that: include: a transceiver module, configured to send a first message to a target access point device, so that the target access point device determines first beam information pointing to a target terminal device according to the first message; The transceiver module is further configured to send a second message to the target terminal device, so that the target terminal device determines second beam information pointing to the target access point device according to the second message.

29. The communication device according to claim 28, characterized in that The first message includes the first beam information; The communication device further includes a processing module; The transceiver module is further configured to obtain location information of the target terminal device; The transceiver module is further configured to obtain location information of the target access point device and reference beam direction information of the antenna of the target access point device; The processing module is configured to determine the first beam information according to the location information of the target terminal device, the location information of the target access point device, and the reference beam direction information of the antenna of the target access point device.

30. The communication device according to claim 28, characterized in that The second message includes the second beam information; The transceiver module is further configured to obtain location information of the target access point device; The transceiver module is further configured to obtain location information of the target terminal device and reference beam direction information of the antenna of the target terminal device; The processing module is further configured to determine the second beam information based on the location information of the target access point device, the location information of the target terminal device, and the reference beam direction information of the antenna of the target terminal device.

31. An access point device, characterized in that: include: processor, memory, input and output (I / O) interfaces; The processor is coupled to the memory and the input / output interface; The processor executes the method according to any one of claims 1 to 8 by running the code in the memory.

32. A terminal device, characterized in that: include: processor, memory, and input / output (I / O) interfaces; The processor is coupled to the memory and the input and output interface; The processor executes the method according to any one of claims 9 to 12 by running the code in the memory.

33. A location service device, characterized in that: include: processor, memory, and input / output (I / O) interfaces; The processor is coupled to the memory and the input and output interface; The processor executes the method according to any one of claims 13 to 15 by running the code in the memory.

34. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 8, or the method according to any one of claims 9 to 12, or the method according to any one of claims 13 to 15.

35. A chip, characterized in that: The chip includes at least one processor, which is communicatively connected to at least one memory, and the at least one memory stores instructions; the instructions are executed by the at least one processor to execute the method described in any one of claims 1 to 8, or to execute the method described in any one of claims 9 to 12, or to execute the method described in any one of claims 13 to 15.

36. A communication system comprising an access point device, a terminal device and a location service device, wherein the access point device executes the method according to any one of claims 1 to 8, the terminal device executes the method according to any one of claims 9 to 12, and the location service device executes the method according to any one of claims 13 to 15.