Positioning method, device, terminal accessory, mobile terminal and electronic device
By adjusting the grip mode of the terminal accessories, the radiation capacity of the directional antenna in the target direction is better than that of other directions, solving the problem of small positioning range and poor effect in the prior art, and achieving higher sensitivity and precision positioning Effect.
Patent Information
- Application Number
- CN202210142598.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-16
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-02-16
AI Technical Summary
In the prior art, the positioning range of positioning methods such as infrared rays and optical reflections is small, and the effect is poor, making it difficult to accurately detect the position of the object to be measured.
By determining the grip mode of the terminal accessories, the radiation capacity of the directional antenna in the target radiation direction is better than that of other directions, the positioning signal of the object to be measured is received, and a prompt signal is generated when the signal strength reaches the preset threshold value to indicate the object to be measured. location.
It improves the sensitivity and accuracy of the positioning signal, and can detect the position of the object to be measured more quickly and accurately.
Smart Images

Figure CN114527424B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of antennas, and in particular to a positioning method, device, terminal accessory, mobile terminal and electronic equipment. Background Art
[0002] In the related technologies, infrared, optical reflection and other detection schemes are often used to realize the positioning and object detection functions. However, the positioning and detection range of infrared, optical reflection and other schemes is small, and the positioning and object detection effects are not good. Summary of the invention
[0003] The embodiments of the present application provide a positioning method, a device, a terminal accessory, a mobile terminal and an electronic device, which have a good positioning effect on an object to be measured.
[0004] In a first aspect, the present application provides a positioning method, comprising:
[0005] Determining a holding mode of the terminal accessory so that the radiation capability of the directional antenna of the terminal accessory in a target radiation direction is better than the radiation capability in other directions;
[0006] Determine the positioning signal of the object to be measured received by the directional antenna in the target radiation direction;
[0007] When the positioning signal strength meets a preset threshold, a prompt signal is generated to indicate the position of the object to be detected.
[0008] In a second aspect, the present application also provides a positioning device, including:
[0009] A holding control module, used to determine a holding mode of the terminal accessory so that the radiation capability of the directional antenna of the terminal accessory in a target radiation direction is better than the radiation capability in other directions;
[0010] A radio frequency control module, used to determine the positioning signal of the object to be measured received by the directional antenna in the target radiation direction;
[0011] The positioning module is used to generate a prompt signal to indicate the position of the object to be detected when the strength of the positioning signal meets a preset threshold.
[0012] In a third aspect, the present application further provides a terminal accessory, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the positioning method as described above when executed by the processor.
[0013] In a fourth aspect, the present application further provides a terminal accessory, the terminal accessory is used to connect to a mobile terminal or a terminal body of a mobile terminal, the terminal accessory includes a directional antenna, and the terminal accessory is used to:
[0014] After the terminal accessory is held by the user in a holding mode so that the radiation capability of the directional antenna in the target radiation direction is better than the radiation capability in other directions, the positioning signal of the object to be measured received by the directional antenna in the target radiation direction is determined, so that when the positioning signal strength meets the preset threshold, the mobile terminal or the terminal body generates a prompt signal to indicate the position of the object to be measured.
[0015] In a fifth aspect, the present application also provides a mobile terminal, including a terminal accessory and a terminal body, wherein the terminal body is connected to the terminal accessory, and the terminal accessory is the above-mentioned terminal accessory.
[0016] In a sixth aspect, the present application further provides a mobile terminal, comprising a terminal accessory and a terminal body, wherein the terminal body is connected to the terminal accessory, the terminal accessory comprises a directional antenna, and the terminal body is used to:
[0017] Determining a holding mode of the terminal accessory so that the radiation capability of the directional antenna of the terminal accessory in a target radiation direction is better than the radiation capability in other directions;
[0018] When the strength of the positioning signal of the object to be detected received by the directional antenna in the target radiation direction meets a preset threshold, a prompt signal is generated to indicate the position of the object to be detected.
[0019] In a seventh aspect, the present application further provides a mobile terminal, comprising a terminal body and a terminal accessory, wherein the terminal accessory is connected to the terminal body, and the mobile terminal is used to execute the positioning method as described above.
[0020] In an eighth aspect, the present application further provides an electronic device, including a mobile terminal and a terminal accessory, wherein the terminal accessory is communicatively connected or electrically connected to the mobile terminal, and the electronic device is used to execute the positioning method as described above.
[0021] The positioning method, device, terminal accessory, mobile terminal and electronic device of the present application, the positioning method includes: determining the holding mode of the terminal accessory so that the radiation capability of the directional antenna in the target radiation direction is better than the radiation capability in other directions; determining the positioning signal of the object to be measured received by the directional antenna in the target radiation direction; when the positioning signal strength meets the preset threshold, generating a prompt signal to indicate the position of the object to be measured. Based on this, the positioning method of the present application utilizes the superior radiation capability of the directional antenna with better directional performance in the target radiation direction to receive the positioning signal transmitted by the object to be measured, and the terminal accessory can detect the positioning signal more sensitively; and, the holding mode determined by the terminal accessory makes the directional antenna more directional after the user holds the local area of the terminal accessory, thereby further improving the sensitivity of the terminal accessory to the positioning signal, and the terminal accessory and the electronic device can more accurately and quickly realize the positioning of the object to be measured. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.
[0023] Figure 1 A first structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0024] Figure 2 A second structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0025] Figure 3 A schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application.
[0026] Figure 4 for Figure 3 A schematic diagram of an exploded structure of a mobile terminal is shown.
[0027] Figure 5 for Figure 1 The first structural schematic diagram of the directional antenna is shown.
[0028] Figure 6 for Figure 5 A radiation pattern of a directional antenna is shown.
[0029] Figure 7 for Figure 1 The second structural schematic diagram of the directional antenna is shown.
[0030] Figure 8 for Figure 7 A radiation pattern of a directional antenna is shown.
[0031] Fig. 9 for Figure 1 The third structural schematic diagram of the directional antenna shown.
[0032] Fig.10 for Fig. 9 A radiation pattern of a directional antenna is shown.
[0033] Fig.11 for Figure 1 The fourth structural schematic diagram of the directional antenna shown.
[0034] Fig.12 for Fig.11 A radiation pattern of a directional antenna is shown.
[0035] Fig.13 for Figure 1 The fifth structural schematic diagram of the directional antenna is shown.
[0036] Fig.14 for Fig.13 A radiation pattern of a directional antenna is shown.
[0037] Fig.15 A first flow chart of the positioning method provided in an embodiment of the present application.
[0038] Fig.16 A schematic diagram of a set of preset holding modes provided in an embodiment of the present application.
[0039] Fig.17 A diagram of an application scenario of the positioning method provided in an embodiment of the present application.
[0040] Fig.18 Another application scenario diagram of the positioning method provided in an embodiment of the present application.
[0041] Fig.19 A schematic diagram of the structure of a terminal accessory provided in an embodiment of the present application.
[0042] Fig. 20 A control flow chart of a positioning method provided in an embodiment of the present application.
[0043] Fig.21 Another structural schematic diagram of the terminal accessory provided in an embodiment of the present application.
[0044] Fig. 22 Another structural schematic diagram of a mobile terminal provided in an embodiment of the present application.
[0045] Fig.23 A first structural schematic diagram of a positioning device is provided for an embodiment of the present application.
[0046] Fig.24 A second structural schematic diagram of a positioning device is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the attached examples of the present application Figures 1 to 24 , the technical solutions in the embodiments of the present application are clearly and completely described. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0048] Reference to "embodiments" herein means that specific features, structures, or characteristics described in conjunction with the embodiments may be included in the embodiments of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0049] The embodiment of the present application provides a positioning method, device, terminal accessory 100, mobile terminal 200 and electronic device 10. The execution subject of the positioning method can be the positioning device 500 provided in the embodiment of the present application, or the terminal accessory 100, mobile terminal 200 or electronic device 10 integrated with the positioning device 500. The positioning device 500 can be implemented in hardware or software. The electronic device 10 can be a communication system including the terminal accessory 100 and the mobile terminal 200.
[0050] Please refer to Figure 1 and Figure 2 , Figure 1 This is a schematic diagram of a first structure of an electronic device 10 provided in an embodiment of the present application. Figure 2 A second structural diagram of the electronic device 10 provided in the embodiment of the present application. The electronic device 10 in the embodiment of the present application may include a terminal accessory 100 and a mobile terminal 200, and the mobile terminal 200 may be, but is not limited to, a smart phone, a tablet computer, a PDA, a laptop computer, a desktop computer, a gaming device, an augmented reality (AR) device, an automotive device, a data storage device, an audio playback device, or a video playback device.
[0051] Among them, Figure 1 and Figure 2As shown, the terminal accessory 100 can be an electronic terminal or terminal accessory independent of the mobile terminal 200. For example, the terminal accessory 100 can be, but not limited to, a smart phone, a tablet computer, a PDA, a laptop computer, a desktop computer, a gaming device, an AR device; for another example, the terminal accessory 100 can be, but not limited to, a protective case mounted on the outer shell of the mobile terminal 200, a selfie stick capable of holding the mobile terminal 200, a terminal bracket capable of placing the mobile terminal 200, a pendant capable of plugging into the interface of the mobile terminal 200, and the like.
[0052] like Figure 1 As shown, the terminal accessory 100 can be wirelessly connected to the mobile terminal 200 to transmit data or transmit power. Exemplarily, the terminal accessory 100 may include a first wireless module 110, and the mobile terminal 200 may include a second wireless module 210, and the first wireless module 110 and the second wireless module 210 can be wirelessly connected, so that the terminal accessory 100 can be wirelessly connected to the mobile terminal 200 and transmit data.
[0053] It is understandable that the first wireless module 110 can be a Bluetooth (BT) module such as a first Bluetooth module, and correspondingly, the second wireless module 210 can be a second Bluetooth module, and the second Bluetooth module and the first Bluetooth module can realize wireless communication connection through Bluetooth signals. Of course, the first wireless module 110 and the second wireless module 210 can also be, but not limited to, wireless fidelity (Wi-Fi) modules and ultra-wideband communication (Ultra WideBand, UWB) modules. Of course, the first wireless module 110 and the second wireless module 210 can also be modules with wireless charging functions, and the first wireless module 110 can also be connected to the second wireless module 210 by radio, so that the terminal accessory 100 can be connected to the mobile terminal 200 by radio and transmit electrical energy. It should be noted that the specific structures of the first wireless module 110 and the second wireless module 210 are not limited in the embodiments of the present application.
[0054] like Figure 2 As shown, the terminal accessory 100 and the mobile terminal 200 can also be physically electrically connected directly or indirectly to transmit data or transmit electrical energy. For example, the terminal accessory 100 can be electrically connected to the mobile terminal 200 through, but not limited to, a USB connector such as a USB data cable, a USB charging cable, a pogo pin connector, or other electrical connector 300, and the terminal accessory 100 can transmit data or transmit electrical energy to the mobile terminal 200 through the electrical connector 300. It is understandable that the electronic device 10 may include the electrical connector 300 or may not include the electrical connector 300, and the embodiment of the present application is not limited to this.
[0055] It is understandable that the user can connect the terminal accessory 100 to the mobile terminal 200 in a detachable or non-detachable manner or place the two together in an area, so as to locate the object to be measured 400 through the terminal accessory 100 and output various operation signals in the positioning process to the user through the mobile terminal 200. Of course, the user can also locate the object to be measured 400 through the terminal accessory 100 alone. The embodiment of the present application does not specifically limit this.
[0056] The terminal accessory 100 may also be a component of the mobile terminal 200. For example, the terminal accessory 100 may be a frame, a housing, or other components of the mobile terminal 200. For example, please refer to Figure 3 and Figure 4 , Figure 3 A schematic diagram of the structure of a mobile terminal 200 provided in an embodiment of the present application, Figure 4 for Figure 3 An exploded structural diagram of a mobile terminal 200 is shown. The mobile terminal 200 may include a terminal body 220 and a terminal accessory 100, and the terminal accessory 100 may be physically connected to the terminal body 220 directly or indirectly, so that the terminal accessory 100 may form a component of the mobile terminal 200. Of course, the terminal accessory 100 may be wirelessly connected to the terminal body 220 or physically electrically connected, so that a component on the terminal accessory 100, such as a directional antenna 120, may transmit data or power to a module on the terminal body 220, such as a control module. It can be understood that when the terminal accessory 100 becomes a component on the mobile terminal 200, the electronic device 10 may be the mobile terminal 200.
[0057] It is understood that the terminal body 220 may include, but is not limited to, a display screen 221, a middle frame 222, a circuit board 223, and a battery 224. The display screen 221 may be arranged on the middle frame 222 to form a display surface of the mobile terminal 200 for displaying information such as images and texts. Among them, the display screen 221 may include a display screen 221 of a type such as a liquid crystal display 1 (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED). The middle frame 222 may be a thin plate or sheet-like structure, or may be a hollow frame structure. The middle frame 222 is used to provide support for the electronic devices or functional components in the mobile terminal 200, so as to install the electronic devices and functional components of the mobile terminal 200 together. For example, structures such as grooves, protrusions, and through holes may be arranged on the middle frame 222 to facilitate the installation of electronic devices or functional components of the mobile terminal 200. The circuit board 223 is arranged on the middle frame 222, and the circuit board 223 may be connected to the middle frame 222 to achieve fixation. Among them, the circuit board 223 can be the main board of the mobile terminal 200. The first processor 140 can be integrated on the circuit board 223, and one or more of the functional components such as the headphone jack, the acceleration sensor, the gyroscope, and the motor can also be integrated. At the same time, the display screen 221 can be electrically connected to the circuit board 223 to control the display of the display screen 221 through the first processor 140 on the circuit board 223. The battery 224 is arranged on the middle frame 222, and the battery 224 can be connected to the middle frame 222 to achieve fixation, and the terminal body 220 can seal the battery 224 inside the mobile terminal 200. At the same time, the battery 224 is electrically connected to the circuit board 223 to realize that the battery 224 supplies power to the mobile terminal 200. Among them, a power management circuit can be provided on the circuit board 223. The power management circuit is used to distribute the voltage provided by the battery 224 to various electronic devices in the mobile terminal 200, and can also be distributed to various electronic devices on the terminal accessory 100.
[0058] Please refer again to Figures 1 to 4 The terminal accessory 100 of the embodiment of the present application may include a directional antenna 120. The terminal accessory 100 can realize wireless communication function through the directional antenna 120. For example, the directional antenna 120 can transmit Wi-Fi signals, Global Positioning System (GPS) signals, third-generation mobile communication technology (3rd-Generation, 3G), fourth-generation mobile communication technology (4th-Generation, 4G), fifth-generation mobile communication technology (5th-Generation, 5G), near field communication (NFC) signals, Bluetooth signals, etc.
[0059] It can be understood that the directional antenna 120 may include an antenna unit and a feeding network, which can be electrically connected to the antenna unit. After the user holds the terminal accessory 100 of the embodiment of the present application in a holding mode, the radiation direction of the antenna unit can be toward a specific direction range (such as the target radiation direction described later), so that the antenna unit can form an antenna structure with directional characteristics in which the radiation direction is concentrated in a certain direction.
[0060] It is understandable that the directional antenna 120 may also be an array antenna (such as Figures 5 to 14 In the embodiment shown in the figure), the array antenna may include multiple antenna units 121 and a feeding network 122. The feeding network 122 may be electrically connected to each antenna unit 121, and the main radiation direction of each antenna unit 121 may be toward a specific direction range (for example, the target radiation direction described later). Among them, multiple antenna units 121 may operate at the same frequency and be fed and spatially arranged according to certain requirements. For example, when the directional antenna 120 includes multiple antenna units 121, the multiple antenna units 121 may be arranged in a 1×N, M×N, or N×N arrangement manner, but not limited to; for another example, the multiple antenna units 121 may also be evenly arranged around the center of the directional antenna 120. The specific structure of the directional antenna 120 is not limited in the embodiment of the present application. Among them, according to the superposition and distance of electromagnetic waves, the radiation performance of the array antenna composed of multiple antenna units 121 in a certain direction is much better than the radiation performance in other directions, so that compared with a single antenna, the radiation field generated by the array antenna is more directional.
[0061] It is understandable that the positions and feeding methods of the multiple antenna units 121 of the array antenna can be arranged so that the radiation directions of the directional antenna 120 are different.
[0062] For example, please refer to Figure 5 and Figure 6 , Figure 5 A first structural diagram of the directional antenna 120 provided in an embodiment of the present application is shown in FIG. Figure 6 for Figure 5 A radiation pattern of a directional antenna 120 is shown. The directional antenna 120 may include four antenna units 121, which may be arranged in a 2×2 matrix and fed by the same feeding network 122 to form an array antenna. The four antenna units 121 may be arranged on the same surface of an array substrate 123, and a ground plane 124 may be provided on the other surface of the array substrate 123, and the ground plane 124 may cover the other surface of the entire array substrate 123. Figure 6As shown, when the terminal accessory 100 is placed along the XOY plane, the radiation direction of the terminal accessory 100 can be concentrated in the +Z direction. When the terminal accessory 100 is a mobile protective case, the radiation direction of the terminal accessory 100 can be perpendicular to the back cover of the terminal accessory 100 or the mobile terminal 200.
[0063] For further example, please refer to Figure 7 and Figure 8 , Figure 7 A second structural diagram of the directional antenna 120 provided in an embodiment of the present application is shown in FIG. Figure 8 for Figure 7 A radiation pattern of the directional antenna 120 shown in FIG. A conductive material may be laid on one side of the array substrate 123 and two slots 125 may be etched on the conductive material so that two antenna units 121 may be formed on the side of the array substrate 123. The directional antenna 120 may include two antenna units 121. The two antenna units 121 may be fed by the same feeding network 122. A ground plane 124 may be provided on the other side of the array substrate 123, and the ground plane 124 may cover the other side of the entire array substrate 123. Figure 8 As shown, when the terminal accessory 100 is placed along the XOY plane, the radiation direction of the terminal accessory 100 may be concentrated in the +Z direction, and the radiation direction of the terminal accessory 100 may be perpendicular to the back cover surface of the terminal accessory 100 or the mobile terminal 200 .
[0064] For example, please refer to Fig. 9 and Fig.10 , Fig. 9 This is a third structural diagram of the directional antenna 120 provided in an embodiment of the present application. Fig.10 for Fig. 9 A radiation pattern of the directional antenna 120 shown in FIG. Two antenna units 121 may be provided on one side of the array substrate 123, and a feed network 122 may be provided on the other side of the array substrate 123 without providing a ground plane 124. Fig.10 As shown, the radiation direction of the terminal accessory 100 may be concentrated in the +Y direction, and the radiation direction of the terminal accessory 100 may be parallel to the back cover surface of the terminal accessory 100 or the mobile terminal 200 .
[0065] Also for example, please refer to Fig.11 and Fig.12 , Fig.11 This is a fourth structural diagram of the directional antenna 120 provided in an embodiment of the present application. Fig.12 for Fig.11A radiation pattern of the directional antenna 120 shown in FIG. Three antenna units 121 may be provided on one surface of the array substrate 123, and the three antenna units 121 may be evenly arranged around the center of the directional antenna 120. A feed network 122 may be provided on the other surface of the array substrate 123 without a ground plane 124. Fig.12 As shown, the radiation direction of the terminal accessory 100 may be concentrated in three directions of the XOY plane, and the radiation direction of the terminal accessory 100 may be parallel to the back cover surface of the terminal accessory 100 or the mobile terminal 200 .
[0066] For further example, please refer to Fig.13 and Fig.14 , Fig.13 This is a fifth structural diagram of the directional antenna 120 provided in an embodiment of the present application. Fig.14 for Fig.13 A radiation pattern of the directional antenna 120 shown in FIG. Three groups of antenna units 121 may be provided on one surface of the array substrate 123, each group of antenna units 121 may include two radiators arranged opposite to each other, and the three groups of antenna units 121 may be evenly arranged around the center of the directional antenna 120. A feeding network 122 and a partial ground plane 124 may be provided on the other surface of the array substrate 123, and the ground plane 124 does not cover the three groups of antenna units 121. Fig.14 As shown, the radiation direction of the terminal accessory 100 can be concentrated in multiple directions of the XOY plane ( Fig.14 It is shown that the radiation direction of the terminal accessory 100 is concentrated in four directions of the XOY plane. It can be understood that the radiation direction of the terminal accessory 100 is not limited to these four directions, but can also be other directions of the XOY plane. For example, the radiation direction of the terminal accessory 100 can be concentrated in six directions, and the six directions can correspond to the directions of the six radiators of the three groups of antenna units 121). The radiation direction of the terminal accessory 100 can be parallel to the back cover of the terminal accessory 100 or the mobile terminal 200.
[0067] It should be noted that the above are only illustrative examples of the radiation directions of the terminal accessory 100 and the directional antenna 120. The terminal accessory 100 and the directional antenna 120 can also have other radiation directions by adjusting the arrangement of the multiple antenna units 121 and their feeding methods.
[0068] It should be noted that the above are only illustrative examples of the terminal accessory 100 and the directional antenna 120 of the embodiment of the present application, and the specific structure of the directional antenna 120 is not limited to the above examples. For example, in the above directional antenna 120, multiple feeding networks 122 can also be set to feed each antenna unit 121. For another example, the above directional antenna 120 can also include more antenna units 121 to form directional antennas 120 of different forms and different radiation directions. The embodiment of the present application does not limit the specific structure of the directional antenna 120 and the terminal accessory 100.
[0069] Based on the structures of the terminal accessory 100, the mobile terminal 200 and the electronic device 10, please combine Figures 1 to 14 Please also refer to Fig.15 , Fig.15 A first flow chart of a positioning method provided in an embodiment of the present application. The positioning method in an embodiment of the present application can be applied to the electronic device 10, the terminal accessory 100 or the mobile terminal 200 in any of the above embodiments. The electronic device 10 may include the terminal accessory 100, and the terminal accessory 100 may include the directional antenna 120 in any of the above embodiments. The positioning method in an embodiment of the present application includes:
[0070] In 101 , the holding mode of the terminal accessory 100 is determined so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions.
[0071] The electronic device 10, the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 (which may be Figure 3 , Figure 4 The mobile terminal 200 including the terminal accessory 100 shown in FIG. 1 may also be a mobile terminal 200 including the terminal accessory 100. Figure 1 , Figure 2 In the process of locating the object to be measured 400, in order to improve the accuracy of detection, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 can determine its holding mode so that the directional antenna 120 can have a target radiation direction. After the user holds the terminal accessory 100 in this holding mode, the radiation capability of the directional antenna 120 in the target radiation direction can be better than the radiation capability in other directions. The electronic device 10, the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 can determine the position of the object to be measured 400 by receiving the signal strength of the positioning signal transmitted by the object to be measured 400 in the target radiation direction through the directional antenna 120.
[0072] It is understandable that the radiation capability may refer to the capability of the directional antenna 120 to receive signals, or may refer to the capability of the directional antenna 120 to transmit signals. The target radiation direction may be the direction of the radiation pattern when the directional antenna 120 transmits a signal of a certain frequency, and the signal strength of the signal received by the directional antenna 120 in the target radiation direction may be greater than the signal strength of the signal received in other directions, so that the radiation capability of the directional antenna 120 in the target radiation direction may be better than the radiation capability in other directions.
[0073] It is understandable that the holding mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 may be related to the radiation direction when it is not held. Exemplarily, when the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 is not held, the radiation performance of the directional antenna 120 (such as the array antenna) in the target radiation direction is optimal, then the electronic device 10, the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 may select a holding mode, such as determining that the holding mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 is not to block the main radiation direction of the array antenna, so as to ensure the radiation performance of the array antenna in the target radiation direction; for another example, determining that the holding mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 is to block the radiation direction of the array antenna other than the target radiation direction, so as to weaken the radiation performance of the directional antenna 120 in other radiation directions and enhance the radiation performance of the directional antenna 120 in the target radiation direction. As another example, when the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 is not held, and the antenna unit of the directional antenna 120 is a structure with poor omnidirectional performance or directional performance, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 can select a holding mode, for example, determining that the holding mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 is to block part of the radiation direction of the antenna unit so that the radiation direction of the blocked antenna unit is toward the target radiation direction, thereby weakening the radiation performance of the antenna unit in other radiation directions and strengthening the radiation performance of the antenna unit in the target radiation direction, and making the antenna unit form an antenna structure with directional performance. After the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 of the embodiment of the present application is held in this holding mode, the radiation performance of the directional antenna 120 in the target radiation direction is stronger, and the directionality of the directional antenna 120 is stronger.
[0074] It should be noted that the method of determining the holding mode of the terminal accessory 100 so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions in the embodiment of the present application is not limited to the above examples, and other methods may also be within the protection scope of the embodiment of the present application.
[0075] Among them, the terminal accessory 100 may be provided with a first memory 150 to store the target radiation direction of the directional antenna 120 of the terminal accessory 100. According to the target radiation direction, the terminal accessory 100 can determine its holding mode by itself, and can transmit the holding mode to the mobile terminal 200 by wireless communication or electrical connection, so that the mobile terminal 200 can output an indication signal indicating the holding mode to instruct the user to hold the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 according to the indication signal. Of course, according to the target radiation direction, the terminal accessory 100 can also transmit its target radiation direction to the mobile terminal 200 by wireless communication or electrical connection, and the mobile terminal 200 determines the holding mode according to the received target radiation direction and outputs an indication signal indicating the holding mode to instruct the user to hold the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 according to the indication signal. Alternatively, when the terminal accessory 100 works independently of the mobile terminal 200 , the terminal accessory 100 can also determine its holding mode by itself and output an indication signal indicating the holding mode to instruct the user to hold the terminal accessory 100 according to the indication signal.
[0076] It is understandable that a preset holding mode set may be provided inside the electronic device 10, the terminal accessory 100 or the mobile terminal 200, and the positioning method of the embodiment of the present application may select a holding mode from the preset holding mode set according to the target radiation direction of the directional antenna 120 to determine the holding mode of the terminal accessory 100. After determining the holding mode, the terminal accessory 100 or the mobile terminal 200 or the electronic device 10 may output an indication signal instructing the user to hold the terminal accessory 100 in the holding mode, so that after the user holds the terminal accessory 100 in the holding mode according to the indication signal, the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions.
[0077] It is understandable that the preset holding mode set inside the electronic device 10, the terminal accessory 100 or the mobile terminal 200 may pre-store multiple holding modes and the target radiation direction in each holding mode. Fig.16 , Fig.16A schematic diagram of a preset holding mode set provided for an embodiment of the present application, the holding modes may include but are not limited to: one-handed holding long side mode a (for example, holding the left or right long side area), one-handed holding a bottom side mode b (for example, holding a bottom short side area), one-handed C-shaped holding three-side mode c (for example, holding a short side and partial areas of two long sides), one-handed L-shaped holding two-side mode d (for example, holding a short side and partial areas of a long side), one-handed holding two-side mode e (for example, holding partial areas of two long sides but not holding the short side), two-handed holding three-side mode f (for example, covering the entire lower part of the terminal accessory 100 with both hands)...
[0078] It is understandable that the holding mode of the embodiment of the present application is not limited to Fig.16 For example, the holding mode may also include a mode in which the terminal accessory 100 or the mobile terminal 200 is held upright by a user with one hand in a C-shaped grip on the bottom short side and part of the two long sides. This embodiment of the present application is not limited to this.
[0079] It can be understood that when the directional antenna 120 is an array antenna or an antenna structure with good directional performance, based on the good directivity of the directional antenna 120, at this time, the user can hold the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 and make the radiation direction of the directional antenna 120 of the terminal accessory 100 face the direction of the space to be detected (for example, Figures 5 to 8 In the illustrated embodiment, the user may hold the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 so that the part of the terminal accessory 100 not held may face the +Z direction; Fig. 9 and Fig.10 In the illustrated embodiment, the user can hold the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 so that the part of the terminal accessory 100 not held can face the +Y direction; Fig.11 and Fig.12 In the embodiment, the user may hold the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 so that the part of the terminal accessory 100 not held may face any direction of the horizontal plane).
[0080] It should be noted that the present embodiment does not specifically limit the holding modes in the preset holding mode set. Any holding mode that can make the radiation capability of the directional antenna 120 in the target radiation direction better than the radiation capability in other directions is within the protection scope of the present embodiment.
[0081] In some embodiments, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 may further include a display device such as a display screen 221. The electronic device 10, the terminal accessory 100 or the mobile terminal 200 may display an image of the holding mode on the display device to output an indication signal so that the user can hold the terminal accessory 100 with reference to the image.
[0082] It is understandable that the electronic device 10, terminal accessory 100 or mobile terminal 200 outputs the indication signal in a manner not limited to the display screen 221 output, and may also output the indication signal through, but not limited to, a voice transmission through a speaker or other sound-generating device, a vibration motor, a flash light or other module. The specific manner of outputting the indication signal is not limited in the embodiment of the present application.
[0083] It is understandable that the electronic device 10, the terminal accessory 100 or the mobile terminal 200 may also be provided with a posture detection module (not shown) capable of detecting the posture of the terminal accessory 100, and the posture detection module may include but is not limited to a gyroscope, an accelerometer, an electronic compass, a motion sensor, etc. The electronic device 10, the terminal accessory 100 or the mobile terminal 200 may detect whether the user executes the instruction signal instructing the user to hold the terminal accessory 100 in the holding mode through the posture detection module.
[0084] It is understandable that after the electronic device 10, the terminal accessory 100 or the mobile terminal 200 detects the user's execution instruction signal, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can also control the directional antenna 120 to transmit a signal to verify whether the ability of the directional antenna 120 to receive signals in the target radiation direction in the holding state is stronger than the ability to receive signals in other radiation directions, thereby verifying whether the direction of the radiation field of the directional antenna 120 in the holding state is the target radiation direction. If the verification is successful, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can use the ability of the directional antenna 120 to receive signals in the target radiation direction to detect and locate the object to be tested 400; if the verification is unsuccessful, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can re-change another holding mode from the preset holding mode set as the holding mode until the radiation ability of the terminal accessory 100 in the target radiation direction is better than the radiation ability in other radiation directions. The embodiments of the present application do not specifically limit this.
[0085] In 102 , the positioning signal of the object under test 400 received by the directional antenna 120 in the target radiation direction is determined.
[0086] The electronic device 10, terminal accessory 100 or mobile terminal 200 can control the directional antenna 120 to be in a working state, and the directional antenna 120 can receive a signal of a specific frequency, which can be the same as the frequency of the positioning signal transmitted by the object under test 400 or be in the same frequency band, so that the directional antenna 120 can receive the positioning signal transmitted by the object under test 400.
[0087] It is understandable that the positioning signal can be any type of wireless signal carrying any information emitted by the object under test 400, and is not limited to a GPS signal carrying location information. For example, considering that most of the objects under test 400 and the terminal accessory 100 or the mobile terminal 200 can be connected to the same local area network, the positioning signal can be a signal in the form of Wi-Fi, and the directional antenna 120 and the object under test 400 can both transmit Wi-Fi signals.
[0088] In 103 , when the positioning signal strength meets a preset threshold, a prompt signal is generated to indicate the position of the object to be detected 400 .
[0089] After the terminal accessory 100 receives the positioning signal of the object to be tested 400, the terminal accessory 100 can compare the strength of the positioning signal with the preset threshold value by itself. The terminal accessory 100 can also transmit the received positioning signal to the mobile terminal 200 by wireless communication or electrical connection, so that the mobile terminal 200 can compare the strength of the positioning signal with the preset threshold value. Alternatively, the terminal accessory 100 can also be transmitted to the relevant module of the electronic device 10 by wireless communication or electrical connection, so that the electronic device 10 can compare the strength of the positioning signal with the preset threshold value. The embodiments of the present application do not specifically limit this.
[0090] When the electronic device 10, the terminal accessory 100 or the mobile terminal 200 determines that the signal strength of the positioning signal received by the directional antenna 120 meets the signal strength threshold, it means that the terminal accessory 100 receives the positioning signal transmitted by the object to be tested 400 very strongly, and the object to be tested 400 may be located near the terminal accessory 100. At this time, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can output a prompt signal indicating the position of the object to be tested 400 to remind the user that the object to be tested 400 is near the current position.
[0091] It is understandable that the terminal accessory 100 can output a prompt signal through the display screen 221, a speaker or other sound-generating device, etc. to remind the user of the position of the object to be measured 400.
[0092] It is understandable that the terminal accessory 100 may also transmit the prompt signal to the mobile terminal 200 or the electronic device 10 by wireless communication; or, the terminal accessory 100 may also transmit the prompt signal to the mobile terminal 200 or the electronic device 10 by electrical connection through the electrical connector 300. At this time, the mobile terminal 200 or the electronic device 10 may receive the prompt signal transmitted by the terminal accessory 100 by wireless communication or by electrical connection, and may output the prompt information corresponding to the indication signal by means of, but not limited to, the display screen 221, a speaker or other sound-emitting device, etc., to indicate the position of the user's object to be measured 400. The specific method of outputting the indication signal is not limited in the embodiment of the present application.
[0093] The positioning method of the embodiment of the present application determines the holding mode of the terminal accessory 100 so that the radiation capability of the directional antenna 120 in the target radiation direction is better than that in other directions. On the one hand, the directional antenna 120 with better directional performance is used to receive the positioning signal transmitted by the object to be tested 400 by virtue of its better radiation capability in the target radiation direction, so that the terminal accessory 100 can detect the positioning signal more sensitively. On the other hand, the holding mode determined by the terminal accessory 100 makes the directional antenna 120 more directional after the user holds a local area of the terminal accessory 100, thereby further improving the sensitivity of the terminal accessory 100 to the positioning signal, and the terminal accessory 100 can more accurately and quickly locate the object to be tested 400.
[0094] Among them, in the positioning method of the embodiment of the present application, the user can also move the terminal accessory 100 so that the directional antenna 120 can better receive the positioning signal of the object to be measured 400. At this time, step 102 can also include: after the user moves the terminal 200 accessory 100, determine the positioning signal of the object to be measured 400 received by the terminal accessory 100 in the target radiation direction. Exemplarily, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can select a mobile mode from a preset mobile mode set, and output a control signal instructing the user to use the mobile mode to move the terminal 200 accessory 100.
[0095] It is understandable that a preset movement mode set may be pre-stored in the electronic device 10, the terminal accessory 100 or the mobile terminal 200. The preset movement mode set may pre-store multiple preset movement modes, such as but not limited to: moving forward, moving to the left front, moving to the right front, moving upward, moving downward, etc. The terminal accessory 100 may select a movement mode from the multiple movement modes in the preset movement mode set as the movement mode of the terminal accessory 100 to control the user to move the terminal accessory 100.
[0096] It is understandable that the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can randomly select a movement mode from the preset movement mode set as the movement mode; the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can also select a movement mode from the preset movement mode set according to a preset movement rule (such as a direction priority rule). For example, please refer to Fig.17 , Fig.17 An application scenario diagram of the positioning method provided in an embodiment of the present application. The preset movement mode set may include multiple first movement modes and multiple second movement modes, and the multiple first movement modes may be movement modes in different directions in the same plane (for example, a movement mode toward the front, a movement mode toward the left front, and a movement mode toward the right front in the XOY plane). The multiple first movement modes may indicate that the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 moves in different directions in the first plane. Multiple second movement modes are movement modes in different directions in another plane (for example, an upward movement mode and a downward movement mode in the XOZ plane), and the multiple second movement modes may indicate that the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 moves in different directions in the second plane, and the second plane may be different from (for example, perpendicular to) the first plane. The electronic device 10, the terminal accessory 100 or the mobile terminal 200 can randomly select a movement mode from multiple first movement modes, such as moving straight forward as the movement mode. After the user moves the terminal accessory 100 according to at least one first movement mode, the positioning method of the embodiment of the present application can determine the positioning signal of the object to be measured 400 received by the directional antenna 120 in the target radiation direction.
[0097] In some embodiments, the terminal accessory 100 can output a control signal on the display screen 221 to instruct the user to move the terminal accessory 100 in a mobile mode. The terminal accessory 100 can also output the control signal through a speaker or other sound-emitting device. The terminal accessory 100 can also display an animated image of the mobile mode on the display screen 221 and output specific instructions for the mobile mode through a speaker or other sound-emitting device. In other embodiments, the terminal accessory 100 can also transmit the selected mobile mode to the mobile terminal 200 or the electronic device 10 through wireless communication or electrical connection, and the mobile terminal 200 or the electronic device 10 can output the mobile mode through the display screen 221, the speaker or other sound-emitting device according to the received mobile mode. In some other embodiments, the mobile terminal 200 or the electronic device 10 can output the mobile mode through its own display screen 221, the speaker or other sound-emitting device according to the mobile mode determined by itself. The embodiment of the present application does not limit the specific output method of the control signal.
[0098] It is understandable that, in order to facilitate the user to understand the movement mode more easily, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can, but is not limited to, display the movement mode in real time on the display screen 221 through easy-to-understand icons such as a compass, a compass, a direction arrow and a distance. At the same time, the posture detection module inside the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can also monitor the posture of the terminal accessory 100 in real time and notify the user in real time whether the current movement is correct, the next movement method and other indication information.
[0099] Among them, in some embodiments, the positioning method of the embodiments of the present application, after step 103, if the positioning signal strength does not meet the preset threshold, then a mobile mode different from the previously selected one can be determined again as a new mobile mode of the terminal accessory 100. After the user moves the terminal accessory 100 according to the newly selected mobile mode, the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction can continue to be determined until the signal strength of the positioning signal meets the preset threshold, and then a prompt signal indicating the position of the object to be tested 400 is output.
[0100] It can be understood that when the positioning signal strength received by the directional antenna 120 of the terminal accessory 100 does not meet the preset threshold, it means that the terminal accessory 100 receives the positioning signal transmitted by the object to be tested 400 not very strongly, and the distance between the object to be tested 400 and the terminal accessory 100 is far. At this time, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can again select another new mobile mode different from the aforementioned selection from the preset mobile mode set (for example, select another mobile mode from the first mobile mode and the second mobile mode), and again output a new control signal instructing the user to move the terminal accessory 100 in the new mobile mode; after the user moves the terminal accessory 100 in the new mobile mode, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can again control the directional antenna 120 to receive the positioning signal transmitted by the object to be tested 400. signal, and determine again whether the positioning signal strength meets the preset threshold. If so, it means that the current position after the terminal accessory 100 is moved in the new mobile mode is closer to the object to be measured 400, and the terminal accessory 100 or the mobile terminal 200 can output a prompt signal indicating the position of the object to be measured 400; if not, it means that the current position after the terminal accessory 100 is moved in the new mobile mode is still far from the object to be measured 400. At this time, the above steps can be repeated again until the positioning signal strength obtained by the directional antenna 120 of the terminal accessory 100 meets the preset threshold at the current position after the terminal accessory 100 is moved in the new mobile mode. Then, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can output a prompt signal indicating the position of the object to be measured 400 to remind the user that the object to be measured 400 is near the current position.
[0101] For example, Fig.17 As shown, when the positioning signal strength received by the directional antenna 120 does not meet the preset threshold, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can select one or more movement modes from the second movement modes after selecting each first movement mode to control the user to move the terminal accessory 100. After the user moves the terminal accessory 100 according to each first movement mode and at least one second movement mode, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can determine the positioning signal of the object to be detected 400 received by the directional antenna 120 in the target radiation direction. Therefore, the positioning method of the embodiment of the present application can select a plurality of first movement modes in the first plane first, and then select a movement mode from a plurality of second movement modes in the second plane. The selection of the movement mode is more regular, and the terminal accessory 100 can be gradually discharged and approached to the object to be detected 400 in the order from the XOY plane to the XOZ plane. The detection of the object to be detected 400 is more regular, that is, it is not easy to miss the undetected space, and the position of the detected object can also be determined quickly and accurately. Of course, it should be noted that the terminal accessory 100 may also first select a movement mode from a plurality of second movement modes, and then select a movement mode from a plurality of first movement modes. This embodiment of the present application does not specifically limit this.
[0102] It is understandable that when the positioning signal strength received by the directional antenna 120 does not meet the preset threshold, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can change the position and select the first movement mode and the second movement mode multiple times. Fig.18 , Fig.18 Another application scenario diagram of the positioning method provided in the embodiment of the present application. When the electronic device 10, the terminal accessory 100 or the mobile terminal 200 selects each first movement mode at position A, or after selecting each second movement mode, or after selecting each first movement mode and each second movement mode, the positioning signal strength received by the directional antenna 120 still does not meet the preset threshold value, at this time, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can prompt the user to change the position of the terminal accessory 100, for example but not limited to moving the terminal accessory 100 up / down / left / right by a preset distance to position B. After the user moves the terminal accessory 100 according to each first movement mode, and after the position of the terminal accessory 100 is changed, the user re-moves the terminal accessory 100 according to at least one first movement mode or at least one second movement mode, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can determine the positioning signal of the object to be measured 400 received by the directional antenna 120 in the target radiation direction. Therefore, the positioning method of the embodiment of the present application can gradually change the detection points to detect the position of the object to be detected 400, the detection of the object to be detected 400 is more regular, and it is easier to find the object to be detected 400.
[0103] It should be noted that when the user is at point A or point B, Fig.18 The terminal accessory 100 is shown to be moved in at least one of the first moving mode and the second moving mode, and may also be moved in other ways such as, but not limited to, a random moving mode, a circular moving mode, etc. The present application embodiment does not limit this.
[0104] It can be understood that when the positioning signal strength does not meet the preset threshold, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can also re-determine the holding mode of the terminal accessory 100, for example, select another holding mode different from the aforementioned selection from the preset holding modes as the holding mode of the terminal accessory 100, until the strength of the positioning signal meets the preset threshold, and then generate a prompt signal indicating the position of the object to be tested 400.
[0105] It can be understood that when the signal strength of the positioning signal does not meet the preset threshold, the electronic device 10, terminal accessory 100 or mobile terminal 200 can not only select another mobile mode from the preset mobile mode set and output the control signal again, but also select the holding mode from the preset holding mode set and output the indication signal again.
[0106] Among them, before determining the holding mode of the terminal accessory 100, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 may also output a mobile signal of the mobile terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100, and control the directional antenna 120 to receive the antenna signal in the free space during the movement. It is understandable that the mobile signal may be, but is not limited to, instructing the user to move the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 in a 360-degree circle at a certain location, or instructing the user to move the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 along the edge of the area, such as the edge of the room (for example, moving around the edge of the room in a circle). The embodiment of the present application does not limit the specific movement mode indicated by the mobile signal. After the directional antenna 120 receives the antenna signal in the free space, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can analyze the type and signal strength of the antenna signal and determine whether the antenna signal is a positioning signal transmitted by the object under test 400. If the antenna signal is a positioning signal transmitted by the object under test 400, a holding mode can be selected from a preset holding mode set.
[0107] Among them, please refer to Fig.19 , Fig.19A schematic diagram of the structure of a terminal accessory 100 provided in an embodiment of the present application. When the terminal accessory 100 is also provided with an antenna module 130 with good omnidirectional performance (such as the first wireless module 110 of the aforementioned embodiment), determining the holding mode of the terminal accessory 100 includes: controlling the antenna module 130 to receive antenna signals in free space; when the antenna signal may be a positioning signal transmitted by the object to be tested 400, determining the holding mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100. It is understandable that the antenna module 130 may be, but is not limited to, a Wi-Fi module or a Bluetooth module. It is understandable that the antenna module 130 may be, but is not limited to, a module set composed of multiple antennas. For example, the antenna module 130 may include two antennas with complementary radiation directions, and the radiation direction of the antenna module 130 formed by the two antennas is omnidirectional. Based on this, the embodiment of the present application does not limit the specific structure of the antenna module 130.
[0108] In the positioning method of the embodiment of the present application, when the terminal accessory 100 detects and locates the object to be tested 400, it can first pre-determine whether the object to be tested 400 is within the range covered by the signal of the terminal accessory 100 through the signal received by the directional antenna 120 or the antenna module 130. If not, the terminal accessory 100 may not perform subsequent detection and positioning in the area; if it is, the terminal accessory 100 can detect the specific position of the object to be tested 400 according to the positioning method of the aforementioned embodiment. The positioning method of the embodiment of the present application can improve the efficiency of positioning the object to be tested 400 by pre-determining the object to be tested 400 by detecting whether there is a positioning signal before positioning.
[0109] Based on the above description, please refer to Fig. 20 , Fig. 20 A control flow chart of the positioning method provided in the embodiment of the present application is provided below. A control step of the positioning method in the embodiment of the present application is briefly described:
[0110] Control the directional antenna 120 to receive the antenna signal in the free space; determine whether the antenna signal received by the directional antenna 120 is a positioning signal transmitted by the object to be tested 400; when the antenna signal is not a positioning signal transmitted by the object to be tested 400, the electronic device 10, the terminal accessory 100 or the mobile terminal 200 can output a signal indicating to the user that there is no object to be tested 400 in the space, and end the present process; when the antenna signal may be a positioning signal transmitted by the object to be tested 400, determine the holding mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100; detect whether the user holds the terminal accessory 100 or the mobile terminal 200 according to the holding mode; after the user holds the terminal accessory 100 or the mobile terminal 200, determine whether the terminal accessory 100 or the mobile terminal 200 is held in the holding mode. 100 or a moving mode of a mobile terminal 200 equipped with the terminal accessory 100; detecting whether the user moves the terminal accessory 100 or the mobile terminal 200 according to the moving mode; after the user moves the terminal accessory 100 or the mobile terminal 200, determining the positioning signal of the object to be measured 400 received by the terminal accessory 100 in the target radiation direction; judging whether the strength of the positioning signal meets a preset threshold value, if the strength of the positioning signal does not meet the preset threshold value, determining again another moving mode (and / or another holding mode) of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 until the strength of the positioning signal meets the preset threshold value; if the strength of the positioning signal meets the preset threshold value, generating a prompt signal to indicate the position of the object to be measured 400.
[0111] It should be noted that the above control flow chart is only an illustrative example of the positioning method of the embodiment of the present application, and it is not limited to this. For example, when the positioning signal strength does not meet the preset threshold, the terminal accessory 100 or the mobile terminal 200 can also loop the above steps from the step of re-determining another holding mode of the terminal accessory 100. The embodiment of the present application does not specifically limit the specific control process of the positioning method. It can be understood that in the specific implementation, the present application is not limited by the execution order of the various steps described, and some steps can also be performed in other orders or simultaneously without conflict.
[0112] The above embodiments are only individual specific application scenarios of the positioning method of the embodiment of the present application. It can be understood that the positioning method of the present application can also be used in other application scenarios, and the embodiment of the present application does not limit the specific application scenarios of the positioning method.
[0113] Based on the above positioning method, the present application embodiment also provides a terminal accessory 100. Fig.21 , Fig.21Another structural diagram of the terminal accessory 100 provided in the embodiment of the present application. The terminal accessory 100 includes at least an electrically connected first processor 140 and a first memory 150. The first processor 140 is the control center of the terminal accessory 100. It uses various interfaces and lines to connect various parts of the entire terminal accessory 100. By running or calling the computer program stored in the first memory 150, and calling the data stored in the first memory 150, the terminal accessory 100 is executed. Various functions and data processing are performed, thereby monitoring the terminal accessory 100 as a whole. The first memory 150 can be used to store computer programs and data. The computer program stored in the first memory 150 contains instructions that can be executed in the first processor 140. The computer program can be composed of various functional modules. The first processor 140 executes various functional applications and data processing by calling the computer program stored in the first memory 150.
[0114] In some embodiments, the terminal accessory 100 can independently complete all the steps in the above positioning method. Exemplarily, the first processor 140 in the terminal accessory 100 will load the instructions corresponding to the processes of one or more computer programs into the first memory 150 according to the following steps, and the first processor 140 will run the computer program stored in the first memory 150 to achieve various functions: determine the holding mode of the terminal accessory 100 so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions; determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction; when the positioning signal strength meets the preset threshold, generate a prompt signal to indicate the position of the object to be tested 400.
[0115] It can be understood that the terminal accessory 100 of the embodiment of the present application can also include but is not limited to control circuits, input and output circuits, display devices, sensor devices, acoustic-to-electric conversion devices, power supplies and other structures. These structures can be found in the description of related technologies and will not be repeated here.
[0116] It is understandable that the first processor 140 in the terminal accessory 100 can also implement various functions of the positioning method according to the steps of the positioning method in the above embodiment. The specific contents can be found in the above embodiment and will not be described in detail here.
[0117] In other embodiments, the terminal accessory 100 may also complete one or more steps in the above positioning method. Exemplarily, the terminal accessory 100 or the first processor 140 may be used to: after the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction, so that when the positioning signal strength meets the preset threshold, the terminal body 220 generates a prompt signal to indicate the position of the object to be tested 400.
[0118] In some embodiments, the terminal accessory 100 or the first processor 140 can also be used to: when the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, and after the user moves the terminal accessory 100, determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction.
[0119] In some embodiments, the terminal accessory 100 or the first processor 140 can also be used to: when the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, and after the user moves the terminal accessory 100 according to at least one first movement mode, determine the positioning signal of the object to be tested 400 received by the antenna 120 in the target radiation direction.
[0120] In some embodiments, the terminal accessory 100 or the first processor 140 can also be used to: when the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, and after the user moves the terminal accessory 100 according to each first movement mode and at least one second movement mode, determine the positioning signal of the object to be tested 400 received by the antenna 120 in the target radiation direction.
[0121] In some embodiments, the terminal accessory 100 or the first processor 140 can also be used to: when the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, and after the user moves the terminal accessory 100 according to each first movement mode and after the position of the terminal accessory 100 changes, the user re-moves the terminal accessory 100 according to at least one first movement mode and / or at least one second movement mode, determine the positioning signal of the object to be tested 400 received by the antenna 120 in the target radiation direction.
[0122] In some embodiments, the terminal accessory 100 or the first processor 140 can also be used to: when the positioning signal strength does not meet the preset threshold and after the position of the terminal accessory 100 changes, continue to determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction until the positioning signal strength meets the preset threshold.
[0123] In some embodiments, the terminal accessory 100 also includes an antenna module 130, which can be electrically connected to the first processor 140; the terminal accessory 100 or the first processor 140 is also used to: control the antenna module 130 to receive antenna signals in free space; when the antenna signal may be a positioning signal transmitted by the object under test 400, and when the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, determine the positioning signal of the object under test 400 received by the directional antenna 120 in the target radiation direction.
[0124] In some embodiments, the terminal accessory 100 or the first processor 140 can also be used to: when the terminal accessory 100 is moved by the user according to the mobile signal, control the directional antenna 120 to receive the antenna signal in the free space during the movement; when the antenna signal may be a positioning signal transmitted by the object under test 400, and when the terminal accessory 100 is held by the user in a holding mode so that the radiation capability of the directional antenna 120 in the target radiation direction is better than the radiation capability in other directions, determine the positioning signal of the object under test 400 received by the directional antenna 120 in the target radiation direction.
[0125] It should be noted that the steps processed by the terminal accessory 100 or the first processor 140 may also be processed by the directional antenna 120. That is, the terminal accessory 100 may also not include the first processor 140 and the first memory 150. The specific structure of the terminal accessory 100 is not described in the embodiment of the present application.
[0126] Based on the above positioning method and the structure of the terminal accessory 100, please refer to Fig. 22 , Fig. 22 Another structural diagram of a mobile terminal provided in an embodiment of the present application. When the mobile terminal 200 includes a terminal accessory 100 and a terminal body 220, the above positioning method in the embodiment of the present application can be applied to the mobile terminal 200, and the implementation subject of one or more steps in the positioning method can be the terminal accessory 100, and the implementation subject of another one or more steps can also be the terminal body 220. The mobile terminal 200 may include a terminal accessory 100 that can implement the positioning method in the above embodiment.
[0127] Among them, the terminal body 220 at least includes an electrically connected second processor 225 and a second memory 226. The second processor 225 is the control center of the terminal body 220. It uses various interfaces and lines to connect various parts of the entire terminal body 220. By running or calling the computer program stored in the second memory 226, and calling the data stored in the second memory 226, the terminal body 220 is executed. Various functions and processing data are performed, thereby monitoring the terminal body 220 as a whole. The second memory 226 can be used to store computer programs and data. The computer program stored in the second memory 226 contains instructions that can be executed in the second processor 225. The computer program can be composed of various functional modules. The second processor 225 executes various functional applications and data processing by calling the computer program stored in the second memory 226. It can be understood that the second processor 225 and the second memory 226 can also be the main processor and main memory of the mobile terminal 200.
[0128] In some embodiments, the terminal body 220 or the second processor 225 is used to: determine the holding mode of the terminal accessory 100 so that the radiation capability of the directional antenna 120 of the terminal accessory 100 in the target radiation direction is better than the radiation capability in other directions; when the positioning signal strength of the object to be tested 400 received by the directional antenna 120 in the target radiation direction meets the preset threshold, a prompt signal is generated to indicate the position of the object to be tested 400.
[0129] In some embodiments, the terminal body 220 or the second processor 225 is used for: when the directional antenna 120 is an array antenna, the terminal body 220 is also used for: determining that the holding mode of the terminal accessory 100 is not to block the main radiation direction of the array antenna 120. Of course, the directional antenna 120 in this step is not limited to an array antenna, and can also be other antenna structures with better directional performance, which is not limited in the embodiments of the present application.
[0130] In some embodiments, the terminal body 220 or the second processor 225 is used for: when the directional antenna 120 includes an antenna unit, the terminal body 220 is also used for: determining that the holding mode of the terminal accessory 100 is to block part of the radiation direction of the antenna unit so that the radiation direction of the blocked antenna unit is toward the target radiation direction. It can be understood that the antenna unit in this step can be an antenna structure with better directional performance, or an antenna structure with weaker directional performance but having better performance after being held in the holding mode, and the embodiments of the present application are not limited to this.
[0131] In some embodiments, the terminal body 220 or the second processor 225 is used to: select a holding mode from a set of preset holding modes according to the target radiation direction of the directional antenna 120, and the preset holding modes are centrally stored in multiple holding modes; and output an indication signal instructing the user to use the holding mode to hold the terminal accessory 120.
[0132] Based on the structure of the above-mentioned terminal accessory 100 and terminal body 220, after the mobile terminal 200 of the embodiment of the present application enters the positioning mode, the terminal body 220 can determine the holding mode of the terminal accessory 100 and output it through components such as a display screen and a speaker, so that the user can obtain the holding mode; then, the terminal body 220 can transmit a first notification signal to the terminal accessory 100 through an electrical connection or a wireless communication after detecting that the user holds the terminal accessory 100 or the terminal accessory 100 in the holding mode, so that the terminal accessory 100 can determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction; the terminal accessory 100 can send the parameter information of the received positioning signal of the object to be tested 400 to the terminal body 220, and the terminal body 220 can analyze the parameter information and generate a prompt signal to indicate the position of the object to be tested 400 when the positioning signal strength meets the preset threshold.
[0133] It is understandable that, in the above steps, the terminal body 220 or the second processor 225 may also transmit the first notification signal directly to the terminal accessory 100 without detecting whether the user is holding the terminal accessory 100 or the terminal accessory 100 in the holding mode. In the above steps, the terminal accessory 100 or the first processor 140 may also analyze the parameter information of the positioning signal by itself, and send the second notification signal to the terminal body 220 when the positioning signal strength meets the preset threshold, so that the terminal body 220 can generate a prompt signal to indicate the position of the object to be detected 400. The embodiment of the present application does not limit the specific interaction method between the terminal accessory 100 and the terminal body 220.
[0134] Based on the above positioning method and the structures of the terminal accessory 100, the terminal body 220 and the mobile terminal 200, when the terminal accessory 100 and the mobile terminal 200 are two independent components and the electronic device 10 includes the terminal accessory 100 and the mobile terminal 200, the positioning method of the embodiment of the present application can be applied to the electronic device 10, and the implementation subject of one or more steps in the positioning method can be the terminal accessory 100, and the implementation subject of another one or more steps can also be the mobile terminal 200 or the terminal body 220 of the mobile terminal 200. Among them, the process steps that can be implemented by the terminal accessory 100 can refer to the description of the terminal accessory 100 in the above embodiment, and will not be repeated here; the process steps that can be implemented by the mobile terminal 200 or the terminal body 220 can refer to the description of the mobile terminal 200 or the terminal body 220 in the above embodiment, and will not be repeated here.
[0135] The embodiment of the present application further provides a storage medium, in which a computer program is stored. When the computer program runs on the first processor 140 or the second processor 225, the first processor 140 or the second processor 225 executes the positioning method of any of the above embodiments. It can be understood that the functions of the first processor 140 or the second processor 225 can refer to the first processor 140 or the second processor 225 in the above embodiments, which will not be repeated here.
[0136] It should be noted that, a person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the storage medium can include but is not limited to: a read-only first memory 150 (ROM, ReadOnly Memory), a random access first memory 150 (RAM, Random Access Memory), a disk or an optical disk, etc.
[0137] It should be noted that the specific implementation of each of the above operations can refer to the previous embodiments, which will not be repeated here. In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in one embodiment, refer to the relevant description of other embodiments.
[0138] Based on the above positioning method, the present application embodiment also provides a positioning device 500, please refer to Fig.23 , Fig.23 The first structural schematic diagram of the positioning device 500 is provided for the embodiment of the present application. The positioning device 500 is applied to the electronic device 10. The electronic device 10 includes a terminal accessory 100. The terminal accessory 100 includes a directional antenna 120. The positioning device 500 includes a grip control module 510, a radio frequency control module 520 and a positioning module 530.
[0139] A holding control module 510, configured to determine a holding mode of the terminal accessory 100 or a mobile terminal 200 equipped with the terminal accessory 100, so that the radiation capability of the directional antenna 120 in a target radiation direction is better than that in other directions;
[0140] The radio frequency control module 520 is used to determine the positioning signal of the object under test 400 received by the directional antenna 120 in the target radiation direction;
[0141] The positioning module 530 is used to generate a prompt signal to indicate the position of the object to be detected 400 when the positioning signal strength meets a preset threshold.
[0142] The holding control module 510 is further used to select a holding mode from a set of preset holding modes according to the target radiation direction of the directional antenna 120 , and the preset holding modes are centrally stored in a plurality of holding modes.
[0143] Among them, the directional antenna 120 can be an array antenna, the array antenna includes multiple antenna units and a feeding network, the feeding network is electrically connected to each antenna unit, and the main radiation direction of each antenna unit is toward the target radiation direction. At this time, the holding control module 510 is also used to: determine that the holding mode of the terminal accessory 100 is not to block the main radiation direction of the array antenna. It can be understood that when the directional antenna 120 is other antenna structures, the holding control module 510 can also be used to: determine that the holding mode of the terminal accessory 100 is not to block the main radiation direction of the directional antenna. The embodiment of the present application does not limit the specific working mode of the holding control module 510.
[0144] Among them, the directional antenna includes an antenna unit and a feeding network, and the feeding network is electrically connected to the antenna unit. After the user adopts the holding mode to hold the terminal accessory 100, the radiation direction of the antenna unit is toward the target radiation direction. At this time, the holding control module 510 is also used to: determine that the holding mode of the terminal accessory 100 is to block part of the radiation direction of the antenna unit so that the radiation direction of the antenna unit after being blocked is toward the target radiation direction. It can be understood that when the directional antenna is other antenna structures, the holding control module 510 can also be used to: determine that the holding mode of the terminal accessory 100 is to block part of the radiation direction of the antenna unit so that the radiation direction of the antenna unit after being blocked is toward the target radiation direction. The embodiment of the present application does not limit the specific working mode of the holding control module 510.
[0145] Among them, please refer to Fig.24 , Fig.24 A second structural diagram of a positioning device 500 is provided for an embodiment of the present application. The positioning device 500 may further include a movement control module 540 .
[0146] The mobile control module 540 is used to determine the mobile mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100. At this time, the RF control module 520 is also used to determine the positioning signal of the object to be tested 400 received by the terminal accessory 100 in the target radiation direction after the user moves the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100.
[0147] Among them, the terminal accessory 100 or the mobile terminal 200 is provided with a preset mobile mode set, and the preset mobile mode set includes multiple first mobile modes and multiple second mobile modes, and the multiple first mobile modes are used to instruct the terminal accessory 100 to move in different directions in a first plane, and the multiple second mobile modes are used to instruct the terminal accessory 100 to move in different directions in a second plane, and the second plane is different from the first plane. The mobile control module 540 is also used to: select a mobile mode from the multiple first mobile modes; at this time, the radio frequency control module 520 is also used to determine the positioning signal of the object to be measured 400 received by the directional antenna 120 in the target radiation direction after the user moves the terminal accessory 100 according to at least one first mobile mode.
[0148] It can be understood that the mobile control module 540 is also used to: after selecting each first mobile mode, select another mobile mode from multiple second mobile modes; at this time, the radio frequency control module 520 is also used to: after the user moves the terminal accessory 100 according to each first mobile mode and at least one second mobile mode, determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction.
[0149] It can be understood that the movement control module 540 is also used to: after the terminal accessory 100 is moved according to each first movement mode and / or each second movement mode, control the user to change the position of the terminal accessory and select another movement mode from the multiple first movement modes or the second movement modes; at this time, the radio frequency control module 520 is also used to: after the user moves the terminal accessory 100 according to each first movement mode (and / or each second movement mode) and the position of the terminal accessory 100 is changed, the user re-moves the terminal accessory 100 according to at least one first movement mode and / or at least one second movement mode, determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction. Among them, the radio frequency control module 520 is also used to: when the positioning signal strength does not meet the preset threshold, after the user moves the terminal accessory 100 again, continue to determine the positioning signal of the object to be tested 400 received by the directional antenna 120 in the target radiation direction, until the positioning signal strength meets the preset threshold, and the positioning module 530 is used to generate a prompt signal.
[0150] Among them, the mobile control module 540 is also used to: when the strength of the positioning signal does not meet the preset threshold, re-determine the movement mode of the terminal accessory 100 or the mobile terminal 200 equipped with the terminal accessory 100 until the strength of the positioning signal meets the preset threshold, and the positioning module 530 is used to generate a prompt signal.
[0151] The holding control module 510 is also used to: when the strength of the positioning signal does not meet the preset threshold, re-determine the holding mode of the terminal accessory 100 until the strength of the positioning signal meets the preset threshold, and the positioning module 530 is used to generate a prompt signal.
[0152] Among them, the holding control module 510 is also used to: output a movement signal instructing the user to move the terminal accessory 100, and control the directional antenna 120 to receive the antenna signal in the free space during the movement; when the antenna signal may be a positioning signal transmitted by the object under test 400, determine the holding mode of the terminal accessory 100.
[0153] Among them, the terminal accessory 100 can also include an antenna module 130; the holding control module 510 is also used to: control the antenna module 130 to receive antenna signals in free space; when the antenna signal may be a positioning signal transmitted by the object under test 400, determine the holding mode of the terminal accessory 100.
[0154] Among them, Fig.24 As shown, the positioning device 500 may further include a transmission control module 550. When the terminal accessory 100 is in communication connection with the mobile terminal 200, the transmission control module 550 is further used to: transmit the indication signal to the mobile terminal 200 via wireless communication. When the terminal accessory 100 is electrically connected to the mobile terminal 200, the transmission control module 550 is further used to: transmit the indication signal to the mobile terminal 200 via electrical connection.
[0155] It can be understood that, in specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation of the above modules can be found in the previous method embodiments, which will not be repeated here.
[0156] It should be noted that the positioning device 500 provided in the embodiment of the present application belongs to the same concept as the positioning method in the above embodiment. Any method provided in the positioning method embodiment can be run on the positioning device 500. The specific implementation process is detailed in the positioning method embodiment and will not be repeated here.
[0157] In the positioning device 500 of the embodiment of the present application, the holding control module 510 determines the holding mode of the terminal accessory 100. When the user holds the terminal accessory 100, the radiation capability of the directional antenna 120 in the target radiation direction can be better than the radiation capability in other directions. On the one hand, the directional antenna 120 with better directional performance can be used to receive the positioning signal transmitted by the object to be tested 400 by using its better radiation capability in the target radiation direction, so that the terminal accessory 100 can detect the positioning signal more sensitively. On the other hand, the holding mode determined by the terminal accessory 100 makes the directional antenna 120 more directional after the user holds a local area of the terminal accessory 100, thereby further improving the sensitivity of the terminal accessory 100 to the positioning signal, and the terminal accessory 100 can locate the object to be tested 400 more accurately and quickly.
[0158] The positioning method, device, terminal accessories, mobile terminal and electronic device provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A positioning method, characterized in that: include: Determining a holding mode of the terminal accessory so that the radiation capability of the directional antenna of the terminal accessory in a target radiation direction is better than the radiation capability in other directions; In the holding mode, determining a positioning signal of the object to be measured received by the directional antenna in the target radiation direction; When the positioning signal strength meets a preset threshold, a prompt signal is generated to indicate the position of the object to be detected; When the positioning signal strength does not meet the preset threshold, the holding mode is maintained and the position of the terminal accessory is moved, and the positioning signal of the object to be measured received by the directional antenna in the target radiation direction is continued to be determined.
2. The positioning method according to claim 1, characterized in that: The directional antenna is an array antenna, which includes a plurality of antenna units and a feeding network. The feeding network is electrically connected to each of the antenna units, and the main radiation direction of each of the antenna units is toward the target radiation direction.
3. The positioning method according to claim 2, characterized in that: The determining the holding mode of the terminal accessory includes: Determine that the holding mode of the terminal accessory does not block the main radiation direction of the array antenna.
4. The positioning method according to claim 1, characterized in that: The directional antenna includes an antenna unit and a feeding network, wherein the feeding network is electrically connected to the antenna unit. After the user holds the terminal accessory in a holding mode, the radiation direction of the antenna unit is toward the target radiation direction.
5. The positioning method according to claim 4, characterized in that: The determining the holding mode of the terminal accessory includes: It is determined that the holding mode of the terminal accessory is to block part of the radiation direction of the antenna unit, so that the radiation direction of the antenna unit after being blocked is oriented toward the target radiation direction.
6. The positioning method according to claim 1, characterized in that: The determining the holding mode of the terminal accessory includes: Selecting a holding mode from a set of preset holding modes according to a target radiation direction of the directional antenna, wherein the preset holding modes are centrally stored in a plurality of holding modes; An indication signal is outputted to instruct the user to hold the terminal accessory in the holding mode.
7. The positioning method according to claim 1, characterized in that: Determining the positioning signal of the object to be measured received by the directional antenna in the target radiation direction in the holding mode includes: In the holding mode and after the user moves the terminal accessory, a positioning signal of the object to be measured received by the directional antenna in the target radiation direction is determined.
8. The positioning method according to claim 7, characterized in that: A plurality of first movement modes are pre-set in the terminal accessory, and the plurality of first movement modes are used to instruct the terminal accessory to move in different directions in the first plane; After the user moves the terminal accessory, determining the positioning signal of the object to be measured received by the directional antenna in the target radiation direction includes: In the holding mode, after the user moves the terminal accessory according to at least one of the first movement modes, a positioning signal of the object to be measured received by the directional antenna in the target radiation direction is determined.
9. The positioning method according to claim 8, characterized in that: The terminal accessory is also pre-set with a plurality of second movement modes, and the plurality of second movement modes are used to instruct the terminal accessory to move in different directions in a second plane, and the second plane is different from the first plane; After the user moves the terminal accessory in the holding mode according to at least one of the first movement modes, determining the positioning signal of the object to be measured received by the directional antenna in the target radiation direction includes: In the holding mode, after the user moves the terminal accessory according to each of the first movement modes and at least one of the second movement modes, a positioning signal of the object to be measured received by the directional antenna in the target radiation direction is determined.
10. The positioning method according to claim 8, characterized in that: The terminal accessory is also pre-set with a plurality of second movement modes, and the plurality of second movement modes are used to instruct the terminal accessory to move in different directions in a second plane, and the second plane is different from the first plane; After the user moves the terminal accessory in the holding mode according to at least one of the first movement modes, determining the positioning signal of the object to be measured received by the directional antenna in the target radiation direction includes: In the holding mode, the user moves the terminal accessory according to each of the first movement modes, and after the position of the terminal accessory changes, the user moves the terminal accessory again according to at least one of the first movement modes and / or at least one of the second movement modes, determine the positioning signal of the object to be measured received by the directional antenna in the target radiation direction.
11. The positioning method according to claim 7, characterized in that: The positioning method further includes: When the positioning signal strength does not meet the preset threshold and the position of the terminal accessory changes, the positioning signal of the object to be measured received by the directional antenna in the target radiation direction continues to be determined until the positioning signal strength meets the preset threshold, and the prompt signal is generated.
12. The positioning method according to claim 1, characterized in that: The terminal accessory further includes an antenna module; and determining the holding mode of the terminal accessory includes: Controlling the antenna module to receive antenna signals in free space; When the antenna signal may be a positioning signal transmitted by the object to be tested, the holding mode of the terminal accessory is determined.
13. The positioning method according to claim 1, characterized in that: The determining the holding mode of the terminal accessory includes: Outputting a moving signal instructing to move the terminal accessory, and controlling the directional antenna to receive antenna signals in free space during the movement; When the antenna signal may be a positioning signal transmitted by the object to be tested, the holding mode of the terminal accessory is determined.
14. A positioning device, characterized in that: include: A holding control module, used to determine a holding mode of the terminal accessory so that the radiation capability of the directional antenna of the terminal accessory in a target radiation direction is better than the radiation capability in other directions; A radio frequency control module, used for determining, in the holding mode, a positioning signal of the object to be measured received by the directional antenna in the target radiation direction; and used to maintain the holding mode and continue to determine the positioning signal of the object to be measured received by the directional antenna in the target radiation direction after changing the position of the terminal accessory when the positioning signal strength does not meet the preset threshold; The positioning module is used to generate a prompt signal to indicate the position of the object to be detected when the strength of the positioning signal meets a preset threshold.
15. The positioning device according to claim 14, characterized in that: The radio frequency control module is also used to determine the positioning signal of the object to be measured received by the directional antenna in the target radiation direction after the user moves the terminal accessory.
16. A terminal accessory, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the positioning method according to any one of claims 1 to 13 when executed by the processor.
17. A terminal accessory, characterized in that: The terminal accessory is used to connect with the mobile terminal or the terminal body of the mobile terminal, the terminal accessory includes a directional antenna, and the terminal accessory is used to: After the terminal accessory is held by the user in a holding mode so that the radiation capability of the directional antenna in a target radiation direction is better than the radiation capability in other directions, the holding mode is maintained and a positioning signal of the object to be measured received by the directional antenna in the target radiation direction is determined, so that when the positioning signal strength meets a preset threshold, the mobile terminal or the terminal body generates a prompt signal to indicate the position of the object to be measured; The terminal accessory is also used to maintain the holding mode and continue to determine the positioning signal of the object to be measured received by the directional antenna in the target radiation direction after changing the position of the terminal accessory if the positioning signal strength does not meet the preset threshold.
18. The terminal fitting according to claim 17, characterized in that: The terminal accessory further includes an antenna module; the terminal accessory is also used for: Controlling the antenna module to receive antenna signals in free space; When the antenna signal may be a positioning signal transmitted by the object to be tested, and when the terminal accessory is held by the user in a holding mode so that the radiation capability of the directional antenna in the target radiation direction is better than the radiation capability in other directions, the positioning signal of the object to be tested received by the directional antenna in the target radiation direction is determined.
19. The terminal fitting according to claim 17, characterized in that: The terminal fittings are also used for: When the terminal accessory maintains the holding mode and is moved by the user according to the mobile signal, controlling the directional antenna to receive the antenna signal in the free space during the movement; When the antenna signal may be a positioning signal transmitted by the object to be tested, and when the terminal accessory is held by the user in a holding mode so that the radiation capability of the directional antenna in the target radiation direction is better than the radiation capability in other directions, the positioning signal of the object to be tested received by the directional antenna in the target radiation direction is determined.
20. A mobile terminal, characterized in that: It comprises a terminal accessory and a terminal body, wherein the terminal body is connected to the terminal accessory, and the terminal accessory is the terminal accessory according to any one of claims 17 to 19.
21. A mobile terminal, characterized in that: The terminal comprises a terminal accessory and a terminal body, wherein the terminal body is connected to the terminal accessory, the terminal accessory comprises a directional antenna, and the terminal body is used for: Determining a holding mode of the terminal accessory so that the radiation capability of the directional antenna of the terminal accessory in a target radiation direction is better than the radiation capability in other directions; When the terminal accessory maintains the holding mode and the positioning signal strength of the object to be measured received by the directional antenna in the target radiation direction meets the preset threshold, a prompt signal is generated to indicate the position of the object to be measured; and, after the positioning signal strength does not meet the preset threshold and the terminal accessory maintains the holding mode and moves its position and the positioning signal strength of the object to be measured received by the directional antenna in the target radiation direction meets the preset threshold, a prompt signal is generated to indicate the position of the object to be measured.
22. The mobile terminal according to claim 21, characterized in that: When the directional antenna is an array antenna, the terminal body is further used to: determine that the holding mode of the terminal accessory is not to block the main radiation direction of the array antenna.
23. The mobile terminal according to claim 21, characterized in that: When the directional antenna includes an antenna unit, the terminal body is further used to: determine that the holding mode of the terminal accessory is to block part of the radiation direction of the antenna unit, so that the radiation direction of the antenna unit after being blocked is toward the target radiation direction.
24. A mobile terminal, characterized in that: The mobile terminal comprises a terminal body and a terminal accessory, wherein the terminal accessory is connected to the terminal body, and the mobile terminal is used to execute the positioning method as claimed in any one of claims 1 to 13.
25. An electronic device, characterized in that: It comprises a mobile terminal and a terminal accessory, wherein the terminal accessory is communicatively connected or electrically connected to the mobile terminal, and the electronic device is used to execute the positioning method as described in any one of claims 1 to 13.
26. The electronic device according to claim 25, characterized in that: When the terminal accessory is connected to the mobile terminal for communication, the mobile terminal includes a first Bluetooth module, and the terminal accessory includes a second Bluetooth module, and the first Bluetooth module is used for wireless communication connection with the second Bluetooth module.
27. The electronic device according to claim 25, characterized in that: When the terminal accessory is electrically connected to the mobile terminal, the terminal accessory is used to be electrically connected to the mobile terminal through a spring pin connector or a USB connector.
