A device connection method, apparatus, device, and storage medium

By using built-in antenna arrays in both the mobile digital device and the wireless communication receiving device to perform bidirectional AOA positioning calculations, the problem of low point-to-point positioning accuracy of digital mobile devices is solved, enabling precise device connection and convenient operation.

CN115314974BActive Publication Date: 2026-04-24SHANGHAI KOSTAL HUAYANG AUTOMOTIVE ELECTRIC +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI KOSTAL HUAYANG AUTOMOTIVE ELECTRIC
Filing Date
2022-08-05
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

In existing technologies, the point-to-point positioning accuracy of digital mobile devices is not high, which makes it impossible to automatically select the wireless communication receiving device in scenarios with multiple receiving devices. Users need cumbersome operation steps to achieve connection, resulting in a poor user experience.

Method used

The bidirectional AOA positioning algorithm is adopted. By using the built-in antenna arrays of both the mobile digital device and the wireless communication receiving device to perform bidirectional AOA positioning calculations, it is determined whether the signal information error is within a preset range, and a connection is only established when the error is within the range.

Benefits of technology

It improves the accuracy of device positioning and the convenience of connection, reduces user operation steps, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115314974B_ABST
    Figure CN115314974B_ABST
Patent Text Reader

Abstract

The application discloses a device connection method and device, equipment and storage medium, and relates to the technical field of wireless communication, which comprises the following steps: receiving a first digital signal transmitted by a mobile digital device, so as to obtain first target signal information based on the first digital signal; transmitting a second digital signal to the mobile digital device, so that the mobile digital device obtains second target signal information based on the second digital signal; receiving the second target signal information sent by the mobile digital device, and judging whether the error between the first target signal information and the second target signal information is within a preset range; and connecting with the mobile digital device when the error is within the preset range. The error is calculated by the first target signal information and the second target signal information obtained by the application, and the mobile digital device is connected when the error is within the preset range, so that the accuracy of device positioning and the convenience of device connection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless communication technology, and in particular to a device connection method, apparatus, device, and storage medium. Background Technology

[0002] With the widespread application of wireless communication technology, mobile digital devices have become increasingly versatile and user-friendly, and users expect a better user experience. Current mobile digital devices, in addition to wirelessly transmitting data, voice, images, and even video, are expanding into more and more new applications such as wireless communication positioning technology.

[0003] In existing technologies, point-to-point positioning of digital mobile devices has certain drawbacks in terms of accuracy. Current AOA (Angle of Arrival) positioning applications are all unidirectional AOA positioning calculations, meaning the digital mobile device acts as the transmitter and the wireless communication receiving device's antenna array acts as the receiver for positioning calculations. The disadvantage is that when applied to minor movements of the mobile digital device (such as changing only its orientation within the same location), the changes in the direction and angle of the mobile digital device's transmitting antenna are extremely small relative to the wireless communication receiving device's antenna array. Furthermore, the unidirectional AOA positioning calculation itself has a significant error, making it impossible to accurately calculate the change in the mobile digital device's orientation. Therefore, the directional positioning accuracy of the mobile digital device is low; that is, changes in the mobile digital device's direction and angle cannot be accurately identified. Regardless of whether BLE (Bluetooth Low Energy) or UWB (Ultra Wideband) positioning technologies are used, the accuracy of unidirectional AOA positioning calculations cannot accurately determine changes in the direction and angle of the digital mobile device itself. Therefore, current point-to-point positioning calculations for digital mobile devices are not very accurate in terms of directional positioning. In situations where the directionality of mobile digital devices is highly critical (such as changes in direction when multiple wireless communication receiving devices are connected point-to-point), it can easily lead to incorrect connections.

[0004] Disadvantages of point-to-point connections between multiple wireless communication receiving devices: The number of connectable wireless communication receiving devices in automobiles is increasing (such as in-car multimedia players, air conditioning systems, ambient lighting modules, and refrigerators). Digital mobile devices typically need to connect to these multiple devices. However, multi-device communication and control are usually point-to-point, requiring selection and confirmation before communication and information exchange. Existing BLE or UWB positioning technologies, when multiple wireless communication receiving devices are close together or in the same direction, often result in the digital mobile device only slightly rotating its orientation. Due to positioning accuracy limitations, it's difficult to distinguish the target device for point-to-point communication, thus failing to automatically select the receiving device. In multi-device scenarios, users typically need to manually select the device using the display and buttons on their digital mobile device. This process requires professional guidance, is cumbersome and prone to errors, requiring significant time and effort from users, especially novice users, greatly hindering efficient selection of the control target and resulting in a poor user experience. Summary of the Invention

[0005] In view of this, the purpose of this invention is to provide a device connection method, apparatus, device, and storage medium that can improve the accuracy of device positioning and the convenience of device connection. The specific solution is as follows:

[0006] In a first aspect, this application discloses a device connection method applied to a wireless communication receiving device, comprising:

[0007] Receive a first digital signal transmitted by a mobile digital device so as to obtain a first target signal information based on the first digital signal;

[0008] A second digital signal is transmitted to the mobile digital device so that the mobile digital device obtains second target signal information based on the second digital signal;

[0009] Receive the second target signal information sent by the mobile digital device, and determine whether the error between the first target signal information and the second target signal information is within a preset range;

[0010] When the error is within the preset range, it is connected to the mobile digital device.

[0011] Optionally, before receiving the first digital signal transmitted by the mobile digital device, the method further includes:

[0012] Set up a second wireless signal receiving antenna array and a second wireless signal transmitting antenna array;

[0013] Accordingly, receiving the first digital signal transmitted by the mobile digital device includes:

[0014] The second wireless signal receiving antenna array receives the first digital signal transmitted by the mobile digital device through the first wireless signal transmitting antenna array.

[0015] Optionally, receiving the first digital signal transmitted by the mobile digital device to obtain first target signal information based on the first digital signal includes:

[0016] Receive the first digital signal transmitted by the mobile digital device;

[0017] Based on the first digital signal and a preset positioning algorithm, calculations are performed to obtain first target signal information; the first target signal information includes the direction of the first digital signal and the angle of the first digital signal.

[0018] Accordingly, transmitting a second digital signal to the mobile digital device so that the mobile digital device obtains second target signal information based on the second digital signal includes:

[0019] The second digital signal is transmitted to the mobile digital device via a second wireless signal transmitting antenna array, so that the mobile digital device receives the second digital signal via a first wireless signal receiving antenna array and performs calculations based on the second digital signal and the preset positioning algorithm to obtain second target signal information; the second target signal information includes the direction of the second digital signal and the angle of the second digital signal.

[0020] Optionally, obtaining the first target signal information based on the first digital signal includes:

[0021] When receiving the first digital signal, the phase difference is calculated based on the distance between the first digital signal and the second wireless signal receiving antenna array;

[0022] The first target signal information is obtained based on the phase difference.

[0023] Optionally, receiving the first digital signal transmitted by the mobile digital device includes:

[0024] Determine whether the current location is within a preset area that can be covered in the current direction of the mobile digital device;

[0025] If the area is within the preset area, the first digital signal transmitted by the mobile digital device is received.

[0026] Optionally, receiving the second target signal information sent by the mobile digital device and determining whether the error between the first target signal information and the second target signal information is within a preset range includes:

[0027] Receive the second target signal information sent by the mobile digital device;

[0028] The target error value is obtained by calculating the angles of the first digital signal and the second digital signal.

[0029] Determine whether the target error value is within a preset range.

[0030] Optionally, after connecting to the mobile digital device, the method further includes:

[0031] The system receives control information sent by the mobile digital device via the network and performs corresponding functional operations based on the received control information.

[0032] Secondly, this application discloses a device connection apparatus for use in a wireless communication receiving device, comprising:

[0033] The signal receiving module is used to receive the first digital signal transmitted by the mobile digital device;

[0034] The signal information acquisition module is used to obtain the first target signal information based on the first digital signal;

[0035] A signal transmitting module is used to transmit a second digital signal to the mobile digital device so that the mobile digital device can obtain second target signal information based on the second digital signal.

[0036] An error judgment module is used to receive the second target signal information sent by the mobile digital device and determine whether the error between the first target signal information and the second target signal information is within a preset range.

[0037] A device connection module is used to connect to the mobile digital device when the error is within the preset range.

[0038] Thirdly, this application discloses an electronic device, including:

[0039] Memory, used to store computer programs;

[0040] A processor is configured to execute the computer program to implement the steps of the device connection method disclosed above.

[0041] Fourthly, this application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the device connection method disclosed above.

[0042] As can be seen, this application provides a device connection method, including: receiving a first digital signal transmitted by a mobile digital device to obtain first target signal information based on the first digital signal; transmitting a second digital signal to the mobile digital device to obtain second target signal information based on the second digital signal; receiving the second target signal information sent by the mobile digital device and determining whether the error between the first target signal information and the second target signal information is within a preset range; and connecting to the mobile digital device when the error is within the preset range. Therefore, this application determines whether a current wireless communication receiving device is allowed to connect to the mobile digital device by calculating the error between the first target signal information and the second target signal information, and only connects to the mobile digital device when the error is within the preset range, thus improving the accuracy of device positioning and the convenience of device connection. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0044] Figure 1 This is a flowchart of a device connection method disclosed in this application;

[0045] Figure 2 This is a block diagram of a device connection system disclosed in this application;

[0046] Figure 3 This is a flowchart of a specific device connection method disclosed in this application;

[0047] Figure 4 This is a schematic diagram of a device positioning disclosed in this application;

[0048] Figure 5 This is a flowchart of a specific device connection method disclosed in this application;

[0049] Figure 6 This is a schematic diagram of a specific device connection system disclosed in this application;

[0050] Figure 7 This is a hardware block diagram of a specific wireless communication receiving device disclosed in this application;

[0051] Figure 8 This is a hardware block diagram of a specific mobile digital device disclosed in this application;

[0052] Figure 9This is a schematic diagram of a specific device connection method disclosed in this application;

[0053] Figure 10 A schematic diagram of the device connection structure provided in this application;

[0054] Figure 11 This application provides a structural diagram of an electronic device. Detailed Implementation

[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0056] Currently, minute movements of mobile digital devices, specifically changes in their direction and angle, cannot be accurately identified. Therefore, current point-to-point positioning calculations for digital mobile devices lack directional accuracy, easily leading to misconnections in situations requiring high directional precision. Furthermore, they cannot automatically select the wireless communication receiving device. In scenarios with multiple receiving devices, users typically need to manually select the device using interactive methods such as displays and buttons on the mobile device. This process requires professional guidance, is cumbersome, and prone to errors, demanding significant time and effort from users, especially novice users. This greatly hinders efficient selection of the controlled object, resulting in a poor user experience. Therefore, this application provides a device connection method that improves the accuracy of device positioning and the convenience of device connection.

[0057] This invention discloses a device connection method, see [link to relevant documentation]. Figure 1 As shown, applied to a wireless communication receiving device, the method includes:

[0058] Step S11: Receive the first digital signal transmitted by the mobile digital device so as to obtain the first target signal information based on the first digital signal.

[0059] In this embodiment, a first digital signal transmitted by a mobile digital device is received to obtain first target signal information based on the first digital signal. It should be noted that the mobile digital device is a portable electronic device with wireless communication capabilities, such as a dedicated digital key or a digital mobile phone; the wireless communication receiving device is a wireless communication module with wireless communication capabilities installed in a vehicle or fixed in a certain indoor location, such as a UWB receiving module or a Bluetooth receiving module, which can exist independently or be integrated into other electronic devices. It is understood that the mobile digital device first transmits the first digital signal, which can be sent to multiple wireless communication receiving devices. After each wireless communication receiving device receives the first digital signal, it obtains the first target signal information based on the first digital signal.

[0060] Step S12: Transmit a second digital signal to the mobile digital device so that the mobile digital device obtains the second target signal information based on the second digital signal.

[0061] In this embodiment, after obtaining the first target signal information based on the first digital signal, a second digital signal is transmitted to the mobile digital device so that the mobile digital device obtains the second target signal information based on the second digital signal. It can be understood that bidirectional positioning calculations are performed between the mobile digital device and the wireless communication receiving device, i.e., the positioning calculation is divided into two parts according to the positioning direction. The mobile digital device and the wireless communication receiving device are respectively used as signal transmitters, transmitting digital signals to each other, and after receiving the digital signals transmitted by each other, obtaining the corresponding target signal information based on the received digital signals.

[0062] Step S13: Receive the second target signal information sent by the mobile digital device, and determine whether the error between the first target signal information and the second target signal information is within a preset range.

[0063] In this embodiment, the second target signal information sent by the mobile digital device is received, and it is determined whether the error between the first target signal information and the second target signal information is within a preset range. It should be noted that the wireless communication receiving device can also send the first target signal information to the mobile digital device, and the mobile digital device can determine whether the error between the first target signal information and the second target signal information is within a preset range. It is understood that error determination performed within the mobile digital device can provide real-time feedback of the results to the mobile digital device.

[0064] Step S14: When the error is within the preset range, connect to the mobile digital device.

[0065] In this embodiment, after determining whether the error between the first target signal information and the second target signal information is within a preset range, if the error is within the preset range, connection is established with the mobile digital device. It is understood that, as... Figure 2 As shown, the mobile digital device and the wireless communication receiving device are connected via wireless communication. The wireless communication technology protocol can be UWB, Bluetooth, WIFI (Wireless-Fidelity), or other wireless communication protocols, which enable the communication connection between the mobile digital device and the wireless communication receiving device.

[0066] As can be seen, this application provides a device connection method, including: receiving a first digital signal transmitted by a mobile digital device to obtain first target signal information based on the first digital signal; transmitting a second digital signal to the mobile digital device to obtain second target signal information based on the second digital signal; receiving the second target signal information sent by the mobile digital device and determining whether the error between the first target signal information and the second target signal information is within a preset range; and connecting to the mobile digital device when the error is within the preset range. Therefore, this application determines whether a current wireless communication receiving device is allowed to connect to the mobile digital device by calculating the error between the first target signal information and the second target signal information, and only connects to the mobile digital device when the error is within the preset range, thus improving the accuracy of device positioning and the convenience of device connection.

[0067] See Figure 3 As shown, this embodiment of the invention discloses a device connection method. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution.

[0068] Step S21: Set up the second wireless signal receiving antenna array and the second wireless signal transmitting antenna array.

[0069] In this embodiment, a second wireless signal receiving antenna array and a second wireless signal transmitting antenna array are provided in the wireless communication receiving device. It can be understood that a first wireless signal receiving antenna array and a first wireless signal transmitting antenna array are also provided in the mobile digital device. For example... Figure 4 As shown, both the wireless communication receiving device and the mobile digital device are equipped with a receiving antenna array and a transmitting antenna.

[0070] Step S22: Receive the first digital signal transmitted by the mobile digital device through the first wireless signal transmitting antenna array via the second wireless signal receiving antenna array.

[0071] Step S23: Calculate based on the first digital signal and the preset positioning algorithm to obtain the first target signal information; the first target signal information includes the direction of the first digital signal and the angle of the first digital signal.

[0072] In this embodiment, after receiving the first digital signal transmitted by the mobile digital device, calculations are performed based on the first digital signal and a preset positioning algorithm to obtain the first target signal information. It is understood that the calculation method widely used in point-to-point positioning is the Angle of Arrival (AOA) method. The mobile digital device transmits a direction-finding signal with frequency and phase information, i.e., the first digital signal, through a first wireless signal transmitting antenna array. When the first digital signal passes through the second wireless signal receiving antenna array within the wireless communication receiving device, a phase difference occurs based on the different distances at which the second wireless signal receiving antenna array receives the first digital signal. This difference is then used to calculate the relative direction and angle of the first digital signal transmitted by the mobile digital device. Therefore, the obtained first target signal information includes the direction and angle of the first digital signal.

[0073] Specifically, using a mobile digital device as the transmitter, the first digital signal is transmitted through a first wireless signal transmitting antenna array. The second wireless signal receiving antenna array, built into a fixed wireless communication receiving device, is used in conjunction with the AOA positioning algorithm to calculate the incident angle of the electromagnetic waves from different antennas. Figure 4 As shown, the first digital signal direction and the first digital signal angle +a of the mobile digital device's transmitted signal are calculated.

[0074] Step S24: The second digital signal is transmitted to the mobile digital device through the second wireless signal transmitting antenna array, so that the mobile digital device receives the second digital signal through the first wireless signal receiving antenna array, and calculates the second target signal information based on the second digital signal and the preset positioning algorithm.

[0075] In this embodiment, the second digital signal is transmitted to the mobile digital device via a second wireless signal transmitting antenna array. That is, the wireless communication receiving device transmits the second digital signal. After the mobile digital device receives the second digital signal via a first wireless signal receiving antenna array, it calculates the incident angle of the electromagnetic waves from different antennas using the AOA positioning algorithm. This allows it to calculate the second digital signal direction and the second digital signal angle + α transmitted by the wireless communication receiving device. It is understood that even a small change in the orientation of the mobile digital device will cause a significant change in the built-in receiving antenna array during the AOA positioning calculation, and the calculated direction angle can be accurately reflected in angle - α. The second target signal information includes the second digital signal direction and the second digital signal angle.

[0076] Step S25: Receive the second target signal information sent by the mobile digital device, and determine whether the error between the first target signal information and the second target signal information is within a preset range.

[0077] In this embodiment, the second target signal information sent by the mobile digital device is received, and it is determined whether the error between the first target signal information and the second target signal information is within a preset range. It is understood that, theoretically, the positioning direction angle values ​​of the first digital signal angle +a and the first and second digital signal angles -a, calculated by bidirectional AOA positioning between the mobile digital device and the wireless communication receiving device in a certain orientation (calibrated facing orientation), are precisely complementary (the error is within a set allowable range). Otherwise, it is considered that the point-to-point communication positioning between the mobile digital device and the wireless communication receiving device is not established, that is, the orientation of the mobile digital device is not pointing to the wireless communication receiving device.

[0078] It is understandable that by embedding antenna arrays in both the mobile digital device and the wireless communication receiving device, and using the AOA positioning algorithm for bidirectional AOA positioning calculation, the direction and angle of the mobile digital device relative to the wireless communication receiving device are determined through AOA positioning calculation, and the positioning direction and angle of the wireless communication receiving device relative to the mobile digital device are also determined through AOA positioning calculation. This accurately distinguishes minute differences in the orientation of the mobile digital device, thereby improving the directional accuracy of point-to-point wireless positioning and solving the problem of inaccurate identification when the unidirectional AOA positioning angles are similar.

[0079] Step S26: When the error is within the preset range, connect to the mobile digital device.

[0080] In this embodiment, when the error is within the preset range, the device connects to the mobile digital device. It is understood that when the mobile digital device has multiple communicable wireless communication receiving devices in a certain orientation, it will sequentially perform positioning calculations for all wireless communication receiving devices according to the aforementioned AOA bidirectional positioning calculation process. Then, the mobile digital device or the wireless communication receiving device will perform logical discrimination to determine the wireless communication receiving device with the error within the preset range as the optimal wireless communication receiving device for the current location. This connection then provides significant convenience for users requiring precise point-to-point positioning in multi-connection scenarios. The method for implementing wireless positioning of the mobile digital device enables precise directional wireless positioning, innovatively achieving convenient, accurate, and reliable wireless communication positioning and connection methods. This greatly enhances the user experience and has broad application potential and strong market promotion value.

[0081] For details regarding step S22, please refer to the corresponding content disclosed in the foregoing embodiments, which will not be repeated here.

[0082] As can be seen, a second wireless signal receiving antenna array and a second wireless signal transmitting antenna array are set up; the second wireless signal receiving antenna array receives the first digital signal transmitted by the mobile digital device through the first wireless signal transmitting antenna array; calculations are performed based on the first digital signal and a preset positioning algorithm to obtain first target signal information; the first target signal information includes the direction and angle of the first digital signal; the second wireless signal transmitting antenna array transmits the second digital signal to the mobile digital device, so that the mobile digital device receives the second digital signal through the first wireless signal receiving antenna array, and calculates based on the second digital signal and the preset positioning algorithm to obtain second target signal information; the second target signal information sent by the mobile digital device is received, and it is determined whether the error between the first target signal information and the second target signal information is within a preset range; when the error is within the preset range, the device is connected to the mobile digital device, which improves the accuracy of device positioning and the convenience of device connection.

[0083] See Figure 5 As shown, this embodiment of the invention discloses a device connection method. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution.

[0084] Step S31: Determine whether the current location is within a preset area that can be covered in the current direction of the mobile digital device.

[0085] In this embodiment, it is determined whether the current location is within a preset area that can be covered by the mobile digital device in the current direction. In one specific implementation, for example, a vehicle-mounted UWB digital key positioning system using UWB (Ultra-Wideband) technology is used. The vehicle-mounted UWB digital key positioning system consists of a UWB digital key (mobile digital device) and multiple UWB receiving modules, as shown in the system block diagram. Figure 6 As shown, the UWB receiver module can be a standalone in-vehicle UWB module or integrated into in-vehicle smart devices (such as ambient lighting modules, in-vehicle refrigerators, in-vehicle air conditioners, or in-vehicle multimedia players with integrated UWB receiver modules). It has a built-in antenna array and connects to the vehicle's high-speed CAN (Controller Area Network) network to achieve interconnection with the vehicle's signals and controls. The UWB digital key, as a mobile digital device, has a built-in antenna array and can communicate with multiple UWB receiver modules via UWB technology. It is portable, compact, and lightweight, and can respond to user operations to perform corresponding functions. The UWB digital key also integrates the user key function of the UWB keyless entry / start system. From a certain distance outside the vehicle, the user holds the UWB digital key facing the vehicle at a certain angle to complete a range determination operation. This means determining whether the current location is within a preset area that the mobile digital device can cover in its current direction, where the preset range is a sector-shaped area formed by a certain distance and angle.

[0086] It should be noted that, for example, to activate the UWB digital key positioning function, it is necessary to first determine whether the vehicle's UWB receiving module is within a preset range. Specifically, by conducting UWB ranging communication with the vehicle's UWB receiving module (UWB ranging module) at a confirmed distance, the UWB digital key can obtain distance information to the vehicle. Considering the accuracy of directional positioning, directional positioning will only be activated within a certain distance from the vehicle (e.g., within 6 meters), at which point the UWB digital key will activate the UWB positioning function.

[0087] Step S32: If within the preset area, receive the first digital signal transmitted by the mobile digital device.

[0088] In this embodiment, if the area is within the preset area, the first digital signal transmitted by the mobile digital device is received. For example, if the UWB digital key detects that the connection conditions are met after ranging, it connects and determines the UWB receiving modules of all vehicles within the range that may be communicating.

[0089] Step S33: Obtain the first target signal information based on the first digital signal.

[0090] In this embodiment, after receiving the first digital signal transmitted by the mobile digital device, first target signal information is obtained based on the first digital signal. Specifically, when receiving the first digital signal, the phase difference is calculated based on the distance between the first digital signal and the second wireless signal receiving antenna array, and then the first target signal information is obtained based on the phase difference. It can be understood that the Angle of Arrival (AOA) method used for positioning in this invention utilizes the first wireless signal transmitting antenna array built into the mobile digital device to transmit a first digital signal with frequency and phase information. When the signal passes through the second wireless signal receiving antenna array of the wireless communication receiving device, a phase difference will occur due to the different distances at which the antenna array receives the first digital signal, thereby calculating the relative direction and angle +a of the signal transmitted by the mobile digital device. Simultaneously with calculating the relative direction and angle +a of the signal transmitted by the mobile digital device, a second digital signal is transmitted through the built-in second wireless signal transmitting antenna array of the wireless communication receiving device. The built-in first wireless signal receiving antenna array of the mobile digital device calculates the relative direction and angle -a of the signal transmitted by the wireless communication receiving device based on the Angle of Arrival (AOA). The mobile digital device accurately determines whether point-to-point directional positioning is successful based on the positioning angles +a and -a.

[0091] Step S34: Transmit a second digital signal to the mobile digital device so that the mobile digital device obtains the second target signal information based on the second digital signal.

[0092] In this embodiment, a second digital signal is transmitted to the mobile digital device so that the mobile digital device can obtain second target signal information based on the second digital signal. For example, the UWB digital key, according to the current direction, uses a polling method to perform bidirectional positioning calculations with all communicable vehicle UWB receiving modules, respectively, according to the wireless positioning implementation method described in this invention. That is, while obtaining the direction and angle +a relative to the UWB digital key calculated by the vehicle UWB receiving module, the direction and angle -a relative to the current vehicle UWB receiving module are calculated by the built-in antenna array of the UWB digital key based on the AOA.

[0093] Step S35: Receive the second target signal information sent by the mobile digital device, and determine whether the error between the first target signal information and the second target signal information is within a preset range.

[0094] In this embodiment, the second target signal information sent by the mobile digital device is received, and it is determined whether the error between the first target signal information and the second target signal information is within a preset range. For example, after the positioning function of the UWB digital key is activated, the UWB digital key starts UWB communication to search for all legal UWB receiving modules in the vehicle, and connects to each of the connectable UWB receiving modules in a polling manner according to the search results, performing bidirectional AOA positioning calculation. That is, the UWB digital key starts scanning the array antenna and performing AOA positioning calculation, and starts scanning the array antenna of the UWB receiving module and performing AOA positioning calculation of the UWB digital key's angle position through UWB communication commands. The UWB receiving module sends the positioning angle value to the UWB digital key through UWB data communication. The UWB digital key judges the bidirectional AOA positioning calculation result and starts connecting and positioning the next UWB receiving module, and so on, continuously updating the positioning results of all connectable UWB receiving modules in real time. Based on this, the UWB digital key logic determines the most likely currently pointing UWB receiving module, and also continuously updates the calculation based on the latest positioning result.

[0095] Step S36: When the error is within the preset range, connect to the mobile digital device.

[0096] In this embodiment, when the error is within the preset range, it connects to the mobile digital device. For example, the UWB digital key performs point-to-point positioning precision logic judgment based on the positioning angles +a and -a, determining whether the positioning angles +a and -a are precisely complementary or the error is within the preset range. If so, it determines that this wireless communication receiving device is the best vehicle UWB receiving module selected under the current direction and connects to the UWB digital key (i.e., the mobile digital device).

[0097] It should be noted that when the orientation of the mobile digital device changes, the antenna inside the mobile digital device will sense the change in orientation and retransmit the first digital signal to the wireless communication receiving device corresponding to the current orientation, and re-perform the error judgment step. If the error is within a preset range, the connected wireless communication receiving device will be automatically switched. For example, by slowly changing the orientation of the UWB digital key, the user can change the confirmation result of the positioning calculation and automatically switch and update the selected vehicle UWB receiving module, which is convenient and intuitive. Understandably, the user does not need a cumbersome connection confirmation operation; they only need to rotate the mobile digital device, and the mobile digital device can determine the currently successfully positioned wireless communication receiving device through positioning calculation and present it to the user in an interactive display manner. The user can directly operate the selected wireless communication receiving device, greatly improving user convenience and user experience.

[0098] Step S37: Receive control information sent by the mobile digital device via the network, and perform corresponding functional operations according to the received control information.

[0099] In this embodiment, control information sent by the mobile digital device is received via a network, and corresponding functional operations are executed based on the received control information. For example, when it is determined that this wireless communication receiving device is the best vehicle UWB receiving module selected under the current direction, the above information is displayed and fed back to the user, allowing the user to perform further operations or directly execute the corresponding actions for successful positioning (such as turning on the ambient light, turning on the air conditioning connection success indicator, etc.). It is understood that the wireless communication receiving device includes a control unit, a data processing unit, a second wireless signal receiving antenna array, a second wireless signal transmitting antenna array, a node control unit, and other functional control units. The mobile digital device includes physical buttons, a data processing unit, a control unit, a first wireless signal receiving antenna array, a first wireless signal transmitting antenna array, a display unit, a power chip, a micro switch (including a button input circuit), and a lithium battery, among other main components.

[0100] Specifically, the hardware block diagram of the UWB receiving module is as follows: Figure 7 As shown, the UWB receiving module includes a UWB control unit, a data processing unit (MCU, Microcontroller Unit), a UWB antenna array (including antenna array interface circuitry), a CAN node control unit, and other optional functional control units. The UWB control unit is a circuit containing a UWB control chip; all UWB signal transmission and reception processing is performed by the UWB control unit. The data processing unit (MCU) is a circuit containing a microprocessor and is the core processing unit of the UWB receiving module. It performs AOA positioning calculations for UWB signals, controls communication with the digital key, and processes interactions with the vehicle's CAN signals. The UWB antenna array (including antenna array interface circuitry) contains three antenna elements. The number of antennas in the antenna array described in this invention is not limited and can be determined based on the actual application scenario and performance requirements of the UWB receiving module. In operation, the antenna array continuously scans under the control of the UWB control unit. The data processing unit (MCU) calculates the positioning angle value of the current UWB digital key transmission signal and sends it to the UWB digital key. The CAN node control unit connects to the vehicle network. After successful point-to-point positioning with the UWB digital key, it sends corresponding control information through the vehicle network to complete the corresponding functions or control other electronic devices (such as connecting a UWB receiving module to integrate ambient lighting, which will control the operation of the ambient lighting).

[0101] UWB digital key hardware block diagram as follows: Figure 8As shown, the UWB digital key includes a housing (and physical buttons), a data processing unit (MCU), a UWB control unit (including a built-in UWB antenna array), a display unit, a power chip, a micro switch (including a button input circuit), and a lithium battery, among other main components. The data processing unit (MCU) is a circuit containing a microprocessor and is the core processing unit of the UWB digital key, performing AOA positioning calculations for UWB signals and communication functions with the UWB receiving module. The UWB control unit consists of a UWB main control chip, an onboard UWB antenna array, and an antenna array interface circuit, communicating with the data processing unit (MCU). The number of antennas in the antenna array of the UWB digital key is not limited and can be determined according to the actual application scenario and performance requirements of the UWB receiving module. The display unit includes an LCD screen with touch control and a corresponding display control circuit, controlled by the data processing unit (MCU), to achieve display positioning and user interaction control connection. The power chip supplies power to the processor. The micro switch, including a button input circuit, together with the physical buttons on the housing, forms the control button switch for the UWB digital key. The lithium battery is a rechargeable lithium polymer battery that provides power to the UWB digital key, and the type is selected based on the actual allowable space size.

[0102] Understandably, the UWB digital key touchscreen displays icons of all valid UWB receiver modules in the vehicle, highlighting the currently pointed UWB receiver module. When the user rotates the UWB digital key, the highlighted UWB receiver module changes accordingly based on the direction of rotation. Figure 9 As shown, remote control or more data communication functions can be performed directly on the highlighted UWB receiver module via touch screen and physical buttons, and customized according to the functional planning of different UWB receiver modules.

[0103] As can be seen, this embodiment of the application determines whether the current location is within a preset area that the mobile digital device can cover in the current direction; if it is within the preset area, it receives the first digital signal transmitted by the mobile digital device; obtains first target signal information based on the first digital signal; transmits a second digital signal to the mobile digital device so that the mobile digital device obtains second target signal information based on the second digital signal; receives the second target signal information sent by the mobile digital device and determines whether the error between the first target signal information and the second target signal information is within a preset range; when the error is within the preset range, it connects to the mobile digital device; receives control information sent by the mobile digital device through the network, and performs corresponding functional operations according to the received control information, thereby improving the accuracy of device positioning and the convenience of device connection.

[0104] See Figure 10 As shown in the illustration, this application also discloses a device connection apparatus for use in a wireless communication receiving device, comprising:

[0105] Signal receiving module 11 is used to receive the first digital signal transmitted by the mobile digital device;

[0106] Signal information acquisition module 12 is used to obtain first target signal information based on the first digital signal;

[0107] Signal transmitting module 13 is used to transmit a second digital signal to the mobile digital device so that the mobile digital device can obtain second target signal information based on the second digital signal;

[0108] Error judgment module 14 is used to receive the second target signal information sent by the mobile digital device and determine whether the error between the first target signal information and the second target signal information is within a preset range;

[0109] The device connection module 15 is used to connect to the mobile digital device when the error is within the preset range.

[0110] As can be seen, this application includes: receiving a first digital signal transmitted by a mobile digital device to obtain first target signal information based on the first digital signal; transmitting a second digital signal to the mobile digital device to obtain second target signal information based on the second digital signal; receiving the second target signal information sent by the mobile digital device and determining whether the error between the first target signal information and the second target signal information is within a preset range; and connecting to the mobile digital device when the error is within the preset range. Therefore, this application determines whether the current wireless communication receiving device is allowed to connect to the mobile digital device by calculating the error between the first target signal information and the second target signal information, and only connects to the mobile digital device when the error is within the preset range, thus improving the accuracy of device positioning and the convenience of device connection.

[0111] In some specific embodiments, the signal receiving module 11 specifically includes:

[0112] An array setting unit is used to set up a second wireless signal receiving antenna array and a second wireless signal transmitting antenna array.

[0113] The range determination unit is used to determine whether the current position is within a preset area that can be covered in the current direction of the mobile digital device;

[0114] A signal receiving unit is configured to receive, within the preset area, the first digital signal transmitted by the mobile digital device through the first wireless signal transmitting antenna array via the second wireless signal receiving antenna array.

[0115] In some specific embodiments, the signal information acquisition module 12 specifically includes:

[0116] A phase difference calculation unit is used to calculate the phase difference based on the distance between the first digital signal and the second wireless signal receiving antenna array when receiving the first digital signal.

[0117] The signal information acquisition unit is used to obtain the first target signal information based on the phase difference.

[0118] In some specific embodiments, the signal information acquisition module 12 specifically includes:

[0119] The signal information calculation unit is used to calculate based on the first digital signal and a preset positioning algorithm to obtain the first target signal information; the first target signal information includes the direction of the first digital signal and the angle of the first digital signal.

[0120] In some specific embodiments, the signal transmitting module 13 specifically includes:

[0121] The signal transmitting unit is used to transmit the second digital signal to the mobile digital device through a second wireless signal transmitting antenna array, so that the mobile digital device receives the second digital signal through a first wireless signal receiving antenna array and calculates based on the second digital signal and the preset positioning algorithm to obtain second target signal information; the second target signal information includes the direction of the second digital signal and the angle of the second digital signal.

[0122] In some specific embodiments, the error judgment module 14 specifically includes:

[0123] An information receiving unit is configured to receive the second target signal information sent by the mobile digital device;

[0124] The target error value calculation unit is used to calculate the target error value by comparing the angle of the first digital signal with the angle of the second digital signal.

[0125] An error judgment unit is used to determine whether the target error value is within a preset range.

[0126] In some specific embodiments, the device connection module 15 specifically includes:

[0127] A device connection unit is configured to connect to the mobile digital device when the error is within the preset range;

[0128] A control information receiving unit is configured to receive control information sent by the mobile digital device via a network.

[0129] The function execution unit is used to perform corresponding function operations based on the received control information.

[0130] Furthermore, embodiments of this application also provide an electronic device. Figure 11 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.

[0131] Figure 11 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the device connection method disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0132] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0133] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0134] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the device connection method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include a computer program capable of performing other specific tasks.

[0135] Furthermore, this application also discloses a storage medium storing a computer program, which, when loaded and executed by a processor, implements the device connection method steps disclosed in any of the foregoing embodiments.

[0136] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0137] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0138] The present invention has provided a detailed description of a device connection method, apparatus, device, and storage medium. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A device connection method, characterized in that, Applied to wireless communication receiving devices, including: Receive a first digital signal transmitted by a mobile digital device so as to obtain a first target signal information based on the first digital signal; A second digital signal is transmitted to the mobile digital device so that the mobile digital device obtains second target signal information based on the second digital signal; Receive the second target signal information sent by the mobile digital device, and determine whether the error between the first target signal information and the second target signal information is within a preset range; When the error is within the preset range, connect to the mobile digital device; Before receiving the first digital signal transmitted by the mobile digital device, the method further includes: Set up a second wireless signal receiving antenna array and a second wireless signal transmitting antenna array; The step of receiving a first digital signal transmitted by a mobile digital device to obtain first target signal information based on the first digital signal includes: The second wireless signal receiving antenna array receives the first digital signal transmitted by the mobile digital device through the first wireless signal transmitting antenna array; Based on the first digital signal and a preset positioning algorithm, calculations are performed to obtain first target signal information; the first target signal information includes the direction of the first digital signal and the angle of the first digital signal. Accordingly, transmitting a second digital signal to the mobile digital device so that the mobile digital device obtains second target signal information based on the second digital signal includes: The second digital signal is transmitted to the mobile digital device via a second wireless signal transmitting antenna array, so that the mobile digital device receives the second digital signal via a first wireless signal receiving antenna array, and performs calculations based on the second digital signal and the preset positioning algorithm to obtain second target signal information; the second target signal information includes the direction of the second digital signal and the angle of the second digital signal; The step of obtaining the first target signal information based on the first digital signal includes: When receiving the first digital signal, the phase difference is calculated based on the distance between the first digital signal and the second wireless signal receiving antenna array; The first target signal information is obtained based on the phase difference.

2. The device connection method according to claim 1, characterized in that, The first digital signal transmitted by the receiving mobile digital device includes: Determine whether the current location is within a preset area that can be covered in the current direction of the mobile digital device; If the area is within the preset area, the first digital signal transmitted by the mobile digital device is received.

3. The device connection method according to claim 2, characterized in that, The step of receiving the second target signal information sent by the mobile digital device and determining whether the error between the first target signal information and the second target signal information is within a preset range includes: Receive the second target signal information sent by the mobile digital device; The target error value is obtained by calculating the angles of the first digital signal and the second digital signal. Determine whether the target error value is within a preset range.

4. The device connection method according to any one of claims 1 to 3, characterized in that, After connecting to the mobile digital device, the method further includes: The system receives control information sent by the mobile digital device via the network and performs corresponding functional operations based on the received control information.

5. A device connection apparatus, characterized in that, Applied to wireless communication receiving devices, including: The signal receiving module is used to receive the first digital signal transmitted by the mobile digital device; The signal information acquisition module is used to obtain the first target signal information based on the first digital signal; A signal transmitting module is used to transmit a second digital signal to the mobile digital device so that the mobile digital device can obtain second target signal information based on the second digital signal. An error judgment module is used to receive the second target signal information sent by the mobile digital device and determine whether the error between the first target signal information and the second target signal information is within a preset range. A device connection module is used to connect to the mobile digital device when the error is within the preset range; The signal receiving module specifically includes: An array setting unit is used to set up a second wireless signal receiving antenna array and a second wireless signal transmitting antenna array. A signal receiving unit is configured to receive, via the second wireless signal receiving antenna array, the first digital signal transmitted by the mobile digital device through the first wireless signal transmitting antenna array; The signal information acquisition module specifically includes: The signal information calculation unit is used to perform calculations based on the first digital signal and a preset positioning algorithm to obtain first target signal information; the first target signal information includes the direction of the first digital signal and the angle of the first digital signal. The signal transmitting module specifically includes: A signal transmitting unit is configured to transmit the second digital signal to the mobile digital device via a second wireless signal transmitting antenna array, so that the mobile digital device receives the second digital signal via a first wireless signal receiving antenna array and performs calculations based on the second digital signal and the preset positioning algorithm to obtain second target signal information; the second target signal information includes the direction of the second digital signal and the angle of the second digital signal. The signal information acquisition module specifically includes: A phase difference calculation unit is used to calculate the phase difference based on the distance between the first digital signal and the second wireless signal receiving antenna array when receiving the first digital signal. The signal information acquisition unit is used to obtain the first target signal information based on the phase difference.

6. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the steps of the device connection method as described in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, Used to store a computer program; wherein, when the computer program is executed by a processor, it implements the device connection method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Intelligent key positioning method and system for vehicle and related device

    CN110572773A

  • Method for positioning following navigation system based on UWB and GPS

    CN112764076A