CN117221812A - Positioning method and device of terminal equipment, storage medium and electronic device - Google Patents

Positioning method and device of terminal equipment, storage medium and electronic device Download PDF

Info

Publication number
CN117221812A
CN117221812A CN202311288021.3A CN202311288021A CN117221812A CN 117221812 A CN117221812 A CN 117221812A CN 202311288021 A CN202311288021 A CN 202311288021A CN 117221812 A CN117221812 A CN 117221812A
Authority
CN
China
Prior art keywords
target
distribution
base station
advance
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311288021.3A
Other languages
Chinese (zh)
Inventor
马省
曹永福
孙渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Sunwave Communications Technology Co Ltd
Original Assignee
Zhejiang Sunwave Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Sunwave Communications Technology Co Ltd filed Critical Zhejiang Sunwave Communications Technology Co Ltd
Priority to CN202311288021.3A priority Critical patent/CN117221812A/en
Publication of CN117221812A publication Critical patent/CN117221812A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a positioning method and a device of terminal equipment, a storage medium and an electronic device, wherein the positioning method of the terminal equipment comprises the following steps: detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2; under the condition that the connection state is used for indicating that the current target terminal equipment is connected to the detection base station, acquiring a target advance parameter corresponding to the target terminal equipment; searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have corresponding relations; the detection area where the target distribution remote end is located is determined to be the target detection area, wherein the target detection area is the position where the target terminal equipment is located.

Description

Positioning method and device of terminal equipment, storage medium and electronic device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for positioning a terminal device, a storage medium, and an electronic apparatus.
Background
There are some closed places where communication with the outside is prohibited, for example, important meeting places, in which communication between terminal devices in the places and the outside is prohibited, but illegal communication cannot be avoided, and in the related art, although whether communication between the terminal devices and the outside exists in the closed places can be monitored, it is difficult to locate the position where the illegal communication terminal devices exist.
Aiming at the problems of high complexity of positioning of terminal equipment and the like in the related technology, no effective solution has been proposed yet.
Disclosure of Invention
The embodiment of the application provides a positioning method and device of terminal equipment, a storage medium and an electronic device, which are used for at least solving the problems of high complexity and the like of positioning of the terminal equipment in the related technology.
According to an embodiment of the present application, there is provided a positioning method of a terminal device, including:
detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2;
acquiring a target advance parameter corresponding to a target terminal device under the condition that the connection state is used for indicating that the target terminal device is connected to the detection base station currently, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each distribution far end in the N distribution far ends is distributed with different advance parameters, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, and the advance parameters are used for indicating the time amount of a signal sent by the terminal device under the corresponding distribution far end to be sent in advance;
Searching a target far-end distribution corresponding to the target advance parameter from the advance parameter and the far-end distribution with the corresponding relation;
and determining a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the position where the target terminal equipment is located.
Optionally, before the obtaining the target advance parameter corresponding to the target terminal device, the method further includes:
acquiring the minimum signal transmission delay of signal transmission between the terminal equipment in the N distributed far ends and the detection base station;
identifying a target mobile communication standard currently used by the detection base station;
and distributing different advance parameters to each of N distribution remote ends according to the target mobile communication standard and the minimum signal transmission delay.
Optionally, the allocating different advance parameters for each of the N distribution remote ends according to the target mobile communication standard and the minimum signal transmission delay includes:
generating an advance parameter array according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter array comprises N advance parameters which are sequentially increased, the difference between the i-th advance parameter and the (i-1) -th advance parameter in the advance parameter array is larger than a preset threshold, i is a positive integer which is larger than or equal to 2 and smaller than or equal to N;
And distributing different advance parameters to each distribution far end according to the advance parameter array.
Optionally, the generating the advance parameter sequence according to the target mobile communication standard and the minimum signal transmission delay includes:
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 detection base station and the terminal equipment for correcting the minimum signal transmission delay under the target mobile communication standard;
and taking the initial lead parameter as a 1 st lead parameter of the lead parameter array, taking a target value larger than the preset threshold value as a difference value between the i-th lead parameter and the (i-1) -th lead parameter to generate an N-1-th lead parameter, and obtaining the lead parameter array.
Optionally, the allocating different advance parameters for each distributed remote end according to the advance parameter array includes:
sequencing N distribution remote ends according to the signal transmission time delay of each distribution remote end to obtain a distribution remote end sequence, wherein the signal transmission time delay of the (i-1) th distribution remote end in the distribution remote end sequence is smaller than or equal to the signal transmission time delay of the i-th distribution remote end;
And determining the ith advance parameter in the advance parameter array as the advance parameter of the ith distribution far end in the distribution far end sequence.
Optionally, after the allocating a different advance parameter to each of the N distribution remotes according to the target mobile communication standard and the minimum signal transmission delay, the method further includes:
before terminal equipment in a reference distribution far end communicates with a detection base station, adjusting signal transmission delay between the reference distribution far end and the detection base station to be matched with an advance parameter of the reference distribution far end, wherein the reference distribution far end is any one of N distribution far ends;
and in the process of communicating the terminal equipment in the reference distribution far end with the detection base station, transmitting signals according to signal transmission delay matched with the advance parameter of the reference distribution far end.
Optionally, the adjusting the signal transmission delay between the reference distribution remote end and the detecting base station to match with the advance parameter of the reference distribution remote end includes:
and adjusting digital processing time delay and optical fiber transmission time delay between the reference distribution far end and the detection base station to be matched with the advance parameter of the reference distribution far end, wherein the digital processing time delay is time delay brought by digital processing of signals in the process of communication between terminal equipment in the reference distribution far end and the detection base station, and the optical fiber transmission time delay is time delay brought by transmission of signals in an optical fiber in the process of communication between the terminal equipment in the reference distribution far end and the detection base station.
According to another embodiment of the present application, there is also provided a positioning apparatus for a terminal device, including:
the detection module is used for detecting the current connection state of the detection base station, wherein the communication range of the detection base station covers N detection areas of the forbidden terminal equipment, and N is a positive integer greater than or equal to 2;
a first obtaining module, configured to obtain, when the connection status is used to indicate that a target terminal device is currently connected to the detection base station, a target advance parameter corresponding to the target terminal device, where each detection area is covered by one distribution far end of the detection base station, the detection base station includes N distribution far ends, each of the N distribution far ends is allocated with a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, where the advance parameter is used to indicate an amount of time that a signal sent by a terminal device under the corresponding distribution far end needs to be sent in advance;
the searching module is used for searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have the corresponding relation;
And the determining module is used for determining the detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the position where the target terminal equipment is located.
According to a further aspect of the embodiments of the present application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described terminal device positioning method when run.
According to still another aspect of the embodiment of the present application, there is further provided an electronic apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the positioning method of the terminal device through the computer program.
In the embodiment of the 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 of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2; under the condition that the connection state is used for indicating that the current target terminal equipment is connected to the detection base station, acquiring target advance parameters corresponding to the target terminal equipment, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each distribution far end in the N distribution far ends is distributed with different advance parameters, the terminal equipment in each detection area establishes communication with the detection base station through the corresponding distribution far end, and the advance parameters are used for indicating the time amount of the signal sent by the terminal equipment under the corresponding distribution far end to be sent in advance; searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have corresponding relations; the method comprises the steps of determining a detection area where a target distribution far end is located as a target detection area, wherein the target detection area is the position where target terminal equipment is located, namely, distributing different advance parameters to the distribution far ends of N detection areas where the use of the terminal equipment is forbidden, which are covered by a detection base station, under the condition that the target terminal equipment is connected to the detection base station at present, directly acquiring the target advance parameters corresponding to the target terminal equipment, searching out the target distribution far end corresponding to the target advance parameters from the advance parameters and the distribution far end which have a corresponding relation, further determining the detection area where the target distribution far end is located as the target detection area, namely, the position where the target terminal equipment is located, and by adopting the method, for any one of the detection areas, which is connected with the detection base station, the detection area where the terminal equipment is located can be reversely positioned according to the target advance parameters of the terminal equipment, so that the positioning mode of the terminal equipment is greatly simplified, and the positioning efficiency of the terminal equipment is improved. By adopting the technical scheme, the problems of high complexity of positioning of the terminal equipment and the like in the related technology are solved, and the technical effect of improving the complexity of positioning of the terminal equipment is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic diagram of a hardware environment of a positioning method of a terminal device according to an embodiment of the present application;
fig. 2 is a flowchart of a positioning method of a terminal device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a positioning scenario of a terminal device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a distributed remote allocation advance parameter according to an embodiment of the present application;
fig. 5 is a schematic diagram of a signal transmission delay adjustment according to an embodiment of the application;
fig. 6 is a block diagram of a positioning device of a terminal apparatus according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiments provided by the embodiments of the present application may be performed in a computer terminal, a device terminal, or a similar computing apparatus. Taking a computer terminal as an example, fig. 1 is a schematic diagram of a hardware environment of a positioning method of a terminal device according to an embodiment of the present application. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and in one exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, a computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than the equivalent functions shown in FIG. 1 or more than the functions shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a positioning method of a terminal device in an embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include 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 memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above 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, simply referred to as NIC) that communicates with the internet by detecting that the base station is connected to other network devices. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a positioning method of a terminal device is provided and applied to the computer terminal, and fig. 2 is a flowchart of a positioning method of a terminal device according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2;
step S204, when the connection status is used to indicate that a target terminal device is currently connected to the detection base station, acquiring a target advance parameter corresponding to the target terminal device, where each detection area is covered by one distribution far end of the detection base station, the detection base station includes N distribution far ends, each of the N distribution far ends is allocated with a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, and the advance parameter is used to indicate an amount of time that a signal sent by the terminal device under the corresponding distribution far end needs to be sent in advance;
Step S206, searching a target far-end distribution corresponding to the target far-end advance parameter from the advance parameter and the far-end distribution with the corresponding relation;
in step S208, the detection area where the target distribution remote end is located is determined as a target detection area, where the target detection area is the location where the target terminal device is located.
Through the 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 of the forbidden terminal equipment, and N is a positive integer greater than or equal to 2; under the condition that the connection state is used for indicating that the current target terminal equipment is connected to the detection base station, acquiring target advance parameters corresponding to the target terminal equipment, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each distribution far end in the N distribution far ends is distributed with different advance parameters, the terminal equipment in each detection area establishes communication with the detection base station through the corresponding distribution far end, the advance parameters are used for indicating the time quantity of the signal sent by the terminal equipment under the corresponding distribution far end and needing to be sent in advance, and the time quantity of the signal transmission delay of the correction signal is used for the time quantity of the signal to be sent in advance; searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have corresponding relations; the method comprises the steps of determining a detection area where a target distribution far end is located as a target detection area, wherein the target detection area is the position where target terminal equipment is located, namely, distributing different advance parameters to the distribution far ends of N detection areas where the use of the terminal equipment is forbidden, which are covered by a detection base station, under the condition that the target terminal equipment is connected to the detection base station at present, directly acquiring the target advance parameters corresponding to the target terminal equipment, searching out the target distribution far end corresponding to the target advance parameters from the advance parameters and the distribution far end which have a corresponding relation, further determining the detection area where the target distribution far end is located as the target detection area, namely, the position where the target terminal equipment is located, and by adopting the method, for any one of the detection areas, which is connected with the detection base station, the detection area where the terminal equipment is located can be reversely positioned according to the target advance parameters of the terminal equipment, so that the positioning mode of the terminal equipment is greatly simplified, and the positioning efficiency of the terminal equipment is improved. By adopting the technical scheme, the problems of high complexity of positioning of the terminal equipment and the like in the related technology are solved, and the technical effect of improving the complexity of positioning of the terminal equipment is realized.
In the technical solution provided in step S202, taking the value of N4 as an example, fig. 3 is a schematic diagram of a positioning scenario of a terminal device according to an embodiment of the present application, as shown in fig. 3, a communication range of a detection base station covers a detection area 1 to a detection area 4 where use of the terminal device is prohibited, where a base station type of the detection base station is not limited, and the terminal device may include, but is not limited to, devices with communication functions such as a mobile phone and a computer. The current connection state of the detection base station can indicate whether the current detection base station is connected with terminal equipment or not;
in the solution provided in step S204, as shown in fig. 3, in a case where the connection status is used to indicate that a target terminal device (for example, a mobile phone) is currently connected to a detection base station, a target advance parameter (for example, 4) corresponding to the target terminal device is obtained, where each detection area is covered by one distribution far end of the detection base station, the detection base station includes 4 distribution far ends (distribution far end 1, distribution far end 2, distribution far end 3, distribution far end 4), each of the 4 distribution far ends is allocated with a different advance parameter (for example, distribution far end 1 is allocated with an advance parameter "2", distribution far end 2 is allocated with an advance parameter "4", etc.), and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, where the advance parameter is used to indicate an amount of time that a signal sent by the terminal device under the corresponding distribution far end needs to be sent in advance.
Optionally, in this embodiment, when the mobile phone (terminal device) is connected to the base station (detecting base station), the own advance parameter (also called as time advance parameter) refers to that the mobile phone advances a certain amount of time before sending a signal in order to accurately synchronize the communication clock when the mobile phone communicates with the base station. The function of this time advance parameter is to correct the delay in the signal transmission process to ensure that the communication between the handset and the base station can take place within the correct time window. The latency in communication mainly includes the following aspects:
1) Signal transmission delay: the speed at which the signal propagates in air is limited, so there is some time delay from the transmission of the signal from the handset to the reception of the signal at the base station.
2) Signal processing time delay: the handset needs to perform a series of signal processing operations, such as modulation, coding, encryption, etc., before transmitting the signal, which all require a certain time.
3) Network transmission delay: the signal is transmitted from the base station to the core network and then returned to the target mobile phone, and a certain network transmission delay exists in the process.
To address the problems with the time delays described above, the mobile phone may advance by a certain amount of time before transmitting the signal. Typically, this amount of time is calculated based on the distance between the handset and the base station and the signal propagation speed. In the present application, however, the advance parameter is preset for allocation (because the delay from the far end of the distribution to the mobile phone is less affected by the close distance).
In an exemplary embodiment, before the obtaining the target advance parameter corresponding to the target terminal device, the method may, but is not limited to, further include the following ways: acquiring the minimum signal transmission delay of signal transmission between the terminal equipment in the N distributed far ends and the detection base station; identifying a target mobile communication standard currently used by the detection base station; and distributing different advance parameters to each of N distribution remote ends according to the target mobile communication standard and the minimum signal transmission delay.
Optionally, in this embodiment, the target mobile communication standard currently used by the detecting base station is identified, where the target mobile communication standard includes GSM (Global System for Mobile Communications, global system for mobile communications, 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).
Optionally, in this embodiment, the minimum signal transmission delay of signal transmission between the terminal devices in the N distributed remote ends and the detecting base station is obtained, as shown in fig. 3, the signal transmission delay of the distributed remote end 1 is minimum, and the allocated advance parameter is 2.
In one exemplary embodiment, each of the N distributed remote ends may be assigned a different one of the advance parameters according to the target mobile communication standard and the minimum signal transmission delay by, but not limited to: generating an advance parameter array according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter array comprises N advance parameters which are sequentially increased, the difference between the i-th advance parameter and the (i-1) -th advance parameter in the advance parameter array is larger than a preset threshold, i is a positive integer which is larger than or equal to 2 and smaller than or equal to N; and distributing different advance parameters to each distribution far end according to the advance parameter array.
Optionally, in this embodiment, the advance parameter array may be, but not limited to, an arithmetic progression, where the difference between the i-th advance parameter and the (i-1) -th advance parameter in the advance parameter array is greater than a preset threshold, so that the advance parameters distributed remotely in different distributions can be obviously differentiated, and further, the detection area of the terminal device is further accurately reversely pushed according to the advance parameters. As shown in fig. 3, the advance parameter number is listed as: 2. 4, 6, 8, the difference between the two items of the series is 2.
In one exemplary embodiment, the advance parameter array may be generated according to the target mobile communication standard and the minimum signal transmission delay by, but not limited to, the following: 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 detection base station and the terminal equipment for correcting the minimum signal transmission delay under the target mobile communication standard; and taking the initial lead parameter as a 1 st lead parameter of the lead parameter array, taking a target value larger than the preset threshold value as a difference value between the i-th lead parameter and the (i-1) -th lead parameter to generate an N-1-th lead parameter, and obtaining the lead parameter array.
Optionally, in this embodiment, the initial lead parameter is generated according to the target mobile communication standard and the minimum signal transmission delay, because the time steps corresponding to different mobile communication standards are different, the same minimum signal transmission delay is different, the initial lead parameters corresponding to different mobile communication standards are also different, for example, the minimum signal transmission delay is 10 microseconds, and when the target mobile communication standard is GSM, the corresponding initial lead parameter is 2; and when the target mobile communication standard is NR, the corresponding initial lead parameter is 19.
Optionally, in this embodiment, the generated initial lead parameter is used as the 1 st lead parameter of the lead parameter array, and the target value larger than the preset threshold is used as the difference between the i-th lead parameter and the (i-1) -th lead parameter to generate the N-1 th lead parameter, for example, the initial lead parameter is 2, the target value is 2, and the 2 nd lead parameter is 4, the 3 rd lead parameter is 6, and the 4 th lead parameter is 8 in the lead parameter array. Currently, the advance parameter sequence exemplified here is an arithmetic progression, and furthermore, the difference between the preceding term and the following term may not be a constant value, for example, the advance parameter sequence is: 2. 5, 7 and 9.
In one exemplary embodiment, each of the distributed remote ends may be assigned a different one of the advance parameters according to the advance parameter array by, but not limited to: sequencing N distribution remote ends according to the signal transmission time delay of each distribution remote end to obtain a distribution remote end sequence, wherein the signal transmission time delay of the (i-1) th distribution remote end in the distribution remote end sequence is smaller than or equal to the signal transmission time delay of the i-th distribution remote end; and determining the ith advance parameter in the advance parameter array as the advance parameter of the ith distribution far end in the distribution far end sequence.
Optionally, in this embodiment, the N distribution distal ends are ordered according to the signal transmission delay of each distribution distal end to obtain a distribution distal end sequence, fig. 4 is a schematic diagram of distribution distal end distribution advance parameters according to an embodiment of the present application, as shown in fig. 4, a signal transmission delay of a distribution distal end 1 is minimum, and then the distribution distal ends are distributed distal end 2, 3, and 4 in sequence, where the signal transmission delay of the distribution distal end 4 is maximum. If the advance parameter number is: 2. 4, 6, 8, then determining the i-th advance parameter in the advance parameter array as the i-th advance parameter of the distribution far-end in the distribution far-end sequence, namely, the advance parameter of the distribution far-end 1 is 2, the advance parameter of the distribution far-end 2 is 4, the advance parameter of the distribution far-end 3 is 6, and the advance parameter of the distribution far-end 4 is 8.
Optionally, in this embodiment, the signal transmission delay of the distributed remote end is related to the optical fiber length of the distributed remote end and the detecting base station time, and the shorter the optical fiber length, the smaller the signal transmission delay.
In an exemplary embodiment, after the allocating of the different advance parameter for each of the N distribution remotes according to the target mobile communication standard and the minimum signal transmission delay, the method may, but is not limited to, further include adjusting the signal transmission delay between a reference distribution remote and a detection base station to match the advance parameter of the reference distribution remote before a terminal device in the reference distribution remote communicates with the detection base station, wherein the reference distribution remote is any one of the N distribution remotes; and in the process of communicating the terminal equipment in the reference distribution far end with the detection base station, transmitting signals according to signal transmission delay matched with the advance parameter of the reference distribution far end.
Optionally, in this embodiment, in the related art, the advance parameter is generated according to the signal transmission delay, and in the present application, the advance parameter is preset and allocated, and because the advance parameter and the signal transmission delay are in a mutually matched relationship, after the advance parameter is allocated, the corresponding signal transmission delay needs to be synchronously adjusted to match with the allocated advance parameter.
In one exemplary embodiment, the signal transmission delay between the reference profile remote and the detecting base station may be adjusted to match the advance parameter of the reference profile remote, but is not limited to, by: and adjusting digital processing time delay and optical fiber transmission time delay between the reference distribution far end and the detection base station to be matched with the advance parameter of the reference distribution far end, wherein the digital processing time delay is time delay brought by digital processing of signals in the process of communication between terminal equipment in the reference distribution far end and the detection base station, and the optical fiber transmission time delay is time delay brought by transmission of signals in an optical fiber in the process of communication between the terminal equipment in the reference distribution far end and the detection base station.
Optionally, in this embodiment, fig. 5 is a schematic diagram of signal transmission delay adjustment according to an embodiment of the present application, as shown in fig. 5, the signal transmission delay between the reference distribution remote end and the detection base station includes a digital processing delay and an optical fiber transmission delay, and by adjusting the digital processing delay and the optical fiber transmission delay, the signal transmission delay between the reference distribution remote end and the detection base station is matched with a pre-allocated advance parameter.
In the technical solution provided in step S206, there is a correspondence between the advance parameter and the distribution distal end, as shown in fig. 3, 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. Knowing that the target advance parameter is 4, the corresponding target distribution far end can be reversely deduced as follows: the distal end 2 is distributed.
In the technical solution provided in step S208, after determining the target distribution distal end corresponding to the target terminal device, the detection area where the target distribution distal end is located may be determined as the target detection area, that is, the position where the target terminal device is located, as shown in fig. 3, and after determining that the target distribution distal end corresponding to the target terminal device is the distribution distal end 2, the detection area where the distribution distal end 2 is located is determined as the target detection area, that is, the detection area 2, so as to implement positioning of the target terminal device. After the locating address of the target terminal equipment is obtained, the detected mobile phone related information (such as telephone number and the like) is related to the locating address and is sent to a locating account, the locating account is used for monitoring whether the terminal equipment is connected with a detecting base station, and the locating address can be sent periodically and updated in real time.
The application provides a positioning method of terminal equipment, which can be applied to a digital light distribution system, wherein the digital light distribution system transmits a digital radio frequency signal from a distribution near end (downlink) to a distribution far end (uplink is reverse) through an optical fiber, and the digital light distribution system has digital processing time delay and optical fiber transmission time delay; the buffer memory can increase the signal transmission delay (the delay is proportional to the buffer memory size) in the transmission process, and of course, the digital optical distribution system also has the function of amplifying signals to compensate the loss of the spatial radio frequency signals output to the terminal equipment by the distributed far end. The buffer size can be adjusted to achieve a signal transmission delay corresponding to a preset advance parameter.
The application distributes different distributed remote ends with different advance parameters, and in turn, the distributed remote ends (coverage areas) of the corresponding advance parameters of the terminal equipment can be known according to the advance parameters, so that the corresponding addresses of the terminal equipment are obtained.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present application.
Fig. 6 is a block diagram of a positioning device of a terminal apparatus according to an embodiment of the present application; as shown in fig. 6, includes:
the detection module 602 is configured to detect a current connection state of a detection base station, where a communication range of the detection base station covers N detection areas where use of a terminal device is prohibited, and N is a positive integer greater than or equal to 2;
a first obtaining module 604, configured to obtain, when the connection status is used to indicate that a target terminal device is currently connected to the detecting base station, a target advance parameter corresponding to the target terminal device, where each detecting area is covered by one distribution far end of the detecting base station, the detecting base station includes N distribution far ends, each of the N distribution far ends is allocated with a different advance parameter, and the terminal device in each detecting area establishes communication with the detecting base station through the corresponding distribution far end, where the advance parameter is used to indicate an amount of time that a signal sent by a terminal device under the corresponding distribution far end needs to be sent in advance;
the searching module 606 is configured to find a target far-end of distribution corresponding to the target far-end of advance parameter from the advance parameter and the far-end of distribution having a corresponding relationship;
The determining module 608 is configured to determine a detection area where the target distribution remote end is located as a target detection area, where the target detection area is a location where the target terminal device is located.
Through the above embodiment, the current connection state of the detection base station is detected, where the communication range of the detection base station covers N detection areas where use of the terminal device is prohibited, and N is a positive integer greater than or equal to 2; under the condition that the connection state is used for indicating that the current target terminal equipment is connected to the detection base station, acquiring target advance parameters corresponding to the target terminal equipment, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each distribution far end in the N distribution far ends is distributed with different advance parameters, the terminal equipment in each detection area establishes communication with the detection base station through the corresponding distribution far end, the advance parameters are used for indicating the time quantity of the signal sent by the terminal equipment under the corresponding distribution far end and needing to be sent in advance, and the time quantity of the signal transmission delay of the correction signal is used for the time quantity of the signal to be sent in advance; searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have corresponding relations; the method comprises the steps of determining a detection area where a target distribution far end is located as a target detection area, wherein the target detection area is the position where target terminal equipment is located, namely, distributing different advance parameters to the distribution far ends of N detection areas where the use of the terminal equipment is forbidden, which are covered by a detection base station, under the condition that the target terminal equipment is connected to the detection base station at present, directly acquiring the target advance parameters corresponding to the target terminal equipment, searching out the target distribution far end corresponding to the target advance parameters from the advance parameters and the distribution far end which have a corresponding relation, further determining the detection area where the target distribution far end is located as the target detection area, namely, the position where the target terminal equipment is located, and by adopting the method, for any one of the detection areas, which is connected with the detection base station, the detection area where the terminal equipment is located can be reversely positioned according to the target advance parameters of the terminal equipment, so that the positioning mode of the terminal equipment is greatly simplified, and the positioning efficiency of the terminal equipment is improved. By adopting the technical scheme, the problems of high complexity of positioning of the terminal equipment and the like in the related technology are solved, and the technical effect of improving the complexity of positioning of the terminal equipment is realized.
In an exemplary embodiment, the apparatus further comprises:
the second acquisition module is used for acquiring the minimum signal transmission delay of signal transmission between the terminal equipment in the N distributed far ends and the detection base station before the target advance parameter corresponding to the target terminal equipment is acquired;
the identification module is used for identifying the target mobile communication standard currently used by the detection base station;
and the distribution module is used for distributing different advance parameters for each of N distribution remote ends according to the target mobile communication standard and the minimum signal transmission delay.
In one exemplary embodiment, the allocation module includes:
a generating unit, configured to generate an advance parameter array according to the target mobile communication standard and the minimum signal transmission delay, where the advance parameter array includes N advance parameters that sequentially increase, a difference between an i-th advance parameter and an (i-1) -th advance parameter in the advance parameter array 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 the distribution unit is used for distributing different advance parameters to each distribution far end according to the advance parameter array.
In an exemplary embodiment, the generating unit is further configured 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 detection base station and the terminal equipment for correcting the minimum signal transmission delay under the target mobile communication standard;
and taking the initial lead parameter as a 1 st lead parameter of the lead parameter array, taking a target value larger than the preset threshold value as a difference value between the i-th lead parameter and the (i-1) -th lead parameter to generate an N-1-th lead parameter, and obtaining the lead parameter array.
In an exemplary embodiment, the allocation unit is further configured to:
sequencing N distribution remote ends according to the signal transmission time delay of each distribution remote end to obtain a distribution remote end sequence, wherein the signal transmission time delay of the (i-1) th distribution remote end in the distribution remote end sequence is smaller than or equal to the signal transmission time delay of the i-th distribution remote end;
and determining the ith advance parameter in the advance parameter array as the advance parameter of the ith distribution far end in the distribution far end sequence.
In an exemplary embodiment, the apparatus further comprises:
an adjusting module, configured to adjust, after the signal transmission delay according to the target mobile communication standard and the minimum signal transmission delay assigns different advance parameters to each of N distribution remote ends, the signal transmission delay between a reference distribution remote end and a detection base station to match the advance parameters of the reference distribution remote end before a terminal device in the reference distribution remote end communicates with the detection base station, where the reference distribution remote end is any one of the N distribution remote ends;
and the transmission module is used for transmitting signals according to signal transmission delay matched with the advance parameter of the reference distribution far end in the process of communicating the terminal equipment in the reference distribution far end with the detection base station.
In one exemplary embodiment, the adjustment module includes:
the adjusting unit is used for adjusting the digital processing time delay and the optical fiber transmission time delay between the reference distribution far end and the detection base station to be matched with the advance parameter of the reference distribution far end, wherein the digital processing time delay is the time delay caused by digital processing of signals in the process of communicating the terminal equipment in the reference distribution far end with the detection base station, and the optical fiber transmission time delay is the time delay caused by transmitting the signals in the optical fiber in the process of communicating the terminal equipment in the reference distribution far end with the detection base station.
An embodiment of the present application also provides a storage medium including a stored program, wherein the program executes the method of any one of the above.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2;
s2, under the condition that the connection state is used for indicating that a target terminal device is connected to the detection base station currently, acquiring a target advance parameter corresponding to the target terminal device, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each of the N distribution far ends is distributed with different advance parameters, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, and the advance parameters are used for indicating the time amount of a signal sent by the terminal device under the corresponding distribution far end to be sent in advance;
S3, searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have the corresponding relation;
s4, determining a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the position where the target terminal equipment is located.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in this embodiment, the above-mentioned processor may be configured to execute the following steps by a computer program:
s1, detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2;
s2, under the condition that the connection state is used for indicating that a target terminal device is connected to the detection base station currently, acquiring a target advance parameter corresponding to the target terminal device, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each of the N distribution far ends is distributed with different advance parameters, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, and the advance parameters are used for indicating the time amount of a signal sent by the terminal device under the corresponding distribution far end to be sent in advance;
S3, searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have the corresponding relation;
s4, determining a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the position where the target terminal equipment is located.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Optionally, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for locating a terminal device, comprising:
detecting the current connection state of a detection base station, wherein the communication range of the detection base station covers N detection areas of which the use of terminal equipment is forbidden, and N is a positive integer greater than or equal to 2;
acquiring a target advance parameter corresponding to a target terminal device under the condition that the connection state is used for indicating that the target terminal device is connected to the detection base station currently, wherein each detection area is covered by one distribution far end of the detection base station, the detection base station comprises N distribution far ends, each distribution far end in the N distribution far ends is distributed with different advance parameters, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, and the advance parameters are used for indicating the time amount of a signal sent by the terminal device under the corresponding distribution far end to be sent in advance;
Searching a target far-end distribution corresponding to the target advance parameter from the advance parameter and the far-end distribution with the corresponding relation;
and determining a detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the position where the target terminal equipment is located.
2. The method of claim 1, wherein prior to the obtaining the target advance parameter corresponding to the target terminal device, the method further comprises:
acquiring the minimum signal transmission delay of signal transmission between the terminal equipment in the N distributed far ends and the detection base station;
identifying a target mobile communication standard currently used by the detection base station;
and distributing different advance parameters to each of N distribution remote ends according to the target mobile communication standard and the minimum signal transmission delay.
3. The method of claim 2, wherein said assigning a different said advance parameter to each of N said distributed remote ends according to said target mobile communication standard and a minimum said signal transmission delay comprises:
Generating an advance parameter array according to the target mobile communication standard and the minimum signal transmission delay, wherein the advance parameter array comprises N advance parameters which are sequentially increased, the difference between the i-th advance parameter and the (i-1) -th advance parameter in the advance parameter array is larger than a preset threshold, i is a positive integer which is larger than or equal to 2 and smaller than or equal to N;
and distributing different advance parameters to each distribution far end according to the advance parameter array.
4. A method according to claim 3, wherein said generating a sequence of advance parameters according to said target mobile communication standard and said minimum signal transmission delay comprises:
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 detection base station and the terminal equipment for correcting the minimum signal transmission delay under the target mobile communication standard;
and taking the initial lead parameter as a 1 st lead parameter of the lead parameter array, taking a target value larger than the preset threshold value as a difference value between the i-th lead parameter and the (i-1) -th lead parameter to generate an N-1-th lead parameter, and obtaining the lead parameter array.
5. A method according to claim 3, wherein said assigning a different one of said advance parameters to each of said distributed remote ends according to said advance parameter array comprises:
sequencing N distribution remote ends according to the signal transmission time delay of each distribution remote end to obtain a distribution remote end sequence, wherein the signal transmission time delay of the (i-1) th distribution remote end in the distribution remote end sequence is smaller than or equal to the signal transmission time delay of the i-th distribution remote end;
and determining the ith advance parameter in the advance parameter array as the advance parameter of the ith distribution far end in the distribution far end sequence.
6. The method of claim 2, wherein after said assigning a different said advance parameter for each of N said distribution remotes according to said target mobile communication standard and a minimum said signal transmission delay, said method further comprises:
before terminal equipment in a reference distribution far end communicates with a detection base station, adjusting signal transmission delay between the reference distribution far end and the detection base station to be matched with an advance parameter of the reference distribution far end, wherein the reference distribution far end is any one of N distribution far ends;
And in the process of communicating the terminal equipment in the reference distribution far end with the detection base station, transmitting signals according to signal transmission delay matched with the advance parameter of the reference distribution far end.
7. The method of claim 6, wherein said adjusting the signal propagation delay between the reference distribution remote and the detecting base station to match the advance parameter of the reference distribution remote comprises:
and adjusting digital processing time delay and optical fiber transmission time delay between the reference distribution far end and the detection base station to be matched with the advance parameter of the reference distribution far end, wherein the digital processing time delay is time delay brought by digital processing of signals in the process of communication between terminal equipment in the reference distribution far end and the detection base station, and the optical fiber transmission time delay is time delay brought by transmission of signals in an optical fiber in the process of communication between the terminal equipment in the reference distribution far end and the detection base station.
8. A positioning device for a terminal device, comprising:
the detection module is used for detecting the current connection state of the detection base station, wherein the communication range of the detection base station covers N detection areas of the forbidden terminal equipment, and N is a positive integer greater than or equal to 2;
A first obtaining module, configured to obtain, when the connection status is used to indicate that a target terminal device is currently connected to the detection base station, a target advance parameter corresponding to the target terminal device, where each detection area is covered by one distribution far end of the detection base station, the detection base station includes N distribution far ends, each of the N distribution far ends is allocated with a different advance parameter, and the terminal device in each detection area establishes communication with the detection base station through the corresponding distribution far end, where the advance parameter is used to indicate an amount of time that a signal sent by a terminal device under the corresponding distribution far end needs to be sent in advance;
the searching module is used for searching a target distribution far end corresponding to the target advance parameter from the advance parameter and the distribution far end which have the corresponding relation;
and the determining module is used for determining the detection area where the target distribution remote end is located as a target detection area, wherein the target detection area is the position where the target terminal equipment is located.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
CN202311288021.3A 2023-10-07 2023-10-07 Positioning method and device of terminal equipment, storage medium and electronic device Pending CN117221812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311288021.3A CN117221812A (en) 2023-10-07 2023-10-07 Positioning method and device of terminal equipment, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311288021.3A CN117221812A (en) 2023-10-07 2023-10-07 Positioning method and device of terminal equipment, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117221812A true CN117221812A (en) 2023-12-12

Family

ID=89038876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311288021.3A Pending CN117221812A (en) 2023-10-07 2023-10-07 Positioning method and device of terminal equipment, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117221812A (en)

Similar Documents

Publication Publication Date Title
CN110035514B (en) Method and device for determining transmission opportunity, storage medium and electronic device
CN109644503A (en) For the method for random access, the network equipment and terminal device
US20220022257A1 (en) Method and apparatus for setting transmission time advance
US10623340B2 (en) Link-fault tolerance in a distributed antenna system
CN108029105B (en) Method and device for allocating wireless resources
CN110221243B (en) Positioning method and system of communication network
CN110945942B (en) Method, device and terminal for determining DRS window in NR-U
CN107734632B (en) A kind of method of random access, network side equipment and terminal
CN105578600A (en) Method and device used for communication of LTE system on license-free frequency band
CN109150436B (en) Method and apparatus for downlink control
CN113055933A (en) Cell access method, user equipment and base station
US10992509B2 (en) Resource configuration method, terminal device, and base station
CN112040551A (en) Signal transmission method, device, equipment and storage medium of multilink equipment
CN117221812A (en) Positioning method and device of terminal equipment, storage medium and electronic device
CN110139269B (en) Code detection method and device of LTE terminal, code detection equipment and readable storage medium
CN106576361B (en) Indication method, device and equipment of DCI length based on NB M2M
KR102203004B1 (en) Uplink information transmission method, terminal device, and access network device
CN110603885B (en) Method, terminal and network equipment for requesting uplink transmission resource
CN112153094A (en) Data transmission control method and device between electronic devices
CN110233645B (en) Antenna switching method and device, electronic equipment and computer readable storage medium
CN111465111A (en) Wireless communication method and apparatus
CN110913427B (en) Method, device and system for measuring link path loss, electronic equipment and storage medium
CN112543081B (en) Data processing method and device
CN111385823B (en) Signal processing method and device
EP4247028A1 (en) Ad hoc radio base station, system, methods, and computer programs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination