Terminal equipment positioning method and device, storage medium and electronic device

By detecting the base station connection status and signal transmission delay, and assigning advance parameters to find the distributive end of the terminal equipment, the problem of high complexity of terminal equipment positioning in closed places is solved, and efficient terminal equipment positioning is achieved.

CN117221812BActive Publication Date: 2024-12-27ZHEJIANG SUNWAVE COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311288021.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-07
Publication Date
2024-12-27
Estimated Expiration
2043-10-07

AI Technical Summary

Technical Problem

The prior art is difficult to effectively locate illegal communication terminal equipment in closed places, resulting in high positioning complexity.

Method used

By detecting and detecting the connection status of the base station, obtaining the advance parameters of the target terminal device, and assigning different advance parameters according to the signal transmission delay and mobile communication standards, and finding the remote end of the target distribution to determine the position of the terminal device.

Benefits of technology

The positioning process of terminal equipment is simplified, the positioning efficiency is improved, and the detection area to which the terminal equipment belongs can be accurately identified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117221812B_ABST
    Figure CN117221812B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for positioning a terminal device, a storage medium and an electronic device. The method for positioning the terminal device includes: detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, and N is a positive integer greater than or equal to 2; when the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, obtaining a target advance parameter corresponding to the target terminal device; finding a target distribution far end corresponding to the target advance parameter from advance parameters and distribution far ends having a corresponding relationship; determining a detection area where the target distribution far end is located as a target detection area, wherein the target detection area is the location of the target terminal device. The above technical solution is adopted to solve the problems of high complexity in positioning the terminal device in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and device for positioning a terminal device, a storage medium, and an electronic device. Background Art

[0002] Currently, there are some closed places where communication with the outside world is prohibited, such as important meeting places. Although terminal devices in the places are prohibited from communicating with the outside world, illegal communication is still unavoidable. In related technologies, although it is possible to monitor whether there are terminal devices in closed places communicating with the outside world, it is difficult to locate the location of the terminal devices that are illegally communicating.

[0003] In view of the high complexity of terminal device positioning in related technologies, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a method and apparatus for positioning a terminal device, a storage medium, and an electronic device, so as to at least solve the problem of high complexity in positioning the terminal device in the related art.

[0005] According to an embodiment of the present application, a method for positioning a terminal device is provided, including:

[0006] Detecting a current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2;

[0007] In a case where the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, a target advance parameter corresponding to the target terminal device is obtained, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent;

[0008] Finding the target distribution far end corresponding to the target advance parameter from the advance parameters and the distribution far ends having a corresponding relationship;

[0009] A detection area where the target distribution remote end is located is determined as a target detection area, wherein the target detection area is a location where the target terminal device is located.

[0010] Optionally, before acquiring the target advance parameter corresponding to the target terminal device, the method further includes:

[0011] Obtaining the minimum signal transmission delay of signal transmission between N terminal devices in the distributed remote ends and the detection base station;

[0012] Identifying a target mobile communication standard currently used by the detection base station;

[0013] A different advance parameter is allocated to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay.

[0014] Optionally, allocating a different advance parameter to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay includes:

[0015] Generate an advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter sequence includes N advance parameters that increase in sequence, and a difference between an i-th advance parameter and an (i-1)-th advance parameter in the advance parameter sequence is greater than a preset threshold, and i is a positive integer greater than or equal to 2 and less than or equal to N;

[0016] Different advance parameters are allocated to each of the distributed remote ends according to the advance parameter sequence.

[0017] Optionally, generating an advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay includes:

[0018] Generate an initial advance parameter according to the target mobile communication standard and the minimum signal transmission delay, wherein the initial advance parameter is the advance parameter required to be adopted by the detection base station and the terminal device in order to correct the minimum signal transmission delay under the target mobile communication standard;

[0019] The initial advance parameter is used as the first advance parameter of the advance parameter sequence, and the target value greater than the preset threshold is used as the difference between the i-th advance parameter and the (i-1)-th advance parameter to generate N-1 advance parameters to obtain the advance parameter sequence.

[0020] Optionally, allocating different advance parameters to each of the distributed remote ends according to the advance parameter sequence includes:

[0021] Sorting the N distributed remote ends according to the signal transmission delay of each of the distributed remote ends to obtain a distributed remote end sequence, wherein the signal transmission delay of the (i-1)th distributed remote end in the distributed remote end sequence is less than or equal to the signal transmission delay of the i-th distributed remote end;

[0022] The i-th advance parameter in the advance parameter sequence is determined as the i-th distributed far-end advance parameter in the distributed far-end sequence.

[0023] Optionally, after allocating a different advance parameter to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay, the method further includes:

[0024] Before a terminal device in a reference distribution remote end communicates with a detection base station, adjusting a signal transmission delay between the reference distribution remote end and the detection base station to match an advance parameter of the reference distribution remote end, wherein the reference distribution remote end is any one of the N distribution remote ends;

[0025] During the communication between the terminal device at the far end of the reference distribution and the detection base station, the signal is transmitted according to the signal transmission delay matching the advance parameter at the far end of the reference distribution.

[0026] Optionally, adjusting the signal transmission delay between the remote end of the reference distribution and the detection base station to match an advance parameter of the remote end of the reference distribution includes:

[0027] The digital processing delay and the optical fiber transmission delay between the remote end of the reference distribution and the detection base station are adjusted to match the advance parameter of the remote end of the reference distribution, wherein the digital processing delay is the time delay caused by the digital processing of the signal during the communication between the terminal device at the remote end of the reference distribution and the detection base station, and the optical fiber transmission delay is the time delay caused by the transmission of the signal in the optical fiber during the communication between the terminal device at the remote end of the reference distribution and the detection base station.

[0028] According to another embodiment of the embodiment of the present application, a positioning device of a terminal device is further provided, including:

[0029] A detection module, used to detect the current connection status of the detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2;

[0030] A first acquisition module is used to acquire a target advance parameter corresponding to the target terminal device when the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent;

[0031] A search module, used for searching the target distribution far end corresponding to the target advance parameter from the advance parameters and the distribution far ends having a corresponding relationship;

[0032] A determination module is used to determine a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is a location where the target terminal device is located.

[0033] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned positioning method for the terminal device when running.

[0034] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the positioning method of the terminal device through the computer program.

[0035] In an embodiment of the present application, the current connection state of the detection base station is detected, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, and N is a positive integer greater than or equal to 2; when the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, a target advance parameter corresponding to the target terminal device is obtained, wherein each detection area is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent; the target distributed remote end corresponding to the target advance parameter is found from the advance parameter and the distributed remote end having a corresponding relationship; the target distributed remote end where the target distributed remote end is located is located is The detection area is determined as the target detection area, wherein the target detection area is the location of the target terminal device, that is, different advance parameters are pre-assigned to the remote ends of the distribution of the N detection areas covered by the detection base station where the terminal devices are prohibited from being used. When there is currently a target terminal device connected to the detection base station, the target advance parameter corresponding to the target terminal device is directly obtained, and the target distribution remote end corresponding to the target advance parameter is found from the advance parameter and the distribution remote end with a corresponding relationship, and then the detection area where the target distribution remote end is located is determined as the target detection area, that is, the location of the target terminal device. Through the above method, for any terminal device connected to the detection base station in the detection area, the detection area to which the terminal device belongs can be directly reversely located based on the target advance parameter of the terminal device, which greatly simplifies the terminal device positioning method and improves the terminal device positioning efficiency. The above technical solution solves the problem that the terminal device positioning is relatively complex in the related technology, and achieves the technical effect of improving the complexity of the terminal device positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 is a schematic diagram of a hardware environment of a positioning method for a terminal device according to an embodiment of the present application;

[0039] Figure 2is a flow chart of a method for positioning a terminal device according to an embodiment of the present application;

[0040] Figure 3 is a schematic diagram of a positioning scenario of a terminal device according to an embodiment of the present application;

[0041] Figure 4 is a schematic diagram of distributing remote allocation advance parameters according to an embodiment of the present application;

[0042] Figure 5 is a schematic diagram of adjusting according to signal transmission delay according to an embodiment of the present application;

[0043] Figure 6 It is a structural block diagram of a positioning device of a terminal device according to an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a device terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 Schematic diagram of the hardware environment of a method for positioning a terminal device according to an embodiment of the present application. Figure 1 As shown, the computer terminal may include one or more ( Figure 1Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. In an exemplary embodiment, the computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Equivalent functions or comparisons shown Figure 1 A different configuration with more features is shown.

[0047] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the positioning method of the terminal device in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0048] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a detection base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0049] In this embodiment, a terminal device positioning method is provided, which is applied to the above-mentioned computer terminal. Figure 2 is a flow chart of a method for positioning a terminal device according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:

[0050] Step S202, detecting the current connection state of the detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2;

[0051] Step S204, in a case where the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, a target advance parameter corresponding to the target terminal device is obtained, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent;

[0052] Step S206, searching for the target distribution far end corresponding to the target advance parameter from the advance parameters and distribution far ends having a corresponding relationship;

[0053] Step S208: determine the detection area where the target distribution remote end is located as the target detection area, wherein the target detection area is the location where the target terminal device is located.

[0054] Through the above steps, the current connection state of the detection base station is detected, wherein the communication range of the detection base station covers N detection areas where the terminal equipment is prohibited, and N is a positive integer greater than or equal to 2; when the connection state is used to indicate that there is currently a target terminal equipment connected to the detection base station, the target advance parameter corresponding to the target terminal equipment is obtained, wherein each detection area is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal equipment in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time that the signal sent by the terminal equipment under the corresponding distributed remote end needs to be sent in advance, and the amount of time sent in advance is used to correct the signal transmission delay of the signal; the target distributed remote end corresponding to the target advance parameter is found from the advance parameter and the distributed remote end having a corresponding relationship; The detection area where the target distribution remote end is located is determined as the target detection area, wherein the target detection area is the location of the target terminal device, that is, different advance parameters are pre-assigned to the distribution remote ends of the N detection areas covered by the detection base station where the terminal devices are prohibited from being used. When there is currently a target terminal device connected to the detection base station, the target advance parameter corresponding to the target terminal device is directly obtained, and the target distribution remote end corresponding to the target advance parameter is found from the advance parameter and the distribution remote end with a corresponding relationship, and then the detection area where the target distribution remote end is located is determined as the target detection area, that is, the location of the target terminal device. Through the above method, for any terminal device connected to the detection base station in the detection area, the detection area to which the terminal device belongs can be directly reversely located based on the target advance parameter of the terminal device, which greatly simplifies the terminal device positioning method and improves the terminal device positioning efficiency. The above technical solution solves the problem that the positioning complexity of the terminal device is high in the related technology, and achieves the technical effect of improving the positioning complexity of the terminal device.

[0055] In the technical solution provided in the above step S202, taking N as 4 as an example, Figure 3 is a schematic diagram of a positioning scenario of a terminal device according to an embodiment of the present application, such as Figure 3 As shown, the communication range of the detection base station covers detection area 1 to detection area 4 where the use of terminal devices is prohibited, wherein the base station type of the detection base station is not limited, and the terminal device can include but is not limited to mobile phones, computers and other devices with communication functions. The current connection status of the detection base station can indicate whether the current detection base station is connected to a terminal device;

[0056] In the technical solution provided in the above step S204, if Figure 3As shown, when the connection state is used to indicate that there is currently a target terminal device (for example, a mobile phone) connected to the detection base station, the target advance parameter (for example, 4) corresponding to the target terminal device is obtained, wherein each detection area is covered by a distributed remote end of the detection base station, and the detection base station includes 4 distributed remote ends (distributed remote end 1, distributed remote end 2, distributed remote end 3, distributed remote end 4), and each of the 4 distributed remote ends is assigned a different advance parameter (for example, distributed remote end 1 is assigned an advance parameter "2", distributed remote end 2 is assigned an advance parameter "4", etc.), and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that the signal sent by the terminal device under the corresponding distributed remote end needs to be sent.

[0057] Optionally, in this embodiment, when the mobile phone (terminal device) is connected to the base station (detection base station), the built-in advance parameter (also called time advance parameter) means that when the mobile phone communicates with the base station, in order to accurately synchronize the communication clock, the mobile phone will advance a certain amount of time before sending the signal. The role of this time advance parameter is to correct the delay in the signal transmission process to ensure that the communication between the mobile phone and the base station can be carried out within the correct time window. The delay in communication mainly includes the following aspects:

[0058] 1) Signal transmission delay: The speed at which signals propagate in the air is limited, so there will be a certain time delay from the time the signal is sent from the mobile phone to the time it is received by the base station.

[0059] 2) Signal processing delay: Before sending a signal, the mobile phone needs to perform a series of signal processing operations, such as modulation, encoding, encryption, etc. These operations take a certain amount of time.

[0060] 3) Network transmission delay: The signal is transmitted from the base station to the core network and then returned to the target mobile phone. There will be a certain network transmission delay in this process.

[0061] In order to solve the problem caused by the above delay, the mobile phone will advance a certain amount of time before sending the signal. Usually, this amount of time is calculated based on the distance between the mobile phone and the base station and the signal propagation speed. However, in this application, the advance amount parameter is pre-set and allocated (because the delay from the remote end of the distribution to the mobile phone is very small due to the close distance).

[0062] In an exemplary embodiment, before obtaining the target advance parameter corresponding to the target terminal device, the following methods may be included but are not limited to: obtaining the minimum signal transmission delay between the terminal devices in the N distributed remote ends and the detection base station; identifying the target mobile communication standard currently used by the detection base station; and allocating different advance parameters to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay.

[0063] Optionally, in this embodiment, the target mobile communication standard currently used by the detection base station is identified, wherein the target mobile communication standard includes GSM (Global System for Mobile Communications, global mobile communication system, second generation (2G) mobile communication technology standard), LTE (Long-Term Evolution, fourth generation (4G) mobile communication technology standard), NR (New Radio, fifth generation (5G) mobile communication technology standard).

[0064] Optionally, in this embodiment, the minimum signal transmission delay between the N distributed remote terminal devices and the detection base station is obtained, such as Figure 3 As shown, the signal transmission delay of the distribution remote end 1 is the smallest, and the allocated advance parameter is 2.

[0065] In an exemplary embodiment, different advance parameters may be allocated to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay in the following manner, but is not limited to: an advance parameter sequence is generated according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter sequence includes N advance parameters that increase in sequence, and the difference between the i-th advance parameter and the (i-1)-th advance parameter in the advance parameter sequence is greater than a preset threshold, and i is a positive integer greater than or equal to 2 and less than or equal to N; and different advance parameters are allocated to each distributed remote end according to the advance parameter sequence.

[0066] Optionally, in this embodiment, the lead parameter sequence can be, but is not limited to, an arithmetic progression, and the difference between the i-th lead parameter and the (i-1)-th lead parameter in the lead parameter sequence is greater than a preset threshold value. This setting can make the lead parameters of different distributed remote allocations form obvious differences, thereby making the subsequent detection area of ​​the terminal device described in reverse inference based on the lead parameter more accurate. Figure 3 As shown, the advance parameter series is: 2, 4, 6, 8, and the difference between the two terms in the series is 2.

[0067] In an exemplary embodiment, an advance parameter sequence can be generated according to the target mobile communication standard and the minimum signal transmission delay in the following manner, but is not limited to: generating an initial advance parameter according to the target mobile communication standard and the minimum signal transmission delay, wherein the initial advance parameter is the advance parameter required to be adopted by the detected base station and terminal device in order to correct the minimum signal transmission delay under the target mobile communication standard; using the initial advance parameter as the first advance parameter of the advance parameter sequence, and using a target value greater than the preset threshold as the difference between the i-th advance parameter and the (i-1)-th advance parameter to generate N-1 advance parameters, thereby obtaining the advance parameter sequence.

[0068] Optionally, in this embodiment, an initial advance parameter is generated according to the target mobile communication standard and the minimum signal transmission delay. Because different mobile communication standards correspond to different time steps, the same minimum signal transmission delay has different corresponding initial advance parameters under different mobile communication standards. For example, the minimum signal transmission delay is 10 microseconds. When the target mobile communication standard is GSM, the corresponding initial advance parameter is 2; and when the target mobile communication standard is NR, the corresponding initial advance parameter is 19.

[0069] Optionally, in this embodiment, the generated initial lead parameter is used as the first lead parameter of the lead parameter sequence, and the target value greater than the preset threshold is used as the difference between the i-th lead parameter and the (i-1)-th lead parameter to generate N-1 lead parameters. For example, if the initial lead parameter is 2 and the target value is 2, then the second lead parameter in the lead parameter sequence is 4, the third lead parameter is 6, and the fourth lead parameter is 8. Currently, the lead parameter sequence exemplified here is an arithmetic progression, and the difference between the previous and next items may not be a constant, for example, the lead parameter sequence is: 2, 5, 7, 9.

[0070] In an exemplary embodiment, different advance parameters may be assigned to each of the distributed remote ends according to the advance parameter sequence in the following manner, but not limited to: sorting the N distributed remote ends according to the signal transmission delay of each of the distributed remote ends to obtain a distributed remote end sequence, wherein the signal transmission delay of the (i-1)th distributed remote end in the distributed remote end sequence is less than or equal to the signal transmission delay of the ith distributed remote end; and determining the ith advance parameter in the advance parameter sequence as the advance parameter of the ith distributed remote end in the distributed remote end sequence.

[0071] Optionally, in this embodiment, the N distributed remote ends are sorted according to the signal transmission delay of each of the distributed remote ends to obtain a distributed remote end sequence, Figure 4 is a schematic diagram of distributing remote allocation advance parameters according to an embodiment of the present application, such as Figure 4 As shown, the signal transmission delay of distributed remote end 1 is the smallest, followed by distributed remote end 2, distributed remote end 3, and distributed remote end 4, wherein the signal transmission delay of distributed remote end 4 is the largest. If the advance parameter sequence is: 2, 4, 6, 8, then the i-th advance parameter in the advance parameter sequence is determined as the advance parameter of the i-th distributed remote end in the distributed remote end sequence, that is, the advance parameter of distributed remote end 1 is 2, the advance parameter of distributed remote end 2 is 4, the advance parameter of distributed remote end 3 is 6, and the advance parameter of distributed remote end 4 is 8.

[0072] Optionally, in this embodiment, the signal transmission delay at the remote distribution end is related to the optical fiber length between the remote distribution end and the detection base station. The shorter the optical fiber length, the smaller the signal transmission delay.

[0073] In an exemplary embodiment, after allocating different advance parameters to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay, it can include but is not limited to the following manner: before the terminal device in the reference distributed remote end communicates with the detection base station, the signal transmission delay between the reference distributed remote end and the detection base station is adjusted to match the advance parameter of the reference distributed remote end, wherein the reference distributed remote end is any one of the N distributed remote ends; during the communication between the terminal device in the reference distributed remote end and the detection base station, the signal is transmitted according to the signal transmission delay matching the advance parameter of the reference distributed remote end.

[0074] Optionally, in this embodiment, in the related art, the advance parameter is generated based on the signal transmission delay, while in the present application the advance parameter is pre-set and allocated. Since the advance parameter and the signal transmission delay are in a mutually matching relationship, after allocating the advance parameter, the corresponding signal transmission delay needs to be synchronously adjusted to match the allocated advance parameter.

[0075] In an exemplary embodiment, the signal transmission delay between the remote end of the reference distribution and the detection base station can be adjusted to match the advance parameter of the remote end of the reference distribution in the following manner but is not limited to: adjusting the digital processing delay and the optical fiber transmission delay between the remote end of the reference distribution and the detection base station to match the advance parameter of the remote end of the reference distribution, wherein the digital processing delay is the time delay caused by the digital processing of the signal during the communication between the terminal device in the remote end of the reference distribution and the detection base station, and the optical fiber transmission delay is the time delay caused by the transmission of the signal in the optical fiber during the communication between the terminal device in the remote end of the reference distribution and the detection base station.

[0076] Optionally, in this embodiment, Figure 5 is a schematic diagram of adjusting according to signal transmission delay according to an embodiment of the present application, such as Figure 5 As shown, the signal transmission delay between the remote end of the reference distribution and the detection base station includes a digital processing delay and an optical fiber transmission delay. By adjusting the digital processing delay and the optical fiber transmission delay, the signal transmission delay between the remote end of the reference distribution and the detection base station is matched with the pre-allocated advance parameter.

[0077] In the technical solution provided in the above step S206, there is a corresponding relationship between the advance parameter and the remote end of the distribution, such as Figure 3 As shown, the distribution distal end 1 corresponds to the advance parameter 2, the distribution distal end 2 corresponds to the advance parameter 4, the distribution distal end 3 corresponds to the advance parameter 6, and the distribution distal end 4 corresponds to the advance parameter 8. Given that the target advance parameter is 4, the corresponding target distribution distal end can be inferred to be: distribution distal end 2.

[0078] In the technical solution provided in the above step S208, after determining the target distribution remote end corresponding to the target terminal device, the detection area where the target distribution remote end is located can be determined as the target detection area, that is, the location where the target terminal device is located, such as Figure 3 As shown, after determining that the target distribution remote end corresponding to the target terminal device is distribution remote end 2, the detection area where distribution remote end 2 is located is determined as the target detection area, that is, detection area 2, to achieve the positioning of the target terminal device. After obtaining the positioning address of the target terminal device, the detected mobile phone related information (such as telephone number, etc.) is associated with the positioning address and sent to the positioning account. The positioning account is used to monitor whether there is a terminal device connected to the detection base station. The positioning address can be sent periodically and updated in real time.

[0079] The terminal device positioning method proposed in this application can be applied to the digital optical distribution system, which transmits the digitized radio frequency signal from the near end of the distribution (downlink) to the far end of the distribution (uplink and vice versa) through optical fiber. The digital optical distribution system will have digital processing delay and optical fiber transmission delay; adding a buffer in the transmission process can increase the signal transmission delay (the delay is proportional to the buffer size). Of course, the digital optical distribution system also has the function of amplifying the signal to compensate for the loss of the spatial radio frequency signal output from the far end of the distribution to the terminal device. The buffer size can be adjusted to achieve the signal transmission delay corresponding to the preset advance parameter.

[0080] The present application allocates different advance parameters to different distributed remote ends, and conversely, the terminal device can be known at the distributed remote end (coverage area) corresponding to the advance parameter according to the advance parameter, thereby obtaining the corresponding address of the terminal device.

[0081] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0082] Figure 6 is a structural block diagram of a positioning device of a terminal device according to an embodiment of the present application; Figure 6 As shown, including:

[0083] A detection module 602 is used to detect the current connection status of the detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from using, and N is a positive integer greater than or equal to 2;

[0084] A first acquisition module 604 is used to acquire a target advance parameter corresponding to the target terminal device when the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent;

[0085] A search module 606 is used to search for a target distribution far end corresponding to the target advance parameter from the advance parameters and distribution far ends having a corresponding relationship;

[0086] The determination module 608 is used to determine the detection area where the target distribution remote end is located as the target detection area, wherein the target detection area is the location where the target terminal device is located.

[0087] Through the above embodiment, the current connection state of the detection base station is detected, wherein the communication range of the detection base station covers N detection areas where the use of terminal devices is prohibited, and N is a positive integer greater than or equal to 2; when the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, a target advance parameter corresponding to the target terminal device is obtained, wherein each detection area is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent in advance, and the amount of time sent in advance is used to correct the signal transmission delay of the signal; the target distributed remote end corresponding to the target advance parameter is found from the advance parameter and the distributed remote end having a corresponding relationship. ; The detection area where the target distribution remote end is located is determined as the target detection area, wherein the target detection area is the location of the target terminal device, that is, different advance parameters are pre-assigned to the distribution remote ends of the N detection areas covered by the detection base station where the terminal devices are prohibited from being used. When there is currently a target terminal device connected to the detection base station, the target advance parameter corresponding to the target terminal device is directly obtained, and the target distribution remote end corresponding to the target advance parameter is found from the advance parameter and the distribution remote end with a corresponding relationship, and then the detection area where the target distribution remote end is located is determined as the target detection area, that is, the location of the target terminal device. Through the above method, for any terminal device connected to the detection base station in the detection area, the detection area to which the terminal device belongs can be directly reversely located based on the target advance parameter of the terminal device, which greatly simplifies the terminal device positioning method and improves the terminal device positioning efficiency. The above technical solution solves the problem that the positioning complexity of the terminal device is high in the related technology, and achieves the technical effect of improving the positioning complexity of the terminal device.

[0088] In an exemplary embodiment, the apparatus further comprises:

[0089] A second acquisition module is used to obtain the minimum signal transmission delay of the signal transmission between the N terminal devices in the distributed remote ends and the detection base station before obtaining the target advance parameter corresponding to the target terminal device;

[0090] An identification module, used to identify the target mobile communication standard currently used by the detection base station;

[0091] An allocation module is used to allocate different advance parameters to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay.

[0092] In an exemplary embodiment, the allocation module comprises:

[0093] a generating unit, configured to generate an advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter sequence includes N advance parameters that increase in sequence, a difference between an i-th advance parameter and an (i-1)-th advance parameter in the advance parameter sequence is greater than a preset threshold, and i is a positive integer greater than or equal to 2 and less than or equal to N;

[0094] An allocating unit is used to allocate different advance parameters to each of the distributed remote ends according to the advance parameter sequence.

[0095] In an exemplary embodiment, the generating unit is further configured to:

[0096] Generate an initial advance parameter according to the target mobile communication standard and the minimum signal transmission delay, wherein the initial advance parameter is the advance parameter required to be adopted by the detection base station and the terminal device in order to correct the minimum signal transmission delay under the target mobile communication standard;

[0097] The initial advance parameter is used as the first advance parameter of the advance parameter sequence, and the target value greater than the preset threshold is used as the difference between the i-th advance parameter and the (i-1)-th advance parameter to generate N-1 advance parameters to obtain the advance parameter sequence.

[0098] In an exemplary embodiment, the allocation unit is further configured to:

[0099] Sorting the N distributed remote ends according to the signal transmission delay of each of the distributed remote ends to obtain a distributed remote end sequence, wherein the signal transmission delay of the (i-1)th distributed remote end in the distributed remote end sequence is less than or equal to the signal transmission delay of the i-th distributed remote end;

[0100] The i-th advance parameter in the advance parameter sequence is determined as the i-th distributed far-end advance parameter in the distributed far-end sequence.

[0101] In an exemplary embodiment, the apparatus further comprises:

[0102] an adjustment module, configured to adjust the signal transmission delay between the reference distribution remote end and the detection base station to match the advance parameter of the reference distribution remote end before the terminal device in the reference distribution remote end communicates with the detection base station after assigning different advance parameters to each of the N distribution remote ends according to the target mobile communication standard and the minimum signal transmission delay, wherein the reference distribution remote end is any one of the N distribution remote ends;

[0103] The transmission module is used to transmit signals according to the signal transmission delay matching the advance parameter at the far end of the reference distribution during the communication between the terminal device at the far end of the reference distribution and the detection base station.

[0104] In an exemplary embodiment, the adjustment module includes:

[0105] An adjustment unit is used to adjust the digital processing delay and the optical fiber transmission delay between the remote end of the reference distribution and the detection base station to match the advance parameter of the remote end of the reference distribution, wherein the digital processing delay is the time delay caused by the digital processing of the signal during the communication between the terminal device at the remote end of the reference distribution and the detection base station, and the optical fiber transmission delay is the time delay caused by the transmission of the signal in the optical fiber during the communication between the terminal device at the remote end of the reference distribution and the detection base station.

[0106] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0107] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0108] S1, detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2;

[0109] S2, in the case where the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, obtaining a target advance parameter corresponding to the target terminal device, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent;

[0110] S3, finding the target distribution far end corresponding to the target advance parameter from the advance parameters and the distribution far ends having a corresponding relationship;

[0111] S4, determining a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is a location where the target terminal device is located.

[0112] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0113] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0114] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0115] S1, detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2;

[0116] S2, in the case where the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, obtaining a target advance parameter corresponding to the target terminal device, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent;

[0117] S3, finding the target distribution far end corresponding to the target advance parameter from the advance parameters and the distribution far ends having a corresponding relationship;

[0118] S4, determining a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is a location where the target terminal device is located.

[0119] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0120] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0121] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0122] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for positioning a terminal device, characterized in that: include: Detecting a current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2; In a case where the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, a target advance parameter corresponding to the target terminal device is obtained, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent; Finding the target distribution far end corresponding to the target advance parameter from the advance parameters and the distribution far ends having a corresponding relationship; Determine a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the location where the target terminal device is located; Wherein, before acquiring the target advance parameter corresponding to the target terminal device, the method further includes: Obtaining a minimum signal transmission delay for signal transmission between N terminal devices in the distributed remote ends and the detection base station; Identifying a target mobile communication standard currently used by the detection base station; Allocating a different advance parameter to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay; The allocating different advance parameters to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay includes: Generate an advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter sequence includes N advance parameters that increase in sequence, a difference between the i-th advance parameter and the (i-1)-th advance parameter in the advance parameter sequence is greater than a preset threshold, and i is a positive integer greater than or equal to 2 and less than or equal to N; Allocating different advance parameters to each of the remote ends of the distribution according to the advance parameter sequence; The step of generating an advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay includes: Generate an initial advance parameter according to the target mobile communication standard and the minimum signal transmission delay, wherein the initial advance parameter is the advance parameter required to be adopted by the detection base station and the terminal device in order to correct the minimum signal transmission delay under the target mobile communication standard; The initial advance parameter is used as the first advance parameter of the advance parameter sequence, and a target value greater than the preset threshold is used as the difference between the i-th advance parameter and the (i-1)-th advance parameter to generate N-1 advance parameters, thereby obtaining the advance parameter sequence.

2. The method according to claim 1, characterized in that The allocating different advance parameters to each of the distributed remote ends according to the advance parameter sequence includes: Sorting the N distributed remote ends according to the signal transmission delay of each of the distributed remote ends to obtain a distributed remote end sequence, wherein the signal transmission delay of the (i-1)th distributed remote end in the distributed remote end sequence is less than or equal to the signal transmission delay of the i-th distributed remote end; The i-th advance parameter in the advance parameter sequence is determined as the i-th distributed far-end advance parameter in the distributed far-end sequence.

3. The method according to claim 1, characterized in that After allocating a different advance parameter to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay, the method further includes: Before a terminal device in a reference distribution remote end communicates with a detection base station, adjusting a signal transmission delay between the reference distribution remote end and the detection base station to match an advance parameter of the reference distribution remote end, wherein the reference distribution remote end is any one of the N distribution remote ends; During the communication between the terminal device at the far end of the reference distribution and the detection base station, the signal is transmitted according to the signal transmission delay matching the advance parameter at the far end of the reference distribution.

4. The method according to claim 3, characterized in that The adjusting the signal transmission delay between the remote end of the reference distribution and the detection base station to match the advance parameter of the remote end of the reference distribution includes: The digital processing delay and the optical fiber transmission delay between the remote end of the reference distribution and the detection base station are adjusted to match the advance parameter of the remote end of the reference distribution, wherein the digital processing delay is the time delay caused by the digital processing of the signal during the communication between the terminal device at the remote end of the reference distribution and the detection base station, and the optical fiber transmission delay is the time delay caused by the transmission of the signal in the optical fiber during the communication between the terminal device at the remote end of the reference distribution and the detection base station.

5. A positioning device for a terminal device, characterized in that: include: A detection module, used to detect the current connection status of the detection base station, wherein the communication range of the detection base station covers N detection areas where the terminal device is prohibited from being used, where N is a positive integer greater than or equal to 2; A first acquisition module is used to acquire a target advance parameter corresponding to the target terminal device when the connection state is used to indicate that there is currently a target terminal device connected to the detection base station, wherein each of the detection areas is covered by a distributed remote end of the detection base station, the detection base station includes N distributed remote ends, each of the N distributed remote ends is assigned a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distributed remote end, and the advance parameter is used to indicate the amount of time in advance that a signal sent by the terminal device under the corresponding distributed remote end needs to be sent; A search module, used for searching the target distribution far end corresponding to the target advance parameter from the advance parameters and the distribution far ends having a corresponding relationship; A determination module, configured to determine a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is a location where the target terminal device is located; Wherein, the device further comprises: A second acquisition module is used to obtain the minimum signal transmission delay of the signal transmission between the N terminal devices in the distributed remote ends and the detection base station before obtaining the target advance parameter corresponding to the target terminal device; An identification module, used to identify the target mobile communication standard currently used by the detection base station; An allocation module, configured to allocate a different advance parameter to each of the N distributed remote ends according to the target mobile communication standard and the minimum signal transmission delay; Wherein, the allocation module includes: a generating unit, configured to generate an advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter sequence includes N advance parameters that increase in sequence, a difference between an i-th advance parameter and an (i-1)-th advance parameter in the advance parameter sequence is greater than a preset threshold, and i is a positive integer greater than or equal to 2 and less than or equal to N; An allocating unit, configured to allocate different advance parameters to each of the distributed remote ends according to the advance parameter sequence; Wherein, the generating unit is further used for: Generate an initial advance parameter according to the target mobile communication standard and the minimum signal transmission delay, wherein the initial advance parameter is the advance parameter required to be adopted by the detection base station and the terminal device in order to correct the minimum signal transmission delay under the target mobile communication standard; The initial advance parameter is used as the first advance parameter of the advance parameter sequence, and a target value greater than the preset threshold is used as the difference between the i-th advance parameter and the (i-1)-th advance parameter to generate N-1 advance parameters, thereby obtaining the advance parameter sequence.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 4 when executed.

7. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 4 through the computer program.